resolv: Add preinit tests to resolv/tst-resolv-res_init-skeleton.c
[glibc.git] / ChangeLog
blob74dc23e987337df1dd06736da44fe98c30807f31
1 2017-07-03  Florian Weimer  <fweimer@redhat.com>
3         * resolv/tst-resolv-res_init-skeleton.c
4         (special_tests_count, special_test_call_res_init)
5         (special_test_callback, special_test_thread_func)
6         (run_special_test_on_thread, special_test): Define.
7         (do_test): call special_test.
8         (test_init_names): Fix typo.
10 2017-07-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12         * sysdeps/powerpc/powerpc64/power8/strlen.S: Remove unreachable code.
13         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
15 2017-07-01  Florian Weimer  <fweimer@redhat.com>
16             H.J. Lu  <hongjiu.lu@intel.com>
18         [BZ #21696]
19         * posix/sched_cpucount.c: Don't include <limits.h>.
20         (__sched_cpucount): Use __builtin_popcount.
22 2017-07-01  Ramana Radhakrishnan  <ramana.gcc@googlemail.com>
24         * sysdeps/unix/sysv/aarch64/cpu-features.c (init_cpu_features):
25         Fix typo.
27 2017-06-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29         * include/math.h (__signbitf128): Define as hidden.
30         * sysdeps/ieee754/float128/s_signbitf128.c (__signbitf128):
31         Reimplement without builtins.
32         * sysdeps/ia64/bits/floatn.h [!__GNUC_PREREQ (6, 0)]
33         (__builtin_signbitf128): Define to __signbitf128.
34         * sysdeps/powerpc/bits/floatn.h: Likewise.
35         * sysdeps/x86/bits/floatn.h: Likewise.
37 2017-06-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
39         * sysdeps/unix/sysv/linux/arm/fcntl.c: Remove file.
40         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
41         * sysdeps/unix/sysv/linux/hppa/fcntl.c: Likewise.
42         * sysdeps/unix/sysv/linux/i386/fcntl.c: Likewise.
43         * sysdeps/unix/sysv/linux/m68k/fcntl.c: Likewise.
44         * sysdeps/unix/sysv/linux/microblaze/fcntl.c: Likewise.
45         * sysdeps/unix/sysv/linux/mips/mips32/fcntl.c: Likewise.
46         * sysdeps/unix/sysv/linux/mips/mips64/n32/fcntl.c: Likewise.
47         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fcntl.c: Likewise.
48         * sysdeps/unix/sysv/linux/s390/s390-32/fcntl.c: Likewise.
49         * sysdeps/unix/sysv/linux/sh/fcntl.c: Likewise.
50         * sysdeps/unix/sysv/linux/sparc/sparc32/fcntl.c: Likewise.
51         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Rename to
52         fcntl_common and add check for F_GETOWN.
53         (__libc_fcntl): Use SYSCALL_CANCEL macro.
54         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c: Refactor to
55         use default implementation.
57 2017-06-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
59         * elf/dl-tunables.h (tunable_is_name): Move from...
60         * elf/dl-tunables.c (is_name): ... here.
61         (parse_tunables, __tunables_init): Adjust.
62         * manual/tunables.texi: Document glibc.tune.cpu.
63         * sysdeps/aarch64/dl-tunables.list: New file.
64         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c (struct
65         cpu_list): New type.
66         (cpu_list): New list of CPU names and their MIDR.
67         (get_midr_from_mcpu): New function.
68         (init_cpu_features): Override MIDR if necessary.
70         * sysdeps/aarch64/multiarch/ifunc-impl-list.c
71         (__libc_ifunc_impl_list): Unconditionally select thunderx
72         routine for testing.
74 2017-06-30  H.J. Lu  <hongjiu.lu@intel.com>
76         [BZ #21120]
77         * malloc/malloc-internal.h (MALLOC_ALIGNMENT): Moved to ...
78         * sysdeps/generic/malloc-alignment.h: Here.  New file.
79         * sysdeps/i386/malloc-alignment.h: Likewise.
80         * sysdeps/generic/malloc-machine.h: Include <malloc-alignment.h>.
82 2017-06-30  Florian Weimer  <fweimer@redhat.com>
84         * resolv/tst-resolv-res_init-skeleton.c (test_init_names): New
85         variable.
86         (test_file_contents): Use it.
88 2017-06-30  Florian Weimer  <fweimer@redhat.com>
90         * resolv/res_init.c (res_setoptions): Remove source argument.
91         (res_vinit_1): Adjust.
93 2017-06-30  Florian Weimer  <fweimer@redhat.com>
95         * resolv/res_query.c (DEBUG): Remove preprocessor conditional.
97 2017-06-30  Florian Weimer  <fweimer@redhat.com>
99         * resolv/res_data.c: Reformat to GNU style.
100         (res_close): Update comments.
102 2017-06-30  Florian Weimer  <fweimer@redhat.com>
104         * resolv/res_data.c (res_query, res_search, res_querydomain)
105         (hostalias): Move to ...
106         * resolv/res_Send.c (res_query, res_search, res_querydomain)
107         (hostalias): here.
109 2017-06-30  Florian Weimer  <fweimer@redhat.com>
111         * resolv/res_data.c (res_isourserver, res_send): Move to ...
112         * resolv/res_send.c (res_isourserver, res_send): here.
114 2017-06-30  Florian Weimer  <fweimer@redhat.com>
116         * resolv/res_debug.c (_res_opcodes): Rename ...
117         (res_opcodes): ... as compatibility symbol.
118         (fp_nquery): Use res_opcodes.
119         * include/resolv.h (_res_opcodes): Remove declaration.
121 2017-06-30  Florian Weimer  <fweimer@redhat.com>
123         * include/resolv.h (res_pquery): Remove declaration.
124         * resolv/res_data.c (fp_nquery, fp_query, p_query): Remove
125         functions.
126         (_res_opcodes): Remove variable.
127         * resolv/res_debug.c (do_section): Receive pfcode instead of
128         statp.
129         (res_pquery): Rename ...
130         (fp_nquery): to this function.  Skip unnecessary _res
131         initialization.
132         (fp_query, p_query, _res_opcodes): Copied from resolv/res_data.c.
134 2017-06-30  Florian Weimer  <fweimer@redhat.com>
136         * resolv/res_debug.h: Remove file.
137         * resolv/README: Adjust.
139 2017-06-30  Florian Weimer  <fweimer@redhat.com>
141         * resolv/res_end.c (DEBUG): Remove macro and preprocessor
142         conditionals.
143         (Aerror, Perror): Remove function definitions.
145 2017-06-30  Florian Weimer  <fweimer@redhat.com>
147         * resolv/res_data.c (res_mkquery): Move ...
148         * resolv/res_mkquery.c (res_mkquery): to here.
150 2017-06-30  Florian Weimer  <fweimer@redhat.com>
152         * resolv/res_mkquery.c: Reformat to GNU style.
153         (T_OPT): Remove definition.  It is present in the header file.
155 2017-06-30  Florian Weimer  <fweimer@redhat.com>
157         * resolv/res_mkquery.c (DEBUG): Remove macro and preprocessor
158         conditionals.
160 2017-06-30  Florian Weimer  <fweimer@redhat.com>
162         * support/support_capture_subprocess_check.c
163         (support_capture_subprocess_check): Report actual exit status.
165 2017-06-30  Florian Weimer  <fweimer@redhat.com>
167         [BZ #19570]
168         * resolv/res_send.c (nameserver_offset): New function.
169         (__libc_res_nsend): Use it to implement RES_ROTATE.
170         (get_nsaddr): Add assert with name server
171         range check.
172         * resolv/Makefile (xtests): Add tst-resolv-rotate.
173         (tst-resolv-rotate): Link against libpthread.
174         * resolv/tst-resolv-rotate.c: New file.
176 2017-06-29  Joseph Myers  <joseph@codesourcery.com>
178         [BZ #21457]
179         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (__ctx): New macro.
180         [__WORDSIZE == 64] (MC_TSTATE): Define only for [__USE_MISC].
181         [__WORDSIZE == 64] (MC_PC): Likewise.
182         [__WORDSIZE == 64] (MC_NPC): Likewise.
183         [__WORDSIZE == 64] (MC_Y): Likewise.
184         [__WORDSIZE == 64] (MC_G1): Likewise.
185         [__WORDSIZE == 64] (MC_G2): Likewise.
186         [__WORDSIZE == 64] (MC_G3): Likewise.
187         [__WORDSIZE == 64] (MC_G4): Likewise.
188         [__WORDSIZE == 64] (MC_G5): Likewise.
189         [__WORDSIZE == 64] (MC_G6): Likewise.
190         [__WORDSIZE == 64] (MC_G7): Likewise.
191         [__WORDSIZE == 64] (MC_O0): Likewise.
192         [__WORDSIZE == 64] (MC_O1): Likewise.
193         [__WORDSIZE == 64] (MC_O2): Likewise.
194         [__WORDSIZE == 64] (MC_O3): Likewise.
195         [__WORDSIZE == 64] (MC_O4): Likewise.
196         [__WORDSIZE == 64] (MC_O5): Likewise.
197         [__WORDSIZE == 64] (MC_O6): Likewise.
198         [__WORDSIZE == 64] (MC_O7): Likewise.
199         [__WORDSIZE == 64] (MC_NGREG): Rename to __MC_NGREG and define to
200         __MC_NGREG if [__USE_MISC].
201         [__WORDSIZE == 64] (MC_MAXFPQ): Define only for [__USE_MISC].
202         [__WORDSIZE == 64] (mc_gregset_t): Define using __MC_NGREG.
203         [__WORDSIZE == 64] (struct mc_fq): Rename to struct __mc_fq.
204         Define fields using __ctx.
205         [__WORDSIZE == 64] (mc_fpu_t): Remove struct tag.  Define fields
206         using __ctx.
207         [__WORDSIZE == 64] (mcontext_t): Define fields using __ctx.
208         (REG_PSR): Define only for [__USE_MISC].
209         (REG_PC): Likewise.
210         (REG_nPC): Likewise.
211         (REG_Y): Likewise.
212         (REG_G1): Likewise.
213         (REG_G2): Likewise.
214         (REG_G3): Likewise.
215         (REG_G4): Likewise.
216         (REG_G5): Likewise.
217         (REG_G6): Likewise.
218         (REG_G7): Likewise.
219         (REG_O0): Likewise.
220         (REG_O1): Likewise.
221         (REG_O2): Likewise.
222         (REG_O3): Likewise.
223         (REG_O4): Likewise.
224         (REG_O5): Likewise.
225         (REG_O6): Likewise.
226         (REG_O7): Likewise.
227         [__WORDSIZE == 64] (REG_ASI): Define only for [__USE_MISC].
228         [__WORDSIZE == 64] (REG_FPRS): Likewise.
229         (NGREG): Rename to __NGREG and define to __NGREG if [__USE_MISC].
230         (gregset_t): Define using __NGREG.
231         (SPARC_MAXREGWINDOW): Rename to __SPARC_MAXREGWINDOW and define to
232         __SPARC_MAXREGWINDOW if [__USE_MISC].
233         (struct rwindow): Rename to struct __rwindow.  Define fields using
234         __ctx.
235         (rw_fp): Define only for [__USE_MISC].
236         (rw_rtn): Likewise.
237         (gwindows_t): Remove struct tag.  Define fields using __ctx and
238         __SPARC_MAXREGWINDOW.
239         (MAXFPQ): Define only for [__USE_MISC].
240         (struct fpq): Rename to struct __fpq.  Define fields using __ctx.
241         (struct fq): Rename to struct __fq.  Define fields using __ctx.
242         (FPU_REGS_TYPE): Define only for [__USE_MISC].
243         (FPU_DREGS_TYPE): Likewise.
244         (V7_FPU_FSR_TYPE): Likewise.
245         (V9_FPU_FSR_TYPE): Likewise.
246         (V9_FPU_FPRS_TYPE): Likewise.
247         [__WORDSIZE == 64] (fpregset_t): Remove struct tag.  Define fields
248         using __ctx.
249         [__WORDSIZE != 64] (fpregset_t): Likewise.
250         [__WORDSIZE != 64] (xrs_t): Define fields using __ctx.
251         [__WORDSIZE != 64] (XRS_ID): Define only for [__USE_MISC].
252         [__WORDSIZE != 64] (mcontext_t): Define fields using __ctx.
253         Rename field filler to __glibc_reserved1.
254         * sysdeps/unix/sysv/linux/sparc/sparc32/ucontext_i.sym
255         (MC_FILLER): Remove.
257 2017-06-29  Florian Weimer  <fweimer@redhat.com>
259         * stdio-common/tst-vfprintf-user-type.c (my_printf_function):
260         Adjust format string.
261         * stdio-common/Makefile (tst-vfprintf-mbs-prec.out): Add locale
262         dependency.
264 2017-06-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
266         * sysdeps/posix/spawni.c (__spawni_child): New function.
267         (__spawni): Rename to __spawnix.
269 2017-06-29  Florian Weimer  <fweimer@redhat.com>
271         * stdio-common/vfprintf.c (group_number): Add front_ptr argument.
272         Use it to make the temporary copy at the start of the work buffer.
273         (process_arg): Adjust call to group_number.
275 2017-06-29  Florian Weimer  <fweimer@redhat.com>
277         * stdio-common/vfprintf.c (printf_positional): Use struct
278         scratch_buffer to allocate backing storage for the args_value,
279         args_size, args_type arrays.
281 2017-06-29  Florian Weimer  <fweimer@redhat.com>
283         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Use struct
284         scratch_buffer.
286 2017-06-29  Florian Weimer  <fweimer@redhat.com>
288         * stdio-common/vfprintf.c (WORK_BUFFER_SIZE): Reduce size for
289         wchar_t builds.
291 2017-06-29  Florian Weimer  <fweimer@redhat.com>
293         * stdio-common/tst-vfprintf-mbs-prec.c: New file.
294         * stdio-common/Makefile (tests): Add tst-vfprintf-mbs-prec.
296 2017-06-29  Florian Weimer  <fweimer@redhat.com>
298         * stdio-common/tst-vfprintf-user-type.c: New file.
299         * stdio-common/Makefile (tests): Add tst-vfprintf-user-type.
301 2017-06-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
303         * posix/tst-spawn2.c (do_test): Use libsupport.
304         * posix/tst-spawn3.c (do_test): Likewise.
306 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
308         * math/gen-tgmath-tests.py (Tests.__init__): Define
309         __STDC_WANT_IEC_60559_TYPES_EXT__ at start of generated file.
311         * math/tgmath.h: Include <bits/libc-header-start.h> and
312         <bits/floatn.h>.
313         (__TGMATH_F128): New macro.
314         (__TGMATH_CF128): Likewise.
315         (__TGMATH_UNARY_REAL_ONLY): Use __TGMATH_F128.
316         (__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
317         (__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
318         (__TGMATH_BINARY_FIRST_REAL_STD_ONLY): New macro.
319         (__TGMATH_BINARY_REAL_ONLY): Use __TGMATH_F128.
320         (__TGMATH_BINARY_REAL_STD_ONLY): New macro.
321         (__TGMATH_BINARY_REAL_RET_ONLY): Use __TGMATH_F128.
322         (__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
323         (__TGMATH_TERNARY_REAL_ONLY): Likewise.
324         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
325         (__TGMATH_UNARY_REAL_IMAG): Use __TGMATH_CF128.
326         (__TGMATH_UNARY_IMAG): Use __TGMATH_F128.
327         (__TGMATH_UNARY_REAL_IMAG_RET_REAL): Use __TGMATH_CF128.
328         (__TGMATH_BINARY_REAL_IMAG): Likewise.
329         (nexttoward): Use __TGMATH_BINARY_FIRST_REAL_STD_ONLY.
330         [__USE_MISC] (scalb): Use __TGMATH_BINARY_REAL_STD_ONLY.
331         * math/gen-tgmath-tests.py (Type.init_types): Enable _FloatN and
332         _FloatNx types if the corresponding HUGE_VAL macros are defined.
334         * math/tgmath.h [__USE_GNU] (log10): Use clog10 not __clog10.
335         * math/gen-tgmath-tests.py (Tests.add_all_tests): Test log10 for
336         complex arguments.
338         [BZ #21687]
339         * math/tgmath.h (__TGMATH_BINARY_REAL_RET_ONLY): New macro.
340         (totalorder): Use it.
341         (totalordermag): Likewise.
342         * math/gen-tgmath-tests.py (Tests.add_all_tests): Enable tests of
343         totalorder and totalordermag.
344         * math/test-tgmath.c (F(compile_test)): Do not call totalorder or
345         totalordermag in arguments of calls to those functions.
346         (NCALLS): Change to 134.
348         * math/tgmath.h (__TGMATH_UNARY_REAL_RET_ONLY): Do not take or
349         cast to return type argument.
350         (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
351         (lrint): Update call to __TGMATH_UNARY_REAL_RET_ONLY.
352         (llrint): Likewise.
353         (lround): Likewise.
354         (llround): Likewise.
355         (ilogb): Likewise.
356         (llogb): Likewise.
357         (fromfp): Update call to __TGMATH_TERNARY_FIRST_REAL_RET_ONLY.
358         (ufromfp): Likewise.
359         (fromfpx): Likewise.
360         (ufromfpx): Likewise.
362         [BZ #21607]
363         * math/basic-test.c [!NO_LONG_DOUBLE]: Change conditionals to
364         [LDBL_MANT_DIG > DBL_MANT_DIG].
365         * math/bug-nextafter.c [!NO_LONG_DOUBLE]: Remove conditionals.
366         * math/bug-nexttoward.c [!NO_LONG_DOUBLE]: Likewise.
367         * math/test-math-isinff.cc [!NO_LONG_DOUBLE]: Likewise.
368         * math/test-math-iszero.cc [!NO_LONG_DOUBLE]: Likewise.
369         * math/test-nan-overflow.c [!NO_LONG_DOUBLE]: Likewise.
370         * math/test-nan-payload.c [!NO_LONG_DOUBLE]: Likewise.
371         * math/test-nearbyint-except-2.c [!NO_LONG_DOUBLE]: Likewise.
372         * math/test-nearbyint-except.c [!NO_LONG_DOUBLE]: Likewise.
373         * math/test-powl.c [!NO_LONG_DOUBLE]: Likewise.
374         * math/test-signgam-finite-c99.c [!NO_LONG_DOUBLE]: Likewise.
375         * math/test-signgam-finite.c [!NO_LONG_DOUBLE]: Likewise.
376         * math/test-signgam-main.c [!NO_LONG_DOUBLE]: Likewise.
377         * math/test-snan.c [!NO_LONG_DOUBLE]: Likewise.
378         * math/test-tgmath-ret.c [!NO_LONG_DOUBLE]: Likewise.
379         * math/test-tgmath.c: Include <float.h>.
380         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
381         DBL_MANT_DIG].
382         * math/test-tgmath2.c: Include <float.h>.
383         [!NO_LONG_DOUBLE]: Change conditionals to [LDBL_MANT_DIG >
384         DBL_MANT_DIG].
386         * math/gen-tgmath-tests.py: New file.
387         * math/Makefile [PYTHON] (tests): Add test-tgmath3.
388         [PYTHON] (generated): Add test-tgmath3.c.
389         [PYTHON] (CFLAGS-test-tgmath3.c): New variable.
390         [PYTHON] ($(objpfx)test-tgmath3.c): New rule.
392         * configure.ac (AS): Require binutils 2.25 or later.
393         (LD): Likewise.
394         * configure: Regenerated.
395         * sysdeps/s390/configure.ac (AS): Remove version check.
396         * sysdeps/s390/configure: Regenerated.
397         * sysdeps/x86_64/configure.ac (AS): Remove version check.
398         * sysdeps/x86_64/configure: Regenerated.
399         * manual/install.texi (Tools for Compilation): Document
400         requirement for binutils 2.25 or later.
401         * INSTALL: Regenerated.
403 2017-06-28  H.J. Lu  <hongjiu.lu@intel.com>
405         [BZ #14995]
406         * configure.ac: Allow gold 1.14 or above to configire glibc
407         * configure: Regenerated.
409 2017-06-28  Joseph Myers  <joseph@codesourcery.com>
411         [BZ #21457]
412         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (fpregset_t): Remove
413         struct tag.
414         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (fpregset_t):
415         Likewise.
416         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (mcontext_t):
417         Likewise.
418         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (pt_regs):
419         Declare struct type with __ctx.
420         [__WORDSIZE != 32] (mcontext_t): Use __ctx with pt_regs struct
421         tag.
422         (ucontext_t) [__WORDSIZE == 32]: Use __ctx with pt_regs struct tag
423         and regs field name.
425 2017-06-27  Joseph Myers  <joseph@codesourcery.com>
427         * elf/loadtest.c (OUT): Define using do { } while (0).
429         * time/strftime_l.c (DO_NUMBER): Define using do { } while (0).
430         (DO_NUMBER_SPACEPAD): Likewise.
432 2017-06-27  Prakhar Bahuguna  <prakhar.bahuguna@arm.com>
434         * sysdeps/arm/armv7/multiarch/Makefile: Add memchr_neon to
435         sysdep_routines.
436         * sysdeps/arm/armv7/multiarch/ifunc-impl-list.c: Add define for
437         __memchr_neon.
438         Add ifunc definitions for __memchr_neon and __memchr_noneon.
439         * sysdeps/arm/armv7/multiarch/memchr.S: New file.
440         * sysdeps/arm/armv7/multiarch/memchr_impl.S: Likewise.
441         * sysdeps/arm/armv7/multiarch/memchr_neon.S: Likewise.
443 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
445         * sysdeps/s390/utf8-utf16-z9.c (__to_utf8_loop_vx_cu):
446         Use vector and cu21 instruction.
447         * sysdeps/s390/multiarch/utf8-utf16-z9.c:
448         Add __to_utf8_loop_vx_cu in ifunc resolver.
450 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
452         * sysdeps/s390/utf16-utf32-z9.c (__from_utf16_loop_vx_cu):
453         Use vector and cu24 instruction.
455 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
457         * sysdeps/s390/utf16-utf32-z9.c (__to_utf16_loop_vx_cu):
458         Use vector and cu42 instruction.
459         * sysdeps/s390/multiarch/utf16-utf32-z9.c:
460         Add __to_utf16_loop_vx_cu in ifunc resolver.
462 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
464         * sysdeps/s390/utf8-utf32-z9.c (__to_utf8_loop_vx_cu):
465         Use vector and cu41 instruction.
466         * sysdeps/s390/multiarch/utf8-utf32-z9.c: Add __to_utf8_loop_vx_cu
467         in ifunc resolver.
469 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
471         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags):
472         Add vxd, vxe, gs flag.
473         * sysdeps/s390/dl-procinfo.h: Add HWCAP_S390_VXD, HWCAP_S390_VXE,
474         HWCAP_S390_GS capability.
475         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h
476         (HWCAP_S390_VXD, HWCAP_S390_VXE, HWCAP_S390_GS): Define.
478 2017-06-27  H.J. Lu  <hongjiu.lu@intel.com>
480         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (MEMCMP): Check
481         the first 32 bytes before checking size when size >= 32 bytes.
482         Replace vpmovmskb/subl/jnz with vptest/jnc.
484 2017-06-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
486         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE): Use r12 for GOT address.
487         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE): Likewise.
489 2017-06-27  Florian Weimer  <fweimer@redhat.com>
491         Work around test timeouts with ICMP rate limiting on localhost.
492         * resolv/tst-resolv-res_init-skeleton.c (start_dummy_server): New
493         function.
494         (do_test): Call it.
496 2017-06-27  Florian Weimer  <fweimer@redhat.com>
498         Call _res_hconf_init from __res_vinit.
499         * inet/gethstbyad_r.c (NEED__RES_HCONF): Remove.
500         * inet/gethstbynm2_r.c (NEED__RES_HCONF): Likewise.
501         (NEED__RES): Define.
502         * inet/gethstbynm_r.c (NEED__RES_HCONF): Remove.
503         (NEED__RES): Define.
504         * nscd/aicache.c (addhstaiX): Remove call to _res_hconf_init.
505         * nscd/gethstbyad_r.c (NEED__RES_HCONF): Remove.
506         * nscd/gethstbynm3_r.c (NEED__RES_HCONF): Likewise.
507         (NEED__RES): Define.
508         * nss/getXXbyYY_r.c (REENTRANT_NAME): Remove call to
509         _res_hconf_init.
510         * resolv/res_hconf.h (_res_hconf_init): Declare as hidden.
511         * resolv/res_init.c (__res_vinit): Call _res_hconf_init.
512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Remove call to
513         _res_hconf_init.
515 2017-06-26  Joseph Myers  <joseph@codesourcery.com>
517         * sysdeps/ia64/Implies: Add ieee754/float128.
518         * sysdeps/ia64/bits/floatn.h: New file.
519         * sysdeps/ia64/float128-abi.h: Likewise.
520         * manual/math.texi (Mathematics): Document support for _Float128
521         on ia64.
522         * sysdeps/ia64/Makefile [$(subdir) = math] (CPPFLAGS): Append to
523         Makefile variable.
524         * sysdeps/ia64/fpu/e_sqrtf128.c: New file.
525         * sysdeps/ia64/fpu/k_rem_pio2.c: Remove file.
526         * sysdeps/ia64/fpu/sfp-machine.h: New file.  Based on libgcc.
527         * sysdeps/ia64/math-tests.h: New file.
528         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): Also define
529         based on TEST_COND_binary128 for [__ia64__].
530         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Update.
531         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise,
533         [BZ #21457]
534         * sysdeps/arm/sys/ucontext.h (struct ucontext): Rename to struct
535         ucontext_t.
536         * sysdeps/generic/sys/ucontext.h (struct ucontext): Likewise.
537         * sysdeps/i386/sys/ucontext.h (struct ucontext): Likewise.
538         * sysdeps/m68k/sys/ucontext.h (struct ucontext): Likewise.
539         * sysdeps/mips/sys/ucontext.h (struct ucontext): Likewise.
540         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (struct
541         ucontext): Likewise.
542         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (struct ucontext):
543         Likewise.
544         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (struct ucontext):
545         Likewise.
546         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (struct ucontext):
547         Likewise.
548         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h (struct ucontext):
549         Likewise.
550         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (struct ucontext):
551         Likewise.
552         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (struct ucontext):
553         Likewise.
554         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (struct ucontext):
555         Likewise.
556         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (struct
557         ucontext): Likewise.
558         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (struct ucontext):
559         Likewise.
560         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (struct ucontext):
561         Likewise.
562         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct ucontext):
563         Likewise.
564         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h (struct ucontext):
565         Likewise.
566         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (struct ucontext):
567         Likewise.
568         * sysdeps/powerpc/powerpc32/backtrace.c (struct
569         rt_signal_frame_32): Likewise.
570         * sysdeps/powerpc/powerpc64/backtrace.c (struct signal_frame_64):
571         Likewise.
572         * sysdeps/unix/sysv/linux/aarch64/kernel_rt_sigframe.h (struct
573         kernel_rt_sigframe): Likewise.
574         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (SIGCONTEXT):
575         Likewise.
576         * sysdeps/unix/sysv/linux/arm/register-dump.h (register_dump):
577         Likewise.
578         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h (SIGCONTEXT):
579         Likewise.
580         * sysdeps/unix/sysv/linux/hppa/profil-counter.h
581         (__profil_counter): Likewise.
582         * sysdeps/unix/sysv/linux/microblaze/sigcontextinfo.h
583         (SIGCONTEXT): Likewise.
584         * sysdeps/unix/sysv/linux/mips/kernel_rt_sigframe.h (struct
585         kernel_rt_sigframe): Likewise.
586         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h (struct
587         kernel_rt_sigframe): Likewise.
588         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h (SIGCONTEXT):
589         Likewise.
590         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext):
591         Likewise.
592         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
593         (__start_context): Likewise.
594         * sysdeps/unix/sysv/linux/tile/sigcontextinfo.h (SIGCONTEXT):
595         Likewise.
596         * sysdeps/unix/sysv/linux/x86_64/register-dump.h (register_dump):
597         Likewise.
598         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h (SIGCONTEXT):
599         Likewise.
601         * sysdeps/i386/Implies: Add ieee754/float128.
602         * sysdeps/x86_64/Implies: Likewise.
603         * sysdeps/x86/bits/floatn.h: New file.
604         * sysdeps/x86/float128-abi.h: Likewise.
605         * manual/math.texi (Mathematics): Document support for _Float128
606         on x86_64 and x86.
607         * sysdeps/i386/fpu/fenv_private.h: Include <bits/floatn.h>.
608         (math_opt_barrier): Do not put _Float128 values in floating-point
609         registers.
610         (math_force_eval): Likewise.
611         [__x86_64__] (SET_RESTORE_ROUNDF128): New macro.
612         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (CPPFLAGS): Append
613         to Makefile variable.
614         * sysdeps/x86/fpu/e_sqrtf128.c: New file.
615         * sysdeps/x86/fpu/sfp-machine.h: Likewise.  Based on libgcc.
616         * sysdeps/x86/math-tests.h: New file.
617         * math/libm-test-support.h (XFAIL_FLOAT128_PAYLOAD): New macro.
618         * math/libm-test-getpayload.inc (getpayload_test_data): Use
619         XFAIL_FLOAT128_PAYLOAD.
620         * math/libm-test-setpayload.inc (setpayload_test_data): Likewise.
621         * math/libm-test-totalorder.inc (totalorder_test_data): Likewise.
622         * math/libm-test-totalordermag.inc (totalordermag_test_data):
623         Likewise.
624         * sysdeps/unix/sysv/linux/i386/libc.abilist: Update.
625         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
626         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
627         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
628         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
629         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
630         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
631         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
634 2017-06-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
636         [BZ #21512]
637         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Call exit
638         syscall instead of jump to _exit.
639         (CLONE_VM_BIT): Remove unused define.
640         (CLONE_VM): Likewise.
641         (CLONE_THREAD_BIT): Likewise.
642         (CLONE_THREAD): Likewise.
643         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
644         (CLONE_VM): Remove unused define.
645         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
646         (CLONE_VM): Remove unused define.
647         (CLONE_THREAD): Likewise.
648         * sysdeps/unix/sysv/linux/i386/clone.S (CLONE_VM): Likewise.
649         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone2): Call exit
650         syscall instead of jump to _exit.
651         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
652         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
653         (CLONE_VM): Remove unused define.
654         (CLONE_THREAD): Likewise.
655         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
656         (CLONE_VM): Remove unused define.
657         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
658         Likewise.
659         (CLONE_VM): Remove unused define.
660         (CLONE_THREAD): Likewise.
661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
662         Likewise.
663         (CLONE_VM): Remove unused define.
664         (CLONE_THREAD): Likewise.
665         * sysdeps/unix/sysv/linux/sh/clone.S  (__clone): Likewise.
666         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
667         (CLONE_VM): Remove unused define.
668         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
669         (CLONE_VM): Remove unused define.
670         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
671         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
672         (CLONE_VM): Remove unused define.
673         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-clone3.
674         * sysdeps/unix/sysv/linux/tst-clone3.c: New file.
676 2017-06-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
677             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
679         * manual/math.texi (Mathematics): Mention the enabling of float128
680         for powerpc64le.
681         * sysdeps/powerpc/bits/floatn.h: New file.
682         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
683         * sysdeps/powerpc/fpu/math_private.h:
684         (__ieee754_sqrtf128): New inline override.
685         * sysdeps/powerpc/powerpc64le/Implies-before: New file.
686         * sysdeps/powerpc/powerpc64le/Makefile: New file.
687         * sysdeps/powerpc/powerpc64le/fpu/e_sqrtf128.c: New file.
688         * sysdeps/powerpc/powerpc64le/fpu/sfp-machine.h: New file.
689         * sysdeps/powerpc/powerpc64le/power9/fpu/e_sqrtf128.c: New file.
690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist:
691         Updated.
692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
693         Likewise.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/float128-abi.h:
695         New file.
697 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
699         * sysdeps/powerpc/powerpc64le/configure.ac: Check for POWER8.
700         * sysdeps/powerpc/powerpc64le/configure: Update.
702 2017-06-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
703             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
705         * INSTALL: Regenerate.
706         * manual/install.texi (Recommended Tools for Compilation): Mention
707         the powerpc64le-specific requirement in the manual.
708         * sysdeps/powerpc/powerpc64le/configure.ac: New file with checks
709         for the compiler features required for building float128.
710         * sysdeps/powerpc/powerpc64le/configure: New, auto-generated file.
712 2017-06-26  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
714         * malloc/tst-alloc_buffer.c (test_misaligned): Cast to char
715         before comparing with another char.
717 2017-06-25  Rical Jasan  <ricaljasan@pacific.net>
719         * manual/math.texi: Fix a grammatical error.
721 2017-06-24  Florian Weimer  <fweimer@redhat.com>
723         [BZ #21295]
724         * resolv/tst-resolv-basic.c (do_test): Add new test cases.
726 2017-06-24  Dmitry Bilunov  <kmeaw@kmeaw.com>
728         [BZ #21295]
729         * sysdeps/posix/getaddrinfo.c (convert_hostent_to_gaih_addrtuple):
730         Append addresses at the end of the list.
732 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
734         [BZ #21666]
735         * misc/regexp.c (loc1): Add __attribute__ ((nocommon));
736         (loc2): Likewise.
737         (locs): Likewise.
739 2017-06-23  Florian Weimer  <fweimer@redhat.com>
741         [BZ #16637]
742         inet_pton: Reject invalid IPv6 addresses with many leading zeros.
743         * resolv/inet_pton.c (inet_pton6): Count number of hexadecimal
744         digits between colons.
745         * resolv/tst-inet_pton.c (test_cases): Adjust test expectations.
747 2017-05-23  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
748             Juan Manuel Torres Palma  <jmtorrespalma@gmail.com>
750         * include/sched.h (__sched_get_priority_max): Add libc hidden proto.
751         (__sched_get_prioriry_min): Likewise.
752         * include/sys/mman.h (__mmap): Likewise.
753         (__mmap64): Likewise.
754         (__munmap): Likewise.
755         (__mprotect): Likewise.
756         * include/termios.h (__tcsetattr): Likewise.
757         * include/time.h (__nanosleep): Use hidden_proto instead of
758         libc_hidden_proto.
759         * posix/nanosleep.c (__nanosleep): Likewise.
760         * misc/Versions (libc): Export __mmap, __munmap, __mprotect,
761         __sched_get_priority_min, and __sched_get_priority_max under
762         GLIBC_PRIVATE.
763         * nptl/allocatestack.c (__free_stacks): Use internal definition for
764         libc symbols.
765         (change_stack_perm): Likewise.
766         (change_stack_perm): Likewise.
767         (allocate_stack): Likewise.
768         * sysdeps/posix/gethostname.c: Likewise.
769         * nptl/tpp.c (__init_sched_fifo_prio): Likewise.
770         * sysdeps/unix/sysv/linux/i386/smp.h (is_smp_system): Likewise.
771         * sysdeps/unix/sysv/linux/powerpc/ioctl.c (__ioctl): Likewise.
772         * nptl/pthreadP.h (__pthread_mutex_timedlock): Add definition.
773         (__pthread_key_delete): Likewise.
774         (__pthread_detach): Likewise.
775         (__pthread_cancel): Likewise.
776         (__pthread_mutex_trylock): Likewise.
777         (__pthread_mutexattr_init): Likewise.
778         (__pthread_mutexattr_settype): Likewise.
779         * nptl/pthread_cancel.c (pthread_cancel): Change to internal name and
780         create alias for exported one.
781         * nptl/pthread_join.c (pthread_join): Likewise.
782         * nptl/pthread_detach.c (pthread_detach): Likewise.
783         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
784         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
785         * nptl/pthread_create.c: Change static requirements for pthread
786         symbols.
787         * nptl/pthread_equal.c (__pthread_equal): Change strong alias to weak
788         for internal definition.
789         * nptl/pthread_exit.c (__pthread_exit): Likewise.
790         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
791         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
792         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy): Likewise.
793         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
794         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
795         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
796         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock): Likewise.
797         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init): Likwise.
798         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
799         Likewise.
800         * nptl/pthread_self.c (__pthread_self): Likewise.
801         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
802         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
803         * misc/mmap.c (__mmap): Add internal symbol definition.
804         * misc/mmap.c (__mmap64): Likewise.
805         * sysdeps/unix/sysv/linux/mmap.c (__mmap): Likewise.
806         * sysdeps/unix/sysv/linux/mmap64.c (__mmap): Likewise.
807         (__mmap64): Likewise.
808         * sysdeps/unix/sysv/linux/i386/Versions (libc) [GLIBC_PRIVATE):
809         Add __uname.
811 2017-06-23  Joseph Myers  <joseph@codesourcery.com>
813         * sysdeps/i386/fpu/libm-test-ulps: Update.
814         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
816         * libm-test-support.c (check_float_internal): Clear exceptions at
817         end of function.
818         (check_int): Likewise.
819         (check_long): Likewise.
820         (check_bool): Likewise.
821         (check_longlong): Likewise.
822         (check_intmax_t): Likewise.
823         (check_uintmax_t): Likewise.
825         * sysdeps/x86/fpu/bits/fenv.h [_LIBC] (__feraiseexcept_renamed):
826         Do not declare.
827         * sysdeps/x86/fpu/include/bits/fenv.h [_LIBC &&
828         __USE_EXTERN_INLINES] (__feraiseexcept_renamed): Declare here,
829         redirected to __GI_feraiseexcept if [SHARED && IS_IN (libm)].
831 2017-06-23  H.J. Lu  <hongjiu.lu@intel.com>
833         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
834         Replace movzbl and orl with movb.
836 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
838         * manual/arith.texi (Infinity and NaN): Document SNANFN and SNANFNx.
839         (Error Reporting by Mathematical Functions): Document HUGE_VAL_FN
840         and HUGE_VAL_FNx.
841         (Absolute Value): Document fabsfN, fabsfNx, cabsfN, cabsfNx.
842         Rephrase the paragraph that mentions that fabs, fabsf, and fabsl
843         are in math.h, to avoid having to list the _FloatN and _FloatNx
844         variants as well.  Likewise for the cabs functions.
845         (Normalization Functions): Document frexpfN, frexpfNx, ldexpfN,
846         ldexpfNx, scalbnfN, scalbnfNx, scalblnfN, scalblnfNx.
847         Mention that _FloatN and _FloatNx variants of scalbn and scalbln
848         come from TS 18661-3, since this section explicitly states that
849         these functions come from BSD.
850         (Rounding Functions): Document ceilfN, ceilfNx, floorfN, floorfNx,
851         truncfN, truncfNx, rintfN, rintfNx, nearbyintfN, nearbyintfNx,
852         roundfN, roundfNx, roundevenfN, roundevenfNx, lrintfN, lrintfNx,
853         llrintfN, llrintfNx, lroundfN, lroundfNx, llroundfN, llroundfNx,
854         fromfpfN, fromfpfNx, ufromfpfN, ufromfpfNx, fromfpxfN, fromfpxfNx,
855         ufromfpxfN, ufromfpxfNx, modffN, modffNx.
856         (Remainder Functions): Document fmodfN, fmodfNx, remainderfN,
857         remainderfNx.
858         (Setting and modifying single bits of FP values): Document
859         copysignfN, copysignfNx, nextafterfN, nextafterfNx, nextupfN,
860         nextupfNx, nextdownfN, nextdownfNx, nanfN, nanfNx, canonicalizefN,
861         canonicalizefNx, getpayloadfN, getpayloadfNx, setpayloadfN,
862         setpayloadfNx, setpayloadsigfN, setpayloadsigfNx.
863         (Floating-Point Comparison Functions): Document totalorderfN,
864         totalorderfNx, totalordermagfN, totalordermagfNx.
865         (Miscellaneous FP arithmetic functions): Document fminfN, fminfNx,
866         fmaxfN, fmaxfNx, fminmagfN, fminmagfNx, fmaxmagfN, fmaxmagfNx,
867         fdimfN, fdimfNx, fmafN, fmafNx.
868         (Complex Numbers): Document the complex types: _FloatN complex and
869         _FloatNx complex.
870         (rojections, Conjugates, and Decomposing of Complex Numbers):
871         Document crealfN, crealfNx, cimagfN, cimagfNx, conjfN, conjfNx,
872         cargfN, cargfNx, cprojfN, cprojfNx.
873         * manual/math.texi (Mathematics): Mention that the _FloatN and
874         _FloatNx variants of the math functions come from TS 18661-3,
875         unless otherwise stated.
876         (Predefined Mathematical Constants): Document the _FloatN and
877         _FloatNx variants of the macros prefixed with M_.
878         (Trigonometric Functions): Document sinfN, sinfNx, cosfN, cosfNx,
879         tanfN, tanfNx, sincosfN, sincosfNx, csinfN, csinfNx, ccosfN,
880         ccosfNx, ctanfN, ctanfNx.
881         (Inverse Trigonometric Functions): Document asinfN, asinfNx,
882         acosfN, acosfNx, atanfN, atanfNx, atan2fN, atan2fNx.
883         (Exponentiation and Logarithms): Document expfN, expfNx, exp2fN,
884         exp2fNx, exp10fN, exp10fNx, logfN, logfNx, log10fN, log10fNx,
885         log2fN, log2fNx, logbfN, logbfNx, ilogbfN, ilogbfNx, llogbfN,
886         llogbfNx, powfN, powfNx, sqrtfN, sqrtfNx, cbrtfN, cbrtfNx, hypotfN,
887         hypotfNx, expm1fN, expm1fNx, log1pfN, log1pfNx, cexpfN, cexpfNx,
888         clogfN, clogfNx, clog10fN, clog10fNx, csqrtfN, csqrtfNx, cpowfN,
889         cpowfNx.
890         (Hyperbolic Functions): sinhfN, sinhfNx, coshfN, coshfNx, tanhfN,
891         tanhfNx, csinhfN, csinhfNx, ccoshfN, ccoshfNx, ctanhfN, ctanhfNx,
892         asinhfN, asinhfNx, acoshfN, acoshfNx, atanhfN, atanhfNx, casinhfN,
893         casinhfNx, cacoshfN, cacoshfNx, catanhfN, catanhfNx.
894         (Special Functions): Document erffN, erffNx, erfcfN, erfcfNx,
895         lgammafN, lgammafNx, lgammarfN_r, lgammafNx_r, tgammafN, tgammafNx,
896         j0fN, j0fNx, j1fN, j1fNx, jnfN, jnfNx, y0fN, y0fNx, y1fN, y1fNx,
897         ynfN, ynfNx.
899 2017-06-23  Florian Weimer  <fweimer@redhat.com>
901         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3): Fix typo in comment.
903 2017-06-23  Florian Weimer  <fweimer@redhat.com>
905         * resolv/res_libc.c: Reformat to GNU style.
907 2017-06-23  Florian Weimer  <fweimer@redhat.com>
909         * resolv/resolv-internal.h (__res_initstamp): Declare.
910         * resolv/res_init.c (__res_initstamp): Remove hidden attribute.
911         It is implied by the declaration.
912         * resolv/res_libc.c (__res_initstamp): Remove declaration.
914 2017-06-23  Florian Weimer  <fweimer@redhat.com>
916         [BZ #21662]
917         * sysdeps/x86_64/multiarch/memcmp-avx2-movbe.S (between_2_3):
918         Use only 24 bits of the register before the subtraction.
919         * string/test-memcmp.c (check1): Check with different lengths.
921 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
923         * sysdeps/ieee754/float128/Makefile (CFLAGS-strfromf128.c): Add
924         $(libio-mtsafe) to get the value of IO_MTSAFE_IO.
926 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
928         * manual/libm-err-tab.pl (@all_floats, %suffices, parse_ulps):
929         Enable generation of float128 entries on the error table.
931 2017-06-23  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
933         * include/float.h: Include libc-header-start.h to get the
934         definition of __GLIBC_USE.
936 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
938         * sysdeps/ieee754/flt-32/e_powf.c: Optimized implementation utilizing
939         rearranged code and doubles float types.
941 2017-06-23  Rogerio A. Cardoso  <rcardoso@linux.vnet.ibm.com>
943         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Change
944         s_sinf.c from sysdeps/ieee754/flt-32/ to sysdeps/powerpc/fpu/.
946 2017-06-23  Paul A. Clarke  <pc@us.ibm.com>
948         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: Remove references
949         to errno, and simplify remaining related code.
951 2017-06-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
953         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_DARN and
954         PPC_FEATURE2_SCV.
955         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Add scv
956         and darn.
958 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
960         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S(STRRCHR): Define
961         the implementation-specific function name and remove unneeded macros
962         definition.
963         * sysdeps/powerpc/powerpc64/power8/strrchr.S(STRRCHR): Set a default
964         function name if not defined and pass as parameter to macros
965         accordingly.
967 2017-06-23  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
969         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
970         (libm-sysdep_routines): Add s_llroundf-ppc64.
971         * sysdeps/powerpc/powerpc64/power5+fpu/s_llround.S
972         (__llroundf): Define as strong alias of __llround.
973         (llroundf):  Define as weak alias of __llround.
974         (__lroundf): Define as strong alias of __llround.
975         (lroundf):  Define as weak alias of __llround.
976         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S:  Likewise.
977         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
978         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf-ppc64.S: New file.
979         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llroundf.c: Likewise.
980         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llroundf.S: Likewise.
981         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llroundf.S: Likewise.
982         * sysdeps/powerpc/powerpc64/power8/fpu/s_llroundf.S: Likewise.
984 2017-06-22  Joseph Myers  <joseph@codesourcery.com>
986         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h
987         [__HAVE_DISTINCT_FLOAT128] (__iscanonicalf128): New macro.
989         * sysdeps/generic/math-tests.h: Include <bits/floatn.h>.
990         (MATH_TESTS_TG): New macro.
991         (SNAN_TESTS_float128): Likewise.
992         (ROUNDING_TESTS_float128): Likewise.
993         (EXCEPTION_TESTS_float128): Likewise.
994         (SNAN_TESTS): Define using MATH_TESTS_TG.
995         (ROUNDING_TESTS): Likewise.
996         (EXCEPTION_TESTS): Likewise.
998         * sysdeps/ieee754/float128/float128_private.h
999         [SET_RESTORE_ROUNDF128] (SET_RESTORE_ROUNDL): Take an argument and
1000         pass it to SET_RESTORE_ROUNDF128.
1002         * sysdeps/ieee754/float128/float128_private.h: Include
1003         <ieee754.h>.
1005         * sysdeps/generic/math_private.h (__EXPR_FLT128): Do not apply
1006         typeof to argument passed to __builtin_types_compatible_p.
1007         (min_of_type): Pass type argument, not x, to __EXPR_FLT128.
1009         * math/w_acos_template.c [__USE_WRAPPER_TEMPLATE]: Include
1010         <errno.h>.
1011         * math/w_acosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1012         * math/w_asin_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1013         * math/w_atanh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1014         * math/w_cosh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1015         * math/w_exp10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1016         * math/w_exp2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1017         * math/w_exp_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1018         * math/w_fmod_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1019         * math/w_hypot_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1020         * math/w_j0_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1021         * math/w_j1_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1022         * math/w_jn_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1023         * math/w_lgamma_r_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1024         * math/w_lgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1025         * math/w_log10_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1026         * math/w_log2_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1027         * math/w_log_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1028         * math/w_pow_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1029         * math/w_remainder_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1030         * math/w_sinh_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1031         * math/w_sqrt_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1032         * math/w_tgamma_template.c [__USE_WRAPPER_TEMPLATE]: Likewise.
1034         * sysdeps/ieee754/float128/strtof128_l.c: Include
1035         <bits/types/locale_t.h> instead of <xlocale.h>.
1036         * sysdeps/ieee754/float128/wcstof128.c: Likewise.
1037         * sysdeps/ieee754/float128/wcstof128_l.c: Likewise.
1039 2017-06-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1041         * benchtests/scripts/benchout_strings.schema.json: New file.
1042         * benchtests/scripts/compare_strings.py: New file.
1044         * benchtests/bench-memcpy-large.c: Include json-lib.h.
1045         (do_one_test): Print json.
1046         (do_test): Likewise.
1047         (test_main): Likewise.
1048         * benchtests/bench-memcpy-random.c: Include json-lib.h.
1049         (do_one_test): Print json.
1050         (do_test): Likewise.
1051         (test_main): Likewise.
1052         * benchtests/bench-memcpy.c: Include json-lib.h.
1053         (do_one_test): Print json.
1054         (do_test): Likewise.
1055         (test_main): Likewise.
1057         * benchtests/json-lib.h: Include inttypes.h.
1058         (json_attr_int, json_attr_int, json_element_string,
1059         json_element_int, json_element_uint): New functions.
1060         * benchtests/json-lib.c: (json_attr_int, json_attr_int,
1061         json_element_string, json_element_int, json_element_uint): New
1062         functions.
1064 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1066         * manual/arith.texi (Remainder Functions): Describe remainder as
1067         primary and drem as an alternative name.  Change the comment on
1068         remainder to ISO, since it is defined in ISO C99.
1070 2017-06-22  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1072         * stdlib/tst-strtod.h (MMFUNC): New macro to provide an addition
1073         macro expansion.
1074         (GEN_TEST_STRTOD_FOREACH): Use MMFUNC for _Float128.
1076 2017-06-22  Mike FABIAN  <mfabian@redhat.com>
1078         [BZ #21533]
1079         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
1080         201706L for Unicode 10.0.
1082 2017-06-21  Benjamin Cama  <b.cama@kerlink.fr>
1084         [BZ #21657]
1085         * inet/inet6_scopeid_pton.c (__inet6_scopeid_pton): Permit scopes
1086         on node-local addresses.
1087         * inet/tst-inet6_scopeid_pton.c (do_test): Adjust test.
1089 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1091         * intl/loadmsgcat.c: Remove alloca support.
1092         (_nl_load_domain): Use calloc instead of alloca.
1094 2017-04-21  Florian Weimer  <fweimer@redhat.com>
1096         * malloc/Makefile (tests-internal): Add tst-alloc_buffer.
1097         (routines): Add alloc_buffer_alloc_array, alloc_buffer_allocate,
1098         alloc_buffer_copy_bytes, alloc_buffer_copy_string,
1099         alloc_buffer_create_failure.
1100         * malloc/Versions (__libc_alloc_buffer_alloc_array)
1101         (__libc_alloc_buffer_allocate, __libc_alloc_buffer_copy_bytes)
1102         (__libc_alloc_buffer_copy_string)
1103         (__libc_alloc_buffer_create_failure): Export as GLIBC_PRIVATE.
1104         * malloc/alloc_buffer_alloc_array.c: New file.
1105         * malloc/alloc_buffer_allocate.c: Likewise.
1106         * malloc/alloc_buffer_copy_bytes.c: Likewise.
1107         * malloc/alloc_buffer_copy_string.c: Likewise.
1108         * malloc/alloc_buffer_create_failure.c: Likewise.
1109         * malloc/tst-alloc_buffer.c: Likewise.
1111 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1113         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1114         strcmp-sse2, strcmp-sse4_2, strncmp-sse2, strncmp-sse4_2,
1115         strcasecmp_l-sse2, strcasecmp_l-sse4_2, strcasecmp_l-avx,
1116         strncase_l-sse2, strncase_l-sse4_2 and strncase_l-avx.
1117         * sysdeps/x86_64/multiarch/ifunc-strcasecmp.h: New file.
1118         * sysdeps/x86_64/multiarch/strcasecmp.c: Likewise.
1119         * sysdeps/x86_64/multiarch/strcasecmp_l-avx.S: Likewise.
1120         * sysdeps/x86_64/multiarch/strcasecmp_l-sse2.S: Likewise.
1121         * sysdeps/x86_64/multiarch/strcasecmp_l-sse4_2.S: Likewise.
1122         * sysdeps/x86_64/multiarch/strcasecmp_l.c: Likewise.
1123         * sysdeps/x86_64/multiarch/strcmp-sse2.S: Likewise.
1124         * sysdeps/x86_64/multiarch/strcmp-sse4_2.S: Likewise.
1125         * sysdeps/x86_64/multiarch/strcmp.c: Likewise.
1126         * sysdeps/x86_64/multiarch/strncase.c: Likewise.
1127         * sysdeps/x86_64/multiarch/strncase_l-avx.S : Likewise.
1128         * sysdeps/x86_64/multiarch/strncase_l-sse2.S: Likewise.
1129         * sysdeps/x86_64/multiarch/strncase_l-sse4_2.S: Likewise.
1130         * sysdeps/x86_64/multiarch/strncase_l.c: Likewise.
1131         * sysdeps/x86_64/multiarch/strncmp-sse2.S: Likewise.
1132         * sysdeps/x86_64/multiarch/strncmp-sse4_2.S: Likewise.
1133         * sysdeps/x86_64/multiarch/strncmp.c: Likewise.
1134         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Removed.
1135         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1136         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
1137         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
1138         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Include <sysdep.h>.
1139         (STRCMP_SSE42): New.  Defined to __strcmp_sse42 if not defined.
1140         [USE_AS_STRCASECMP_L || USE_AS_STRNCASECMP_L]: Include
1141         "locale-defines.h".
1142         (UPDATE_STRNCMP_COUNTER): New.
1143         (SECTION): Likewise.
1144         (GLABEL): Likewise.
1145         (LABEL): Likewise.
1146         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Rewrite and enable
1147         for libc.a.
1149 2017-06-21  Joseph Myers  <joseph@codesourcery.com>
1151         [BZ #21622]
1152         * sysdeps/unix/sysv/linux/tile/bits/sigaction.h (SA_RESTART):
1153         Define for [__USE_UNIX98 || __USE_XOPEN2K8], not [__USE_UNIX98 ||
1154         __USE_MISC].
1155         (SA_NODEFER): Likewise.
1156         (SA_RESETHAND): Likewise.
1158 2017-06-21  H.J. Lu  <hongjiu.lu@intel.com>
1160         * elf/dl-tunables.list (glibc.tune.ifunc): Removed.
1161         * sysdeps/x86/dl-tunables.list (glibc.tune.hwcaps): New.
1162         Remove security_level on all fields.
1163         * manual/tunables.texi: Replace ifunc with hwcaps.
1164         * sysdeps/x86/cpu-features.c (TUNABLE_CALLBACK (set_ifunc)):
1165         Renamed to ..
1166         (TUNABLE_CALLBACK (set_hwcaps)): This.
1167         (init_cpu_features): Updated.
1168         * sysdeps/x86/cpu-features.h (cpu_features): Change type of
1169         data_cache_size, data_cache_size and non_temporal_threshold to
1170         unsigned long int.
1171         * sysdeps/x86/cpu-tunables.c (DEFAULT_STRLEN): Removed.
1172         (TUNABLE_CALLBACK (set_ifunc)): Renamed to ...
1173         (TUNABLE_CALLBACK (set_hwcaps)): This.  Update comments.  Don't
1174         use DEFAULT_STRLEN.
1176 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1178         * intl/dcigettext.c (DCIGETTEXT): Use getcwd (NULL, 0) and
1179         asprintf to construct an absolute pathname.
1181 2017-06-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1183         * misc/tst-preadvwritev2-common.c: New file.
1184         * misc/tst-preadvwritev2.c (do_test): Add test for invalid flag.
1185         * misc/tst-preadvwritev64v2.c (do_test): Likewise.
1187 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1189         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add cfi
1190         annotation.
1191         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
1193 2017-06-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
1195         * sysdeps/aarch64/dl-machine.h (RTLD_START_1): Change _dl_argv to the
1196         hidden __GI__dl_argv symbol.
1198 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1200         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __inet_pton_length
1201         to parse addresses with IPv6 scope IDs.
1203 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1205         Add the __inet_pton_length helper function.
1206         * resolv/resolv-internal.h (__inet_pton_length): Declare.
1207         * resolv/inet_pton (__inet_pton_length): Rename from __inet_pton.
1208         Add length argument.
1209         (__inet_pton): New function.
1210         (inet_pton4): Add length argument.
1211         (hex_digit_value): New function.
1212         (inet_pton6): Add length argument.  Call hex_digit_value.  Use
1213         memmove and memset to fill :: gap.
1214         * resolv/Makefile (tests, tsts-static, tests-internal): Add
1215         tst-inet_pton.
1216         * resolv/tst-inet_pton.c: New file.
1217         * support/Makefile (libsupport-routines): Add xmprotect.
1218         * support/xunistd.h (xmprotect): Declare.
1219         * support/xmprotect.c: New file.
1221 2017-06-21  Florian Weimer  <fweimer@redhat.com>
1223         Add IPv6 getaddrinfo coverage to tst-inet6_scopeid_pton.c.
1224         * inet/tst-inet6_scopeid_pton.c: Switch to <support/test-driver.c>.
1225         (call_gai, check_ai): New functions.
1226         (expect_failure, expect_success): Use them.  Add logging.
1228 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1230         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1231         (sysdep_routines): Add memchr_power8.
1232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1233         (memchr): Add __memchr_power8 to list of memchr functions.
1234         * sysdeps/powerpc/powerpc64/multiarch/memchr-power8.S: New file.
1235         * sysdeps/powerpc/powerpc64/multiarch/memchr.c
1236         (memchr): Add __memchr_power8 to ifunc list.
1237         * sysdeps/powerpc/powerpc64/power8/memchr.S: New file.
1239 2017-06-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1241         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S
1242         (__llrintf): Define as strong alias of __llrint.
1243         (llrintf):  Define as weak alias of __llrint.
1244         (__lrintf): Define as strong alias of __llrint.
1245         (lrintf):  Define as weak alias of __llrint.
1246         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S:  Likewise.
1247         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
1248         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S:  Remove file content.
1249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrintf.c: New file.
1251 2017-06-20  Zack Weinberg  <zackw@panix.com>
1253         * bits/signum-generic.h: Renamed from bits/signum.h.
1254         Add proper multiple include guard and misuse check.
1255         Define __SIGRTMIN = __SIGRTMAX = 32, and define _NSIG = __SIGRTMAX+1.
1256         Move definition of SIGIO to "archaic names for compatibility" section.
1257         * bits/signum.h: New file which just includes bits/signum-generic.h.
1258         * sysdeps/unix/bsd/bits/signum.h
1259         * sysdeps/unix/sysv/linux/bits/signum.h
1260         * sysdeps/unix/sysv/linux/alpha/bits/signum.h
1261         * sysdeps/unix/sysv/linux/hppa/bits/signum.h
1262         * sysdeps/unix/sysv/linux/mips/bits/signum.h
1263         * sysdeps/unix/sysv/linux/sparc/bits/signum.h
1264         Just include <bits/signum-generic.h> and then add or adjust
1265         signal constants.  Do not define SIGUNUSED, SIGRTMIN, or SIGRTMAX.
1267         * signal/Makefile: Install bits/signum-generic.h.
1268         * signal/signal.h: Define SIGRTMIN and SIGRTMAX here.
1270         * sysdeps/generic/siglist.h: SIGSYS and SIGWINCH are
1271         universal.  Prefer SIGPOLL to SIGIO. Simplify #ifdeffage.
1273         * sysdeps/unix/sysv/linux/tst-signal-numbers.sh: New test.
1274         * sysdeps/unix/sysv/linux/Makefile: Run it.
1276 2017-06-20  Zack Weinberg  <zackw@panix.com>
1278         * locale/xlocale.h: Rename to...
1279         * locale/bits/types/__locale_t.h: ...here.  Adjust commentary.
1280         Only define struct __locale_struct and __locale_t, not locale_t.
1281         * locale/bits/types/locale_t.h: New file; define locale_t here.
1282         * locale/Makefile (headers): Update to match.
1284         * include/xlocale.h: Delete wrapper.
1285         * include/bits/types/__locale_t.h: New wrapper.
1286         * include/bits/types/locale_t.h: New wrapper.
1288         * ctype/ctype.h, include/printf.h, include/time.h
1289         * locale/langinfo.h, locale/locale.h, stdlib/monetary.h
1290         * stdlib/stdlib.h, string/string.h, string/strings.h, time/time.h
1291         * wcsmbs/wchar.h, wctype/wctype.h: Use bits/types/locale_t.h.
1292         Correct outdated comments regarding the standardization status of
1293         the functions that take locale_t arguments.
1295         * stdlib/strtod_l.c, stdlib/strtof_l.c, stdlib/strtol_l.c
1296         * stdlib/strtold_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1297         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1298         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1299         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1300         * wcsmbs/wcstof_l.c, wcsmbs/wcstold.c, wcsmbs/wcstold_l.c:
1301         Don't include xlocale.h. If necessary, include locale.h instead.
1303         * stdlib/strtold_l.c: Unconditionally include wchar.h.
1305         * ctype/ctype-c99_l.c, ctype/ctype.h, ctype/ctype_l.c
1306         * include/monetary.h, include/stdlib.h, include/time.h
1307         * include/wchar.h, locale/duplocale.c, locale/freelocale.c
1308         * locale/global-locale.c, locale/langinfo.h, locale/locale.h
1309         * locale/localeinfo.h, locale/newlocale.c
1310         * locale/nl_langinfo_l.c, locale/uselocale.c
1311         * localedata/bug-usesetlocale.c, localedata/tst-xlocale2.c
1312         * stdio-common/vfscanf.c, stdlib/monetary.h, stdlib/stdlib.h
1313         * stdlib/strfmon_l.c, stdlib/strtod_l.c, stdlib/strtof_l.c
1314         * stdlib/strtol.c, stdlib/strtol_l.c, stdlib/strtold_l.c
1315         * stdlib/strtoll_l.c, stdlib/strtoul_l.c, stdlib/strtoull_l.c
1316         * string/strcasecmp.c, string/strcoll_l.c, string/string.h
1317         * string/strings.h, string/strncase.c, string/strxfrm_l.c
1318         * sysdeps/ieee754/float128/strtof128_l.c
1319         * sysdeps/ieee754/float128/wcstof128.c
1320         * sysdeps/ieee754/float128/wcstof128_l.c
1321         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c
1322         * sysdeps/ieee754/ldbl-64-128/strtold_l.c
1323         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c
1324         * sysdeps/ieee754/ldbl-opt/nldbl-strfmon_l.c
1325         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c
1326         * sysdeps/ieee754/ldbl-opt/nldbl-wcstold_l.c
1327         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S
1328         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
1329         * sysdeps/x86_64/strcasecmp_l-nonascii.c
1330         * sysdeps/x86_64/strncase_l-nonascii.c, time/strftime_l.c
1331         * time/strptime_l.c, time/time.h, wcsmbs/mbsrtowcs_l.c
1332         * wcsmbs/wchar.h, wcsmbs/wcscasecmp.c, wcsmbs/wcsncase.c
1333         * wcsmbs/wcstod.c, wcsmbs/wcstod_l.c, wcsmbs/wcstof.c
1334         * wcsmbs/wcstof_l.c, wcsmbs/wcstol_l.c, wcsmbs/wcstold.c
1335         * wcsmbs/wcstold_l.c, wcsmbs/wcstoll_l.c, wcsmbs/wcstoul_l.c
1336         * wcsmbs/wcstoull_l.c, wctype/iswctype_l.c
1337         * wctype/towctrans_l.c, wctype/wcfuncs_l.c
1338         * wctype/wctrans_l.c, wctype/wctype.h, wctype/wctype_l.c:
1339         Change all uses of __locale_t to locale_t.
1341 2017-06-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1343         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Build only
1344         for !__OFF_T_MATCHES_OFF64_T.
1345         * sysdeps/unix/sysv/linux/openat64.c (__libc_openat64): New
1346         implementation based on open64.
1347         * sysdeps/unix/sysv/linux/wordsize-64/openat.c: Remove file.
1348         * sysdeps/unix/sysv/linux/wordsize-64/openat64.c: Likewise.
1350 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1352         * elf/dl-tunables.list: Move x86 specific tunables to ...
1353         * sysdeps/x86/dl-tunables.list: Here.  New file.
1355 2017-06-20  Joseph Myers  <joseph@codesourcery.com>
1357         [BZ #21635]
1358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
1359         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
1360         * conform/data/signal.h-data (uc_mcontext): XFAIL for
1361         powerpc32-linux.
1362         * conform/data/ucontext.h-data (uc_mcontext): Likewise.
1364         [BZ #21634]
1365         * sysdeps/unix/sysv/linux/ia64/Makefile [$(subdir) = conform]
1366         (conformtest-xfail-conds): New variable.
1367         * conform/data/signal.h-data (uc_sigmask): XFAIL for ia64-linux.
1368         * conform/data/ucontext.h-data (uc_sigmask): Likewise.
1370 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1372         * benchtests/powf-inputs: Add reduced trace from wrf.
1374 2017-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1375             Erich Elsen  <eriche@google.com>
1377         * elf/dl-tunables.list (tune): Add ifunc,
1378         x86_non_temporal_threshold,
1379         x86_data_cache_size and x86_shared_cache_size.
1380         * manual/tunables.texi: Document glibc.tune.ifunc,
1381         glibc.tune.x86_data_cache_size, glibc.tune.x86_shared_cache_size
1382         and glibc.tune.x86_non_temporal_threshold.
1383         * sysdeps/unix/sysv/linux/x86/dl-sysdep.c: New file.
1384         * sysdeps/x86/cpu-tunables.c: Likewise.
1385         * sysdeps/x86/cacheinfo.c
1386         (init_cacheinfo): Check and get data cache size, shared cache
1387         size and non temporal threshold from cpu_features.
1388         * sysdeps/x86/cpu-features.c [HAVE_TUNABLES] (TUNABLE_NAMESPACE):
1389         New.
1390         [HAVE_TUNABLES] Include <unistd.h>.
1391         [HAVE_TUNABLES] Include <elf/dl-tunables.h>.
1392         [HAVE_TUNABLES] (TUNABLE_CALLBACK (set_ifunc)): Likewise.
1393         [HAVE_TUNABLES] (init_cpu_features): Use TUNABLE_GET to set
1394         IFUNC selection, data cache size, shared cache size and non
1395         temporal threshold.
1396         * sysdeps/x86/cpu-features.h (cpu_features): Add data_cache_size,
1397         shared_cache_size and non_temporal_threshold.
1399 2017-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
1401         * benchtests/README: Describe workload feature.
1402         * benchtests/bench-skeleton.c (main): Add support for
1403         benchmarking traces from workloads.
1405 2017-06-20  Zack Weinberg  <zackw@panix.com>
1407         * string/string.h (__mempcpy_inline): Delete.
1408         * sysdeps/x86_64/multiarch/mempcpy.c
1409         * sysdeps/x86_64/multiarch/stpcpy.c:
1410         Define NO_MEMPCPY_STPCPY_REDIRECT and __NO_STRING_INLINES
1411         before including string.h.
1413 2017-06-20  Paul A. Clarke  <pc@us.ibm.com>
1415         * benchtests/Makefile (bench-math): Add powf.
1416         * benchtests/powf-inputs: New file.
1418 2017-06-20  Zack Weinberg  <zackw@panix.com>
1420         * bits/string.h, string/bits/string.h
1421         * sysdeps/aarch64/bits/string.h
1422         * sysdeps/m68k/m680x0/m68020/bits/string.h
1423         * sysdeps/s390/bits/string.h, sysdeps/sparc/bits/string.h
1424         * sysdeps/x86/bits/string.h: Delete file.
1426         * string/string.h: Don't include bits/string.h.
1427         * string/bits/string3.h: Rename to bits/string_fortified.h.
1428         No need to undef various symbols that the removed headers
1429         might have defined as macros.
1430         * string/Makefile (headers): Remove bits/string.h, change
1431         bits/string3.h to bits/string_fortified.h.
1432         * string/string-inlines.c: Update commentary.  Remove definitions
1433         of various macros that nothing looks at anymore.  Don't directly
1434         include bits/string.h. Set _STRING_INLINE_unaligned here, based on
1435         compiler-predefined macros.
1436         * string/strncat.c: If STRNCAT is not defined, or STRNCAT_PRIMARY
1437         _is_ defined, provide internal hidden alias __strncat.
1438         * include/string.h: Declare internal hidden alias __strncat.
1439         Only forward __stpcpy to __builtin_stpcpy if __NO_STRING_INLINES is
1440         not defined.
1441         * include/bits/string3.h: Rename to bits/string_fortified.h,
1442         update to match above.
1444         * sysdeps/i386/string-inlines.c: Define compat symbols for
1445         everything formerly defined by sysdeps/x86/bits/string.h.
1446         Make existing definitions into compat symbols as well.
1447         Remove some no-longer-necessary messing around with macros.
1449         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
1450         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
1451         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
1452         * sysdeps/s390/multiarch/mempcpy.c
1453         No need to define _HAVE_STRING_ARCH_mempcpy.
1454         Do define __NO_STRING_INLINES and NO_MEMPCPY_STPCPY_REDIRECT.
1456         * sysdeps/i386/i686/multiarch/strncat-c.c
1457         * sysdeps/s390/multiarch/strncat-c.c
1458         * sysdeps/x86_64/multiarch/strncat-c.c
1459         Define STRNCAT_PRIMARY.  Don't change definition of libc_hidden_def.
1461 2017-06-20  Rical Jasan  <ricaljasan@pacific.net>
1463         * manual/lang.texi (LDBL_MANT_DIG): Add annotation.
1464         (LDBL_DIG): Likewise.
1465         (LDBL_MIN_EXP): Likewise.
1466         (LDBL_MIN_10_EXP): Likewise.
1467         (LDBL_MAX_EXP): Likewise.
1468         (LDBL_MAX_10_EXP): Likewise.
1469         (LDBL_MAX): Likewise.
1470         (LDBL_MIN): Likewise.
1471         (LDBL_EPSILON): Likewise.
1472         (FLT_ROUNDS): Change standard from ISO to C90.
1473         (FLT_RADIX): Likewise.
1474         (FLT_MANT_DIG, DBL_MANT_DIG): Likewise.
1475         (FLT_DIG, DBL_DIG): Likewise.
1476         (FLT_MIN_EXP, DBL_MIN_EXP): Likewise.
1477         (FLT_MIN_10_EXP, DBL_MIN_10_EXP): Likewise.
1478         (FLT_MAX_EXP, DBL_MAX_EXP): Likewise.
1479         (FLT_MAX_10_EXP, DBL_MAX_10_EXP): Likewise.
1480         (FLT_MAX, DBL_MAX): Likewise.
1481         (FLT_MIN, DBL_MIN): Likewise.
1482         (FLT_EPSILON, DBL_EPSILON): Likewise.
1484 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1486         * sysdeps/mips/atomic-machine.h (R10K_BEQZ_INSN): Remove.
1487         [__GNUC_PREREQ (4, 8) || __mips16]: Make code unconditional.
1488         [!__GNUC_PREREQ (4, 8) && !__mips16]: Remove conditional code.
1489         * sysdeps/mips/math-tests.h
1490         [_MIPS_SIM != _ABIO32 && !__GNUC_PREREQ (4, 9)]: Remove
1491         conditional code.
1493 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1495         * intl/dcigettext.c (DCIGETTEXT): Do not make copy of localename.
1496         It cannot change while __libc_setlocale_lock is acquired.
1498 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1500         * elf/rtld.c (audit_list_string): New variable.
1501         (audit_list): Update comment.
1502         (struct audit_list_iter): Define.
1503         (audit_list_iter_init, audit_list_iter_next): New function.
1504         (dl_main): Use struct audit_list_iter to process audit modules.
1505         (process_dl_audit): Call dso_name_valid_for_suid.
1506         (process_envvars): Set audit_list_string instead of calling
1507         process_dl_audit.
1509 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1511         * elf/rtld.c (SECURE_NAME_LIMIT, SECURE_PATH_LIMIT): Define.
1512         (dso_name_valid_for_suid): New function.
1513         (handle_ld_preload): Likewise.
1514         (dl_main): Call it.  Remove alloca.
1516 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1518         [BZ #21625]
1519         * posix/sys/wait.h (strust rusage forward declaration): Change
1520         [__USE_XOPEN_EXTENDED] conditional to [__USE_XOPEN_EXTENDED &&
1521         !__USE_XOPEN2K].
1522         (wait3): Likewise.
1524         * configure.ac (libc_cv_compiler_ok): Require GCC 4.9 or later.
1525         * configure: Regenerated.
1526         * manual/install.texi (Tools for Compilation): Document
1527         requirement for GCC 4.9 or later.
1528         * INSTALL: Regenerated.
1530 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1532         [BZ #21624]
1533         CVE-2017-1000366
1534         * elf/rtld.c (process_envvars): Ignore LD_LIBRARY_PATH for
1535         __libc_enable_secure.
1537 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1539         [BZ #21539]
1540         * NEWS: Mention s390 ptrace request changes.
1541         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
1542         (PTRACE_GETREGS, PTRACE_SETREGS, PTRACE_GETFPREGS,
1543         PTRACE_SETFPREGS): Remove enum constant.
1544         (PT_GETREGS, PT_SETREGS, PT_GETFPREGS, T_SETFPREGS):
1545         Remove defines.
1546         (PTRACE_SINGLEBLOCK): New enum constant.
1547         (PT_STEPBLOCK): New define.
1548         (PTRACE_PEEKUSR_AREA, PTRACE_POKEUSR_AREA,
1549         PTRACE_GET_LAST_BREAK, PTRACE_ENABLE_TE, PTRACE_DISABLE_TE,
1550         PTRACE_TE_ABORT_RAND): New enum constant and define.
1551         * sysdeps/s390/fpu/fesetenv.c: Remove ptrace.h includes.
1552         * sysdeps/unix/sysv/linux/s390/tst-ptrace-singleblock.c:
1553         New file.
1554         * sysdeps/unix/sysv/linux/s390/Makefile: Add test.
1556 2017-06-16  Florian Weimer  <fweimer@redhat.com>
1558         * resolv/res_init.c (res_vinit_1): Use getline to read from the
1559         configuration file.
1560         (__res_vinit): Adjust.
1562 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1564         * resolv/res_init.c (res_vinit_1): New function.
1565         (__res_vinit): Call it.  Handle file open and memory allocation
1566         failures.
1567         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Propagate
1568         erno from __res_maybe_init failure.
1569         (_nss_dns_gethostbyname4_r): Likewise.
1570         (_nss_dns_gethostbyaddr2_r): Likewise.
1571         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Likewise.
1572         (_nss_dns_getnetbyaddr_r): Likewise.
1574 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1576         * resolv/res_init.c: Reformat to GNU style.
1578 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1580         * resolv/res_init.c (sort_mask_chars, ISSORTMASK): Remove.
1581         (is_sort_mask): New function.
1582         (__res_vinit): Use it.
1584 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1586         * resolv/res_init.c (res_setoptions): Remove DEBUG preprocessor
1587         conditionals.
1589 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1591         * resolv/res-close.c: New file.
1592         * resolv/res_init.c (__res_iclose, res_nclose)
1593         (res_thread_freeres): Remove definitions.
1594         * resolv/Makefile (routines): Add res-close.
1596 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1598         * resolv/res_randomid.c: New file.
1599         * resolv/res_init.c (res_randomid): Remove definition.
1600         * resolv/Makefile (routines): Add res_randomid.
1602 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1604         * include/resolv.h (__res_vinit): Declare as hidden.
1605         * resolv/res_init.c (res_ninit): Remove __res_vinit declaration.
1606         * resolv/res_libc.c (res_init): Likewise.
1608 2017-06-19  Joseph Myers  <joseph@codesourcery.com>
1610         [BZ #21457]
1611         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h [__x86_64__] (struct
1612         _libc_xmmreg): Use __ctx in defining field.
1614         [BZ #21597]
1615         * signal/signal.h (siginterrupt): Make declaration conditional on
1616         [__USE_XOPEN_EXTENDED || __USE_MISC].
1618         [BZ #21584]
1619         * signal/signal.h: Make includes of <bits/sigstack.h> and
1620         <bits/ss_flags.h> conditional on [__USE_XOPEN_EXTENDED ||
1621         __USE_MISC].
1622         (sigaltstack): Make declaration conditional on
1623         [__USE_XOPEN_EXTENDED || __USE_MISC].
1625         [BZ #21575]
1626         * resource/bits/types/struct_rusage.h: New file.
1627         * include/bits/types/struct_rusage.h: Likewise.
1628         * bits/resource.h (struct rusage): Include
1629         <bits/types/struct_rusage.h> instead of defining here.
1630         * sysdeps/unix/sysv/linux/bits/resource.h (struct rusage):
1631         Likewise.
1632         * sysdeps/unix/sysv/linux/alpha/bits/resource.h (struct rusage):
1633         Likewise.
1634         * sysdeps/unix/sysv/linux/mips/bits/resource.h (struct rusage):
1635         Likewise.
1636         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (struct rusage):
1637         Likewise.
1638         * resource/Makefile (headers): Add bits/types/struct_rusage.h.
1639         * posix/sys/wait.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8]:
1640         Include <bits/types/struct_rusage.h>
1642 2017-06-19  Florian Weimer  <fweimer@redhat.com>
1644         * malloc/dynarray.h: Use libc_hidden_proto only for !_ISOMAC.
1646 2017-06-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1648         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Fix typo.
1650 2017-06-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1652         * scripts/gen-tunables.awk: Avoid multi-dimensional arrays.
1654 2017-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
1656         [BZ #21537]
1657         * sysdeps/s390/s390-32/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1658         Check SHARED instead of PIC.
1659         (SYSCALL_PIC_SETUP): Add missing semicolons.
1660         * sysdeps/s390/s390-64/sysdep.h (JUMPTARGET, SYSCALL_PIC_SETUP):
1661         Check SHARED instead of PIC.
1662         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S
1663         (__makecontext_ret): Adjust code to jump to exit.
1665 2017-06-19  Christian Borntraeger  <borntraeger@de.ibm.com>
1667         * sysdeps/unix/sysv/linux/s390/s390-32/syscall.S (syscall):
1668         Simplify code by always using SVC 0 instead of EX.
1669         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1671 2017-06-16  H.J. Lu  <hongjiu.lu@intel.com>
1673         * elf/Versions (ld): Remove _dl_out_of_memory.
1675 2017-06-16  Joseph Myers  <joseph@codesourcery.com>
1677         * timezone/private.h: Update from tzcode 2017b.
1678         * timezone/tzfile.h: Likewise.
1679         * timezone/tzselect.ksh: Likewise.
1680         * timezone/zdump.c: Likewise.
1681         * timezone/zic.c: Likewise.
1682         * timezone/Makefile (tz-cflags): Add -D_ISOMAC
1683         -DTZ_DOMAIN='"libc"' -include $(common-objpfx)config.h.
1684         * time/tzset.c (SECSPERDAY): New macro.
1686 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1688         * manual/string.texi (strdup): Complete header and standards
1689         annotation.
1690         (strncpy): Likewise.
1692 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1694         * manual/arith.texi (FP_NAN): Add or complete header and standard
1695         annotations.
1696         (FP_INFINITE): Likewise.
1697         (FP_ZERO): Likewise.
1698         (FP_SUBNORMAL): Likewise.
1699         (FP_NORMAL): Likewise.
1700         (SNAN): Likewise.
1701         (SNANL): Likewise.
1702         (totalorderf): Likewise.
1703         (totalorderl): Likewise.
1704         (totalordermagf): Likewise.
1705         (totalordermagl): Likewise.
1706         (_Complex_I): Likewise.
1707         (I): Likewise.
1709 2017-06-16  Rical Jasan  <ricaljasan@pacific.net>
1711         * manual/argp.texi (ARGP_HELP_USAGE): Add missing header and
1712         standard annotation.
1713         (ARGP_HELP_SHORT_USAGE): Likewise.
1714         (ARGP_HELP_SEE): Likewise.
1715         (ARGP_HELP_LONG): Likewise.
1716         (ARGP_HELP_PRE_DOC): Likewise.
1717         (ARGP_HELP_POST_DOC): Likewise.
1718         (ARGP_HELP_DOC): Likewise.
1719         (ARGP_HELP_BUG_ADDR): Likewise.
1720         (ARGP_HELP_LONG_ONLY): Likewise.
1721         (ARGP_HELP_EXIT_ERR): Likewise.
1722         (ARGP_HELP_EXIT_OK): Likewise.
1723         (ARGP_HELP_STD_ERR): Likewise.
1724         (ARGP_HELP_STD_USAGE): Likewise.
1725         (ARGP_HELP_STD_HELP): Likewise.
1727 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1729         * manual/Makefile: Generate summary.texi with summary.pl.  Force
1730         use of the C locale.  Update Perl dependency comment.
1731         * manual/header.texi: Update reference to summary.awk.
1732         * manual/macros.texi: Refer authors to `summary.pl --help'.
1733         * manual/summary.awk: Remove file.
1734         * manual/summary.pl: New file.  Generate summary.texi, and check
1735         for @standards-related syntax errors.
1736         * manual/argp.texi: Convert header and standards @comments to
1737         @standards.
1738         * manual/arith.texi: Likewise.
1739         * manual/charset.texi: Likewise.
1740         * manual/conf.texi: Likewise.
1741         * manual/creature.texi: Likewise.
1742         * manual/crypt.texi: Likewise.
1743         * manual/ctype.texi: Likewise.
1744         * manual/debug.texi: Likewise.
1745         * manual/errno.texi: Likewise.
1746         * manual/filesys.texi: Likewise.
1747         * manual/getopt.texi: Likewise.
1748         * manual/job.texi: Likewise.
1749         * manual/lang.texi: Likewise.
1750         * manual/llio.texi: Likewise.
1751         * manual/locale.texi: Likewise.
1752         * manual/math.texi: Likewise.
1753         * manual/memory.texi: Likewise.
1754         * manual/message.texi: Likewise.
1755         * manual/pattern.texi: Likewise.
1756         * manual/pipe.texi: Likewise.
1757         * manual/process.texi: Likewise.
1758         * manual/resource.texi: Likewise.
1759         * manual/search.texi: Likewise.
1760         * manual/setjmp.texi: Likewise.
1761         * manual/signal.texi: Likewise.
1762         * manual/socket.texi: Likewise.
1763         * manual/startup.texi: Likewise.
1764         * manual/stdio.texi: Likewise.
1765         * manual/string.texi: Likewise.
1766         * manual/sysinfo.texi: Likewise.
1767         * manual/syslog.texi: Likewise.
1768         * manual/terminal.texi: Likewise.
1769         * manual/threads.texi: Likewise.
1770         * manual/time.texi: Likewise.
1771         * manual/users.texi: Likewise.
1773 2017-06-15  Rical Jasan  <ricaljasan@pacific.net>
1775         * manual/macros.texi (@standards): New macro.  Provide placeholder
1776         for header and standards annotations.
1777         (@standardsx): New macro.  Likewise, for lists of @*x elements.
1779 2017-06-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1781         * io/Makefile (CFLAGS-sync_file_range.c): Remove rule.
1782         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-sync_file_range.c): New
1783         rule.
1784         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove
1785         sync_file_range.
1787          * support/support_test_main.c (support_test_main):  Use optstring
1788          member for option string in getopt_long.
1789          * support/test-driver.c: Add comment about CMDLINE_OPTSTRING.
1790          (CMDLINE_OPTSTRING): New define.
1791          * support/test-driver.h (test_config): Add optstring member.
1793 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1796         strcspn-sse2, strpbrk-sse2 and strspn-sse2.
1797         * sysdeps/x86_64/strcspn.S (STRPBRK_P): Removed.
1798         Check USE_AS_STRPBRK instead of STRPBRK_P.
1799         * sysdeps/x86_64/strpbrk.S (USE_AS_STRPBRK): New.
1800         * sysdeps/x86_64/multiarch/ifunc-sse4_2.h: New file.
1801         * sysdeps/x86_64/multiarch/strcspn-sse2.S: Likewise.
1802         * sysdeps/x86_64/multiarch/strcspn.c: Likewise.
1803         * sysdeps/x86_64/multiarch/strpbrk-sse2.S: Likewise.
1804         * sysdeps/x86_64/multiarch/strpbrk.c: Likewise.
1805         * sysdeps/x86_64/multiarch/strspn-sse2.S: Likewise.
1806         * sysdeps/x86_64/multiarch/strspn.c: Likewise.
1807         * sysdeps/x86_64/multiarch/strcspn.S: Removed.
1808         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
1809         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1810         * sysdeps/x86_64/multiarch/strpbrk-c.c: Remove "#ifdef SHARED"
1811         and "#endif".
1813 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1815         * sysdeps/x86_64/multiarch/wcscpy.S: Removed.
1816         * sysdeps/x86_64/multiarch/wcscpy.c: New file.
1818 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1821         strcat-sse2.
1822         * sysdeps/x86_64/multiarch/strcat-sse2.S: New file.
1823         * sysdeps/x86_64/multiarch/strcat.c: Likewise.
1824         * sysdeps/x86_64/multiarch/strncat.c: Likewise.
1825         * sysdeps/x86_64/multiarch/strcat.S: Removed.
1826         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
1828 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1829             Erich Elsen  <eriche@google.com>
1831         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1832         memcmp-sse2.
1833         * sysdeps/x86_64/multiarch/ifunc-memcmp.h: New file.
1834         * sysdeps/x86_64/multiarch/memcmp-sse2.S: Likewise.
1835         * sysdeps/x86_64/multiarch/memcmp.c: Likewise.
1836         * sysdeps/x86_64/multiarch/wmemcmp.c: Likewise.
1837         * sysdeps/x86_64/multiarch/memcmp.S: Removed.
1838         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1840 2017-06-15  H.J. Lu  <hongjiu.lu@intel.com>
1841             Erich Elsen  <eriche@google.com>
1843         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1844         memset-sse2-unaligned-erms, and memset_chk-nonshared.
1845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1846         (__libc_ifunc_impl_list): Add test for __memset_chk_erms.
1847         Update comments.
1848         * sysdeps/x86_64/multiarch/ifunc-memset.h: New file.
1849         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Likewise.
1850         * sysdeps/x86_64/multiarch/memset.c: Likewise.
1851         * sysdeps/x86_64/multiarch/memset_chk-nonshared.S: Likewise.
1852         * sysdeps/x86_64/multiarch/memset_chk.c: Likewise.
1853         * sysdeps/x86_64/multiarch/memset.S: Removed.
1854         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1855         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
1856         (__memset_chk_erms): New function.
1858 2017-06-15  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1860         * configure.ac(--enable-tunables): Enable by default.
1861         * configure: Regenerate.
1862         * NEWS: Mention change.
1863         * manual/install.texi (enable-tunables): Adjust documentation.
1864         * INSTALL: Regenerate.
1866 2017-06-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1868         [BZ #18988]
1869         * benchtests/thread_create-inputs: New file.
1870         * benchtests/thread_create-source.c: Likewise.
1871         * support/xpthread_attr_setguardsize.c: Likewise.
1872         * support/Makefile (libsupport-routines): Add
1873         xpthread_attr_setguardsize object.
1874         * support/xthread.h: Add xpthread_attr_setguardsize prototype.
1875         * benchtests/Makefile (bench-pthread): Add thread_create.
1876         * nptl/allocatestack.c (allocate_stack): Call mmap with PROT_NONE and
1877         then mprotect the required area.
1878         (guard_position): New function.
1879         (setup_stack_prot): Likewise.
1881 2017-06-14  H.J. Lu  <hongjiu.lu@intel.com>
1882             Erich Elsen  <eriche@google.com>
1883             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1885         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
1886         memmove-sse2-unaligned-erms, memcpy_chk-nonshared,
1887         mempcpy_chk-nonshared and memmove_chk-nonshared.
1888         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
1889         (__libc_ifunc_impl_list): Add tests for __memmove_chk_erms,
1890         __memcpy_chk_erms and __mempcpy_chk_erms.  Update comments.
1891         * sysdeps/x86_64/multiarch/ifunc-memmove.h: New file.
1892         * sysdeps/x86_64/multiarch/memcpy.c: Likewise.
1893         * sysdeps/x86_64/multiarch/memcpy_chk-nonshared.S: Likewise.
1894         * sysdeps/x86_64/multiarch/memcpy_chk.c: Likewise.
1895         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S: Likewise.
1896         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1897         * sysdeps/x86_64/multiarch/memmove_chk-nonshared.S: Likewise.
1898         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
1899         * sysdeps/x86_64/multiarch/mempcpy.c: Likewise.
1900         * sysdeps/x86_64/multiarch/mempcpy_chk-nonshared.S: Likewise.
1901         * sysdeps/x86_64/multiarch/mempcpy_chk.c: Likewise.
1902         * sysdeps/x86_64/multiarch/memcpy.S: Removed.
1903         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1904         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
1905         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
1906         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1907         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1908         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
1909         (__mempcpy_chk_erms): New function.
1910         (__memmove_chk_erms): Likewise.
1911         (__memcpy_chk_erms): New alias.
1913 2017-06-14  Florian Weimer  <fweimer@redhat.com>
1915         * sysdeps/i386/i686/multiarch/strcspn-c.c: Add IS_IN (libc) guard.
1916         * sysdeps/i386/i686/multiarch/varshift.c: Likewise.
1918 2017-06-14  Zack Weinberg  <zackw@panix.com>
1920         * stdlib/errno.h: Remove __need_Emath and __need_error_t logic.
1921         Reorganize file.  Declare errno here.  When __ASSEMBLER__ is
1922         defined, don't declare anything other than the E-constants.
1924         * include/errno.h: Change conditional for exposing internal
1925         declarations to (not _ISOMAC and not __ASSEMBLER__).
1926         * bits/errno.h: Remove logic for __need_Emath.  Document
1927         requirements for a port-specific bits/errno.h.
1929         * sysdeps/unix/sysv/linux/bits/errno.h
1930         * sysdeps/unix/sysv/linux/alpha/bits/errno.h
1931         * sysdeps/unix/sysv/linux/hppa/bits/errno.h
1932         * sysdeps/unix/sysv/linux/mips/bits/errno.h
1933         * sysdeps/unix/sysv/linux/sparc/bits/errno.h:
1934         Add multiple-include guard and check against improper inclusion.
1935         Remove __need_Emath logic.  Don't declare errno here.  Ensure all
1936         constants are defined as simple integer literals.  Consistent
1937         formatting.
1938         * sysdeps/mach/hurd/errnos.awk: Likewise.  Only define error_t and
1939         enum __error_t_codes if __ASSEMBLER__ is not defined.
1940         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
1942         * argp/argp.h, string/argz.h: Don't define __need_error_t before
1943         including errno.h.
1944         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S
1945         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S
1946         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S
1947         * sysdeps/x86_64/fpu/s_cosf.S
1948         * sysdeps/x86_64/fpu/s_sincosf.S
1949         * sysdeps/x86_64/fpu/s_sinf.S:
1950         Just include errno.h; don't define __need_Emath or include
1951         bits/errno.h directly.
1953 2017-06-14  Zack Weinberg  <zackw@panix.com>
1955         * bits/uio_lim.h, sysdeps/unix/sysv/linux/bits/uio_lim.h
1956         * bits/uio-ext.h, sysdeps/unix/sysv/linux/bits/uio-ext.h: New file.
1957         * bits/uio.h, sysdeps/unix/sysv/linux/bits/uio.h: Delete file.
1959         * include/bits/xopen_lim.h: Use bits/uio_lim.h to get the value
1960         for IOV_MAX.
1961         * misc/Makefile: Install bits/uio-ext.h and bits/uio_lim.h.
1962         Don't install bits/uio.h.
1963         * misc/sys/uio.h: Don't include bits/uio.h.  Do include
1964         bits/types/struct_iovec.h and bits/uio_lim.h.  Set UIO_MAXIOV
1965         based on __IOV_MAX. Under __USE_GNU, also include bits/uio-ext.h.
1967         * stdio-common/stdio_lim.h.in: Remove logic for __need_FOPEN_MAX
1968         and __need_IOV_MAX.  Don't define IOV_MAX at all.
1969         * Makerules (stdio_lim.h): Remove logic for setting IOV_MAX.
1971         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h:
1972         Include bits/types/struct_iovec.h, not bits/uio.h.
1973         Use __ssize_t, not ssize_t, in function prototypes.
1974         Don't use hard TAB for double space after period in comments.
1976 2017-06-14  Alan Modra  <amodra@gmail.com>
1978         * elf/elf.h (PPC64_OPT_LOCALENTRY): Define.
1979         * sysdeps/alpha/dl-machine.h (elf_machine_fixup_plt): Add
1980         refsym and sym parameters.  Adjust callers.
1981         * sysdeps/aarch64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1982         * sysdeps/arm/dl-machine.h (elf_machine_fixup_plt): Likewise.
1983         * sysdeps/generic/dl-machine.h (elf_machine_fixup_plt): Likewise.
1984         * sysdeps/hppa/dl-machine.h (elf_machine_fixup_plt): Likewise.
1985         * sysdeps/i386/dl-machine.h (elf_machine_fixup_plt): Likewise.
1986         * sysdeps/ia64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1987         * sysdeps/m68k/dl-machine.h (elf_machine_fixup_plt): Likewise.
1988         * sysdeps/microblaze/dl-machine.h (elf_machine_fixup_plt): Likewise.
1989         * sysdeps/mips/dl-machine.h (elf_machine_fixup_plt): Likewise.
1990         * sysdeps/nios2/dl-machine.h (elf_machine_fixup_plt): Likewise.
1991         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_fixup_plt):
1992         Likewise.
1993         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1994         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1995         * sysdeps/sh/dl-machine.h (elf_machine_fixup_plt): Likewise.
1996         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_fixup_plt): Likewise.
1997         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_fixup_plt): Likewise.
1998         * sysdeps/tile/dl-machine.h (elf_machine_fixup_plt): Likewise.
1999         * sysdeps/x86_64/dl-machine.h (elf_machine_fixup_plt): Likewise.
2000         * sysdeps/powerpc/powerpc64/dl-machine.c (_dl_error_localentry): New.
2001         (_dl_reloc_overflow): Increase buffser size.  Formatting.
2002         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
2003         Delete reloc param, add refsym and sym.  Check optimized plt
2004         call stubs for localentry:0 functions.  Adjust callers.
2005         (elf_machine_fixup_plt, elf_machine_plt_conflict): Add refsym
2006         and sym parameters.  Adjust callers.
2007         (_dl_reloc_overflow): Move attribute.
2008         (_dl_error_localentry): Declare.
2009         * elf/dl-runtime.c (_dl_fixup): Save original sym.  Pass
2010         refsym and sym to elf_machine_fixup_plt.
2011         * elf/testobj6.c (preload): Call printf.
2013 2017-06-14  Alan Modra  <amodra@gmail.com>
2015         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2016         (NOPS, ENTRY_3): New macros.
2017         (ENTRY): Rewrite.
2018         (ENTRY_TOCLESS): Define.
2019         (EALIGN, EALIGN_W_0, EALIGN_W_1, EALIGN_W_2, EALIGN_W_4, EALIGN_W_5,
2020         EALIGN_W_6, EALIGN_W_7, EALIGN_W_8): Delete.
2021         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Replace EALIGN with ENTRY.
2022         * sysdeps/powerpc/powerpc64/dl-trampoline.S: Likewise.
2023         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S: Likewise.
2024         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Likewise.
2025         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
2026         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
2027         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: Likewise.
2028         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
2029         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
2030         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
2031         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
2032         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
2033         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
2034         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
2035         * sysdeps/powerpc/powerpc64/memset.S: Likewise.
2036         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
2037         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
2038         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
2039         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.
2040         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2041         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
2042         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2043         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
2044         * sysdeps/powerpc/powerpc64/addmul_1.S: Use ENTRY_TOCLESS.
2045         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
2046         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
2047         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
2048         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S: Likewise.
2049         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
2050         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
2051         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
2052         * sysdeps/powerpc/powerpc64/lshift.S: Likewise.
2053         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
2054         * sysdeps/powerpc/powerpc64/mul_1.S: Likewise.
2055         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
2056         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
2057         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
2058         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
2059         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceil.S: Likewise.
2060         * sysdeps/powerpc/powerpc64/power5+/fpu/s_ceilf.S: Likewise.
2061         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floor.S: Likewise.
2062         * sysdeps/powerpc/powerpc64/power5+/fpu/s_floorf.S: Likewise.
2063         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
2064         * sysdeps/powerpc/powerpc64/power5+/fpu/s_round.S: Likewise.
2065         * sysdeps/powerpc/powerpc64/power5+/fpu/s_roundf.S: Likewise.
2066         * sysdeps/powerpc/powerpc64/power5+/fpu/s_trunc.S: Likewise.
2067         * sysdeps/powerpc/powerpc64/power5+/fpu/s_truncf.S: Likewise.
2068         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
2069         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
2070         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
2071         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
2072         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
2073         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
2074         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
2075         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
2076         * sysdeps/powerpc/powerpc64/power7/add_n.S: Likewise.
2077         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
2078         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
2079         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
2080         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
2081         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
2082         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
2083         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
2084         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
2085         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S (strcasecmp_l):
2086         Likewise.
2087         * sysdeps/powerpc/powerpc64/power7/strchr.S: Likewise.
2088         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
2089         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
2090         * sysdeps/powerpc/powerpc64/power7/strlen.S: Likewise.
2091         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
2092         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Likewise.
2093         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
2094         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
2095         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
2096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
2097         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
2098         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: Likewise.
2099         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: Likewise.
2100         * sysdeps/powerpc/powerpc64/power8/memcmp.S: Likewise.
2101         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
2102         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
2103         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
2104         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
2105         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
2106         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
2107         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
2108         * sysdeps/powerpc/powerpc64/power8/strnlen.S: Likewise.
2109         * sysdeps/powerpc/powerpc64/power8/strrchr.S: Likewise.
2110         * sysdeps/powerpc/powerpc64/power8/strspn.S: Likewise.
2111         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
2112         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
2113         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
2114         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
2115         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
2116         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
2117         * sysdeps/powerpc/powerpc64/ppc-mcount.S: Store LR earlier.  Don't
2118         add nop when SHARED.
2119         * sysdeps/powerpc/powerpc64/start.S: Fix comment.
2120         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY): Don't
2121         define.
2122         (ENTRY_TOCLESS): Define.
2123         * sysdeps/powerpc/powerpc32/sysdep.h (ENTRY_TOCLESS): Define.
2124         * sysdeps/powerpc/fpu/s_fma.S: Use ENTRY_TOCLESS.
2125         * sysdeps/powerpc/fpu/s_fmaf.S: Likewise.
2127 2017-06-14  Alan Modra  <amodra@gmail.com>
2129         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Define
2130         MEMSET_is_local.
2131         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
2132         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
2133         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
2134         Define MEMSET.
2135         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
2136         STRLEN_is_local, STRNLEN_is_local, and STRCHR_is_local.
2137         * sysdeps/powerpc/powerpc64/power7/strstr.S: Likewise.  Don't add
2138         nop after local calls.
2139         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Define MEMSET_is_local.
2140         Don't add nop after local call.
2141         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.  Add missing
2142         CALL_MCOUNT.
2144 2017-06-14  Alan Modra  <amodra@gmail.com>
2146         * sysdeps/powerpc/powerpc64/sysdep.h: Formatting.
2147         (FUNC_LABEL): Rename from DOT_LABEL.
2148         (ENTRY_1): Use FUNC_LABEL and remove leading space from label.
2149         Use .p2align rather than .align.
2150         (TRACEBACK, TRACEBACK_MASK): Use .p2align rather than .align.
2151         (ABORT_TRANSACTION): Likewise.
2152         (ENTRY_1, ENTRY_2, END_2, LOCALENTRY): Remove unnecessary semicolons,
2153         particularly at end.  Add semicolon at invocation as necessary.
2154         (TRACEBACK, TRACEBACK_MASK, PSEUDO, PSEUDO_NOERRNO): Likewise.
2155         (PSEUDO_ERRVAL, PPC64_LOAD_FUNCPTR, OPD_ENT): Likewise.
2156         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S (ENTRY,
2157         END): Adjust to suit.
2159 2017-06-14  Alan Modra  <amodra@gmail.com>
2161         * sysdeps/powerpc/powerpc64/sysdep.h: (FRAME_BACKCHAIN,
2162         FRAME_CR_SAVE, FRAME_LR_SAVE): Move out of conditional.
2163         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
2164         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
2165         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Delete.
2166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Replace
2167         uses of FRAME_PARM[1-9]_SAVE with FRAME_PARM_SAVE plus offset.
2169 2017-06-14  Alan Modra  <amodra@gmail.com>
2171         * sysdeps/powerpc/powerpc64/sysdep.h: (call_mcount_parm_offset): Delete.
2172         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Correct.
2174 2017-06-13  Gordana Cmiljanovic  <gordana.cmiljanovic@imgtec.com>
2176         [BZ #21548]
2177         * sysdeps/unix/sysv/linux/mips/getcontext.S: Define MCONTEXT_SZGREG as
2178         8 and use it when copying general purpose registers.
2179         * sysdeps/unix/sysv/linux/mips/makecontext.S: Likewise.
2180         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: Include new test for
2181         mips o32.
2182         * sysdeps/unix/sysv/linux/mips/mips32/bug-getcontext-mips-gp.c: Added
2183         new test for mips o32.
2184         * sysdeps/unix/sysv/linux/mips/setcontext.S: Define MCONTEXT_SZGREG as
2185         8 and use it when copying general purpose registers.
2186         * sysdeps/unix/sysv/linux/mips/swapcontext.S: Likewise.
2188 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2190         * configure.ac (find_cxx_header): Suppress compiler error message.
2192 2017-06-13  Florian Weimer  <fweimer@redhat.com>
2194         * malloc/dynarray-skeleton.c: List begin/end as defined functions.
2195         (DYNARRAY_PREFIX##begin, DYNARRAY_PREFIX##end): New functions.
2196         * malloc/tst-dynarray-shared.h (CHECK_EMPTY): Add tests for
2197         begin/end.
2198         * malloc/tst-dynarray.c (test_int): Test dynarray_int_begin,
2199         dynarray_int_end.
2200         (test_str): Test dynarray_str_begin, dynarray_str_end.
2202 2017-06-13  H.J. Lu  <hongjiu.lu@intel.com>
2204         [BZ #21573]
2205         * Makerules [$(c++-bits-std_abs-h) != ""] (before-compile): Add
2206         $(common-objpfx)bits/std_abs.h.
2207         [$(c++-bits-std_abs-h) != ""] ($(common-objpfx)bits/std_abs.h):
2208         New target.
2209         * config.make.in (c++-bits-std_abs-h): New.
2210         * configure.ac (find_cxx_header): Use "\,$1," with sed.
2211         (CXX_BITS_STD_ABS_H): New.
2212         (AC_SUBST(CXX_BITS_STD_ABS_H)): Likewise.
2213         * configure: Regenerated.
2215 2017-06-13  Zack Weinberg  <zackw@panix.com>
2217         * posix/bits/cpu-set.h: Correct indentation of preprocessor
2218         directives.
2220 2017-06-12  Zack Weinberg  <zackw@panix.com>
2222         * bits/sched.h: Remove __need_schedparam logic and replace with a
2223         normal multiple-include guard.  Change field name in struct
2224         sched_param from __sched_priority to sched_priority.  Delete
2225         everything under #ifndef __cpu_set_t_defined.
2226         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.  Also sync with
2227         kernel sched.h, adding SCHED_ISO and SCHED_DEADLINE constants.
2229         * posix/sched.h: Include bits/cpu-set.h as well as bits/sched.h.
2230         For compatibility, #define sched_priority to itself, and #define
2231         __sched_priority as sched_priority.
2232         * posix/bits/cpu-set.h: New file containing, verbatim, the code
2233         that was under #ifndef __cpu_set_t_defined in
2234         sysdeps/unix/sysv/linux/bits/sched.h.
2235         * include/bits/cpu-set.h: New wrapper.
2236         * posix/Makefile: Install bits/cpu-set.h.
2238 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2239             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2240             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2242         * math/gen-libm-test.pl (@all_floats): Add ifloat128 and float128.
2243         (%all_floats_pfx): Add macro prefix for float128 (FLT128).
2244         * math/libm-test-exp10.inc (pow10_test): Do not test for _FloatN,
2245         * math/libm-test-isfinite.inc (finite_test): Likewise.
2246         * math/libm-test-lgamma.inc (gamma_test): Likewise.
2247         * math/libm-test-nexttoward.inc (nexttoward_test): Likewise.
2248         (nexttoward_test_data}: Likewise.
2249         * math/libm-test-remainder.inc (drem_test): Likewise.
2250         * math/libm-test-scalb.inc (scalb_test): Likewise.
2251         (scalb_test_data): Likewise.
2252         * math/libm-test-significand.inc (significand_test): Likewise.
2253         (significand_test_data): Likewise.
2254         * math/libm-test-support.c (check_complex): Replace __complex__
2255         FLOAT with CFLOAT to get the support for old compiler.
2256         * math/libm-test-support.h (check_complex): Likewise.
2257         * math/test-double.h (CFLOAT, TEST_FLOATN): New macros.
2258         * math/test-float.h (CFLOAT, TEST_FLOATN): Likewise.
2259         * math/test-ldouble.h (CFLOAT, TEST_FLOATN): Likewise.
2260         * math/test-float128.h: New file.
2261         * math/test-math-floatn.h: New file.
2263 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2265         * include/float.h: Allow the definition of macros prefixed with
2266         FLT128 even if _ISOMAC is defined, but provided that
2267         __STDC_WANT_IEC_60559_TYPES_EXT__ is defined as a macro.
2269 2017-06-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2271         * manual/math.texi (Mathematics): Add description for _FloatN and
2272         _FloatNx types and mentions that they are not support in glibc for
2273         any architecture, so far.
2274         * manual/arith.texi (wcstof, wcstold): Replace the mention to
2275         stdlib.h with wchar.h.
2276         (Parsing of Floats): Add descriptions for strtofN and wcstofN.
2277         (Printing of Floats): Add description for strfromfN.
2279 2017-06-12  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2280             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2281             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2283         * include/gmp.h (__mpn_construct_float128): New declaration.
2284         * include/stdlib.h: Include bits/floatn.h for _Float128 tests.
2285         (__strtof128_l): New declaration.
2286         (__strtof128_nan): Likewise.
2287         (__wcstof128_nan): Likewise.
2288         (__strtof128_internal): Likewise.
2289         (____strtof128_l_internal): Likewise.
2290         * include/wchar.h: Include bits/floatn.h for _Float128 tests.
2291         (__wcstof128_l): New declaration.
2292         (__wcstof128_internal): Likewise.
2294         * stdlib/Makefile (bug-strtod2): Link libm too.
2296         * stdlib/stdlib.h (strtof128): New declaration.
2297         (strtof128_l): Likewise.
2299         * stdlib/tst-strtod-nan-locale-main.c: Updated to use
2300         tst-strtod.h macros to ensure float128 gets tested too.
2302         * stdlib/tst-strtod-round-skeleton.c (CHOOSE_f128): New macro.
2304         * stdlib/tst-strtod.h: Include bits/floatn.h for _Float128
2305         tests.
2306         (IF_FLOAT128): New macro.
2307         (GEN_TEST_STRTOD): Update to optionally include _Float128 in
2308         the tests.
2309         (STRTOD_TEST_FOREACH): Likewise.
2311         * sysdeps/ieee754/float128/Makefile: Insert new strtof128 and
2312         wcstof128 functions into libc.
2314         * sysdeps/ieee754/float128/Versions: Add exports for the above
2315         new functions.
2317         * sysdeps/ieee754/float128/mpn2float128.c: New file.
2318         * sysdeps/ieee754/float128/strtod_nan_float128.h: New file.
2319         * sysdeps/ieee754/float128/strtof128.c: New file.
2320         * sysdeps/ieee754/float128/strtof128_l.c: New file.
2321         * sysdeps/ieee754/float128/strtof128_nan.c: New file.
2322         * sysdeps/ieee754/float128/wcstof128.c: New file.
2323         * sysdeps/ieee754/float128/wcstof128_l.c: New file.
2324         * sysdeps/ieee754/float128/wcstof128_nan.c: New fike.
2325         * wcsmbs/Makefile: (CFLAGS-wcstof128.c): Append strtox-CFLAGS.
2326         (CFLAGS-wcstof128_l): Likewise.
2328         * wcsmbs/wchar.h: Include bits/floatn.h for _Float128 tests.
2329         (wcstof128): New declaration.
2330         (wcstof128_l): Likewise.
2332 2017-06-12  Joseph Myers  <joseph@codesourcery.com>
2334         [BZ #21552]
2335         * signal/signal.h (bsd_signal): Declare if [__USE_XOPEN_EXTENDED],
2336         not [__USE_XOPEN].
2337         * conform/Makefile (test-xfail-XPG4/signal.h/conform): Remove.
2339         [BZ #21550]
2340         * signal/signal.h (sigwait): Only declare if [__USE_POSIX199506].
2342 2017-06-12  H.J. Lu  <hongjiu.lu@intel.com>
2344         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2345         strcpy-sse2 and stpcpy-sse2.
2346         * sysdeps/x86_64/multiarch/ifunc-unaligned-ssse3.h: New file.
2347         * sysdeps/x86_64/multiarch/stpcpy-sse2.S: Likewise.
2348         * sysdeps/x86_64/multiarch/stpcpy.c: Likewise.
2349         * sysdeps/x86_64/multiarch/stpncpy.c: Likewise.
2350         * sysdeps/x86_64/multiarch/strcpy-sse2.S: Likewise.
2351         * sysdeps/x86_64/multiarch/strcpy.c: Likewise.
2352         * sysdeps/x86_64/multiarch/strncpy.c: Likewise.
2353         * sysdeps/x86_64/multiarch/stpcpy.S: Removed.
2354         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
2355         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
2356         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
2357         * sysdeps/x86_64/multiarch/stpncpy-c.c (weak_alias): New.
2358         (libc_hidden_def): Always defined as empty.
2359         * sysdeps/x86_64/multiarch/strncpy-c.c (libc_hidden_builtin_def):
2360         Always Defined as empty.
2362 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2364         * string/string-inlines.c: Add undef of __stpcpy to fix build issue.
2366 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2368         [BZ #15105]
2369         [BZ #19463]
2370         * include/string.h: Add internal redirect for __stpcpy.
2371         * string/Makefile: Remove bits/string2.h.
2372         * string/string.h: Update comment.
2373         * string/string-inlines.c: Remove bits/string2.h include and comment.
2374         * string/bits/string2.h: Remove file.
2376 2017-06-12  Wilco Dijkstra  <wdijkstr@arm.com>
2378         * sunrpc/bindrsvprt.c (bindresvport): Change __bzero to memset.
2379         * sunrpc/clnt_gen.c (clnt_create): Likewise.
2380         * sunrpc/des_impl.c (_des_crypt): Likewise.
2381         * sunrpc/key_call.c (key_gendes): Likewise.
2382         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
2383         * sunrpc/svc_simple.c (universal): Likewise.
2384         * sunrpc/svc_tcp.c (svctcp_create): Likewise.
2385         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
2386         * sysdeps/arm/aeabi_memclr.c (__aeabi_memclr): Likewise.
2388 2017-06-10  Zack Weinberg  <zackw@panix.com>
2390         * stdlib/errno.h: Correct an outdated comment.
2392 2017-06-09  Paul A. Clarke  <pc@us.ibm.com>
2394         * sysdeps/unix/sysv/linux/powerpc/sysconf.c: New file.
2395         Add powerpc-specific overrides for L1, L2, L3 CACHE_SIZEs,
2396         CACHE_ASSOCs, and CACHE_LINESIZEs, retrieving from auxv.
2397         * sysdeps/unix/sysv/linux/powerpc/test-powerpc-linux-sysconf.c:
2398         New file.  Invoke newly supported sysconf values for powerpc,
2399         and report results.  If none are supported, report so.
2400         * sysdeps/unix/sysv/linux/powerpc/Makefile (tests):  Add new test,
2401         tst-sysconf.
2403 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2405         * include/sys/auxv.h (__getauxval): Add a prototype and its
2406         libc_hidden_proto.
2407         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
2409 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
2411         [BZ #21561]
2412         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
2413         [__USE_XOPEN_EXTENDED].
2414         (id_t): Likewise.
2415         (include of <bits/types/siginfo_t.h): Likewise.
2416         (waitid): Likewise.
2417         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
2418         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
2419         (WEXITED): Likewise.
2420         (WCONTINUED): Likewise.
2421         (WNOWAIT): Likewise.
2422         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
2423         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
2424         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
2426         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
2427         libc.so PLT entry optional.
2428         (__gtsf2): Likewise.
2429         (__unorddf2): Likewise.
2430         (__unordsf2): Likewise.
2431         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
2432         New optional libc.so PLT entry.
2434         [BZ #21554]
2435         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
2436         not [__USE_XOPEN].
2438         [BZ #21560]
2439         * posix/sys/wait.h: Condition include of <signal.h> on
2440         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
2441         unconditionally.
2442         [!__pid_t_defined] (pid_t): Define typedef.
2444 2017-06-09  Zack Weinberg  <zackw@panix.com>
2446         * include/errno.h (__errno_location): Use __attribute_const__
2447         instead of bare __attribute__.
2449 2017-06-09  Zack Weinberg  <zackw@panix.com>
2451         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
2452         (common-generated): Add libc-modules.h and libc-modules.stmp in a
2453         more appropriate location. Also add dl-tunable-list.h and
2454         dl-tunable-list.stmp.
2456 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2458         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
2460 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2463         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
2464         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2465         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
2466         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
2467         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
2468         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
2469         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
2470         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
2471         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
2472         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
2474 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2476         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2477         memrchr-sse2 and memrchr-avx2.
2478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2479         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
2480         __memrchr_sse2.
2481         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
2482         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
2483         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
2485 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2487         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2488         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
2489         wcschr-sse2 and wcschr-avx2.
2490         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2491         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
2492         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
2493         __wcschr_sse2.
2494         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
2495         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
2496         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
2497         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
2498         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
2499         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
2500         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
2501         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
2502         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
2503         * sysdeps/x86_64/multiarch/strchr.S: Removed.
2505 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2507         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2508         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
2509         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
2510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2511         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
2512         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
2513         __wcslen_sse2 and __wcsnlen_avx2.
2514         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
2515         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
2516         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
2517         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
2518         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
2519         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
2520         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
2521         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
2522         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
2523         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
2524         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
2525         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
2526         vzeroupper is preferred and AVX unaligned load is fast.
2528 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
2530         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
2531         USE_AS_WMEMCHR is defined.
2532         (PCMPEQ): Likewise.
2533         (memchr): Renamed to ...
2534         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
2535         Replace pcmpeqb with PCMPEQ.
2536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2537         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
2538         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
2539         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
2540         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
2541         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
2542         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
2543         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
2544         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
2545         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
2546         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
2547         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
2548         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
2549         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2550         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
2551         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
2552         __wmemchr_sse2.
2554 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2556         * malloc/Makefile (test-srcs): Remove tst-dynarray,
2557         tst-dynarray-fail.
2559 2017-06-09  Florian Weimer  <fweimer@redhat.com>
2561         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
2562         * support/support_test_verify_impl.c
2563         (support_test_verify_exit_impl): Split from
2564         support_test_verify_impl.
2565         * support/check.h (TEST_VERIFY): Drop status argument from
2566         support_test_verify_impl call.
2567         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
2568         (support_test_verify_impl): Remove status argument.
2569         (support_test_verify_exit_impl): Declare.
2571 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2573         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
2574         mention of magic numbers in comments.
2575         (_dl_procinfo): Fix undefined behavior
2577 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
2579         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
2580         [XPG4].
2581         (WEXITED): Likewise.
2582         (WSTOPPED): Likewise.
2583         (WCONTINUED): Likewise.
2584         (WNOHANG): Likewise.
2585         (WNOWAIT): Likewise.
2586         (idtype_t): Likewise.
2587         (P_ALL): Likewise.
2588         (P_PID): Likewise.
2589         (P_PGID): Likewise.
2590         (id_t): Likewise.
2591         (siginfo_t): Likewise.
2592         (wait3): Likewise.
2593         (waitid): Likewise.
2594         (signal.h): Do not allow header for [XPG4].
2595         (sys/resource.h): Likewise.
2596         (si_*): Do not allow for [XPG4].
2597         (W*): Likewise.
2598         (P_*): Likewise.
2599         (BUS_): Likewise.
2600         (CLD_): Likewise.
2601         (FPE_): Likewise.
2602         (ILL_): Likewise.
2603         (POLL_): Likewise.
2604         (SEGV_): Likewise.
2605         (SI_): Likewise.
2606         (TRAP_): Likewise.
2607         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
2608         variable.
2610 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2612         [BZ #21528]
2613         * elf/dl-minimal.c (__strtoul_internal): Removed.
2614         (strtoul): Likewise.
2615         * elf/dl-misc.c (_dl_strtoul): New function.
2616         * elf/dl-tunables.c (tunables_strtoul): Removed.
2617         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
2618         * elf/rtld.c (process_envvars): Likewise.
2619         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
2620         Likewise.
2621         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
2623 2017-06-08  Zack Weinberg  <zackw@panix.com>
2625         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
2626         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
2627         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
2628         * wctype/bits/wctype-wchar.h: New file holding declarations shared
2629         between wctype.h and wchar.h.
2631         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
2632         Install them.
2634         * include/bits/types/FILE.h, include/bits/types/__FILE.h
2635         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
2636         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
2637         New wrappers.
2638         * include/stdio.h, include/wchar.h, include/wctype.h:
2639         No need to handle __need macros.
2641         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
2642         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
2643         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
2644         * wcsmbs/wchar.h, wctype/wctype.h
2645         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
2646         Use the new files instead of __need macros.
2648 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
2650         * string/test-memrchr.c (test_main): Add tests for len == 0
2651         and tests for positions close to the beginning, which are
2652         equivalent to positions close to the end for memchr.
2654 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2656         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
2657         comments.
2658         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
2659         instead of wmemset.h.
2660         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2661         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
2662         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
2664 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2666         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
2667         spec->info.is_binary128 to zero.
2668         * stdio-common/printf.h (printf_info): Add new member is_binary128
2669         to indicate that the number being converted to string is compatible
2670         with the IEC 60559 binary128 format.
2671         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
2672         _Float128 numbers.
2673         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
2674         ldbl-128/printf_fphex_macros.h
2675         (__printf_fphex): Add code to deal with _Float128 numbers.
2676         * stdio-common/printf_size.c (__printf_size): Likewise.
2677         * stdio-common/vfprintf.c (process_arg): Initialize member
2678         info.is_binary128 to zero.
2679         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
2680         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
2681         (strfromf128): New declaration.
2682         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
2683         to one.
2684         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
2685         * sysdeps/ieee754/float128/Versions: Likewise.
2686         * sysdeps/ieee754/float128/strfromf128.c: New file.
2688 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2690         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
2691         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
2692         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
2693         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
2694         (PRINT_FPHEX): New function-like macro that can be used for long
2695         double, as well as for _Float128
2697 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2699         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
2700         (__printf_fp_l): Use the new macro to avoid duplicating code.
2701         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
2702         (__printf_fphex): Use the new macro to avoid duplicating code.
2703         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
2704         (__printf_size): Use the new macro to avoid duplicating code.
2706 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2708         * include/gmp.h: Include bits/floatn.h
2709         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
2710         * stdlib/gmp-impl.h: Also check if alloca is not defined before
2711         including stack-alloc.h.  It could have been defined by other header
2712         which not necessarily defines HAVE_ALLOCA.
2713         * sysdeps/ieee754/float128/Makefile: New file.
2714         * sysdeps/ieee754/float128/float1282mpn.c: New file.
2715         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
2716         redefining __mpn_extract_long_double to __mpn_extract_float128, then
2717         redefine __mpn_extract_long_double to __mpn_extract_float128.
2718         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
2719         _Float128 to allow float128_private.h overrides.
2721 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2723         * stdlib/fpioconst.h: Include bits/floatn.h.
2724         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
2725         power of ten table should be.
2726         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
2727         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
2728         to include larger tables when _Float128 support is enabled.
2729         (_fpioconst_pow10): Likewise.
2731 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
2733         * include/bits/types/clock_t.h: Use #include <path> instead of
2734         #include "../../path".
2735         * include/bits/types/clockid_t.h: Likewise.
2736         * include/bits/types/struct_iovec.h: Likewise.
2737         * include/bits/types/struct_itimerspec.h: Likewise.
2738         * include/bits/types/struct_osockaddr.h: Likewise.
2739         * include/bits/types/struct_sigstack.h: Likewise.
2740         * include/bits/types/struct_timespec.h: Likewise.
2741         * include/bits/types/struct_timeval.h: Likewise.
2742         * include/bits/types/struct_tm.h: Likewise.
2743         * include/bits/types/time_t.h: Likewise.
2744         * include/bits/types/timer_t.h: Likewise.
2746         [BZ #14096]
2747         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
2748         America/New_York.
2750 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
2752         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
2753         into ...
2754         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
2755         ifunc-sse4_1.h.
2757 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2759         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
2760         Remove check for NULL 'buf'.
2761         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
2763 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
2765         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
2766         include test-skeleton.c.
2767         Include support/check.h and support/test-driver.c.
2769 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2771         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
2772         (_dl_aarch64_cap_flags): New array.
2773         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
2774         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
2775         functions.
2777         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
2778         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
2779         Likewise.
2780         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
2781         up hwcap and hwcap_mask.
2783         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
2784         (init_cpu_features): Use glibc.tune.hwcap_mask.
2785         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
2787         * elf/dl-hwcaps.h: New file.
2788         * elf/dl-hwcaps.c: Include it.
2789         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
2790         glibc.tune.hwcap_mask.
2791         * elf/dl-cache.c: Include dl-hwcaps.h.
2792         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
2793         glibc.tune.hwcap_mask.
2794         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
2795         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
2796         _dl_hwcap_mask.
2797         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
2798         _dl_hwcap_mask.
2799         (process_envvars)[HAVE_TUNABLES]: Likewise.
2800         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
2801         Likewise.
2802         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
2803         initialize dl_hwcap_mask when tunables are enabled.
2805         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
2806         guard.
2807         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
2809         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
2810         * scripts/gen-tunables.awk: Include dl-procinfo.h.
2811         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
2813         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
2814         * elf/dl-tunables.c: Likewise.
2815         (do_tunable_update_val): New function.
2816         (__tunable_set_val): New function.
2817         (__tunable_get_val): Call CB only if the tunable was externally
2818         initialized.
2819         (tunables_strtoul): Replace strval with initialized.
2820         * elf/dl-tunables.h (strval): Replace with a bool initialized.
2821         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
2822         prevent collision.
2823         (__tunable_set_val): New function.
2824         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
2825         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
2826         (TUNABLE_SET_VAL): Remove.
2827         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
2828         * README.tunables: Document the new macros.
2829         * malloc/arena.c (ptmalloc_init): Adjust.
2831 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
2833         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2834         wcsnlen-sse4_1 and wcsnlen-c.
2835         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2836         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
2837         __wcsnlen_sse2.
2838         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
2839         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
2840         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
2841         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
2842         * sysdeps/x86_64/wcsnlen.S: Removed.
2844 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2846         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
2847         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
2848         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
2849         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
2851 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2853         * NEWS: Mention new spinlock implementation.
2854         * include/atomic.h:
2855         (__atomic_val_bysize): Cast type to omit volatile qualifier.
2856         (atomic_exchange_acq): Likewise.
2857         (atomic_load_relaxed): Likewise.
2858         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
2859         * nptl/pthread_spin_init.c (pthread_spin_init):
2860         Use atomic_store_relaxed.
2861         * nptl/pthread_spin_lock.c (pthread_spin_lock):
2862         Use C11-like atomic macros.
2863         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
2864         Likewise.
2865         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
2866         Use atomic_store_release.
2867         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
2868         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
2869         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
2870         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
2871         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
2872         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
2873         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
2874         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
2875         * sysdeps/alpha/atomic-machine.h: Likewise.
2876         * sysdeps/arm/atomic-machine.h: Likewise.
2877         * sysdeps/i386/atomic-machine.h: Likewise.
2878         * sysdeps/ia64/atomic-machine.h: Likewise.
2879         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
2880         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
2881         * sysdeps/microblaze/atomic-machine.h: Likewise.
2882         * sysdeps/mips/atomic-machine.h: Likewise.
2883         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
2884         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
2885         * sysdeps/s390/atomic-machine.h: Likewise.
2886         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
2887         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
2888         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
2889         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
2890         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
2891         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
2892         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
2893         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
2894         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
2895         * sysdeps/x86_64/atomic-machine.h: Likewise.
2897 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2899         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
2900         and use it instead of dl_x86_cpu_features.
2901         (handle_intel): Replace maxidx with cpu_features.  Pass
2902         cpu_features to intel_check_word.
2903         (__cache_sysconf): Pass cpu_features to handle_intel.
2904         (init_cacheinfo): Likewise.  Use cpu_features instead of
2905         dl_x86_cpu_features.
2907 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2909         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
2910         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2911         memcmp-avx2 and wmemcmp-avx2.
2912         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2913         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
2914         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
2915         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
2916         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
2917         2 machines if AVX unaligned load is fast and vzeroupper is
2918         preferred.
2919         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
2920         2 machines if AVX unaligned load is fast and vzeroupper is
2921         preferred.
2923 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2925         * include/wchar.h (__wmemset_chk): New.
2926         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
2927         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
2928         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2929         (WMEMSET_CHK_SYMBOL): Likewise.
2930         (WMEMSET_SYMBOL): Likewise.
2931         (__wmemset): Add hidden definition.
2932         (wmemset): Add weak hidden definition.
2933         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
2934         wmemset_chk-nonshared.
2935         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
2936         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
2937         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
2938         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
2939         and __wmemset_chk_avx512_unaligned.
2940         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
2941         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2942         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2943         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2944         (WMEMSET_SYMBOL): Likewise.
2945         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
2946         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
2947         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
2948         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
2949         (WMEMSET_SYMBOL): Likewise.
2950         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
2951         (WMEMSET_CHK_SYMBOL): New.
2952         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
2953         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
2954         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
2955         (libc_hidden_builtin_def): Also define __GI_wmemset and
2956         __GI___wmemset.
2957         (weak_alias): New.
2958         * sysdeps/x86_64/multiarch/wmemset.c: New file.
2959         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
2960         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
2961         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
2962         * sysdeps/x86_64/wmemset.c: Likewise.
2963         * sysdeps/x86_64/wmemset_chk.c: Likewise.
2965 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2966             H.J. Lu  <hongjiu.lu@intel.com>
2968         * sysdeps/x86/init-arch.h (PASTER1): New.
2969         (EVALUATOR1): Likewise.
2970         (PASTER2): Likewise.
2971         (EVALUATOR2): Likewise.
2972         (REDIRECT_NAME): Likewise.
2973         (OPTIMIZE): Likewise.
2974         (IFUNC_SELECTOR): Likewise.
2976 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2978         * sysdeps/x86_64/strlen.S (PMINU): New.
2979         (PCMPEQ): Likewise.
2980         (SHIFT_RETURN): Likewise.
2981         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
2982         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
2983         pminub with PCMPEQ and PMINU.
2984         * sysdeps/x86_64/wcsnlen.S: New file.
2986 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2988         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
2989         the lower 32 bits.  Remove redundant instructions.
2991 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
2993         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
2994         0 as the high part of offset.
2995         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
2997 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
2999         [BZ #21538]
3000         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
3001         [__USE_UNIX98].
3002         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
3003         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
3004         Likewise.
3005         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
3006         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
3007         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
3008         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
3009         Likewise.
3011         [BZ #21517]
3012         * bits/types/stack_t.h (stack_t): Remove struct tag.
3013         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
3014         Likewise.
3015         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
3016         Likewise.
3017         * debug/segfault.c (install_handler): Use stack_t instead of
3018         struct sigaltstack.
3019         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
3020         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
3021         * include/signal.h (__sigaltstack): Likwise.
3022         * signal/sigaltstack.c (__sigaltstack): Likewise.
3023         * signal/signal.h (sigaltstack): Likewise.
3024         * sysdeps/mach/hurd/i386/signal-defines.sym
3025         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
3026         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
3027         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
3028         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
3029         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
3030         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
3031         elf_prstatus): Likewise.
3032         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
3033         Likewise.
3034         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
3035         Likewise.
3036         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
3037         Likewise.
3038         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
3039         elf_prstatus): Likewise.
3040         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
3041         Likewise.
3042         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
3043         Likewise.
3045 2017-06-04  Zack Weinberg  <zackw@panix.com>
3047         * sysdeps/gnu/errlist.c: Regenerate.
3049 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
3051         * benchtests/bench-memchr.c (do_test): Print out both length
3052         and position.
3053         (test_main): Also test the position close to the beginning for
3054         memrchr.
3056 2017-06-04  Zack Weinberg  <zackw@panix.com>
3058         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
3059         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
3060         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
3061         * nis/nis_destroygroup.c, nis/nis_domain_of.c
3062         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
3063         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
3064         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
3065         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
3066         * nis/nis_print_group_entry.c, nis/nis_remove.c
3067         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
3068         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
3069         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
3070         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
3071         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
3072         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
3073         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
3074         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
3075         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
3076         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
3077         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
3078         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
3079         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
3080         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
3081         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
3082         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
3083         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
3084         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
3085         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
3086         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
3088         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
3089         abi-versions.h as well as shlib-compat.h.
3090         * sunrpc/get_myaddr.c: Remove obsolete comment.
3091         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
3092         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
3093         * resolv/res_libc.c: Include shlib-compat.h only once.
3095 2017-06-03  Florian Weimer  <fweimer@redhat.com>
3097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
3098         of strdup.
3100 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
3102         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
3103         Set to the 3/4 of the total shared cache size.
3105 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
3107         * manual/errno.texi: Remove redundant error strings.
3108         * manual/macros.texi (@errno): Render the error string in every
3109         description.
3111 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
3113         [BZ #21543]
3114         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
3115         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
3116         [__USE_XOPEN_EXTENDED].
3118 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3120         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
3121         strdupa.
3122         (getcanonname): Use __strdup instead of strdup.
3124 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3126         * misc/Makefile (CFLAGS-preadv2.c): New rule.
3127         (CFLAGS-preadv64v2.c): Likewise.
3128         (CFLAGS-pwritev2.c): Likewise.
3129         (CFLAGS-pwritev64v2.c): Likewise.
3131 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3133         Test res_init with several configuration files.
3134         * resolv/Makefile [build-shared] (tests-internal): Add
3135         tst-resolv-res_init, tst-resolv-res_init-thread.
3136         (tst-resolv-res_init): Link against libdl, libresolv.
3137         (tst-resolv-res_init-thread): Link against libdl, libresolv,
3138         libpthread.
3139         * resolv/tst-resolv-res_init.c: New file.
3140         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
3141         * resolv/tst-resolv-res_init-thread.c: Likewise.
3142         * support/Makefile (libsupport-routines): Add support-xstat,
3143         support_can_chroot, support_capture_subprocess_check,
3144         support_isolate_in_subprocess, support_shared_allocate,
3145         support_write_file_string, xchroot, xmkdir, xopen.
3146         * support/capture_subprocess.h (enum support_capture_allow): Define.
3147         (support_capture_subprocess_check): Declare.
3148         * support/namespace.h (support_can_chroot)
3149         (support_isolate_in_subprocess): Declare.
3150         * support/support-xstat.c: New file.
3151         * support/support.h (support_shared_allocate, support_shared_free)
3152         (support_write_file_string): Declare.
3153         * support/support_can_chroot.c: New file.
3154         * support/support_capture_subprocess_check.c: Likewise.
3155         * support/support_isolate_in_subprocess.c: Likewise.
3156         * support/support_shared_allocate.c: Likewise.
3157         * support/support_write_file_string.c: Likewise.
3158         * support/xchroot.c: Likwise.
3159         * support/xmkdir.c: Likwise.
3160         * support/xopen.c: Likwise.
3161         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
3163 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3165         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
3166         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
3168 2017-06-02  Florian Weimer  <fweimer@redhat.com>
3170         * malloc/Makefile (routines): Add dynarray_at_failure,
3171         dynarray_emplace_enlarge, dynarray_finalize.
3172         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
3173         tst-dynarray-at-fail.
3174         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
3175         (tests-special): Add tst-dynarray-mem.out,
3176         tst-dynarray-mem-fail.out.
3177         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
3178         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
3179         mtrace.
3180         * malloc/Versions (__libc_dynarray_at_failure)
3181         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
3182         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
3183         GLIBC_PRIVATE.
3184         * malloc/dynarray.h: New file.
3185         * malloc/dynarray-skeleton.c: Likewise.
3186         * malloc/dynarray_at_failure.c: Likewise.
3187         * malloc/dynarray_emplace_enlarge.c: Likewise.
3188         * malloc/dynarray_finalize.c: Likewise.
3189         * malloc/dynarray_resize.c: Likewise.
3190         * malloc/dynarray_resize_clear.c: Likewise.
3191         * malloc/tst-dynarray.c: Likewise.
3192         * malloc/tst-dynarray-fail.c: Likewise.
3193         * malloc/tst-dynarray-at-fail.c: Likewise.
3194         * malloc/tst-dynarray-shared.h: Likewise.
3195         * support/Makefile (libsupport-routines): Add
3196         support_capture_subprocess, xdup2, xpipe.
3197         (tests): Add tst-support_capture_subprocess.
3198         * support/capture_subprocess.h: New file.
3199         * support/support_capture_subprocess.c: Likewise.
3200         * support/tst-support_capture_subprocess.c: Likewise.
3201         * support/xdup2.c: Likewise.
3202         * support/xpipe.c: Likewise.
3203         * support/xunistd.h (xdup2, xpipe): Declare.
3205 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3207         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
3208         macros MAX and MIN.
3210 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3212         * conform/data/signal.h-data (sa_sigaction): Do not expect for
3213         [XPG4].
3214         (SA_SIGINFO): Likewise.
3215         (SA_ONSTACK): Likewise.
3216         (SA_RESETHAND): Likewise.
3217         (SA_RESTART): Likewise.
3218         (SA_NOCLDWAIT): Likewise.
3219         (SA_NODEFER): Likewise.
3220         (SS_ONSTACK): Likewise.
3221         (SS_DISABLE): Likewise.
3222         (MINSIGSTKSZ): Likewise.
3223         (SIGSTKSZ): Likewise.
3224         (ucontext_t): Likewise.
3225         (stack_t): Likewise.
3226         (struct sigstack): Likewise.
3227         (SI_USER): Do not expect for [XPG4 || XPG42].
3228         (SI_QUEUE): Likewise.
3229         (SI_TIMER): Likewise.
3230         (SI_ASYNCIO): Likewise.
3231         (SI_MESGQ): Likewise.
3232         (bsd_signal): Do not expect for [XPG4].
3233         (killpg): Likewise.
3234         (sigaltstack): Likewise.
3235         (sighold): Likewise.
3236         (sigignore): Likewise.
3237         (siginterrupt): Likewise.
3238         (sigpause): Likewise.
3239         (sigrelse): Likewise.
3240         (sigset): Likewise.
3241         (sigwait): Do not expect for [XPG4 || XPG42].
3243 2017-06-01  Zack Weinberg  <zackw@panix.com>
3245         [BZ #21514]
3246         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
3247         pointing to the generated file in <builddir>/misc/bits/syscall.h.
3249 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
3251         [BZ #21457]
3252         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
3253         NGREG to __NGREG if [__USE_MISC].
3254         (gregset_t): Define using __NGREG.
3255         (__ctx): New macro.
3256         (mcontext_t): Use __ctx in defining fields.
3257         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
3258         define NGREG to __NGREG if [__USE_MISC].
3259         (gregset_t): Define using __NGREG.
3260         (__ctx): New macro.
3261         (__ctxt): Likewise.
3262         (fpregset_t): Use __ctx and __ctxt in defining fields.
3263         (mcontext_t): Likewise.
3264         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
3265         define NGREG to __NGREG if [__USE_MISC].
3266         (gregset_t): Define using __NGREG.
3267         (__ctx): New macro.
3268         (mcontext_t): Use __ctx in defining fields.
3269         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
3270         define NGREG to __NGREG if [__USE_MISC].
3271         (gregset_t): Define using __NGREG.
3272         (__ctx): New macro.
3273         (fpregset_t): Use __ctx in defining fields.
3274         (mcontext_t): Likewise.
3275         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
3276         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3277         (gregset_t): Define using __NGREG.
3278         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3279         [__USE_MISC].
3280         (fpregset_t): Define using __NFPREG.
3281         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
3282         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3283         (gregset_t): Define using __NGREG.
3284         (__ctx): New macro.
3285         (fpregset_t): Use __ctx in defining fields.
3286         (mcontext_t): Likewise.
3287         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
3288         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3289         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3290         [__USE_MISC].
3291         (gregset_t): Define using __NGREG.
3292         (__ctx): New macro.
3293         (fpregset_t): Use __ctx in defining fields.
3294         (mcontext_t): Likewise.
3295         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
3296         (mcontext_t): Use __ctx in defining fields.
3297         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
3298         macro.
3299         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
3300         __NGREG if [__USE_MISC].
3301         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
3302         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
3303         (mcontext_t): Likewise.
3304         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
3305         __NGREG if [__USE_MISC].
3306         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
3307         to __NFPREG if [__USE_MISC].
3308         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
3309         to __NVRREG if [__USE_MISC].
3310         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
3311         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
3312         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
3313         [__WORDSIZE != 32] (vrregset_t): Likewise.
3314         [__WORDSIZE != 32] (mcontext_t): Likewise.
3315         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
3316         (__psw_t): Use __ctx in defining fields.
3317         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
3318         [__USE_MISC].
3319         (gregset_t): Define using __NGREG.
3320         (fpreg_t): Use __ctx in defining fields.
3321         (fpregset_t): Likewise.
3322         (mcontext_t): Likewise.
3323         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
3324         __NGREG and define NGREG to __NGREG if [__USE_MISC].
3325         (gregset_t): Define using __NGREG.
3326         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
3327         [__USE_MISC].
3328         (fpregset_t): Define using __NFPREG.
3329         (__ctx): New macro.
3330         (mcontext_t): Use __ctx in defining fields.
3331         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
3332         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3333         __NGREG if [__USE_MISC].
3334         [__x86_64__] (gregset_t): Define using __NGREG.
3335         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
3336         [__x86_64__] (struct _libc_fpstate): Likewise.
3337         [__x86_64__] (mcontext_t): Likewise.
3338         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
3339         __NGREG if [__USE_MISC].
3340         [!__x86_64__] (gregset_t): Define using __NGREG.
3341         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
3342         [!__x86_64__] (struct _libc_fpstate): Likewise.
3343         [!__x86_64__] (mcontext_t): Likewise.
3345 2017-06-01  Zack Weinberg  <zackw@panix.com>
3347         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
3348         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
3349         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
3350         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
3351         libpthread.so no longer references __errno_location.
3353 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3355         * NEWS: Add note about pwritev2 and preadv2 inclusion.
3356         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
3357         pwritev64v2.
3358         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
3359         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
3360         pwritev64v2.
3361         * misc/preadv2.c: New file.
3362         * misc/preadv64v2.c: Likewise.
3363         * misc/pwritev2.c: Likewise.
3364         * misc/pwritev64v2.c: Likewise.
3365         * misc/tst-preadvwritev2.c: Likewise.
3366         * misc/tst-preadvwritev64v2.c: Likewise.
3367         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
3368         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
3369         prototype.
3370         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
3371         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
3372         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
3373         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
3374         (PWRITEV): Likewise.
3375         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
3376         ENOSYS.
3377         * nptl/tst-cancel4.c (tf_pwritev2): New test.
3378         (tf_preadv2): Likewise.
3379         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
3380         * sysdeps/posix/preadv2.c: Likewise.
3381         * sysdeps/posix/preadv64v2.c: Likewise.
3382         * sysdeps/posix/pwritev2.c: Likewise.
3383         * sysdeps/posix/pwritev64v2.c: Likewise.
3384         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
3385         support in kernel.
3386         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
3387         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
3388         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
3389         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
3390         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
3391         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
3392         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
3393         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
3394         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
3395         support flags on Linux.
3396         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
3397         preadv2, preadv64v2, pwritev2, pwritev64v2.
3398         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
3399         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
3400         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
3401         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
3402         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
3403         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
3404         Likewise.
3405         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
3406         Likewise.
3407         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
3408         Likewise.
3409         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
3410         Likewise.
3411         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
3412         Likewise.
3413         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
3414         Likewise.
3415         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
3416         Likewise.
3417         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
3418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3419         (GLIBC_2.26): Likewise.
3420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3421         (GLIBC_2.26): Likewise.
3422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
3423         Likewise.
3424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3425         (GLIBC_2.26): Likewise.
3426         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
3427         Likewise.
3428         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
3429         Likewise.
3430         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
3431         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
3432         Likewise.
3433         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
3434         Likewise.
3435         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
3436         Likewise.
3437         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
3438         Likewise.
3439         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
3440         Likewise.
3441         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
3442         Likewise.
3443         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
3444         Likewise.
3446 2017-05-31  Andreas Schwab  <schwab@suse.de>
3448         * nptl/tst-fork3.c: Include <support/test-driver.c>.
3449         (main): Rename to do_test and make static.
3451 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3453         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
3454         ARCH_INIT_CPU_FEATURES.
3455         (LIBC_START_MAIN): Call it.
3456         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
3457         (__libc_start_main): Remove.
3458         (ARCH_INIT_CPU_FEATURES): New macro.
3459         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
3460         (ARCH_INIT_CPU_FEATURES): New macro.
3462 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
3463             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
3465         * include/stdlib.h (__libc_reallocarray): New declaration.
3466         * malloc/Makefile (routines): Add reallocarray.
3467         (tests): Add tst-reallocarray.c.
3468         * malloc/Versions: Add reallocarray and __libc_reallocarray.
3469         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
3470         function.
3471         * malloc/malloc.h (reallocarray): New declaration.
3472         * stdlib/stdlib.h (reallocarray): Likewise.
3473         * malloc/reallocarray.c: New file.
3474         * malloc/tst-reallocarray.c: New test file.
3475         * manual/memory.texi: Document reallocarray.
3476         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
3477         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3478         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3479         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3480         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3481         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3482         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3483         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3484         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3485         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3486         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3487         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3488         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3489         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3491         Likewise.
3492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3493         Likewise.
3494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3496         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3497         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3498         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3499         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3500         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3501         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3502         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3503         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
3504         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3505         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3507 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
3509         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
3510         the lower 32 bits.
3512 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
3514         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
3515         $(build-pie-default) = yes]: Define.
3517 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3519         * string/test-memchr.c (test_main): Add tests for n == 0.
3521 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3523         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
3524         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
3525         (tests-internal): ... here.
3527 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
3528              H.J. Lu  <hongjiu.lu@intel.com>
3530         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
3531         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
3532         (__tunable_set_val): Likewise.
3534 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
3536         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
3537         dl-tunables.list in subdirectories.
3539 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3540             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3541             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3543         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
3544         (SNANF128): New macro.
3545         * math/e_sqrtf128.c: New file.
3546         * math/s_fmaxmag_template.c: Include math_private.h in order to
3547         make inline expansion of fabs128().
3548         * math/s_fminmag_template.c: Likewise.
3550         * sysdeps/ieee754/float128/e_acosf128.c: New file.
3551         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
3552         * sysdeps/ieee754/float128/e_asinf128.c: New file.
3553         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
3554         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
3555         * sysdeps/ieee754/float128/e_coshf128.c: New file.
3556         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
3557         * sysdeps/ieee754/float128/e_expf128.c: New file.
3558         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
3559         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
3560         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
3561         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
3562         * sysdeps/ieee754/float128/e_j0f128.c: New file.
3563         * sysdeps/ieee754/float128/e_j1f128.c: New file.
3564         * sysdeps/ieee754/float128/e_jnf128.c: New file.
3565         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
3566         * sysdeps/ieee754/float128/e_log10f128.c: New file.
3567         * sysdeps/ieee754/float128/e_log2f128.c: New file.
3568         * sysdeps/ieee754/float128/e_logf128.c: New file.
3569         * sysdeps/ieee754/float128/e_powf128.c: New file.
3570         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
3571         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
3572         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
3573         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
3574         * sysdeps/ieee754/float128/float128_private.h: New file.
3575         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
3576         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
3577         * sysdeps/ieee754/float128/k_cosf128.c: New file.
3578         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
3579         * sysdeps/ieee754/float128/k_sinf128.c: New file.
3580         * sysdeps/ieee754/float128/k_tanf128.c: New file.
3581         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
3582         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
3583         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
3584         * sysdeps/ieee754/float128/s_atanf128.c: New file.
3585         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
3586         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
3587         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
3588         * sysdeps/ieee754/float128/s_cosf128.c: New file.
3589         * sysdeps/ieee754/float128/s_erff128.c: New file.
3590         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
3591         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
3592         * sysdeps/ieee754/float128/s_finitef128.c: New file.
3593         * sysdeps/ieee754/float128/s_floorf128.c: New file.
3594         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
3595         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
3596         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
3597         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
3598         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
3599         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
3600         * sysdeps/ieee754/float128/s_isinff128.c: New file.
3601         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
3602         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
3603         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
3604         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
3605         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
3606         * sysdeps/ieee754/float128/s_logbf128.c: New file.
3607         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
3608         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
3609         * sysdeps/ieee754/float128/s_modff128.c: New file.
3610         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
3611         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
3612         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
3613         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
3614         * sysdeps/ieee754/float128/s_remquof128.c: New file.
3615         * sysdeps/ieee754/float128/s_rintf128.c: New file.
3616         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
3617         * sysdeps/ieee754/float128/s_roundf128.c: New file.
3618         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
3619         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
3620         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
3621         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
3622         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
3623         * sysdeps/ieee754/float128/s_significandf128.c: New file.
3624         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
3625         * sysdeps/ieee754/float128/s_sinf128.c: New file.
3626         * sysdeps/ieee754/float128/s_tanf128.c: New file.
3627         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
3628         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
3629         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
3630         * sysdeps/ieee754/float128/s_truncf128.c: New file.
3631         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
3632         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
3633         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
3634         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
3636         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
3637         (__iscanonicalf128): Define as a macro.
3639 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
3641         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
3642         (memmove): Use MEMMOVE for name.
3643         (memcpy): Use MEMCPY for name.  Change internal labels
3644         to external labels.
3645         * sysdeps/aarch64/multiarch/Makefile: New file.
3646         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
3647         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
3648         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
3649         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
3650         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
3651         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
3653 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3655         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
3656         (_dl_arm_cap_flags): Fix array subscript.
3657         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
3658         Fix count.
3660 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3662         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
3664 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
3666         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
3667         (is_amd): Likewise.
3668         (max_cpuid): Likewise.
3669         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
3670         (init_cacheinfo): Likewise.
3672 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
3674         [BZ #21511]
3675         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
3676         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
3677         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
3678         !__USE_XOPEN2K) || __USE_MISC].
3679         * conform/data/signal.h-data (struct sigstack): Expect type only
3680         if [!XOPEN2K8 && !POSIX2008].
3681         (sigstack): Expect function only if [XPG42 || UNIX98].
3683         [BZ #21457]
3684         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
3685         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3686         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3687         <bits/types/__sigset_t.h>.
3688         (ucontext_t): Use sigset_t instead of __sigset_t.
3689         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
3690         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3691         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3692         <bits/types/__sigset_t.h>.
3693         (ucontext_t): Use sigset_t instead of __sigset_t.
3694         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
3695         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3696         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3697         <bits/types/__sigset_t.h>.
3698         (ucontext_t): Use sigset_t instead of __sigset_t.
3699         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
3700         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3701         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3702         <bits/types/__sigset_t.h>.
3703         (ucontext_t): Use sigset_t instead of __sigset_t.
3704         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
3705         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3706         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3707         <bits/types/__sigset_t.h>.
3708         (ucontext_t): Use sigset_t instead of __sigset_t.
3709         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
3710         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3711         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3712         <bits/types/__sigset_t.h>.
3713         (ucontext_t): Use sigset_t instead of __sigset_t.
3714         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
3715         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3716         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3717         <bits/types/__sigset_t.h>.
3718         (ucontext_t): Use sigset_t instead of __sigset_t.
3719         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
3720         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3721         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3722         <bits/types/__sigset_t.h>.
3723         (ucontext_t): Use sigset_t instead of __sigset_t.
3724         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
3725         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3726         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3727         <bits/types/__sigset_t.h>.
3728         (ucontext_t): Use sigset_t instead of __sigset_t.
3729         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
3730         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3731         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
3732         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
3733         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3734         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3735         <bits/types/__sigset_t.h>.
3736         (ucontext_t): Use sigset_t instead of __sigset_t.
3737         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
3738         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3739         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3740         <bits/types/__sigset_t.h>.
3741         (ucontext_t): Use sigset_t instead of __sigset_t.
3742         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
3743         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3744         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3745         <bits/types/__sigset_t.h>.
3746         (ucontext_t): Use sigset_t instead of __sigset_t.
3747         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
3748         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3749         <bits/ss_flags.h>.
3750         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
3751         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3752         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3753         <bits/types/__sigset_t.h>.
3754         (ucontext_t): Use sigset_t instead of __sigset_t.
3755         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
3756         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3757         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3758         <bits/types/__sigset_t.h>.
3759         (ucontext_t): Use sigset_t instead of __sigset_t.
3760         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
3761         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3762         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3763         <bits/types/__sigset_t.h>.
3764         (ucontext_t): Use sigset_t instead of __sigset_t.
3765         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
3766         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3767         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3768         <bits/types/__sigset_t.h>.
3769         (ucontext_t): Use sigset_t instead of __sigset_t.
3770         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
3771         <bits/types.h>.
3772         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
3773         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
3774         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
3775         <bits/types/__sigset_t.h>.
3776         (ucontext_t): Use sigset_t instead of __sigset_t.
3778 2017-05-22  Zack Weinberg  <zackw@panix.com>
3780         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3781         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
3782         bits/siginfo-arch.h, only if not already defined.
3783         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
3784         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
3785         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
3786         Likewise.
3788         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3789         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3790         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3791         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3792         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3793         Unconditionally define __SI_* macros.
3795 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3797         [BZ #21393]
3798         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
3799         and add a check for dup3 failure.
3800         * libio/freopen64.c (freopen64): Likewise.
3801         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
3802         libsupport.
3803         (do_test_bz21398): New test.
3804         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
3806 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
3808         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
3809         Remove invalid comment.
3811 2017-05-21  Zack Weinberg  <zackw@panix.com>
3813         * signal/Makefile (headers): Add bits/types/sigval_t.h.
3815 2017-05-20  Zack Weinberg  <zackw@panix.com>
3817         * bits/sigevent-consts.h
3818         * bits/siginfo-consts.h
3819         * bits/types/__sigset_t.h
3820         * bits/types/sigevent_t.h
3821         * bits/types/siginfo_t.h
3822         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
3823         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
3824         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
3825         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
3826         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
3827         New system-dependent bits headers.
3829         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
3830         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
3831         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
3832         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
3833         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
3834         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
3835         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
3836         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
3837         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
3838         New Linux-only system-dependent bits headers.
3840         * signal/bits/types/sig_atomic_t.h
3841         * signal/bits/types/sigset_t.h
3842         * signal/bits/types/sigval_t.h:
3843         New non-system-dependent bits headers.
3845         * sysdeps/generic/sigsetops.h
3846         * sysdeps/unix/sysv/linux/sigsetops.h:
3847         New internal headers.
3849         * include/bits/types/sig_atomic_t.h
3850         * include/bits/types/sigset_t.h
3851         * include/bits/types/sigval_t.h:
3852         New wrappers.
3854         * signal/sigsetops.h
3855         * bits/siginfo.h
3856         * bits/sigset.h
3857         * sysdeps/unix/sysv/linux/bits/siginfo.h
3858         * sysdeps/unix/sysv/linux/bits/sigset.h
3859         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
3860         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
3861         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
3862         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
3863         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
3864         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
3865         Deleted.
3867         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
3868         Update lists of installed headers.
3870         * posix/bits/types.h: Define __sig_atomic_t here.
3871         * signal/signal.h: Use the new bits headers; no need to handle
3872         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
3873         to define sigmask.
3874         * include/signal.h: No need to handle __need_sig_atomic_t
3875         nor __need_sigset_t.  Don't define __sigemptyset.
3877         * io/sys/poll.h, setjmp/setjmp.h
3878         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
3879         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
3880         * sysdeps/mach/hurd/i386/bits/sigcontext.h
3881         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
3882         * sysdeps/pthread/bits/sigthread.h
3883         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
3884         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
3885         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
3886         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
3887         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3888         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
3889         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
3890         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
3891         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
3892         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
3893         Use bits/types/__sigset_t.h.
3895         * misc/sys/select.h, posix/spawn.h
3896         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
3897         * sysdeps/unix/sysv/linux/sys/epoll.h
3898         * sysdeps/unix/sysv/linux/sys/signalfd.h:
3899         Use bits/types/sigset_t.h.
3901         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
3902         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
3903         * socket/sys/socket.h: Don't include bits/sigset.h.
3905         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
3906         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
3907         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
3908         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
3909         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
3910         * sysdeps/unix/sysv/linux/nptl-signals.h:
3911         Include sigsetops.h.
3913         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
3914         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
3915         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
3916         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
3917         now return no value.
3919         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
3920         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
3921         "sigsetops.h".
3923         * signal/sigsetops.c: Explicitly define __sigismember,
3924         __sigaddset, and __sigdelset as compatibility symbols.
3926         * signal/Versions: Correct commentary on __sigpause,
3927         __sigaddset, __sigdelset, __sigismember.
3929         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
3930         __sigblock/__sigsetmask to use __sigprocmask and friends.
3932         * resolv/resolv.h: Remove __need_res_state logic.
3933         Move definition of res_state and related constants to ...
3934         * resolv/bits/types/res_state.h: ...this new file.
3935         * resolv/Makefile: Install bits/types/res_state.h.
3936         * include/bits/types/res_state.h: New wrapper.
3937         * include/list.h: Remove __need_list_t logic.
3938         Move definition of list_t to ...
3939         * include/list_t.h: ...this new file.
3941         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3942         instead of list.h and resolv.h.
3944         * resolv/resolv.h: Remove __need_res_state logic.
3945         Move definition of res_state and related constants to ...
3946         * resolv/bits/types/res_state.h: ...this new file.
3947         * resolv/Makefile: Install bits/types/res_state.h.
3948         * include/bits/types/res_state.h: New wrapper.
3949         * include/list.h: Remove __need_list_t logic.
3950         Move definition of list_t to ...
3951         * include/list_t.h: ...this new file.
3953         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
3954         instead of list.h and resolv.h.
3956 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
3958         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
3960 2017-05-20  Zack Weinberg  <zackw@panix.com>
3962         * sysdeps/arm/sysdep.h
3963         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
3965         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
3966         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
3967         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
3968         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
3969         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
3970         * sysdeps/arm/armv6t2/strlen.S
3971         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
3972         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
3973         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
3974         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
3975         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
3976         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
3978 2017-05-20  Zack Weinberg  <zackw@panix.com>
3980         Remove the NaCl port.
3981         * sysdeps/arm/nacl: Remove directory and contents.
3982         * sysdeps/nacl: Remove directory and contents.
3983         * abi-tags: Remove .*-.*-nacl.* entry.
3985 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
3987         * manual/errno.texi: Convert @comment-based errno documentation to
3988         @errno.
3989         * manual/macros.texi (@errno): New macro.  Consolidate errors,
3990         their values, and messages, adding the error string to the Concept
3991         Index.  Provide a warning in the comment about external (to the
3992         manual) dependencies.
3993         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
3994         * sysdeps/mach/hurd/errnos.awk: Likewise.
3996 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
3998         * bits/ss_flags.h: New file.
3999         * bits/types/stack_t.h: Likewise.
4000         * include/bits/types/struct_sigstack.h: Likewise.
4001         * signal/bits/types/struct_sigstack.h: Likewise.
4002         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
4003         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
4004         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
4005         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
4006         bits/types/stack_t.h and bits/ss_flags.h.
4007         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
4008         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4009         <bits/ss_flags.h>.
4010         * bits/sigstack.h (struct sigstack): Remove.
4011         (stack_t): Likewise.
4012         (SS_ONSTACK): Likewise.
4013         (SS_DISABLE): Likewise.
4014         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
4015         (struct sigstack): Likewise.
4016         (stack_t): Likewise.
4017         (SS_ONSTACK): Likewise.
4018         (SS_DISABLE): Likewise.
4019         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
4020         Likewise.
4021         (stack_t): Likewise.
4022         (SS_ONSTACK): Likewise.
4023         (SS_DISABLE): Likewise.
4024         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
4025         Likewise.
4026         (stack_t): Likewise.
4027         (SS_ONSTACK): Likewise.
4028         (SS_DISABLE): Likewise.
4029         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
4030         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
4031         Likewise.
4032         (stack_t): Likewise.
4033         (SS_ONSTACK): Likewise.
4034         (SS_DISABLE): Likewise.
4035         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
4036         (struct sigstack): Likewise.
4037         (stack_t): Likewise.
4038         (SS_ONSTACK): Likewise.
4039         (SS_DISABLE): Likewise.
4040         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
4041         Likewise.
4042         (stack_t): Likewise.
4043         (SS_ONSTACK): Likewise.
4044         (SS_DISABLE): Likewise.
4045         * sysdeps/arm/sys/ucontext.h: Include
4046         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
4047         <bits/ss_flags.h>.
4048         * sysdeps/generic/sys/ucontext.h: Likewise.
4049         * sysdeps/i386/sys/ucontext.h: Likewise.
4050         * sysdeps/m68k/sys/ucontext.h: Likewise.
4051         * sysdeps/mips/sys/ucontext.h: Likewise.
4052         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
4053         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
4054         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
4055         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
4056         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
4057         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
4058         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
4059         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
4060         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
4061         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
4062         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
4063         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
4064         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
4065         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
4066         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
4068 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4070         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
4071         "edx + ecx - 16" to avoid possible addition overflow.
4072         * sysdeps/x86_64/memchr.S (memchr): Likewise.
4074 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4076         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
4077         (CFLAGS-splice.c): Likewise.
4078         (CFLAGS-open_by_handle_at.c): Likewise.
4079         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
4080         (CFLAGS-splice.c): Likewise.
4081         (CFLAGS-open_by_handle_at.c): Likewise.
4083 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
4085         * scripts/versions.awk: Generate ldbl-compat-choose.h.
4086         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
4087         <ldbl-compat-choose.h>.
4088         (maybe_long_double_symbol): New macro.
4089         [!declare_mgen_alias] (declare_mgen_alias): Use
4090         maybe_long_double_symbol.
4091         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
4092         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
4093         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
4094         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
4095         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
4096         * Makerules [$(build-shared) = yes && !avoid-generated]
4097         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
4098         [$(build-shared) = yes && !avoid-generated]
4099         ($(common-objpfx)ldbl-compat-choose.h): New target.
4101         * scripts/versions.awk: Generate first-versions.h.
4102         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
4103         <first-versions.h>.
4104         (LDOUBLE_cabsl_libm_version): Remove macro.
4105         (LDOUBLE_cargl_libm_version): Likewise.
4106         (LDOUBLE_cimagl_libm_version): Likewise.
4107         (LDOUBLE_conjl_libm_version): Likewise.
4108         (LDOUBLE_creall_libm_version): Likewise.
4109         (LDOUBLE_cacosl_libm_version): Likewise.
4110         (LDOUBLE_cacoshl_libm_version): Likewise.
4111         (LDOUBLE_ccosl_libm_version): Likewise.
4112         (LDOUBLE_ccoshl_libm_version): Likewise.
4113         (LDOUBLE_casinl_libm_version): Likewise.
4114         (LDOUBLE_csinl_libm_version): Likewise.
4115         (LDOUBLE_casinhl_libm_version): Likewise.
4116         (LDOUBLE_csinhl_libm_version): Likewise.
4117         (LDOUBLE_catanl_libm_version): Likewise.
4118         (LDOUBLE_catanhl_libm_version): Likewise.
4119         (LDOUBLE_ctanl_libm_version): Likewise.
4120         (LDOUBLE_ctanhl_libm_version): Likewise.
4121         (LDOUBLE_cexpl_libm_version): Likewise.
4122         (LDOUBLE_clogl_libm_version): Likewise.
4123         (LDOUBLE_cprojl_libm_version): Likewise.
4124         (LDOUBLE_csqrtl_libm_version): Likewise.
4125         (LDOUBLE_cpowl_libm_version): Likewise.
4126         (LDOUBLE_clog10l_libm_version): Likewise.
4127         (LDOUBLE___clog10l_libm_version): Likewise.
4128         (LDOUBLE_fdiml_libm_version): Likewise.
4129         (LDOUBLE_fmaxl_libm_version): Likewise.
4130         (LDOUBLE_fminl_libm_version): Likewise.
4131         (LDOUBLE_ilogbl_libm_version): Likewise.
4132         (LDOUBLE_nanl_libm_version): Likewise.
4133         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
4134         FIRST_VERSION_libm_* macros.
4135         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
4136         * Makerules [$(build-shared) = yes && !avoid-generated]
4137         (before-compile): Add $(common-objpfx)first-versions.h.
4138         [$(build-shared) = yes && !avoid-generated]
4139         ($(common-objpfx)first-versions.h): New target.
4140         ($(common-objpfx)sysd-versions): Depend on and change to rule for
4141         building $(common-objpfx)versions.stmp.
4143 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4145         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
4146         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
4147         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
4148         auto-generation list.
4150         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
4151         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
4152         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
4153         from auto-generation list.
4155         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
4156         open_by_handle_at.
4157         (CFLAGS-open_by_handle_at.c): New flag.
4158         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
4159         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
4160         file.
4161         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
4163         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
4164         (CFLAGS-splice.c): New flag.
4165         * sysdeps/unix/sysv/linux/splice.c: New file.
4166         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
4167         auto-generation syscall list.
4168         * misc/Makefile (CFLAGS-splice.c): New rule.
4170         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
4171         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
4172         auto-generation syscall list.
4173         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
4174         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
4176         * misc/Makefile (CFLAGS-fsync.c): New flag.
4177         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
4178         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
4179         syscall list.
4180         * sysdeps/unix/sysv/linux/fsync.c: New file.
4181         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
4182         (__errno_location): Remove.
4184         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
4185         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
4186         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
4187         list.
4188         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
4190         * misc/Makefile (CFLAGS-msync.c): New rule.
4191         * nptl/Makefile (CFLAGS-msync.c): Likewise.
4192         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
4193         * sysdeps/unix/sysv/linux/msync.c: New file.
4195         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
4196         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
4197         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
4198         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
4199         (CFLAGS-sigsuspend.c): Remove rule.
4201         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
4202         (CFLAGS-tee.c): New rule.
4203         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
4204         auto-generated list.
4205         * sysdeps/unix/sysv/linux/tee.c: New file.
4207         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
4208         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
4209         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
4210         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
4211         auto-generated list.
4213         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
4214         auto-generated list.
4215         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
4216         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4217         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
4218         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4219         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
4221         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
4222         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
4223         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
4224         (__NR_pause): Undefine.
4225         * sysdeps/unix/sysv/linux/pause.c: New file.
4226         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
4227         auto-generation list.
4228         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
4229         Remove rule.
4230         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
4232 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4234         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
4235         comments.
4237 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4239         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
4240         LD_HWCAP_MASK.
4242 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4244         * manual/conf.texi: Convert @tables of annotated @items to
4245         @vtables.
4246         * manual/lang.texi: Likewise.
4247         * manual/pattern.texi: Likewise.
4248         * manual/resource.texi: Likewise.
4249         * manual/socket.texi: Likewise.
4251 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
4253         * manual/crypt.texi: Move a comment out of an @*x list.
4254         * manual/filesys.texi: Refactor some comments, one of which looks
4255         like a standard.  Fix incorrectly separated standards.
4256         * manual/locale.texi: Invert an annotation.
4257         * manual/resource.texi: Fix incorrectly separated standards.
4258         * manual/time.texi: Refactor a @vtable that obscures an
4259         annotation.
4260         * manual/users.texi: Refactor multiple headers to occupy a single
4261         @comment.
4263 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4265         * sysdeps/powerpc/powerpc64/multiarch/Makefile
4266         (sysdep_routines): Add memcmp-power8.
4267         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4268         (memcmp): Add __memcmp_power8 to list of memcmp functions.
4269         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
4270         (memcmp): Add __memcmp_power8 to ifunc list.
4271         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
4272         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
4274 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4275             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4277         * math/math.h (__MATH_TG): Extend the conditions to add
4278         _Float128 support.
4279         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
4281 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
4283         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4284         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
4285         s_cosf-ppc64.
4286         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
4287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
4288         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
4289         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
4291 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4293         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
4294         (gen-libm-calls): Add e_exp2F to use the template.
4295         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
4296         * math/e_exp2_template.c: New file, renamed from
4297         math/e_exp2l.c, and made into a template.
4298         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
4300 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4302         * elf/dl-tunable-types.h (tunable_type_code_t): New type
4303         TUNABLE_TYPE_UINT_64.
4304         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
4305         Simplify computation of overflow.
4306         (tunable_set_val_if_valid_range_signed,
4307         tunable_set_val_if_valid_range_unsigned): Remove and replace
4308         with this...
4309         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
4310         (tunable_initialize): Adjust.  Add uint64_t support.
4311         (__tunable_set_val): Add uint64_t support.
4312         * README.tunables: Document it.
4314         * scripts/gen-tunables.awk: Recognize 'default' keyword in
4315         dl-tunables.list.
4316         * README.tunables: Document it.
4318 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4320         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
4321         * sysdeps/posix/preadv64.c: Likewise.
4322         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
4323         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
4324         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
4325         * sysdeps/posix/pwritev64.c: Likewise.
4326         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
4327         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
4328         * sysdeps/posix/preadv_common.c: New file.
4329         * sysdeps/posix/pwritev_common.c: Likewise.
4331 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4333         * sysdeps/generic/math-type-macros-float128.h
4334         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
4335         wrapper templates.
4337 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4338             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4340         * include/complex.h (__kernel_casinhf128): New declaration.
4341         * include/float.h: New file.
4342         * include/math.h (__finitef128): Add a hidden def.
4343         (__isinff128): Likewise.
4344         (__isnanf128): Likewise.
4345         (__fpclassify): Likewise.
4346         (__issignalling): Likewise.
4347         (__expf128): Likewise.
4348         (__expm1f128): Likewise.
4350         * sysdeps/generic/fix-fp-int-convert-overflow.h:
4351         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
4352         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
4354         * sysdeps/generic/math-type-macros-float128.h: New file.
4356         * sysdeps/generic/math_private.h: Include bits/floatn.h and
4357         math_private_calls.h for _Float128.
4358         (__isinff128): New inline implementation used when GCC < 7.0,
4359         since in this case __builtin_isinf_sign is broken.
4360         (fabsf128): New inline implementation that calls the builtin.
4361         (__EXPR_FLT128): New macro.
4362         (min_of_type): Optionally include _Float128 types too.
4364         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
4365         Declare for _Float128.
4366         (__kernel_rem_pio2): Likewise.
4368         * sysdeps/ieee754/ldbl-opt/s_sin.c:
4369         (__DECL_SIMD_sincos_disablef128): New macro.
4371 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4373         * math/math.h: Include bits/math-finite.h for float128.
4374         (__MATH_DECLARING_FLOATN): Define to control declaration of
4375         float128 functions.
4376         * math/bits/math-finite.h (pow10): Do not declare for float128.
4377         (gamma): Likewise.
4378         (scalb): Likewise.
4380 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4381             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4383         * bits/floatn.h: New file.
4384         * bits/huge_val_flt128.h: Likewise.
4386         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
4387         (__DECL_SIMD_sinf128): Likewise.
4388         (__DECL_SIMD_sincosf128): Likewise.
4389         (__DECL_SIMD_logf128): Likewise.
4390         (__DECL_SIMD_expf128): Likewise.
4391         (__DECL_SIMD_powf128): Likewise.
4393         * math/Makefile (headers): Install bits/floatn.h and
4394         bits/huge_val_flt128.h.
4396         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
4397         defined.
4399         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
4400         (isnan, gamma, nexttoward, scalb): Only define if not
4401         __MATH_DECLARING_FLOATN.
4402         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
4403         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
4404         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
4405         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
4407         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
4408         Include bits/cmathcalls.h to get the declarations of _Float128
4409         versions of complex functions.
4410         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
4411         Define macro.
4413         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
4414         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
4415         get the declarations of _Float128 versions of math functions.
4416         (__MATH_DECLARING_FLOATN): New macro to control declaration of
4417         _FloatN types.
4418         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
4419         is type-generic, so use it without __MATH_TG.
4420         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
4421         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
4422         _Float128 type and GCC < 7.0, otherwise use the builtin.
4423         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
4424         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
4425         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
4426         New _GNU_SOURCE enabled macros.
4428 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4430         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
4431         (signbitf): Likewise.
4432         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
4433         Likewise.
4434         (signbitl): Likewise.
4435         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
4436         Likewise.
4437         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
4438         (signbitl): Likewise.
4439         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
4441 2017-05-12  Florian Weimer  <fweimer@redhat.com>
4443         [BZ #21386]
4444         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
4445         parent PID.  The assertion in the child is incorrect with PID
4446         namespaces.
4448 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
4450         * sysdeps/unix/sysv/linux/kernel-features.h
4451         (__ASSUME_STATFS_F_FLAGS): Remove macro.
4452         * sysdeps/unix/sysv/linux/internal_statvfs.c
4453         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
4455 2017-05-11  Zack Weinberg  <zackw@panix.com>
4457         * Makerules: New subdir configuration variables 'tests-internal'
4458         and 'test-internal-extras'.  Test files in these categories will
4459         still be compiled with MODULE_NAME=nonlib.  Test files in the
4460         existing categories (tests, xtests, test-srcs, test-extras) are
4461         now compiled with MODULE_NAME=testsuite.
4462         New subdir configuration variable 'modules-names-tests'.  Files
4463         which are in both 'modules-names' and 'modules-names-tests' will
4464         be compiled with MODULE_NAME=testsuite instead of
4465         MODULE_NAME=extramodules.
4466         (gen-as-const-headers): Move to tests-internal.
4467         (do-tests-clean, common-mostlyclean): Support tests-internal.
4468         * Makeconfig (built-modules): Add testsuite.
4469         * Makefile: Change libof-check-installed-headers-c and
4470         libof-check-installed-headers-cxx to 'testsuite'.
4471         * Rules: Likewise.  Support tests-internal.
4472         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
4473         Remove extra-modules.mk.
4475         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
4476         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
4477         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
4478         very top of the file and rationalize their order.
4479         If MODULE_NAME is not defined at all, define IS_IN to always be
4480         false, and don't define _ISOMAC.
4481         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
4482         true, define _ISOMAC and suppress everything else in this file,
4483         starting with the inclusion of config.h.
4484         Do check for inappropriate definitions of __OPTIMIZE__ and
4485         __FAST_MATH__ here, but only if _ISOMAC is not defined.
4486         Correct some out-of-date commentary.
4488         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
4489         and _Mlong_double_ before including math.h.
4490         * include/string.h: If _ISOMAC is defined, don't expose
4491         _STRING_ARCH_unaligned. Move a comment to a more appropriate
4492         location.
4494         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
4495         * include/time.h, include/unistd.h, include/wchar.h: No need to
4496         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
4498         * misc/sys/cdefs.h (__NTHNL): New macro.
4499         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
4500         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
4502         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
4503         defined, for HAVE_TUNABLES.
4504         * inet/tst-checks-posix.c: No need to define _ISOMAC.
4505         * intl/tst-gettext2.c: Provide own definition of N_.
4506         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
4507         * math/test-signgam-main.c: No need to define _ISOMAC.
4508         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
4509         * stdlib/tst-strtod1i.c: ...this new file.
4510         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
4511         Split tests of __strtod_internal to...
4512         * stdlib/tst-strtod5i.c: ...this new file.
4513         * string/test-string.h: Include stdint.h. Duplicate definition of
4514         inhibit_loop_to_libcall here (from libc-symbols.h).
4515         * string/test-strstr.c: Provide dummy definition of
4516         libc_hidden_builtin_def when including strstr.c.
4517         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
4518         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
4519         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
4520         Don't include init-arch.h.
4521         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
4522         Don't include init-arch.h.
4524         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
4525         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
4526         unload, unload2, circleload1, neededtest, neededtest2,
4527         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
4528         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
4529         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
4530         ifunc tests to tests-internal.
4531         Don't add $(modules-names) to test-extras.
4532         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
4533         Add tst-deadline to tests-static-internal.
4534         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
4535         tests-internal.
4536         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
4537         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
4538         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
4539         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
4540         tst-sem12-static, and tst-stackguard1-static to tests-internal.
4541         Link tests-internal with libpthread also.
4542         Don't add $(modules-names) to test-extras.
4543         * nss/Makefile: Move tst-field to tests-internal.
4544         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
4545         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
4546         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
4547         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
4548         tests-internal.
4549         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
4550         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
4551         test-get_hwcap-static to tests-internal.
4552         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
4553         tests-internal.
4554         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
4555         modules-names-tests.
4557 2017-05-11  Zack Weinberg  <zackw@panix.com>
4559         * libio/libio.h: Condition dummy definition of _IO_lock_t on
4560         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
4561         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
4562         _IO_funlockfile, and _IO_ftrylockfile.  Only define
4563         _IO_cleanup_region_start and _IO_cleanup_region_end if not
4564         already defined.
4565         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
4566         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
4567         appropriately.
4568         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
4569         Define _IO_lock_t_defined after defining _IO_lock_t.
4571 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4573         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
4574         void* for argument type and use VDSO_SYMBOL macro.
4575         (is_sigtramp_address_rt): Likewise.
4576         (__backtrace): Setup expected frame pointer address for signal
4577         handling.
4578         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
4579         void* for argumetn type and use VSDO_SYMBOL macro.
4580         (__backtrace): Setup expected frame pointer address for signal
4581         handling.
4583         * sysdeps/unix/sysv/linux/writev.c: New file.
4585         * sysdeps/unix/sysv/linux/readv.c: New file.
4587         * include/unistd.h (write): Add hidden proto.
4588         * io/Makefile (CFLAGS-write.c): New define.
4589         * nptl/Makefile (CFLAGS-write.c): Likewise.
4590         * sysdeps/unix/sysv/linux/write.c: New file.
4592         [BZ #21428]
4593         * include/unistd.h (read): Add hidden proto.
4594         * io/Makefile (CFLAGS-read.c): New define.
4595         * nptl/Makefile (CFLAGS-read.c): Likewise.
4596         * sysdeps/unix/sysv/linux/read.c: New file.
4598         * io/Makefile (CFLAGS-creat.c): New rule.
4599         (CFLAGS-creat64.c): Likewise.
4600         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
4601         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
4602         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
4603         * sysdeps/unix/sysv/linux/creat.c: New file.
4604         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
4605         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
4606         auto-generated list.
4607         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4609         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
4610         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
4611         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
4612         * sysdeps/unix/sysv/linux/open.c: New file.
4613         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
4614         iff __WORDSIZE != 64 and use __NR_openat when available.
4615         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
4616         from auto-generated list.
4618         * nptl/Makefile (CFLAGS-close.c): New flag.
4619         * sysdeps/unix/sysv/linux/close.c: New file.
4621 2017-05-11  DJ Delorie  <dj@redhat.com>
4623         * MAINTAINERS: New.  Points to wiki.
4625 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4627         * scripts/gen-tunables.awk: Add attribute_relro to
4628         tunable_list.
4630 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
4632         [BZ #21457]
4633         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
4634         (R1): Likewise.
4635         (R2): Likewise.
4636         (R3): Likewise.
4637         (R4): Likewise.
4638         (R5): Likewise.
4639         (R6): Likewise.
4640         (R7): Likewise.
4641         (R8): Likewise.
4642         (R9): Likewise.
4643         (R10): Likewise.
4644         (R11): Likewise.
4645         (R12): Likewise.
4646         (R13): Likewise.
4647         (R14): Likewise.
4648         (R15): Likewise.
4649         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
4650         (REG_FS): Likewise.
4651         (REG_ES): Likewise.
4652         (REG_DS): Likewise.
4653         (REG_EDI): Likewise.
4654         (REG_ESI): Likewise.
4655         (REG_EBP): Likewise.
4656         (REG_ESP): Likewise.
4657         (REG_EBX): Likewise.
4658         (REG_EDX): Likewise.
4659         (REG_ECX): Likewise.
4660         (REG_EAX): Likewise.
4661         (REG_TRAPNO): Likewise.
4662         (REG_ERR): Likewise.
4663         (REG_EIP): Likewise.
4664         (REG_CS): Likewise.
4665         (REG_EFL): Likewise.
4666         (REG_UESP): Likewise.
4667         (REG_SS): Likewise.
4668         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
4669         (R_D1): Likewise.
4670         (R_D2): Likewise.
4671         (R_D3): Likewise.
4672         (R_D4): Likewise.
4673         (R_D5): Likewise.
4674         (R_D6): Likewise.
4675         (R_D7): Likewise.
4676         (R_A0): Likewise.
4677         (R_A1): Likewise.
4678         (R_A2): Likewise.
4679         (R_A3): Likewise.
4680         (R_A4): Likewise.
4681         (R_A5): Likewise.
4682         (R_A6): Likewise.
4683         (R_A7): Likewise.
4684         (R_SP): Likewise.
4685         (R_PC): Likewise.
4686         (R_PS): Likewise.
4687         (fpregset_t): Likewise.
4688         (MCONTEXT_VERSION): Likewise.
4689         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
4690         (CTX_AT): Likewise.
4691         (CTX_V0): Likewise.
4692         (CTX_V1): Likewise.
4693         (CTX_A0): Likewise.
4694         (CTX_A1): Likewise.
4695         (CTX_A2): Likewise.
4696         (CTX_A3): Likewise.
4697         (CTX_T0): Likewise.
4698         (CTX_T1): Likewise.
4699         (CTX_T2): Likewise.
4700         (CTX_T3): Likewise.
4701         (CTX_T4): Likewise.
4702         (CTX_T5): Likewise.
4703         (CTX_T6): Likewise.
4704         (CTX_T7): Likewise.
4705         (CTX_S0): Likewise.
4706         (CTX_S1): Likewise.
4707         (CTX_S2): Likewise.
4708         (CTX_S3): Likewise.
4709         (CTX_S4): Likewise.
4710         (CTX_S5): Likewise.
4711         (CTX_S6): Likewise.
4712         (CTX_S7): Likewise.
4713         (CTX_T8): Likewise.
4714         (CTX_T9): Likewise.
4715         (CTX_K0): Likewise.
4716         (CTX_K1): Likewise.
4717         (CTX_GP): Likewise.
4718         (CTX_SP): Likewise.
4719         (CTX_S8): Likewise.
4720         (CTX_RA): Likewise.
4721         (CTX_MDLO): Likewise.
4722         (CTX_MDHI): Likewise.
4723         (CTX_CAUSE): Likewise.
4724         (CTX_EPC): Likewise.
4725         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
4726         inclusion of <sys/procfs.h> on [__USE_MISC].
4727         (greg_t): Condition on [__USE_MISC].
4728         (gregset_t): Likewise.
4729         (fpregset_t): Likewise.
4730         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
4731         (NGREG): Likewise.
4732         (gregset_t): Likewise.
4733         (REG_R0): Likewise.
4734         (REG_R1): Likewise.
4735         (REG_R2): Likewise.
4736         (REG_R3): Likewise.
4737         (REG_R4): Likewise.
4738         (REG_R5): Likewise.
4739         (REG_R6): Likewise.
4740         (REG_R7): Likewise.
4741         (REG_R8): Likewise.
4742         (REG_R9): Likewise.
4743         (REG_R10): Likewise.
4744         (REG_R11): Likewise.
4745         (REG_R12): Likewise.
4746         (REG_R13): Likewise.
4747         (REG_R14): Likewise.
4748         (REG_R15): Likewise.
4749         (struct _libc_fpstate): Likewise.
4750         (fpregset_t): Likewise.
4751         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
4752         (NFPREG): Likewise.
4753         (gregset_t): Likewise.
4754         (fpregset_t): Likewise.
4755         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
4756         (R_D1): Likewise.
4757         (R_D2): Likewise.
4758         (R_D3): Likewise.
4759         (R_D4): Likewise.
4760         (R_D5): Likewise.
4761         (R_D6): Likewise.
4762         (R_D7): Likewise.
4763         (R_A0): Likewise.
4764         (R_A1): Likewise.
4765         (R_A2): Likewise.
4766         (R_A3): Likewise.
4767         (R_A4): Likewise.
4768         (R_A5): Likewise.
4769         (R_A6): Likewise.
4770         (R_A7): Likewise.
4771         (R_SP): Likewise.
4772         (R_PC): Likewise.
4773         (R_PS): Likewise.
4774         (fpregset_t): Likewise.
4775         (MCONTEXT_VERSION): Likewise.
4776         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
4777         Likewise.
4778         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
4779         (REG_R1): Likewise.
4780         (REG_R2): Likewise.
4781         (REG_R3): Likewise.
4782         (REG_R4): Likewise.
4783         (REG_R5): Likewise.
4784         (REG_R6): Likewise.
4785         (REG_R7): Likewise.
4786         (REG_R8): Likewise.
4787         (REG_R9): Likewise.
4788         (REG_R10): Likewise.
4789         (REG_R11): Likewise.
4790         (REG_R12): Likewise.
4791         (REG_R13): Likewise.
4792         (REG_R14): Likewise.
4793         (REG_R15): Likewise.
4794         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
4795         of <arch/abi.h> on [__USE_MISC].
4796         (greg_t): Condition on [__USE_MISC].
4797         (NGREG): Likewise.
4798         (gregset_t): Likewise.
4800 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4802         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
4803         (__pthread_rwlock_arch_t): Remove __data definition.
4804         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
4805         (__pthread_rwlock_arch_t): Likewise.
4807 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4809         * resolv/inet_pton.c: Reformat in GNU style.  Remove
4810         internal_function on static functions.
4812 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4814         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
4815         from format_ai_flags.
4816         (format_ai_flags): New function.  Incorporate flag formatting code
4817         from format_ai_one.
4818         (format_ai_canonname): New function.
4819         (format_ai_one): Remove flags parameter.
4820         (format_ai_family): Likewise.
4821         (support_format_addrinfo): Call format_ai_flags,
4822         format_ai_canonname.
4823         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
4824         check_ai.
4825         (check_ai): Call check_ai_hints.
4826         (do_test): Add AI_CANONNAME tests.
4828 2017-05-11  Florian Weimer  <fweimer@redhat.com>
4830         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
4831         (gaih_inet): Likewise.
4833 2017-05-10  Andreas Schwab  <schwab@suse.de>
4835         * nptl/tst-fork1.c: Include <support/test-driver.c>.
4836         (main): Rename to do_test and make static.
4838 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
4840         * string/rawmemchr.c: Include <libc-diag.h>.
4841         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
4842         with size (size_t)-1.
4844 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4846         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
4847         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
4848         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
4850         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
4851         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
4852         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
4853         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
4854         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
4855         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
4856         * sysdeps/unix/sysv/linux/kernel-features.h
4857         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
4858         socket syscalls.
4859         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4860         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
4861         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4862         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4863         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4864         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4865         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
4866         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4867         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4868         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4869         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4870         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4871         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
4872         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4873         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4875 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4877         * posix/Makefile (headers): Add pthreadtypes-arch.h and
4878         thread-shared-types.h.
4879         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
4880         specific thread definition.
4881         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
4882         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
4883         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
4884         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
4885         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
4886         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
4887         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
4888         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
4889         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
4890         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
4891         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
4892         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
4893         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
4894         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
4895         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
4896         thread definition between POSIX and C11.
4897         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
4898         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
4899         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
4900         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
4901         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
4902         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
4903         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
4904         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
4905         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
4906         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
4907         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
4908         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
4909         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
4910         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
4911         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
4912         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
4913         definitions shared across all architectures.
4915 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4917         * sysdeps/unix/sysv/linux/kernel-features.h
4918         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
4919         (__ASSUME_SENDMMSG): Likewise.
4920         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
4921         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
4922         sendmmsg syscall if that can be assumed to be present, socketcall
4923         otherwise, with no fallback for runtime failure.
4925         * sysdeps/unix/sysv/linux/kernel-features.h
4926         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
4927         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
4928         (__ASSUME_RECVMMSG): Likewise.
4929         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
4930         recvmmsg syscall if it can be assumed to be present, socketcall
4931         otherwise, with no fallback for runtime failure.
4933 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4934             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4936         * bits/libc-header-start.h:
4937         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
4938         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
4939         * manual/creature.texi: Likewise.
4941 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4942             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4944         * math/Makefile:
4945         (type-float128-suffix): New variable
4946         (type-float128-routines): Likewise
4947         (type-float128-yes): Likewise
4948         (types): Append float128 if supported
4949         (types-basic): New variable to control the use of templates for
4950         float, double, and long double, but not for float128 or newer types.
4951         (type-basic-foreach): Likewise.
4953         * sysdeps/ieee754/float128/Makeconfig: New file.
4954         * sysdeps/ieee754/float128/Versions: New file.
4956 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
4958         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
4959         Remove macro.
4960         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
4961         prlimit64 is always available and does not give an ENOSYS error.
4962         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
4963         unconditional.
4964         [!__NR_prlimit64]: Remove conditional code.
4965         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
4966         prlimit64 is always available and does not give an ENOSYS error.
4967         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
4969 2017-05-09  Zack Weinberg  <zackw@panix.com>
4971         * sunrpc/tst-xdrmem2.c: Include stdint.h.
4973 2017-05-09  Florian Weimer  <fweimer@redhat.com>
4975         [BZ #21474]
4976         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
4977         (__res_maybe_init): Likewise.
4979 2017-05-09  Zack Weinberg  <zackw@panix.com>
4981         * extra-modules.mk: Delete file.
4982         * cppflags-iterator.mk: Rename to ...
4983         * libof-iterator.mk: ...this.  Adjust comments.
4985         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
4986         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
4987         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
4988         Use libof-iterator.mk instead of cppflags-iterator.mk or
4989         extra-modules.mk.
4991         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
4992         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
4994 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
4996         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4998 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
5000         * stdio-common/vfprintf.c (EXTSIZ): Define.
5001         (vfprintf): Use EXTSIZ.
5002         (printf_positional): Likewise.
5004 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5006         * sysdeps/unix/sysv/linux/kernel-features.h
5007         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
5008         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
5009         <kernel-features.h>.
5010         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
5012         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
5013         (__ASSUME_GETCPU_SYSCALL): Remove macro.
5015 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5017         Prevent multiple deletion of temporary files.
5018         * support/temp_file.c (struct temp_name_list): Add owner member.
5019         (add_temp_file): Record owner.
5020         (support_delete_temp_files): Delete file only if owner matches.
5021         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
5022         (do_prepare): Use create_temp_file instead of add_temp_file.
5023         Initialize temp_fd1, temp_fd2.
5024         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
5025         framework remove the temporary files.
5026         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
5027         (do_prepare): Use create_temp_file instead of add_temp_file.
5028         Initialize temp_fd1, temp_fd2, temp_fd3.
5029         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
5030         the test framework remove the temporary files.
5031         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
5032         deletion.
5033         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
5034         temporary directory.  It is removed by the test framework.
5035         * dirent/tst-scandir.c (do_test): Likewise.
5037 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5039         Delete temporary files in LIFO order.
5040         * support/temp_file.c (struct temp_name_list): Replace q member
5041         with next.
5042         (add_temp_file): Add new file to front of linked list.
5043         (support_delete_temp_files): Use next member.
5044         (support_print_temp_files): Likewise.
5046 2017-05-08  Florian Weimer  <fweimer@redhat.com>
5048         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
5049         sys/ultrasound.h.
5050         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
5052 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
5054         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
5055         Remove.
5056         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
5057         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
5058         (arch_minimum_kernel): Remove.
5059         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
5060         * README: Update statement about Linux kernel requirements.
5062 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5064         * manual/llio.texi: Add preadv and pwritev documentation.
5066 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5068         [BZ #21455]
5069         * bits/stdint-intn.h: New file.
5070         * bits/stdint-uintn.h: Likewise.
5071         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
5072         bits/stdint-uintn.h.
5073         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
5074         <stdint.h>.
5075         * posix/sys/types.h: Include <bits/stdint-intn.h>.
5076         (__int8_t_defined): Do not define here.
5077         (int8_t): Likewise.
5078         (int16_t): Likewise.
5079         (int32_t): Likewise.
5080         (int64_t): Likewise.
5081         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
5082         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
5083         <stdint.h>.
5084         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
5085         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
5086         <bits/stdint-uintn.h>.
5087         (int8_t): Do not define here.
5088         (int16_t): Likewise.
5089         (int32_t): Likewise.
5090         (int64_t): Likewise.
5091         (uint8_t): Likewise.
5092         (uint16_t): Likewise.
5093         (uint32_t): Likewise.
5094         (uint64_t): Likewise.
5095         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
5096         variable.
5097         (test-xfail-XPG42/netdb.h/conform): Likewise.
5098         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
5099         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
5100         (test-xfail-UNIX98/netdb.h/conform): Likewise.
5101         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
5103 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5105         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
5106         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
5107         the above.
5108         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
5109         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
5111 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
5113         [BZ #21445]
5114         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
5116         [BZ #21457]
5117         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
5118         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
5119         __glibc_reserved1.
5120         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
5121         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
5122         (struct _fpxreg): Likewise.
5123         [!__x86_64__] (struct _fpstate): Rename field reserved to
5124         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
5125         [__x86_64__] (struct _fpstate): Rename field padding to
5126         __glibc_reserved1.
5127         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
5128         Rename field reserved2 to __glibc_reserved2.
5129         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
5130         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
5131         __glibc_reserved1.
5132         [__x86_64__] (struct _libc_fpstate): Rename field padding to
5133         __glibc_reserved1.
5135 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5137         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
5138         variable name.
5140 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
5142         [BZ #21391]
5143         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
5144         Only call init_cpu_features.
5145         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
5146         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
5147         * sysdeps/i386/dl-procinfo.h: Removed.
5148         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
5149         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
5150         <sysdeps/x86/dl-procinfo.h>.
5151         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
5152         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
5153         Include <sysdeps/x86/dl-procinfo.h> instead of
5154          <sysdeps/generic/dl-procinfo.h>.
5155         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
5156         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
5157         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
5158         (bit_cpu_MOVBE): Likewise.
5159         (bit_cpu_BMI1): Likewise.
5160         (bit_cpu_BMI2): Likewise.
5161         (index_cpu_BMI1): Likewise.
5162         (index_cpu_BMI2): Likewise.
5163         (index_cpu_LZCNT): Likewise.
5164         (index_cpu_MOVBE): Likewise.
5165         (index_cpu_POPCNT): Likewise.
5166         (reg_BMI1): Likewise.
5167         (reg_BMI2): Likewise.
5168         (reg_LZCNT): Likewise.
5169         (reg_MOVBE): Likewise.
5170         (reg_POPCNT): Likewise.
5171         * sysdeps/x86/dl-hwcap.h: New file.
5172         * sysdeps/x86/dl-procinfo.h: Likewise.
5173         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
5174         (_dl_x86_platforms): Likewise.
5176 2017-05-03  DJ Delorie  <dj@redhat.com>
5178         [BZ #21411]
5179         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
5181 2017-05-03  Phil Blundell  <pb@pbcl.net>
5183         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
5184         comments.
5186 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
5188         [BZ #20116]
5189         * nptl/pthread_create.c: Expand comments to describe
5190         semaphore-like and mutex-like uses of PD->lock.
5192 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5194         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
5195         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
5196         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
5197         auto-generation list.
5198         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
5199         epoll_wait.
5200         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
5201         Remove epoll_wait.
5203         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
5204         osf_select.
5205         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
5206         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
5207         osf_select from auto-generation list.
5208         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
5209         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
5210         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
5211         * sysdeps/unix/sysv/linux/select.c: New file.
5213         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
5214         * sysdeps/unix/sysv/linux/poll.c: New file.
5215         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
5216         auto-generation list.
5218 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
5220         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
5221         New macro.
5223 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
5225         [BZ #21179]
5226         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
5227         R_SPARC_REGISTER relocations.
5229 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5231         * include/unistd.h (__pread): Add libc_hidden_proto.
5232         (__pread64): Likewise.
5233         (__pwrite): Likewise.
5234         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
5235         (__pread64): Remove.
5236         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
5237         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
5238         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
5240 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5242         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5244 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5246         * nptl/tst-cancel4-common.c: Use libsupport.
5247         * nptl/tst-cancel4-common.h: Likewise.
5248         * nptl/tst-cancel4.c (tf_read): Likewise.
5249         (tf_readv): Likewise.
5250         (tf_write): Likewise.
5251         (tf_writev): Likewise.
5252         (tf_sleep): Likewise.
5253         (tf_usleep): Likewise.
5254         (tf_nanosleep): Likewise.
5255         (tf_select): Likewise.
5256         (tf_pselect): Likewise.
5257         (tf_poll): Likewise.
5258         (tf_ppoll): Likewise.
5259         (tf_wait): Likewise.
5260         (tf_waitpid): Likewise.
5261         (tf_waitid): Likewise.
5262         (tf_sigpause): Likewise.
5263         (tf_sigsuspend): Likewise.
5264         (tf_sigwait): Likewise.
5265         (tf_sigwaitinfo): Likewise.
5266         (tf_sigtimedwait): Likewise.
5267         (tf_pause): Likewise.
5268         (tf_accept): Likewise.
5269         (tf_send): Likewise.
5270         (tf_recv): Likewise.
5271         (tf_recvfrom): Likewise.
5272         (tf_recvmsg): Likewise.
5273         (tf_open): Likewise.
5274         (tf_close): Likewise.
5275         (tf_pread): Likewise.
5276         (tf_pwrite): Likewise.
5277         (tf_preadv): Likewise.
5278         (tf_pwritev): Likewise.
5279         (tf_fsync): Likewise.
5280         (tf_fdatasync): Likewise.
5281         (tf_msync): Likewise.
5282         (tf_sendto): Likewise.
5283         (tf_sendmsg): Likewise.
5284         (tf_creat): Likewise.
5285         (tf_connect): Likewise.
5286         (tf_tcdrain): Likewise.
5287         (tf_msgrcv): Likewise.
5288         (tf_msgsnd): Likewise.
5289         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
5290         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
5292         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
5293         expected arguments.
5294         (do_test): Adapt to use libsupport.
5296 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
5298         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
5300         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
5301         (PF_MAX): Set to 44.
5302         (AF_SMC): New macro.
5304         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5305         kernel version to 4.11.
5307 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5309         [BZ #21280]
5310         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
5311         signal of subnormals and adjust the exponent of power of 2 down
5312         when low part has opposite sign.
5314 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5316         * sysdeps/powerpc/powerpc64le/Implies: New file.
5317         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
5318         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
5319         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
5320         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
5321         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
5322         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
5323         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
5324         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
5325         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
5326         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
5327         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
5328         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
5329         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
5330         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
5331         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
5332         * sysdeps/powerpc/preconfigure: New file.
5333         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
5334         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
5336 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
5338         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
5339         inclusion.
5340         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
5341         Remove.
5343 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
5345         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
5346         (XPG3): Rename standard to XPG4.
5347         * conform/Makefile: Likewise.
5348         * conform/list-header-symbols.pl: Likewise.
5349         * conform/data/aio.h-data: Likewise.
5350         * conform/data/arpa/inet.h-data: Likewise.
5351         * conform/data/complex.h-data: Likewise.
5352         * conform/data/ctype.h-data: Likewise.
5353         * conform/data/dlfcn.h-data: Likewise.
5354         * conform/data/fcntl.h-data: Likewise.
5355         * conform/data/fenv.h-data: Likewise.
5356         * conform/data/float.h-data: Likewise.
5357         * conform/data/fmtmsg.h-data: Likewise.
5358         * conform/data/ftw.h-data: Likewise.
5359         * conform/data/grp.h-data: Likewise.
5360         * conform/data/inttypes.h-data: Likewise.
5361         * conform/data/iso646.h-data: Likewise.
5362         * conform/data/langinfo.h-data: Likewise.
5363         * conform/data/libgen.h-data: Likewise.
5364         * conform/data/limits.h-data: Likewise.
5365         * conform/data/locale.h-data: Likewise.
5366         * conform/data/math.h-data: Likewise.
5367         * conform/data/mqueue.h-data: Likewise.
5368         * conform/data/ndbm.h-data: Likewise.
5369         * conform/data/net/if.h-data: Likewise.
5370         * conform/data/netdb.h-data: Likewise.
5371         * conform/data/netinet/in.h-data: Likewise.
5372         * conform/data/poll.h-data: Likewise.
5373         * conform/data/pthread.h-data: Likewise.
5374         * conform/data/pwd.h-data: Likewise.
5375         * conform/data/sched.h-data: Likewise.
5376         * conform/data/search.h-data: Likewise.
5377         * conform/data/semaphore.h-data: Likewise.
5378         * conform/data/signal.h-data: Likewise.
5379         * conform/data/spawn.h-data: Likewise.
5380         * conform/data/stdbool.h-data: Likewise.
5381         * conform/data/stdint.h-data: Likewise.
5382         * conform/data/stdio.h-data: Likewise.
5383         * conform/data/stdlib.h-data: Likewise.
5384         * conform/data/string.h-data: Likewise.
5385         * conform/data/strings.h-data: Likewise.
5386         * conform/data/stropts.h-data: Likewise.
5387         * conform/data/sys/mman.h-data: Likewise.
5388         * conform/data/sys/resource.h-data: Likewise.
5389         * conform/data/sys/select.h-data: Likewise.
5390         * conform/data/sys/socket.h-data: Likewise.
5391         * conform/data/sys/stat.h-data: Likewise.
5392         * conform/data/sys/statvfs.h-data: Likewise.
5393         * conform/data/sys/time.h-data: Likewise.
5394         * conform/data/sys/timeb.h-data: Likewise.
5395         * conform/data/sys/types.h-data: Likewise.
5396         * conform/data/sys/uio.h-data: Likewise.
5397         * conform/data/sys/un.h-data: Likewise.
5398         * conform/data/sys/wait.h-data: Likewise.
5399         * conform/data/syslog.h-data: Likewise.
5400         * conform/data/termios.h-data: Likewise.
5401         * conform/data/tgmath.h-data: Likewise.
5402         * conform/data/time.h-data: Likewise.
5403         * conform/data/ucontext.h-data: Likewise.
5404         * conform/data/unistd.h-data: Likewise.
5405         * conform/data/utmpx.h-data: Likewise.
5406         * conform/data/varargs.h-data: Likewise.
5407         * conform/data/wchar.h-data: Likewise.
5408         * conform/data/wctype.h-data: Likewise.
5410 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
5412         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
5413         version to 7 branch.
5415 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
5417         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
5418         earlyclobber to output operand of sqrt insn.
5419         (__ieee754_sqrtf): Ditto.
5421 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
5423         [BZ #21426]
5424         * misc/bits/types/struct_iovec.h: New file.
5425         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
5426         * include/bits/types/struct_iovec.h: New file.
5427         * bits/uio.h (struct iovec): Replace by inclusion of
5428         <bits/types/struct_iovec.h>.
5429         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
5430         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
5431         of <sys/uio.h>.
5432         * nptl/tst-cancel4.c: Include <sys/uio.h>
5433         * posix/test-errno.c: Likewise.
5434         * support/resolv_test.c: Likewise.
5435         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
5436         Remove.
5437         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
5438         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
5439         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
5441         * conform/data/sys/socket.h-data (*_t): Allow.
5443 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5445         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
5446         assignment.
5448 2017-04-24  Daurnimator  <quae@daurnimator.com>
5449             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5451         [BZ #21340]
5452         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
5453         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
5454         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
5455         valid flags.
5456         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
5457         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
5458         POSIX_SPAWN_SETSID.
5459         * sysdeps/posix/spawni.c (__spawni): Likewise.
5460         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
5461         * NEWS: Add note about POSIX_SPAWN_SETSID support.
5463 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5465         * sysdeps/generic/math_private.h: Move the declaration of many
5466         functions to sysdeps/generic/math_private_calls.h.
5467         * sysdeps/generic/math_private_calls.h: New file with the
5468         declarations of the functions removed from math_private.h
5469         macroized by floating-point type.
5471 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5473         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
5474         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
5475         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5476         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5477         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5478         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5480 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5482         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
5483         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
5484         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
5485         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
5486         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
5487         New Define.
5489 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5491         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
5492         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
5493         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
5494         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
5495         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
5496         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
5498 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
5500         * sysdeps/s390/multiarch/ifunc-resolve.h
5501         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
5502         * sysdeps/s390/multiarch/8bit-generic.c
5503         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
5504         define ifunc resolvers.
5506 2017-04-21  Florian Weimer  <fweimer@redhat.com>
5508         [BZ #20424]
5509         * manual/memory.texi (Replacing malloc): New section.
5510         (Allocating Storage For Program Data): Reference it.
5511         (The GNU Allocator): Likewise.
5513 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
5515         * stdlib/Versions (__strtod_internal): List explicitly, not as
5516         wildcard.
5517         (__strtof_internal): Likewise.
5518         (__strtold_internal): Likewise.
5519         (__strtol_internal): Likewise.
5520         (__strtoll_internal): Likewise.
5521         (__strtoul_internal): Likewise.
5522         (__strtoull_internal): Likewise.
5523         (__strtoq_internal): Likewise.
5524         (__strtouq_internal): Likewise.
5525         * wcsmbs/Versions (__wcstod_internal): Likewise.
5526         (__wcstof_internal): Likewise.
5527         (__wcstold_internal): Likewise.
5528         (__wcstol_internal): Likewise.
5529         (__wcstoll_internal): Likewise.
5530         (__wcstoul_internal): Likewise.
5531         (__wcstoull_internal): Likewise.
5533 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5535         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
5536         struct timespec definition.
5538 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5540         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
5542 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5544         * inet/rcmd.c (rresvport_af): Fix typo in comment.
5545         * inet/rexec.c (rexec_af): Likewise.
5547 2017-04-19  Zack Weinberg  <zackw@panix.com>
5549         * posix/tst-mmap-offset.c: Include stdint.h.
5550         * resolv/tst-ns_name_compress.c: Include string.h.
5551         * resolv/tst-resolv-edns.c: Include resolv.h.
5553 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5555         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
5556         with __glibc_likely.
5557         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
5558         Replace __builtin_expect with __glibc_unlikely.
5559         * resolv/res_init.c (__res_vinit): Likewise.
5560         * resolv/res_query.c (__libc_res_nquery): Likewise.
5561         * resolv/res_send.c (__libc_res_nsend): Likewise.
5563 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5565         [BZ #15722]
5566         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
5567         with SOCK_CLOEXEC.
5568         * resolv/res_send.c (send_vc, reopen): Likewise.
5569         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
5570         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
5571         Likewise.
5572         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
5573         * inet/rexec.c (rexec_af): Add comment.
5574         * inet/rcmd.c (rresvport_af): Likewise.
5576 2017-04-19  Florian Weimer  <fweimer@redhat.com>
5578         * nscd/connections.c (have_accept4): Removed definition.
5579         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
5580         accept4 works.
5581         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
5582         ia64 because that was the first version with accept4 support.
5583         * support/Makefile (libsupport-routines): Add xaccept4.
5584         * support/xsocket.h (xaccept4): Declare.
5585         * support/xaccept4.c: New file.
5586         * socket/tst-accept4.c: New file.
5587         * socket/Makefile (tests): Add tst-accept4.
5588         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
5589         definition.
5590         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
5591         comment.
5592         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
5593         implementation is available.
5594         (accept4): Use the system call if available, otherwise use the
5595         socket call.
5596         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
5597         Set to 3.2.18.
5598         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5599         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
5600         accept4 is unconditionally available in later 3.2 stable kernels.
5601         (__ASSUME_ACCEPT4_SYSCALL): Define.
5602         * sysdeps/unix/sysv/linux/kernel-features.h
5603         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
5604         definitions.
5605         * sysdeps/unix/sysv/linux/i386/kernel-features.h
5606         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
5608 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
5610         * conform/Makefile (tests-special): Do not make addition of
5611         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
5612         (generated): Do not make addition of $(conformtest-header-base)
5613         conditional on [$(cross-compiling) = no].
5615         [BZ #21267]
5616         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
5617         if defined by <asm/socket.h> and not previously defined.
5618         (IOCSIZE_SHIFT): Likewise.
5619         (IOC_IN): Likewise.
5620         (IOC_INOUT): Likewise.
5621         (IOC_OUT): Likewise.
5623 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5625         [BZ #21396]
5626         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5627         Prefer_No_AVX512 if AVX512ER isn't available.
5628         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
5629         (index_arch_Prefer_No_AVX512): Likewise.
5630         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
5631         AVX512 version if Prefer_No_AVX512 is set.
5632         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
5633         Likewise.
5634         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
5635         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
5636         Likewise.
5637         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
5638         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
5639         Likewise.
5640         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
5641         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
5642         Likewise.
5644 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
5646         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
5647         Prefer_No_VZEROUPPER if AVX512ER is available.
5648         * sysdeps/x86/cpu-features.h
5649         (bit_cpu_AVX512PF): New.
5650         (bit_cpu_AVX512ER): Likewise.
5651         (bit_cpu_AVX512CD): Likewise.
5652         (bit_cpu_AVX512BW): Likewise.
5653         (bit_cpu_AVX512VL): Likewise.
5654         (index_cpu_AVX512PF): Likewise.
5655         (index_cpu_AVX512ER): Likewise.
5656         (index_cpu_AVX512CD): Likewise.
5657         (index_cpu_AVX512BW): Likewise.
5658         (index_cpu_AVX512VL): Likewise.
5659         (reg_AVX512PF): Likewise.
5660         (reg_AVX512ER): Likewise.
5661         (reg_AVX512CD): Likewise.
5662         (reg_AVX512BW): Likewise.
5663         (reg_AVX512VL): Likewise.
5665 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5667         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
5668         O_CLOEXEC is defined.
5669         * include/fcntl.h (__have_o_cloexec): Remove declaration.
5670         * io/Makefile (aux): Remove.
5671         * io/have_o_cloexec.c: Remove file.
5672         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
5673         defined and works.
5674         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
5675         defined.
5676         * login/utmp_file.c (O_flags): Remove definition.
5677         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
5678         O_CLOEXEC works.
5679         (pututline_file): Likewise.
5680         * malloc/mtrace.c: Assume that O_CLOEXEC works.
5681         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
5682         definition.
5683         (internal_setgrent): Assume that O_CLOEXEC works.
5684         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
5685         Remove definition.
5686         (internal_setgrent): Assume that O_CLOEXEC works.
5687         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
5688         definition.
5689         (internal_setpwent): Assume that O_CLOEXEC works.
5690         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
5691         definition.
5692         (internal_setspent): Assume that O_CLOEXEC works.
5693         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
5694         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
5695         O_CLOEXEC is defined and works.
5696         * nss/Makefile (libnss_files-routines): Remove
5697         files-have_o_cloexec.
5698         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
5699         defined.
5700         * nss/nss_files/files-XXX.c (internal_setent): Assume that
5701         O_CLOEXEC is defined and works.
5702         * nss/nss_files/files-alias.c (internal_setent): Likewise.
5703         * nss/nss_files/files-have_o_cloexec.c: Remove.
5704         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
5705         defined.
5706         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
5707         and works.
5708         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
5709         definition.
5710         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
5711         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
5712         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
5713         (__opendirat, __opendir): Adjust opendir_oflags call.
5714         (check_have_o_cloexec): Remove.
5715         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
5716         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
5717         defined.
5718         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
5719         Remove definition.
5721 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5723         * include/unistd.h (__have_dup3): Remove declaration.
5724         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
5725         dup3 is available.
5726         * libio/freopen64.c (freopen64): Likewise.
5727         * socket/Makefile (aux): Remove have_sock_cloexec.
5728         * socket/have_sock_cloexec.c: Remove file.
5729         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
5730         definition.
5731         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
5732         Likewise.
5733         * sysdeps/nacl/kernel-features.h: Update comment.
5735 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5737         * include/unistd.h (__have_pipe2): Remove declaration.
5738         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
5739         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
5740         available.
5741         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
5742         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
5743         Remove definition.
5745 2017-04-18  Florian Weimer  <fweimer@redhat.com>
5747         * malloc/malloc.c (cfree): Turn into compat symbol.
5748         (__cfree): Remove alias.
5749         * stdlib/stdlib.h (cfree): Remove declaration.
5750         * malloc/malloc.h (cfree): Likewise.
5751         * manual/memory.texi (Freeing after Malloc): Remove cfree.
5752         * malloc/Versions (GLIBC_2.26): Add.
5754 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5756         * sysdeps/powerpc/powerpc64/multiarch/Makefile
5757         (sysdep_routines): Add strrchr-power8.
5758         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5759         (strrchr): Add __strrchr_power8 to list of strrchr functions.
5760         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
5761         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
5762         (strrchr): Add __strrchr_power8 to ifunc list.
5763         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
5765 2017-04-17  Rabin Vincent  <rabinv@axis.com>
5767         [BZ #21357]
5768         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
5769         Call free() outside of mutex.
5771 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5773         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
5774         is defined.
5775         * elf/rtld.c (process_envvars): Likewise.
5776         * sysdeps/posix/shm_open.c (shm_open): Likewise.
5777         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
5778         O_NOFOLLOW directly.
5779         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
5781 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5783         [BZ #21369]
5784         Remove EDNS fallback.
5785         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
5786         handling.
5787         * resolv/res_send.c (send_dg): Likewise.
5788         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
5789         "tcp." prefixes.
5790         (do_test): Send a "formerr."-prefixed query in an attempt to
5791         trigger EDNS fallback.
5793 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5795         [BZ #21361]
5796         Limit EDNS buffer size to 1200 bytes.
5797         * include/resolv.h (__res_nopt): Remove declaration.
5798         * resolv/Makefile (tests): tst-resolv-edns.
5799         (tst-resolv-edns): Link with -lresolv, -lpthread.
5800         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
5801         interval [512, 1200].
5802         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
5803         we can resize the buffer.
5804         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
5805         (__res_nopt): Declare.
5806         * resolv/tst-resolv-edns.c: New file.
5807         * resolv/resolv_test.h (struct resolv_edns_info): Define.
5808         (struct resolv_response_context): Add edns member.
5809         * resolv/resolv_test.c (struct query_info): Add edns member.
5810         (parse_query): Extract EDNS information from the query.
5811         (server_thread_udp_process_one): Propagate EDNS data.
5812         (server_thread_tcp_client): Likewise.
5814 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5816         [BZ #21359]
5817         * resolv/ns_name.c (ns_name_pack): Do not require an additional
5818         byte in the destination buffer.  Avoid out-of-bounds pointer
5819         arithmetic.
5820         * resolv/Makefile (tests): Add tst-ns_name_compress.
5821         (tst-ns_name_compress): Link with -lresolv.
5822         * resolv/tst-ns_name_compress.c: New file.
5823         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
5824         (response): Recognize LONG_NAME.
5825         (do_test): Add LONG_NAME tests.
5826         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
5827         for ns_name_unpack.  Add tests for ns_name_pton and
5828         ns_name_compress.
5830 2017-04-13  Florian Weimer  <fweimer@redhat.com>
5832         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
5833         (res_nisourserver): Remove definition.
5834         (p_section, res_npquery, res_nisourserver): Remove declaration.
5835         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
5836         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
5837         ... here.
5838         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
5839         <resolv.h>.
5840         * resolv/res_query.c: Likewise.
5841         * resolv/res_debug.c (p_section): Define as static.
5843 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5845         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
5846         strncat-power8.
5847         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
5848         __strncat_power8 to ifunc list.
5849         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
5850         (strncat): Add __strncat_power8 to list of strncat functions.
5851         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
5853 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5855         [BZ #21270]
5856         * posix/tst-mmap-offset.c (do_prepare): New function.
5857         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
5858         (do_test_bz21270): New function.
5859         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
5860         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
5861         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
5862         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
5863         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
5864         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
5865         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
5866         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
5867         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
5868         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
5869         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
5870         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
5871         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
5872         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
5873         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
5874         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
5875         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
5876         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
5877         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
5878         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
5879         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
5880         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
5881         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
5882         from auto-generation list.
5883         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
5884         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
5885         * sysdeps/unix/sysv/linux/mmap.c: New file.
5886         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
5887         offsets and support for mmap2 syscall.
5889         * posix/globtest.sh: Add cleanup routine on trap 0.
5891 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5893         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
5894         implementation-specific function name and remove unneeded
5895         macros definition.
5896         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
5897         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
5898         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
5899         name if not defined and pass as parameter to macros accordingly.
5900         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
5901         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
5903         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
5904         implementation-specific function name and remove unneeded
5905         macros definition.
5906         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
5907         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
5908         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
5909         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
5910         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
5911         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
5912         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
5913         name if not defined and pass as parameter to macros accordingly.
5914         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
5915         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
5916         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
5917         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
5918         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
5919         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
5921         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
5922         implementation-specific function name and remove unneeded macros
5923         definition.
5924         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
5925         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
5926         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
5927         function name if not defined and pass as parameter to macros
5928         accordingly.
5929         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
5930         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
5932         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
5933         implementation-specific function name and remove unneeded macros
5934         definition.
5935         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
5936         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
5937         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
5938         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
5939         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
5940         not defined and pass as parameter to macros accordingly.
5941         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
5942         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
5943         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
5944         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
5946         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
5947         strcasestr implementation name and remove unneeded macros definition.
5948         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
5949         strstr implementation name and remove unneeded macros definition.
5950         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
5951         name if not defined and pass as parameter to macros accordingly.
5952         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
5954         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
5955         implementation-specific function name and remove unneeded macros
5956         definition.
5957         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
5958         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
5959         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
5960         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
5961         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
5962         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
5963         function name if not defined and pass as parameter to macros
5964         accordingly.
5965         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
5966         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
5967         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
5968         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
5970         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
5971         the strlen implementation name and remove unneeded macros definition.
5972         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
5973         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
5974         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
5975         the strnlen implementation name and remove unneeded macros definition.
5976         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
5977         name if not defined and pass as parameter to macros accordingly.
5978         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
5979         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
5980         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
5982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
5983         the implementation-specific function name and remove unneeded
5984         macros definition.
5985         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
5986         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
5987         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
5988         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
5989         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
5990         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
5991         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
5992         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
5993         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
5994         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
5995         name if not defined and pass as parameter to macros accordingly.
5996         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
5997         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
5998         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
5999         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
6000         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6001         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
6002         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
6003         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6005         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
6006         implementation-specific function name and remove unneeded macros
6007         definition.
6008         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
6009         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
6010         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
6011         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
6012         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
6013         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
6014         function name if not defined.
6015         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
6016         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
6018 2017-04-11  Paul Clarke  <pc@us.ibm.com>
6020         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
6021         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
6022         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
6023         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
6025 2017-04-11  Florian Weimer  <fweimer@redhat.com>
6026             Zack Weinberg  <zackw@panix.com>
6028         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
6029         readdir64 as thread-safe.  Update warning about readdir_r.
6031 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6033         * sysdeps/unix/sysv/linux/x86/Implies: New file.
6034         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
6035         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
6036         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
6037         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
6038         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
6039         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
6041 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
6043         * sysdeps/i386/dl-procinfo.c: Include
6044         <sysdeps/x86/dl-procinfo.c>.
6045         * sysdeps/x86_64/dl-procinfo.c: Likewise.
6046         * sysdeps/x86/dl-procinfo.c: New file.
6048 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6050         * sysdeps/generic/math_private.h: Remove declarations of
6051         many functions that are already declared in math.h.
6052         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
6053         declaration for __frexpl.
6054         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
6055         the declarations for __scalbnl and fabsl.
6057 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
6059         [BZ #20831]
6060         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
6061         of __mprotect to change protection on the excess portion
6062         to disallow all access.
6064 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
6066         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
6067         HAS_CPU_FEATURE to check for SSE.
6068         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
6069         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
6070         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
6071         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
6072         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
6073         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
6074         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
6075         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
6076         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
6077         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
6078         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
6079         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
6080         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
6081         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
6082         (index_cpu_SSE): Likewise.
6083         (reg_SSE): Likewise.
6085 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
6087         * posix/getopt1.c: Include <config.h>, not "config.h".
6089 2017-04-07  Zack Weinberg  <zackw@panix.com>
6091         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
6092         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
6093         Mention in top-of-file boilerplate that these files are shared
6094         with gnulib.
6095         * posix/getopt.h, posix/bits/getopt_posix.h:
6096         Mention in top-of-file boilerplate that these files are NOT shared
6097         with gnulib, unlike the rest of the getopt implementation.
6099         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
6100         New files, intended to be shared with gnulib.
6101         * posix/bits/getopt_posix.h:
6102         New file, not intended to be shared with gnulib.
6103         * posix/getopt.h: Now just includes features.h,
6104         bits/getopt_core.h, and bits/getopt_ext.h.  Will
6105         no longer be shared with gnulib.
6106         * include/bits/getopt_core.h, include/bits/getopt_ext.h
6107         * include/bits/getopt_posix.h: New wrappers.
6108         * posix/Makefile: Install new headers.
6109         * posix/unistd.h, libio/stdio.h:
6110         Include bits/getopt_posix.h instead of getopt.h.
6112         * include/libc-symbols.h: For gnulib compatibility, define
6113         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
6114         _GL_ATTRIBUTE_CONST.
6115         * posix/getopt.c (_getopt_initialize): Mark argc and argv
6116         parameters with _GL_UNUSED.
6118         * posix/getopt.c: When used standalone, define __libc_use_alloca
6119         as always false and alloca to abort if called.
6120         (process_long_option): Rewrite handling of ambiguous long options
6121         to use a single boolean vector, not a linked list; use
6122         __libc_use_alloca to decide whether to allocate this using alloca.
6123         * posix/tst-getopt_long1.c: Adjust text of expected error message.
6125         * posix/getopt.c (process_long_option): New function split out
6126         from _getopt_internal_r.
6127         (_getopt_internal_r): Replace both copies of the long-option
6128         processing code with calls to process_long_option.
6129         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
6130         (do_test): Differentiate argv[0] in the two subtests.
6132         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
6133         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
6134         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
6136         * posix/getopt.h: Add backup definition of __nonnull for
6137         consistency with gnulib.  Define __getopt_argv_const to const
6138         if not already defined.
6139         (getopt): Update doc comment from gnulib.  Prototype
6140         unconditionally.  Add __nonnull annotation.
6141         (__posix_getopt): Add __nonnull annotation.
6142         (getopt_long, getopt_long_only): Use __getopt_argv_const in
6143         prototypes for consistency with gnulib.  Add __nonnull
6144         annotations.
6145         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
6146         (getopt_internal): Change 'argv' argument to type 'char **'.
6147         Remove now-unnecessary casts.
6148         (getopt, __posix_getopt): Eliminate repetition with a macro.
6149         Cast 'argv' to 'char **' when calling _getopt_internal.
6150         * posix/getopt1.c (getopt_long, getopt_long_only):
6151         Use __getopt_argv_const for consistency with gnulib.
6152         Cast 'argv' to 'char **' when calling _getopt_internal.
6153         (_getopt_long_r, _getopt_long_only_r):
6154         Change 'argv' argument to type 'char **'.
6155         (main): Constify 'long_options'.
6156         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
6157         (_getopt_long_r, _getopt_long_only_r):
6158         Change 'argv' argument to type 'char **'.
6160         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
6161         (locked_vfxprintf): New helper function. Handle arbitrary
6162         multibyte strings, not just ASCII.
6163         * include/stdio.h: Declare __fxprintf_nocancel.
6164         * posix/getopt.c: When _LIBC is defined, define fprintf to
6165         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
6166         to _IO_funlockfile.  When neither _LIBC nor
6167         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
6168         funlockfile as no-ops.
6169         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
6170         the standalone error-printing code can now be used for libc as
6171         well.  Add an flockfile/funlockfile pair around one case where
6172         the error message is printed in several chunks.  Don't use fputc.
6173         * posix/tst-getopt-cancel.c: New test.
6174         * posix/Makefile: Run it.
6176         * posix/getopt.c (_getopt_internal_r): Don't increment
6177         d->optind a second time when reporting ambiguous -W options.
6179         * posix/getopt_int.h: Include getopt.h.
6180         Use impl-namespace names for all arguments to _getopt_internal and
6181         _getopt_internal_r.
6182         Declare __ordering enum outside the struct.
6183         Harmonize comments with gnulib.
6184         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
6185         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
6186         #ifdef TEST block and make unconditional.  Do not define NULL.
6187         * posix/getopt.c: Partial merge from gnulib, covering the
6188         initial includes and global declarations, commentary, and
6189         a couple of semantically-neutral code changes.
6191         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
6192         Use '...' instead of `...' for quotation marks inside
6193         comments and strings.
6195         * config.h.in (USE_NONOPTION_FLAGS): Remove.
6196         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
6197         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
6198         * posix/getopt_int.h: Likewise.
6199         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
6200         __libc_argc and __libc_argv externs, which were only used by
6201         #ifdef USE_NONOPTION_FLAGS blocks.
6202         * posix/getopt_init.c: Remove file.
6203         * posix/Makefile (routines): Remove getopt_init.
6204         * include/getopt.h: Don't declare __getopt_initialize_environment.
6205         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
6206         a comment.
6208 2017-04-07  Florian Weimer  <fweimer@redhat.com>
6210         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
6212 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6214         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
6215         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
6216         to __wrap_.udiv.
6217         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
6218         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
6220         * sysdeps/i386/symbol-hacks.h: New file.
6221         * sysdeps/m68k/symbol-hacks.h: New file.
6222         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
6223         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
6224         * sysdeps/unix/sysv/linux/i386/Makefile
6225         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
6226         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6227         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6228         * sysdeps/unix/sysv/linux/m68k/Makefile
6229         [$(subdir) = csu] (sysdep_routines): Likewise.
6230         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6231         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
6233         [$(subdir) = csu] (sysdep_routines): Likewise.
6234         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6235         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6236         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
6237         [$(subdir) = csu] (sysdep_routines): Likewise.
6238         [$(subdir) = csu] (sysdep-only-routines): Likewise.
6239         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
6240         * sysdeps/wordsize-32/Makefile: Remove file.
6241         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
6242         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
6244 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
6246         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
6247         (TEST_FUNCTION_ARGV): New.
6249 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6251         * elf/next.c: Import support/test-driver.c instead of
6252         test-skeleton.c and delete TEST_FUNCTION macro definition.
6253         * elf/nodelete.c: Likewise.
6254         * elf/order2.c: Likewise.
6255         * elf/tst-_dl_addr_inside_object.c: Likewise.
6256         * elf/tst-addr1.c: Likewise.
6257         * elf/tst-align.c: Likewise.
6258         * elf/tst-align2.c: Likewise.
6259         * elf/tst-audit11.c: Likewise.
6260         * elf/tst-audit12.c: Likewise.
6261         * elf/tst-audit2.c: Likewise.
6262         * elf/tst-audit9.c: Likewise.
6263         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
6264         * elf/tst-deep1.c: Likewise.
6265         * elf/tst-dl-iter-static.c: Likewise.
6266         * elf/tst-dlmodcount.c: Likewise.
6267         * elf/tst-dlmopen1.c: Likewise.
6268         * elf/tst-dlmopen2.c: Likewise.
6269         * elf/tst-dlmopen3.c: Likewise.
6270         * elf/tst-dlopen-aout.c: Likewise.
6271         * elf/tst-dlopenrpath.c: Likewise.
6272         * elf/tst-dlsym-error.c: Likewise.
6273         * elf/tst-execstack-needed.c: Likewise.
6274         * elf/tst-execstack-prog.c: Likewise.
6275         * elf/tst-execstack.c: Likewise.
6276         * elf/tst-global1.c: Likewise.
6277         * elf/tst-gnu2-tls1.c: Likewise.
6278         * elf/tst-latepthread.c: Likewise.
6279         * elf/tst-leaks1.c: Likewise.
6280         * elf/tst-linkall-static.c: Likewise.
6281         (do_test): New function.
6282         * elf/tst-nodelete-opened.c: Likewise.
6283         * elf/tst-nodelete.cc: Likewise.
6284         * elf/tst-nodelete2.c: Likewise.
6285         * elf/tst-noload.c: Likewise.
6286         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
6287         * elf/tst-order-main.c: Likewise.
6288         * elf/tst-pathopt.c: Likewise.
6289         * elf/tst-pie2.c: Likewise.
6290         * elf/tst-piemod1.c: Likewise.
6291         * elf/tst-prelink.c: Likewise.
6292         * elf/tst-protected1a.c: Likewise.
6293         * elf/tst-protected1b.c: Likewise.
6294         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
6295         and define _GNU_SOURCE macro.
6296         (cmdline_process_function): New function.
6297         * elf/tst-relsort1.c: Likewise.
6298         * elf/tst-stackguard1.c: Likewise, import getopt.h,
6299         and define _GNU_SOURCE macro.
6300         (cmdline_process_function): New function.
6301         * elf/tst-thrlock.c: Likewise.
6302         * elf/tst-tls-dlinfo.c: Likewise.
6303         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
6304         * elf/tst-tls1.c: Likewise.
6305         * elf/tst-tls10.c: Likewise.
6306         * elf/tst-tls11.c: Likewise.
6307         * elf/tst-tls12.c: Likewise.
6308         * elf/tst-tls13.c: Likewise.
6309         * elf/tst-tls14.c: Likewise.
6310         * elf/tst-tls15.c: Likewise.
6311         * elf/tst-tls16.c: Likewise.
6312         * elf/tst-tls17.c: Likewise.
6313         * elf/tst-tls18.c: Likewise.
6314         * elf/tst-tls19.c: Likewise.
6315         * elf/tst-tls2.c: Likewise.
6316         * elf/tst-tls3.c: Likewise.
6317         * elf/tst-tls4.c: Likewise.
6318         * elf/tst-tls5.c: Likewise.
6319         * elf/tst-tls6.c: Likewise.
6320         * elf/tst-tls7.c: Likewise.
6321         * elf/tst-tls8.c: Likewise.
6322         * elf/tst-tls9.c: Likewise.
6323         * elf/tst-tlsalign-extern.c: Likewise.
6324         * elf/tst-tlsalign.c: Likewise.
6325         * elf/tst-unique1.c: Likewise.
6326         * elf/tst-unique2.c: Likewise.
6327         * elf/vismain.c: Likewise.
6329 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6331         * string/test-strnlen.c (do_page_tests): New function
6332         to check length of strings ending at the page boundary.
6333         (test_main): Added call to the do_page_tests function.
6335 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6336             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6338         * sysdeps/powerpc/powerpc64/multiarch/Makefile
6339         (sysdep_routines): Add strnlen-power8.
6340         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6341         (strnlen): Add __strnlen_power8 to list of strnlen functions.
6342         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
6343         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
6344         (__strnlen): Add __strnlen_power8 to ifunc list.
6345         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
6347 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6349         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
6350         the TEST_FUNCTION macro definition.
6351         * wcsmbs/tst-mbrtowc2.c: Likewise.
6352         * wcsmbs/tst-mbsrtowcs.c: Likewise.
6353         * wcsmbs/tst-wchar-h.c: Likewise.
6354         * wcsmbs/tst-wcpncpy.c: Likewise.
6355         * wcsmbs/tst-wcrtomb.c: Likewise.
6356         * wcsmbs/tst-wcsnlen.c: Likewise.
6357         * wcsmbs/tst-wcstof.c: Likewise.
6359 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6361         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
6362         CALL_THREAD_FCT macro usage.
6363         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
6364         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
6365         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
6367         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
6368         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6369         (__ASSUME_REQUEUE_PI): Likewise.
6370         * sysdeps/unix/sysv/linux/kernel-features.h
6371         (__ASSUME_REQUEUE_PI): Likewise.
6372         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6373         (__ASSUME_REQUEUE_PI): Likewise.
6374         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6375         (__ASSUME_REQUEUE_PI): Likewise.
6376         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6377         (__ASSUME_REQUEUE_PI): Likewise.
6379 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6381         * resolv/tst-resolv-canonname.c: New file.
6382         * resolv/Makefile (tests): Add tst-resolv-canonname.
6383         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
6385 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6387         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
6388         Declare.
6389         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
6390         (NS_MAXCDNAME): Remove definition.
6391         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6392         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
6393         (NS_MAXCDNAME): Remove definition.
6394         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
6396 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6398         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
6399         call whose result is not used.
6401 2017-04-04  Florian Weimer  <fweimer@redhat.com>
6403         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
6404         * resolv/Makefile (tests): Add tst-ns_name.
6405         (tst-ns_name): Link with -lresolv.
6406         (tst-ns_name.out): Depend on the input data file.
6408 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
6410         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
6411         Clobber also r14.
6413 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
6415         [BZ #21253]
6416         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
6417         slack space by 32KiB.
6419 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
6421         [BZ #21338]
6422         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
6423         instead of incorrect do_set_arena_test
6425 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6427         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
6428         * math/bits/math-finite.h: Likewise.
6430 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
6432         [BZ #21289]
6433         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
6435 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6437         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
6438         non expected inotify_add_watch and quotactl return.
6440 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6442         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
6443         to int32_t.
6444         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
6445         as returning int32_t.
6447 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6449         * math/math.h: Include bits/math-finite.h once per
6450         floating-point type.
6451         * math/bits/math-finite.h: Macroize all declarations by
6452         floating-point type.
6454 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6456         [BZ #21182]
6457         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
6458         near end of a page.
6459         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
6460         overflow calculation.
6462 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
6464         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
6465         (IMPL) Call with 1 instead of 0 as argument.
6467 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6469         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6470         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6471         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6472         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6473         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6474         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6475         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6476         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6477         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6478         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6479         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6480         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6481         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6482         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6483         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6484         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6485         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6486         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6487         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6488         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6489         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6490         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6491         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6492         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6493         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6494         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6495         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6496         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6497         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6498         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6499         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6500         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6501         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6502         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6503         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6504         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6505         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6506         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6507         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6508         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6509         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6510         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6511         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6512         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6513         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6514         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6515         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6516         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6517         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6518         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6519         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6520         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6521         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6522         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6523         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6524         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6525         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6526         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6527         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6528         defined.
6529         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6530         __NR_setgroups32 if defined.
6531         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6532         if defined.
6533         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6534         __NR_setresgid32 is defined.
6535         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6536         __NR_setresuid32 if defined.
6537         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6538         __NR_setreuid32 if defined.
6539         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6540         defined.
6541         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
6542         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
6543         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
6544         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
6545         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
6546         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
6547         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
6548         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
6549         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
6550         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
6551         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
6552         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
6553         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6554         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
6555         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
6556         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
6557         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
6558         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
6559         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
6560         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
6561         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
6562         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
6563         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
6564         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
6565         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
6566         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
6567         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
6568         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
6569         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
6570         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
6571         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
6572         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
6573         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
6574         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
6575         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
6576         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
6577         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
6578         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
6579         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
6580         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
6581         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
6582         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
6583         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
6584         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
6585         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
6586         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
6587         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
6588         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
6589         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
6590         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
6591         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
6592         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
6593         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
6594         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
6595         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
6596         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
6597         INLINE_SYSCALL_ERROR_RETURN_VALUE.
6598         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
6599         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
6600         defined.
6601         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
6602         __NR_setgroups32 if defined.
6603         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
6604         if defined.
6605         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
6606         __NR_setresgid32 is defined.
6607         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
6608         __NR_setresuid32 if defined.
6609         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
6610         __NR_setreuid32 if defined.
6611         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
6612         defined.
6614 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
6616         [BZ #21277]
6617         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
6618         unconditionally.
6619         (IMAXBEL): Likewise.
6620         (IUTF8): Likewise.
6622 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
6624         * sysdeps/aarch64/libm-test-ulps: Update.
6626 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
6628         * README.tunables: Updated descriptions.
6629         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
6630         * scripts/gen-tunables.awk: Updated the code related to the
6631         commit.
6633 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
6635         * benchtests/Makefile (string-benchset): Add memcpy-random.
6636         * benchtests/bench-memcpy-random.c: New file.
6638 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6640         * stdio-common/printf.h (register_printf_modifier): Change the
6641         order of __wur and __THROW.
6642         (register_printf_type): Likewise.
6644 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
6646         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
6647         test_main ().
6648         (CMDLINE_PROCESS): Use function instead of defined macro.
6649         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
6650         <suppport/support.h> to use set_fortify_handler().
6651         * string/bug-envz1.c: Import support/test-driver.c instead of
6652         test-skeleton.c.
6653         * string/bug-strcoll2.c: Likewise.
6654         * string/bug-strtok1.c: Likewise.
6655         * string/stratcliff.c: Likewise.
6656         * string/test-ffs.c: Likewise.
6657         * string/test-memccpy.c: Likewise.
6658         * string/test-memchr.c: Likewise.
6659         * string/test-memcmp.c: Likewise.
6660         * string/test-memcpy.c: Likewise.
6661         * string/test-memmem.c: Likewise.
6662         * string/test-memmove.c: Likewise.
6663         * string/test-memrchr.c: Likewise.
6664         * string/test-memset.c: Likewise.
6665         * string/test-rawmemchr.c: Likewise.
6666         * string/test-strcasecmp.c: Likewise.
6667         * string/test-strcasestr.c: Likewise.
6668         * string/test-strcat.c: Likewise.
6669         * string/test-strchr.c: Likewise.
6670         * string/test-strcmp.c: Likewise.
6671         * string/test-strcpy.c: Likewise.
6672         * string/test-string.h: Likewise.
6673         * string/test-strlen.c: Likewise.
6674         * string/test-strncasecmp.c: Likewise.
6675         * string/test-strncat.c: Likewise.
6676         * string/test-strncmp.c: Likewise.
6677         * string/test-strncpy.c: Likewise.
6678         * string/test-strnlen.c: Likewise.
6679         * string/test-strpbrk.c: Likewise.
6680         * string/test-strrchr.c: Likewise.
6681         * string/test-strspn.c: Likewise.
6682         * string/test-strstr.c: Likewise.
6683         * string/tst-bswap.c: Likewise.
6684         * string/tst-cmp.c: Likewise.
6685         * string/tst-endian.c: Likewise.
6686         * string/tst-inlcall.c: Likewise.
6687         * string/tst-strcoll-overflow.c: Likewise.
6688         * string/tst-strfry.c: Likewise.
6689         * string/tst-strlen.c: Likewise.
6690         * string/tst-strtok.c: Likewise.
6691         * string/tst-strtok_r.c: Likewise.
6692         * string/tst-strxfrm.c: Likewise.
6693         * string/tst-strxfrm2.c: Likewise.
6694         * string/tst-svc.c: Likewise.
6695         * string/tst-svc2.c: Likewise.
6697 2017-03-22  Zack Weinberg  <zackw@panix.com>
6699         * stdio-common/bug25.c: Include stdlib.h.
6700         * support/tst-support_format_dns_packet.c: Include stdio.h,
6701         stdlib.h, and string.h.
6702         * support/tst-support_record_failure.c: Include string.h.
6703         * support/tst-support_record_failure-2.sh: Adjust line number
6704         expectations and correct a typo in an error message.
6706 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6708         [BZ #21258]
6709         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
6710         Define only if _dl_runtime_resolve is defined to
6711         _dl_runtime_resolve_sse_vex.
6712         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
6713         Fallthrough to _dl_runtime_resolve_sse_vex.
6715 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
6717         * INSTALL: Regenerated.
6719 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
6721         * config.h.in: Add LINK_OBSOLETE_NSL.
6722         * config.make.in: Add build-obsolete-nsl.
6723         * configure.ac: Add obsolete-nsl option.
6724         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
6725         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
6726         * include/rpcsvc/nislib.h: Likewise.
6727         * include/rpcsvc/ypclnt.h: Likewise.
6728         * manual/install.texi: Document --enable-obsolete-nsl.
6729         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
6730         * nis/nis_add.c: Replace libnsl_hidden_def with
6731         libnsl_hidden_nolink_def.
6732         * nis/nis_addmember.c: Likewise.
6733         * nis/nis_call.c: Likewise.
6734         * nis/nis_clone_obj.c: Likewise.
6735         * nis/nis_defaults.c: Likeise.
6736         * nis/nis_domain_of_r.c: Likewise.
6737         * nis/nis_error.c: Likewise.
6738         * nis/nis_file.c: Likewise.
6739         * nis/nis_free.c: Likewise.
6740         * nis_local_names.c: Likewise.
6741         * nis/nis_lookup.c: Likewise.
6742         * nis/nis_modify.c: Likewise.
6743         * nis/nis_print.c: Likewise.
6744         * nis/nis_remove.c: Likewise.
6745         * nis/nis_table.c: Likewise.
6746         * nis/nis_util.c: Likewise.
6747         * nis/nis_xdr.c: Likewise.
6748         * nis/yp_xdr.c: Likewise.
6749         * nis/ypclnt.c: Likewise.
6750         * nis/ypupdate_xdr.c: Likewise.
6751         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
6752         * nis/nis_clone_dir.c: Likewise.
6753         * nis/nis_clone_res.c: Likewise.
6754         * nis/nis_creategroup.c: Likewise.
6755         * nis/nis_destroygroup.c: Likewise.
6756         * nis/nis_domain_of.c: Likewise.
6757         * nis/nis_getservlist.c: Likewise.
6758         * nis/nis_ismember.c: Likewise.
6759         * nis/nis_mkdir.c: Likewise.
6760         * nis/nis_ping.c: Likewise.
6761         * nis/nis_print_group_entry.c: Likewise.
6762         * nis/nis_removemember.c: Likewise.
6763         * nis/nis_rmdir.c: Likewise.
6764         * nis/nis_server.c: Likewise.
6765         * nis/nis_subr.c: Likewise.
6766         * nis/nis_verifygroup.c: Likewise.
6768 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
6770         * malloc/tst-interpose-aux.c (check_for_allocations):
6771         Move compiler barrier before free.
6773 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
6775         [BZ #21279]
6776         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6777         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6778         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
6779         x86_64-x32-linux.
6780         (mq_attr.mq_maxmsg): Likewise.
6781         (mq_attr.mq_msgsize): Likewise.
6782         (mq_attr.mq_curmsgs): Likewise.
6784         [BZ #21278]
6785         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
6786         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
6787         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
6788         mips-o32-linux.
6790         [BZ #21268]
6791         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
6792         if [__USE_MISC]
6793         (NL3): Likewise.
6795 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
6797         [BZ #21275]
6798         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
6799         __stack to __stackbase.
6800         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
6801         checks so we can include defined(__ia64__) first.
6803 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
6805         * sysdeps/unix/sysv/linux/ttyname.h: New file.
6806         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
6807         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
6808         Call is_pty when the link does not exist or does not match, fail
6809         with ENODEV when it returns true.
6810         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
6811         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
6812         Call is_pty when the link does not exist or does not match, fail
6813         with ENODEV when it returns true.
6815 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
6817         [BZ #16437]
6818         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
6819         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6820         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
6821         x86_64-x32-linux.
6822         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
6823         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
6824         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
6826         [BZ #21261]
6827         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
6828         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
6829         names for all fields.
6830         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
6831         for jmp_buf field renaming.
6832         (_JMPBUF_UNWINDS_ADJ): Likewise.
6834         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
6835         with allow-header.
6837 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
6839         * malloc/malloc.c (unlink): Add consistency check between size and
6840         next->prev->size, to further harden against 1-byte overflows.
6842 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
6844         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
6845         CPU_FEATURES_CPU_P.
6847 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
6849         [BZ #21259]
6850         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
6851         unconditionally, not just for [__USE_MISC].
6853         [BZ #17786]
6854         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
6855         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
6856         mips-o32-linux.
6858         [BZ #21260]
6859         * sysdeps/unix/sysv/linux/alpha/Makefile
6860         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
6861         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
6863         * conform/conformtest.pl ($cross): New variable.
6864         (--cross): New command-line option.
6865         (runtest): Skip test execution when cross-compiling.
6866         * conform/Makefile (conformtest-cross): New variable.
6867         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
6868         conformtest.pl.
6870         * conform/conformtest.pl ($xfail_str): New variable.
6871         (--xfail=): New command-line option.
6872         (top level): Handle expectations starting xfail[cond]-.
6873         * conform/Makefile (conformtest-xfail): New variable.
6874         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
6875         conformtest.pl.
6877 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6879         * conform/conformtest.pl: Use compilation instead of execution
6880         tests for testing values of constants and usability in #if.
6882 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6884         * math/auto-libm-test-in: Mark some catan and catanh as
6885         xfail-rounding:ibm128-libgcc.
6886         * math/auto-libm-test-out-catan: Regenerate.
6887         * math/auto-libm-test-out-catanh: Likewise.
6889 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
6891         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
6892         (__END_NAMESPACE_STD): Likewise.
6893         (__USING_NAMESPACE_STD): Likewise.
6894         (__BEGIN_NAMESPACE_C99): Likewise.
6895         (__END_NAMESPACE_C99): Likewise.
6896         (__USING_NAMESPACE_C99): Likewise.
6897         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
6898         undefine macro.
6899         (_Mdouble_END_NAMESPACE): Likewise.
6900         * ctype/ctype.h: Do not handle C++ namespaces.
6901         * libio/bits/stdio-ldbl.h: Likewise.
6902         * libio/stdio.h: Likewise.
6903         * locale/locale.h: Likewise.
6904         * math/bits/mathcalls.h: Likewise.
6905         * setjmp/setjmp.h: Likewise.
6906         * signal/signal.h: Likewise.
6907         * stdlib/bits/stdlib-float.h: Likewise.
6908         * stdlib/bits/stdlib-ldbl.h: Likewise.
6909         * stdlib/stdlib.h: Likewise.
6910         * string/string.h: Likewise.
6911         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
6912         * time/bits/types/clock_t.h: Likewise.
6913         * time/bits/types/struct_tm.h: Likewise.
6914         * time/bits/types/time_t.h: Likewise.
6915         * time/time.h: Likewise.
6916         * wcsmbs/bits/wchar-ldbl.h: Likewise.
6917         * wcsmbs/uchar.h: Likewise.
6918         * wcsmbs/wchar.h: Likewise.
6919         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
6920         * wctype/wctype.h: Do not handle C++ namespaces.
6921         * scripts/begin-end-check.pl: Remove.
6922         * Makefile (installed-headers): Likewise.
6923         (tests-special): Do not add $(objpfx)begin-end-check.out.
6924         ($(objpfx)begin-end-check.out): Remove.
6926 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
6927             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6929         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
6930         (DL_PLATFORM_INIT): New define.
6931         (dl_platform_init): New function.
6932         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
6933         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
6934         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
6935         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
6936         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
6938 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
6940         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
6941         instead of PIC.
6943 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6945         [BZ #21094]
6946         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
6947         24+24+24-bit pi for wider range of values around pi/2.
6948         * math/auto-libm-test-in: Add more tests of cos and tan.
6949         * math/auto-libm-test-out-cos: Regenerated.
6950         * math/auto-libm-test-out-tan: Likewise.
6952 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
6954         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
6955         (RTLD_START): Don't record stack end address in _dl_start_user.
6957 2017-03-15  Alexey Neyman  <stilor@att.net>
6959         [BZ #21088]
6960         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
6961         around definitions match those around use.
6963 2017-03-15  Alexey Neyman  <stilor@att.net>
6965         * configure.ac: Avoid empty subexpression in grep.
6966         * configure: Regenerate.
6968 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6970         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
6971         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
6972         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
6973         (test_wrp_rv): Fix format.
6974         (test_wrp_rv2): New macro.
6975         (do_test): Handle mlock return on 64 bits kernels with 32 bits
6976         binaries.
6978 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
6980         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
6981         Use a union when storing pointers.
6982         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
6983         cast result when passing to INIT_VEC_PTRS_LOOP.
6984         (VECTOR_WRAPPER_fFF_3): Likewise.
6985         (VECTOR_WRAPPER_fFF_4): Likewise.
6987 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6989         * include/bits/mathcalls-helper-functions.h: New file.
6990         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
6991         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
6992         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
6993         math/bits/mathcalls-helper-functions.h.
6994         * math/bits/mathcalls-helper-functions.h: New file.
6995         * math/math.h: Include bits/mathcalls-helper-functions.h for
6996         float, double, and long double.
6998 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7000         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
7001         instead of feraiseexcept.
7003 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7005         [BZ #21243]
7006         * support/temp_file.c (support_delete_temp_files): Add comment
7007         about ignored errors.
7009 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7011         [BZ #21244]
7012         * support/xclose.c: New file.
7013         * support/Makefile (libsupport-routines): Add xclose.
7014         * support/xunistd.h (xclose): Declare.
7015         * support/resolv_test.c (server_thread_tcp_client)
7016         (server_thread_tcp, make_server_sockets, resolv_test_start)
7017         (resolv_test_end): Call xclose instead of close.
7018         * support/support_enter_network_namespace.c
7019         (support_enter_network_namespace): Likewise.
7020         * support/support_run_diff.c (write_to_temp_file): Likewise.
7022 2017-03-15  Florian Weimer  <fweimer@redhat.com>
7024         * support/support_format_dns_packet.c (support_format_dns_packet):
7025         Handle CNAME records in the response.  Extract RDATA names from
7026         rdata, not the whole packet.  Check AAAA record length.
7027         * support/tst-support_format_dns_packet.c: New file.
7028         * support/Makefile (tests): Add tst-support_format_dns_packet.
7029         (tst-support_format_dns_packet): Link against libresolv.
7031 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7033         [BZ #21232]
7034         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
7035         posix_fadvise64 weak_alias for static build.
7037 2017-03-14  Andreas Schwab  <schwab@suse.de>
7039         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
7040         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
7041         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
7042         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
7043         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
7044         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
7045         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
7046         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
7048 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7050         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
7051         posix error code.
7052         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
7054 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7056         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
7057         no_isolate usage for SH.
7059 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
7061         [BZ #15105]
7062         [BZ #19463]
7063         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
7064         * inet/rcmd.c (rcmd_af): Likewise.
7065         * inet/rexec.c   (rexec_af): Likewise.
7066         * intl/dcigettext.c (_LIBC): Likewise.
7067         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
7068         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
7069         * locale/setlocale.c (setlocale): Likewise.
7070         * posix/spawn_faction_addopen.c
7071         (posix_spawn_file_actions_addopen): Likewise.
7072         * stdlib/putenv.c (putenv): Use __strndup.
7073         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
7074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
7075         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
7076         (__Need_M_And_C) Remove define/undef.
7077         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
7078         (__malloc_and_calloc_defined): Remove define.
7079         * string/bits/string2.h (__strdup): Remove define.
7080         (strdup): Likewise.
7081         (__strndup): Likewise.
7082         (strndup): Likewise.
7084 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
7086         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
7087         macro.
7088         (IPV6_ADDR_PREFERENCES): Likewise.
7089         (IPV6_MINHOPCOUNT): Likewise.
7090         (IPV6_ORIGDSTADDR): Likewise.
7091         (IPV6_RECVORIGDSTADDR): Likewise.
7092         (IPV6_TRANSPARENT): Likewise.
7093         (IPV6_UNICAST_IF): Likewise.
7094         (IPV6_RECVFRAGSIZE): Likewise.
7096 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
7098         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
7100 2017-03-12  Alexey Neyman <stilor@att.net>
7102         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
7103         in R_SH_DIR32 case is always false when inlined from
7104         dl-conflict.c. Ifdef out to prevent GCC from insertin an
7106 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
7108         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7109         (__ASSUME_RECV_SYSCALL): Replace duplicate by
7110         __ASSUME_SEND_SYSCALL.
7112 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
7114         * sunrpc/Makefile: don't build and install rpcsvc header
7115         files, rpcgen and librpcsvc.a by default.
7117 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
7119         * math/auto-libm-test-out-catan: Regenerated.
7120         * math/auto-libm-test-out-catanh: Likewise.
7121         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7123 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
7125         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
7126         for long double with corrected test expectations.
7128 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7130         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
7131         Define.
7132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
7133         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
7134         * sysdeps/unix/sysv/linux/nios2/sysdep.h
7135         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7136         * sysdeps/unix/sysv/linux/tile/sysdep.h
7137         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
7138         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7139         (__ASSUME_RECV_SYSCALL): Define.
7140         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7141         (__ASSUME_RECV_SYSCALL): Likewise.
7142         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7143         (__ASSUME_RECV_SYSCALL): Likewise.
7144         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7145         (__ASSUME_RECV_SYSCALL): Likewise.
7146         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7147         (__ASSUME_RECV_SYSCALL): Likewise.
7148         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7149         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
7150         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7151         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7152         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7153         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
7154         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
7155         auto-generation list.
7156         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7157         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7158         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
7159         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7160         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7161         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
7162         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
7163         __ASSUME_SENDTO_SYSCALL.
7164         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
7165         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
7166         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
7168         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
7169         auto-generation list.
7170         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7171         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7172         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7173         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7174         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7175         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7176         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7177         * sysdeps/unix/sysv/linux/kernel-features.h
7178         (__ASSUME_SENDTO_SYSCALL): Define by default.
7179         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7180         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
7181         __NR_sendto.
7182         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7183         (__ASSUME_SENDTO_SYSCALL): Likewise.
7184         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7185         (__ASSUME_SENDTO_SYSCALL): Likewise.
7186         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7187         (__ASSUME_SENDTO_SYSCALL): Remove definition.
7188         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7189         (__ASSUME_SENDTO_SYSCALL): Likewise.
7190         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
7191         (__ASSUME_SENDTO_SYSCALL): Likewise.
7192         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
7194         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
7195         auto-generation list.
7196         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7197         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7198         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7199         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7200         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7201         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7202         (__ASSUME_RECV_SYSCALL): New define.
7203         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7204         (__ASSUME_RECV_SYSCALL): Likewise.
7205         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7206         (__ASSUME_RECV_SYSCALL): Likewise.
7207         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7208         (__ASSUME_RECV_SYSCALL): Likewise.
7209         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7210         (__ASSUME_RECV_SYSCALL): Likewise.
7211         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7212         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7213         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7214         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7215         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7216         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
7217         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
7218         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
7219         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
7220         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
7221         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
7222         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
7224         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
7225         auto-generation list.
7226         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7227         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7228         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7229         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7230         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7231         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7232         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7233         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7234         (__ASSUME_RECVFROM_SYSCALL): Define by default.
7235         * sysdeps/unix/sysv/linux/kernel-features.h
7236         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
7237         __NR_recvfrom.
7238         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7239         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7240         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7241         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7242         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7243         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
7244         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7245         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7246         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7247         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7248         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7249         (__ASSUME_RECVFROM_SYSCALL): Likewise.
7250         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
7252         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
7253         auto-generation list.
7254         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7255         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7256         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7257         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7258         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7259         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7260         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7261         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
7262         * sysdeps/unix/sysv/linux/kernel-features.h
7263         (__ASSUME_CONNECT_SYSCALL): Define.
7264         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7265         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
7266         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7267         (__ASSUME_CONNECT_SYSCALL): Likewise.
7268         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7269         (__ASSUME_CONNECT_SYSCALL): Likewise.
7270         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7271         (__ASSUME_CONNECT_SYSCALL): Likewise.
7273         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
7274         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
7275         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
7276         auto-generation list.
7277         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
7278         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
7279         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
7280         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
7281         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
7282         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
7283         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
7284         * sysdeps/unix/sysv/linux/i386/kernel-features.h
7285         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7286         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7287         * sysdeps/unix/sysv/linux/kernel-features.h
7288         (__ASSUME_ACCEPT_SYSCALL): New define.
7289         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7290         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7291         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
7292         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7293         (__ASSUME_ACCEPT_SYSCALL): Define.
7294         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7295         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7296         * sysdeps/unix/sysv/linux/s390/kernel-features.h
7297         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
7298         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7299         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7300         (__ASSUME_ACCEPT_SYSCALL): Undefine.
7301         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7302         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
7304 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
7305             Zack Weinberg  <zackw@panix.com>
7307         * posix/test-errno.c: New file.
7308         * posix/Makefile (tests): Add test-errno.
7309         * sysdeps/unix/sysv/linux/test-errno.c: New file.
7310         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
7312 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
7314         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7316 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7318         * time/tzset.c (compute_offset): Open-code min macro.
7319         (min, max, sign): Remove.
7321 2017-03-07  Florian Weimer  <fweimer@redhat.com>
7323         [BZ #15576]
7324         Remove TZNAME_MAX limit from sysconf.
7325         * include/time.h (__tzname_cur_max, __tzname_max): Remove
7326         declaration.
7327         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
7328         compute_tzname_max.
7329         (compute_tzname_max): Remove.
7330         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
7331         (update_vars): Do not update __tzname_cur_max.
7332         (tzset_internal): Remove argument.
7333         (__tzset): Adjust call to tzset_internal.
7334         (__tz_convert): Likewise.
7336         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
7337         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
7338         * manual/conf.texi (Sysconf Definition): Update comment.
7340 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7342         [BZ #21209]
7343         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
7344         AT_SECURE processes.
7345         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
7346         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
7347         (test_child): Likewise.
7348         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
7350 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7352         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
7354 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7356         * sysdeps/s390/atomic-machine.h
7357         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
7358         (__arch_compare_and_exchange_val_8_acq,
7359         __arch_compare_and_exchange_val_16_acq,
7360         __arch_compare_and_exchange_val_32_acq,
7361         __arch_compare_and_exchange_val_64_acq):
7362         Delete macro.
7363         (atomic_compare_and_exchange_val_acq,
7364         atomic_compare_and_exchange_val_rel,
7365         atomic_compare_and_exchange_bool_acq,
7366         catomic_compare_and_exchange_bool_acq,
7367         atomic_exchange_acq, atomic_exchange_rel,
7368         atomic_exchange_and_add_acq,
7369         atomic_exchange_and_add_rel,
7370         catomic_exchange_and_add, atomic_or_val,
7371         atomic_or, catomic_or, atomic_bit_test_set,
7372         atomic_and_val, atomic_and, catomic_and):
7373         Define macros with help of C11 atomic builtins.
7375 2017-03-03  Justus Winter <justus@gnupg.org>
7377         * sysdeps/mach/hurd/ftruncate64.c: New file.
7378         * sysdeps/mach/hurd/truncate64.c: Likewise.
7380 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7382         * time/tzfile.c (NOID): Do not define.
7383         * time/tzset.c (NOID): Likewise.
7385 2017-03-03  Florian Weimer  <fweimer@redhat.com>
7387         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
7389 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7391         * elf/get-dynamic-info.h: Remove header file inclusion guard.
7393 2017-03-02  Florian Weimer  <fweimer@redhat.com>
7395         [BZ #21015]
7396         * manual/install.texi (Configuring and compiling): Document
7397         --enable-bind-now.
7398         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
7399         (build-shlib-helper): Use $(LDFLAGS-lib.so).
7400         (format.lds): Likewise.
7401         [bind-now] (LDFLAGS-c.so): Remove.
7402         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
7403         be R_X86_64_GLOB_DAT.
7404         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
7405         relocation can be R_386_GLOB_DAT.
7406         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
7407         relocaiton can be R_ALPHA_GLOB_DAT.
7408         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
7410 2017-03-01  Zack Weinberg  <zackw@panix.com>
7412         * include/libc-pointer-arith.h: New file.  Define
7413         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
7414         PTR_ALIGN_DOWN here.
7415         * include/libc-internal.h: Definitions of above macros
7416         moved from here.  Don't include libc-diag.h anymore either.
7417         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
7418         Don't include libc-internal.h.
7420         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
7421         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
7422         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
7423         * string/strcoll_l.c, sysdeps/nacl/brk.c
7424         * sysdeps/unix/clock_settime.c
7425         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
7426         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
7427         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
7428         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
7429         Don't include libc-internal.h.
7431         * elf/get-dynamic-info.h, iconv/loop.c
7432         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
7433         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
7434         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
7435         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
7436         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
7437         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
7438         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
7439         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
7440         * sysdeps/ieee754/ldbl-128/k_tanl.c
7441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
7442         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
7443         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
7444         Include libc-diag.h instead of libc-internal.h.
7446         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
7447         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
7448         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
7449         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
7450         * sysdeps/unix/sysv/linux/spawni.c
7451         * sysdeps/x86_64/nptl/tls.h:
7452         Include libc-pointer-arith.h instead of libc-internal.h.
7454         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
7455         * sysdeps/x86_64/atomic-machine.h:
7456         Add multiple include guard.
7458         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
7459         * string/strcasestr.c: No need to include config.h.
7460         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
7461         sys/auxv.h. Don't include sysdep.h.
7462         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
7464         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
7465         DL_LOOKUP_ADDRESS.
7466         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
7467         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
7468         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
7469         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
7470         of ARTIFICIAL_LIMIT.
7471         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
7472         declaration of __clone2.
7474 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7476         * scripts/backport-support.sh (latest_commit): New file.
7478 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7480         [BZ #20257]
7481         * inet/Makefile (routines): Add deadline.
7482         (tests-static): Add tst-deadline.
7483         * inet/net-internal.h (struct deadline_current_time)
7484         (__deadline_current_time, struct deadline, __deadline_is_infinite)
7485         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
7486         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
7487         * inet/deadline.c: New file.
7488         * inet/tst-deadline.c: Likewise.
7489         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
7490         tst-udp-timeout, tst-udp-garbage.
7491         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
7492         explicitly.
7493         (tst-udp-garbage): Likewise.  Also link against thread library.
7494         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
7495         struct layout is part of the ABI.
7496         (clntudp_call): Rework timeout handling.
7497         * sunrpc/tst-udp-garbage.c: New file.
7498         * sunrpc/tst-udp-nonblocking.c: Likewise.
7499         * sunrpc/tst-udp-timeout.c: Likewise.
7501 2017-02-28  Florian Weimer  <fweimer@redhat.com>
7503         [BZ #5010]
7504         * sunrpc/svc.c (svc_is_mapped): Remove.
7505         (svc_unregister): Obtain mapped status while the service is still
7506         registered.
7507         * sunrpc/Makefile [have-thread-library] (tests): Add
7508         tst-svc_register.
7509         (tst-svc_register): Link against libc.so explicitly and the thread
7510         library.
7511         * sunrpc/tst-svc_register.c: New file.
7513 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
7515         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
7516         * sysdeps/pthread/bits/sigthread.h: Likewise.
7518 2017-02-27  Florian Weimer  <fweimer@redhat.com>
7520         [BZ #21115]
7521         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
7522         * sunrpc/Makefile (tests): Add tst-udp-error.
7523         (tst-udp-error): Link against libc.so explicitly.
7524         * sunrpc/tst-udp-error: New file.
7526 2017-02-25  Zack Weinberg  <zackw@panix.com>
7528         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
7529         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
7531         * sysdeps/generic/math_ldbl.h
7532         * sysdeps/ia64/fpu/math_ldbl.h
7533         * sysdeps/ieee754/ldbl-128/math_ldbl.h
7534         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
7535         * sysdeps/ieee754/ldbl-96/math_ldbl.h
7536         * sysdeps/powerpc/fpu/math_ldbl.h
7537         * sysdeps/x86_64/fpu/math_ldbl.h:
7538         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
7539         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
7540         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
7541         Add copyright notices.
7543         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7544         Don't use EXTRACT_WORDS64.
7546         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
7547         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
7548         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
7549         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
7550         Include math_ldbl.h, not math_private.h.
7552 2017-02-25  Zack Weinberg  <zackw@panix.com>
7554         * include/libc-diag.h: New file.  Define ignore_value,
7555         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
7556         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
7558         * include/libc-internal.h: Definitions of above macros moved from
7559         here.  Include libc-diag.h.  Add copyright notice.
7561         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
7562         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
7563         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
7564         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
7565         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
7566         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
7567         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
7568         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
7569         Include libc-diag.h instead of libc-internal.h.
7571         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
7572         call to unsetenv (NULL).
7573         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
7574         call to pthread_mutexattr_destroy (NULL).
7576 2017-02-25  Zack Weinberg  <zackw@panix.com>
7578         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
7579         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
7580         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
7581         gets was removed from C++ in C++14.
7582         * include/stdio.h: Remove redundant declaration of gets.
7583         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
7584         be declared, since we are testing it.
7585         * stdio-common/Makefile (tst-gets.c): Compile with
7586         -Wno-deprecated-declarations.
7587         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
7588         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
7589         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
7590         Compile with -Wno-deprecated-declarations.
7592 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7594         * math/libm-test-support.c (check_ulp): Use LIT() around literal
7595         numbers.
7597 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
7599         * resolv/tst-resolv-qtypes.c (domain):
7600         Change type to const pointer to const char.
7602 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
7604         * math/Makefile (libm-tests-generated): Remove variable.
7605         (libm-tests-base-normal): New variable.
7606         (libm-tests-base-finite): Likewise.
7607         (libm-tests-base-inline): Likewise.
7608         (libm-tests-base): Likewise.
7609         (libm-tests-normal): Likewise.
7610         (libm-tests-finite): Likewise.
7611         (libm-tests-inline): Likewise.
7612         (libm-tests-vector): Likewise.
7613         (libm-tests): Define in terms of these new variables.
7614         (libm-tests-for-type): New variable.
7615         (libm-tests.o): Move definition.
7616         (tests): Move addition of $(libm-tests).
7617         (generated): Update for new and removed libm test files.
7618         ($(objpfx)libm-test.c): Remove target.
7619         ($(objpfx)libm-have-vector-test.h): Likewise.
7620         (CFLAGS-test-double-vlen2.c): Remove variable.
7621         (CFLAGS-test-double-vlen4.c): Likewise.
7622         (CFLAGS-test-double-vlen8.c): Likewise.
7623         (CFLAGS-test-float-vlen4.c): Likewise.
7624         (CFLAGS-test-float-vlen8.c): Likewise.
7625         (CFLAGS-test-float-vlen16.c): Likewise.
7626         (CFLAGS-test-float.c): Likewise.
7627         (CFLAGS-test-float-finite.c): Likewise.
7628         (CFLAGS-libm-test-support-float.c): Likewise.
7629         (CFLAGS-test-double.c): Likewise.
7630         (CFLAGS-test-double-finite.c): Likewise.
7631         (CFLAGS-libm-test-support-double.c): Likewise.
7632         (CFLAGS-test-ldouble.c): Likewise.
7633         (CFLAGS-test-ldouble-finite.c): Likewise.
7634         (CFLAGS-libm-test-support-ldouble.c): Likewise.
7635         (libm-test-inline-cflags): New variable.
7636         (CFLAGS-test-ifloat.c): Remove variable.
7637         (CFLAGS-test-idouble.c): Likewise.
7638         (CFLAGS-test-ildouble.c): Likewise.
7639         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
7640         dependencies.
7641         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
7642         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
7643         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
7644         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
7645         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
7646         Likewise.
7647         (dependencies on libm-test-support-*.o): Remove.
7648         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
7649         rules using iterators.
7650         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
7651         Likewise.
7652         ($(objpfx)libm-test-support-$(o).o): Likewise.
7653         ($(addprefix $(objpfx),$(filter-out $(tests-static)
7654         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
7655         instead.
7656         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
7657         define rule instead.
7658         * math/README.libm-test: Update.
7659         * math/libm-test-acos.inc: Include libm-test-driver.c.
7660         (do_test): New function.
7661         * math/libm-test-acosh.inc: Include libm-test-driver.c.
7662         (do_test): New function.
7663         * math/libm-test-asin.inc: Include libm-test-driver.c.
7664         (do_test): New function.
7665         * math/libm-test-asinh.inc: Include libm-test-driver.c.
7666         (do_test): New function.
7667         * math/libm-test-atan.inc: Include libm-test-driver.c.
7668         (do_test): New function.
7669         * math/libm-test-atan2.inc: Include libm-test-driver.c.
7670         (do_test): New function.
7671         * math/libm-test-atanh.inc: Include libm-test-driver.c.
7672         (do_test): New function.
7673         * math/libm-test-cabs.inc: Include libm-test-driver.c.
7674         (do_test): New function.
7675         * math/libm-test-cacos.inc: Include libm-test-driver.c.
7676         (do_test): New function.
7677         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
7678         (do_test): New function.
7679         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
7680         (do_test): New function.
7681         * math/libm-test-carg.inc: Include libm-test-driver.c.
7682         (do_test): New function.
7683         * math/libm-test-casin.inc: Include libm-test-driver.c.
7684         (do_test): New function.
7685         * math/libm-test-casinh.inc: Include libm-test-driver.c.
7686         (do_test): New function.
7687         * math/libm-test-catan.inc: Include libm-test-driver.c.
7688         (do_test): New function.
7689         * math/libm-test-catanh.inc: Include libm-test-driver.c.
7690         (do_test): New function.
7691         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
7692         (do_test): New function.
7693         * math/libm-test-ccos.inc: Include libm-test-driver.c.
7694         (do_test): New function.
7695         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
7696         (do_test): New function.
7697         * math/libm-test-ceil.inc: Include libm-test-driver.c.
7698         (do_test): New function.
7699         * math/libm-test-cexp.inc: Include libm-test-driver.c.
7700         (do_test): New function.
7701         * math/libm-test-cimag.inc: Include libm-test-driver.c.
7702         (do_test): New function.
7703         * math/libm-test-clog.inc: Include libm-test-driver.c.
7704         (do_test): New function.
7705         * math/libm-test-clog10.inc: Include libm-test-driver.c.
7706         (do_test): New function.
7707         * math/libm-test-conj.inc: Include libm-test-driver.c.
7708         (do_test): New function.
7709         * math/libm-test-copysign.inc: Include libm-test-driver.c.
7710         (do_test): New function.
7711         * math/libm-test-cos.inc: Include libm-test-driver.c.
7712         (do_test): New function.
7713         * math/libm-test-cosh.inc: Include libm-test-driver.c.
7714         (do_test): New function.
7715         * math/libm-test-cpow.inc: Include libm-test-driver.c.
7716         (do_test): New function.
7717         * math/libm-test-cproj.inc: Include libm-test-driver.c.
7718         (do_test): New function.
7719         * math/libm-test-creal.inc: Include libm-test-driver.c.
7720         (do_test): New function.
7721         * math/libm-test-csin.inc: Include libm-test-driver.c.
7722         (do_test): New function.
7723         * math/libm-test-csinh.inc: Include libm-test-driver.c.
7724         (do_test): New function.
7725         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
7726         (do_test): New function.
7727         * math/libm-test-ctan.inc: Include libm-test-driver.c.
7728         (do_test): New function.
7729         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
7730         (do_test): New function.
7731         * math/libm-test-erf.inc: Include libm-test-driver.c.
7732         (do_test): New function.
7733         * math/libm-test-erfc.inc: Include libm-test-driver.c.
7734         (do_test): New function.
7735         * math/libm-test-exp.inc: Include libm-test-driver.c.
7736         (do_test): New function.
7737         * math/libm-test-exp10.inc: Include libm-test-driver.c.
7738         (do_test): New function.
7739         * math/libm-test-exp2.inc: Include libm-test-driver.c.
7740         (do_test): New function.
7741         * math/libm-test-expm1.inc: Include libm-test-driver.c.
7742         (do_test): New function.
7743         * math/libm-test-fabs.inc: Include libm-test-driver.c.
7744         (do_test): New function.
7745         * math/libm-test-fdim.inc: Include libm-test-driver.c.
7746         (do_test): New function.
7747         * math/libm-test-floor.inc: Include libm-test-driver.c.
7748         (do_test): New function.
7749         * math/libm-test-fma.inc: Include libm-test-driver.c.
7750         (do_test): New function.
7751         * math/libm-test-fmax.inc: Include libm-test-driver.c.
7752         (do_test): New function.
7753         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
7754         (do_test): New function.
7755         * math/libm-test-fmin.inc: Include libm-test-driver.c.
7756         (do_test): New function.
7757         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
7758         (do_test): New function.
7759         * math/libm-test-fmod.inc: Include libm-test-driver.c.
7760         (do_test): New function.
7761         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
7762         (do_test): New function.
7763         * math/libm-test-frexp.inc: Include libm-test-driver.c.
7764         (do_test): New function.
7765         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
7766         (do_test): New function.
7767         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
7768         (do_test): New function.
7769         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
7770         (do_test): New function.
7771         * math/libm-test-hypot.inc: Include libm-test-driver.c.
7772         (do_test): New function.
7773         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
7774         (do_test): New function.
7775         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
7776         (do_test): New function.
7777         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
7778         (do_test): New function.
7779         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
7780         (do_test): New function.
7781         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
7782         (do_test): New function.
7783         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
7784         (do_test): New function.
7785         * math/libm-test-isinf.inc: Include libm-test-driver.c.
7786         (do_test): New function.
7787         * math/libm-test-isless.inc: Include libm-test-driver.c.
7788         (do_test): New function.
7789         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
7790         (do_test): New function.
7791         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
7792         (do_test): New function.
7793         * math/libm-test-isnan.inc: Include libm-test-driver.c.
7794         (do_test): New function.
7795         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
7796         (do_test): New function.
7797         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
7798         (do_test): New function.
7799         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
7800         (do_test): New function.
7801         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
7802         (do_test): New function.
7803         * math/libm-test-iszero.inc: Include libm-test-driver.c.
7804         (do_test): New function.
7805         * math/libm-test-j0.inc: Include libm-test-driver.c.
7806         (do_test): New function.
7807         * math/libm-test-j1.inc: Include libm-test-driver.c.
7808         (do_test): New function.
7809         * math/libm-test-jn.inc: Include libm-test-driver.c.
7810         (do_test): New function.
7811         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
7812         (do_test): New function.
7813         * math/libm-test-llogb.inc: Include libm-test-driver.c.
7814         (do_test): New function.
7815         * math/libm-test-llrint.inc: Include libm-test-driver.c.
7816         (do_test): New function.
7817         * math/libm-test-llround.inc: Include libm-test-driver.c.
7818         (do_test): New function.
7819         * math/libm-test-log.inc: Include libm-test-driver.c.
7820         (do_test): New function.
7821         * math/libm-test-log10.inc: Include libm-test-driver.c.
7822         (do_test): New function.
7823         * math/libm-test-log1p.inc: Include libm-test-driver.c.
7824         (do_test): New function.
7825         * math/libm-test-log2.inc: Include libm-test-driver.c.
7826         (do_test): New function.
7827         * math/libm-test-logb.inc: Include libm-test-driver.c.
7828         (do_test): New function.
7829         * math/libm-test-lrint.inc: Include libm-test-driver.c.
7830         (do_test): New function.
7831         * math/libm-test-lround.inc: Include libm-test-driver.c.
7832         (do_test): New function.
7833         * math/libm-test-modf.inc: Include libm-test-driver.c.
7834         (do_test): New function.
7835         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
7836         (do_test): New function.
7837         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
7838         (do_test): New function.
7839         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
7840         (do_test): New function.
7841         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
7842         (do_test): New function.
7843         * math/libm-test-nextup.inc: Include libm-test-driver.c.
7844         (do_test): New function.
7845         * math/libm-test-pow.inc: Include libm-test-driver.c.
7846         (do_test): New function.
7847         * math/libm-test-remainder.inc: Include libm-test-driver.c.
7848         (do_test): New function.
7849         * math/libm-test-remquo.inc: Include libm-test-driver.c.
7850         (do_test): New function.
7851         * math/libm-test-rint.inc: Include libm-test-driver.c.
7852         (do_test): New function.
7853         * math/libm-test-round.inc: Include libm-test-driver.c.
7854         (do_test): New function.
7855         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
7856         (do_test): New function.
7857         * math/libm-test-scalb.inc: Include libm-test-driver.c.
7858         (do_test): New function.
7859         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
7860         (do_test): New function.
7861         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
7862         (do_test): New function.
7863         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
7864         (do_test): New function.
7865         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
7866         (do_test): New function.
7867         * math/libm-test-signbit.inc: Include libm-test-driver.c.
7868         (do_test): New function.
7869         * math/libm-test-significand.inc: Include libm-test-driver.c.
7870         (do_test): New function.
7871         * math/libm-test-sin.inc: Include libm-test-driver.c.
7872         (do_test): New function.
7873         * math/libm-test-sincos.inc: Include libm-test-driver.c.
7874         (do_test): New function.
7875         * math/libm-test-sinh.inc: Include libm-test-driver.c.
7876         (do_test): New function.
7877         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
7878         (do_test): New function.
7879         * math/libm-test-tan.inc: Include libm-test-driver.c.
7880         (do_test): New function.
7881         * math/libm-test-tanh.inc: Include libm-test-driver.c.
7882         (do_test): New function.
7883         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
7884         (do_test): New function.
7885         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
7886         (do_test): New function.
7887         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
7888         (do_test): New function.
7889         * math/libm-test-trunc.inc: Include libm-test-driver.c.
7890         (do_test): New function.
7891         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
7892         (do_test): New function.
7893         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
7894         (do_test): New function.
7895         * math/libm-test-y0.inc: Include libm-test-driver.c.
7896         (do_test): New function.
7897         * math/libm-test-y1.inc: Include libm-test-driver.c.
7898         (do_test): New function.
7899         * math/libm-test-yn.inc: Include libm-test-driver.c.
7900         (do_test): New function.
7901         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
7902         (HAVE_VECTOR): Remove macro.
7903         (START): Do not call HAVE_VECTOR.
7904         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
7905         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
7906         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
7907         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
7908         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
7909         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
7910         * math/test-math-vector.h (FUNC_TEST): New macro.
7911         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
7912         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
7913         (double-vlen4-funcs): Likewise.
7914         (double-vlen4-avx2-funcs): Likewise.
7915         (double-vlen8-funcs): Likewise.
7916         (float-vlen4-funcs): Likewise.
7917         (float-vlen8-funcs): Likewise.
7918         (float-vlen8-avx2-funcs): Likewise.
7919         (float-vlen16-funcs): Likewise.
7920         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
7921         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
7922         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
7923         macro.
7924         (TEST_VECTOR_sin): Likewise.
7925         (TEST_VECTOR_sincos): Likewise.
7926         (TEST_VECTOR_log): Likewise.
7927         (TEST_VECTOR_exp): Likewise.
7928         (TEST_VECTOR_pow): Likewise.
7929         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
7930         Likewise.
7931         (TEST_VECTOR_sin): Likewise.
7932         (TEST_VECTOR_sincos): Likewise.
7933         (TEST_VECTOR_log): Likewise.
7934         (TEST_VECTOR_exp): Likewise.
7935         (TEST_VECTOR_pow): Likewise.
7936         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
7937         Likewise.
7938         (TEST_VECTOR_sinf): Likewise.
7939         (TEST_VECTOR_sincosf): Likewise.
7940         (TEST_VECTOR_logf): Likewise.
7941         (TEST_VECTOR_expf): Likewise.
7942         (TEST_VECTOR_powf): Likewise.
7943         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
7944         Likewise.
7945         (TEST_VECTOR_sinf): Likewise.
7946         (TEST_VECTOR_sincosf): Likewise.
7947         (TEST_VECTOR_logf): Likewise.
7948         (TEST_VECTOR_expf): Likewise.
7949         (TEST_VECTOR_powf): Likewise.
7950         * math/gen-libm-have-vector-test.sh: Remove file.
7951         * math/libm-test.inc: Likewise.
7952         * math/libm-test-support-double.c: Likewise.
7953         * math/libm-test-support-float.c: Likewise.
7954         * math/libm-test-support-ldouble.c: Likewise.
7955         * math/test-double-finite.c: Likewise.: Likewise.
7956         * math/test-double.c: Likewise.
7957         * math/test-float-finite.c: Likewise.
7958         * math/test-float.c: Likewise.
7959         * math/test-idouble.c: Likewise.
7960         * math/test-ifloat.c: Likewise.
7961         * math/test-ildouble.c: Likewise.
7962         * math/test-ldouble-finite.c: Likewise.
7963         * math/test-ldouble.c: Likewise.
7964         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
7965         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
7966         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
7967         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
7968         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
7969         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
7970         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
7971         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
7972         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
7973         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
7975 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7976            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7978         * math/Makefile: Add wrappers to gen-libm-calls.
7979         * math/w_acos_template.c: New file.
7980         * math/w_acosh_template.c: Likewise.
7981         * math/w_asin_template.c: Likewise.
7982         * math/w_atan2_template.c: Likewise.
7983         * math/w_atanh_template.c: Likewise.
7984         * math/w_cosh_template.c: Likewise.
7985         * math/w_exp10_template.c: Likewise.
7986         * math/w_exp2_template.c: Likewise.
7987         * math/w_exp_template.c: Likewise.
7988         * math/w_fmod_template.c: Likewise.
7989         * math/w_hypot_template.c: Likewise.
7990         * math/w_j0_template.c: Likewise.
7991         * math/w_j1_template.c: Likewise.
7992         * math/w_jn_template.c: Likewise.
7993         * math/w_lgamma_r_template.c: Likewise.
7994         * math/w_lgamma_template.c: Likewise.
7995         * math/w_log10_template.c: Likewise.
7996         * math/w_log2_template.c: Likewise.
7997         * math/w_log_template.c: Likewise.
7998         * math/w_pow_template.c: Likewise.
7999         * math/w_remainder_template.c: Likewise.
8000         * math/w_sinh_template.c: Likewise.
8001         * math/w_sqrt_template.c: Likewise.
8002         * math/w_tgamma_template.c: Likewise.: Likewise.
8003         * sysdeps/generic/math-type-macros-double.h
8004         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
8005         the new wrappers.
8006         * sysdeps/generic/math-type-macros-float.h: Likewise.
8007         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
8009 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
8011         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
8012         New enum constant and macro.
8014         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
8015         kernel version to 4.10.
8017 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
8019         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
8021 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8023         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8025 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8027         * sysdeps/powerpc/tst-set_ppr.c: New file.
8028         Implement test cases for __ppc_set_ppr_* functions.
8029         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
8030         in the list of tests.
8032 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
8034         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
8035         instead of test-skeleton.c.
8036         (do_test): Replaced pthread_create and pthread_join with
8037         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
8038         Removed unneeded status variable.
8039         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
8040         instead of test-skeleton.c.
8041         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
8043 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
8045         [BZ #20313]
8046         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8047         201605L, for Unicode 9.
8049 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
8051         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
8052         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8053         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8054         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8055         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8056         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8058 2017-02-19  Zack Weinberg  <zackw@panix.com>
8060         * rt/tst-mqueue4.c: Include stdint.h.
8062 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8064         * sysdeps/arm/libm-test-ulps: Update.
8065         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
8066         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8067         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
8069 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8071         [BZ #21029]
8072         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
8073         * sysdeps/unix/sysv/linux/i386/Makefile
8074         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
8075         (uses-6-syscall-arguments): Remove.
8076         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
8077         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
8078         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
8079         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
8080         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
8081         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
8082         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
8083         [$(subdir) = misc] (cflags-pselect.o): Likewise.
8084         [$(subdir) = misc] (cflags-pselect.os): Likewise.
8085         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
8086         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
8087         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
8088         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
8089         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
8090         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
8091         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
8092         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
8093         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
8094         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
8095         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
8096         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
8097         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
8098         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
8099         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
8100         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
8101         Likewise.
8102         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
8103         Likewise.
8104         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
8105         Likewise.
8106         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
8107         Likewise.
8108         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
8109         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
8110         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
8111         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
8112         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
8113         ebp on inline assembly.
8114         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
8115         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
8116         Set if CAN_USE_REGISTER_ASM_EBP is set.
8118 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
8120         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
8121         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
8123 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
8125         * math/auto-libm-test-in: Add tests of catan and catanh.
8126         * math/auto-libm-test-out-catan: New generated file.
8127         * math/auto-libm-test-out-catanh: Likewise.
8128         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
8129         Move tests with finite inputs, except divide-by-zero cases, to
8130         auto-libm-test-in.
8131         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
8132         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
8133         (libm-test-funcs-noauto): Remove catan and catanh.
8134         * sysdeps/i386/fpu/libm-test-ulps: Update.
8135         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8138         * math/auto-libm-test-in: Add tests of casin and casinh.
8139         * math/auto-libm-test-out-casin: New generated file.
8140         * math/auto-libm-test-out-casinh: Likewise.
8141         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
8142         Move tests with finite inputs to auto-libm-test-in.
8143         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
8144         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
8145         (libm-test-funcs-noauto): Remove casin and casinh.
8146         * sysdeps/i386/fpu/libm-test-ulps: Update.
8147         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8150         * math/auto-libm-test-in: Add tests of cacos and cacosh.
8151         * math/auto-libm-test-out-cacos: New generated file.
8152         * math/auto-libm-test-out-cacosh: Likewise.
8153         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
8154         Move tests with finite inputs to auto-libm-test-in.
8155         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
8156         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
8157         (libm-test-funcs-noauto): Remove cacos and cacosh.
8158         * sysdeps/i386/fpu/libm-test-ulps: Update.
8159         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
8160         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8162         Revert:
8163         2017-02-16  Zack Weinberg  <zackw@panix.com>
8165         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8166         Don't include init-arch.h.
8167         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8168         Don't include init-arch.h.
8170 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8172         [BZ #21171]
8173         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
8174         +Inf and raise divide-by-zero when x is negative.
8175         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
8176         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
8177         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
8178         -Inf and raise divide-by-zero when x = +-0.
8179         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
8180         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
8181         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
8182         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
8183         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
8184         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
8185         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
8187 2017-02-16  Zack Weinberg  <zackw@panix.com>
8189         * scripts/build-many-glibcs.py (bot_build_mail): If the
8190         bot_config does not contain all of the necessary email-
8191         related settings, just print a warning and continue.
8193 2017-02-16  Zack Weinberg  <zackw@panix.com>
8195         * crypt/md5.h: Test _LIBC with #if defined, not #if.
8196         * dirent/opendir-tst1.c: Include sys/stat.h.
8197         * dirent/tst-fdopendir.c: Include sys/stat.h.
8198         * dirent/tst-fdopendir2.c: Include stdlib.h.
8199         * dirent/tst-scandir.c: Include stdbool.h.
8200         * elf/tst-auditmod1.c: Include link.h and stddef.h.
8201         * elf/tst-tls15.c: Include stdlib.h.
8202         * elf/tst-tls16.c: Include stdlib.h.
8203         * elf/tst-tls17.c: Include stdlib.h.
8204         * elf/tst-tls18.c: Include stdlib.h.
8205         * iconv/tst-iconv6.c: Include endian.h.
8206         * iconvdata/bug-iconv11.c: Include limits.h.
8207         * io/test-utime.c: Include stdint.h.
8208         * io/tst-faccessat.c: Include sys/stat.h.
8209         * io/tst-fchmodat.c: Include sys/stat.h.
8210         * io/tst-fchownat.c: Include sys/stat.h.
8211         * io/tst-fstatat.c: Include sys/stat.h.
8212         * io/tst-futimesat.c: Include sys/stat.h.
8213         * io/tst-linkat.c: Include sys/stat.h.
8214         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
8215         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
8216         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
8217         * io/tst-openat.c: Include stdbool.h.
8218         * io/tst-readlinkat.c: Include sys/stat.h.
8219         * io/tst-renameat.c: Include sys/stat.h.
8220         * io/tst-symlinkat.c: Include sys/stat.h.
8221         * io/tst-unlinkat.c: Include stdbool.h.
8222         * libio/bug-memstream1.c: Include stdlib.h.
8223         * libio/bug-wmemstream1.c: Include stdlib.h.
8224         * libio/tst-fwrite-error.c: Include stdlib.h.
8225         * libio/tst-memstream1.c: Include stdlib.h.
8226         * libio/tst-memstream2.c: Include stdlib.h.
8227         * libio/tst-memstream3.c: Include stdlib.h.
8228         * malloc/tst-interpose-aux.c: Include stdint.h.
8229         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
8230         * nptl/tst-basic7.c: Include limits.h.
8231         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
8232         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
8233         * nptl/tst-cancel4_1.c: Include stddef.h.
8234         * nptl/tst-cancel4_2.c: Include stddef.h.
8235         * nptl/tst-cond16.c: Include limits.h.
8236         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8237         * nptl/tst-cond18.c: Include limits.h.
8238         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
8239         * nptl/tst-cond4.c: Include stdint.h.
8240         * nptl/tst-cond6.c: Include stdint.h.
8241         * nptl/tst-stack2.c: Include limits.h.
8242         * nptl/tst-stackguard1.c: Include stddef.h.
8243         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
8244         * nptl/tst-tls4moda.c: Include stddef.h.
8245         Don't include stdio.h, unistd.h, or tls.h.
8246         * nptl/tst-tls4modb.c: Include stddef.h.
8247         Don't include stdio.h, unistd.h, or tls.h.
8248         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
8249         * posix/tst-getaddrinfo2.c: Include stdio.h.
8250         * posix/tst-getaddrinfo5.c: Include stdio.h.
8251         * posix/tst-pathconf.c: Include sys/stat.h.
8252         * posix/tst-posix_fadvise-common.c: Include stdint.h.
8253         * posix/tst-preadwrite-common.c: Include sys/stat.h.
8254         * posix/tst-regex.c: Include stdint.h.
8255         Don't include spawn.h or spawn_int.h.
8256         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
8257         * posix/tst-vfork3.c: Include sys/stat.h.
8258         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
8259         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
8260         * resolv/tst-resolv-search.c: Include stdlib.h.
8261         * stdio-common/tst-fmemopen2.c: Include stdint.h.
8262         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
8263         * stdlib/test-canon.c: Include sys/stat.h.
8264         * stdlib/tst-tls-atexit.c: Include stdbool.h.
8265         * string/test-memchr.c: Include stdint.h.
8266         * string/tst-cmp.c: Include stdint.h.
8267         * sysdeps/pthread/tst-timer.c: Include stdint.h.
8268         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
8269         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
8270         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
8271         Don't include init-arch.h.
8272         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
8273         Don't include init-arch.h.
8274         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
8275         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
8276         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
8277         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
8278         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
8279         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
8280         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
8281         * time/clocktest.c: Include stdint.h.
8282         * time/tst-posixtz.c: Include stdint.h.
8283         * timezone/tst-timezone.c: Include stdint.h.
8285 2017-02-16  Zack Weinberg  <zackw@panix.com>
8287         * string/string.h [__USE_MISC]: Include strings.h.
8288         (__bzero, bcmp, bcopy, bzero, index, rindex)
8289         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
8290         (ffs, ffsl, ffsll): Don't declare.
8291         * string/strings.h: Do not suppress the file if string.h has
8292         already been included.
8293         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
8294         annotations.
8295         (index, rindex): Define inline forwarders even if
8296         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
8297         (ffs): Use __attribute_const__.
8298         (ffsl, ffsll): Declare here.
8299         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
8300         have now been standardized.
8301         * include/string.h (__bzero): Declare here.
8303         * bits/types.h: Move to posix/bits.
8304         * include/bits/types.h: New wrapper.
8306 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8308         * string/bits/string2.h (strcmp): Remove define.
8309         (__strcmp_cg): Likewise.
8310         (strncmp): Likewise.
8312 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
8314         * include/string.h: Add __cplusplus check.
8316 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8318         [BZ #21134]
8319         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
8320         "divide by zero" exception when the input is zero.
8321         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
8322         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
8323         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
8324         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
8325         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8327 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
8329         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
8330         and include ...
8331         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
8332         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
8333         to, and include ...
8334         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
8335         file.
8336         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
8337         and include ...
8338         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
8339         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
8340         and include ...
8341         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
8342         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
8343         and include ...
8344         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
8345         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
8346         and include ...
8347         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
8348         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
8349         to, and include ...
8350         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
8351         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
8352         and include ...
8353         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
8355 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
8357         * math/libm-test-support.h: Do not include <math-tests-arch.h>
8358         here.
8359         * math/libm-test-support.c (libm_test_init): Do not call
8360         INIT_ARCH_EXT here.
8361         * math/libm-test-driver.c: Include <math-tests-arch.h>.
8362         (main): Call INIT_ARCH_EXT.
8364 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8366         [BZ #21130]
8367         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
8368         with the "invalid" exception raised when x is -Inf.
8369         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
8371 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
8373         * string/bits/string2.h (strchr): Remove define.
8375 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
8377         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
8378         tst-avx512.
8379         (test-extras): Add tst-avx-aux and tst-avx512-aux.
8380         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
8381         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
8382         ($(objpfx)tst-sse): New rule.
8383         ($(objpfx)tst-avx): Likewise.
8384         ($(objpfx)tst-avx512): Likewise.
8385         (CFLAGS-tst-avx-aux.c): New.
8386         (CFLAGS-tst-avxmod.c): Likewise.
8387         (CFLAGS-tst-avx512-aux.c): Likewise.
8388         (CFLAGS-tst-avx512mod.c): Likewise.
8389         * sysdeps/x86_64/tst-avx-aux.c: New file.
8390         * sysdeps/x86_64/tst-avx.c: Likewise.
8391         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
8392         * sysdeps/x86_64/tst-avx512.c: Likewise.
8393         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
8394         * sysdeps/x86_64/tst-avxmod.c: Likewise.
8395         * sysdeps/x86_64/tst-sse.c: Likewise.
8396         * sysdeps/x86_64/tst-ssemod.c: Likewise.
8398 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8400         * math/auto-libm-test-in: Add more tests of csin and csinh.
8401         * math/auto-libm-test-out-csin: Regenerated.
8402         * math/auto-libm-test-out-csinh: Likewise.
8403         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
8404         auto-libm-test-in.
8405         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
8407 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8409         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
8410         libm-compat-calls-auto.
8411         (libm-compat-calls): Likewise.
8412         (libm-compat-calls-auto): Rename to libm-compat-calls and add
8413         w_lgamma_compatF and k_standardF (merged from the items above).
8414         (libm-routines): Use libm-compat-calls, instead of
8415         libm-compat-calls-auto, with type-foreach.
8417 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
8419         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
8420         macro.
8421         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
8422         (CFLAGS-test-ifloat.c): ... this.  Remove
8423         -U__LIBC_INTERNAL_MATH_INLINES.
8424         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
8425         (CFLAGS-test-idouble.c): ... this.  Remove
8426         -U__LIBC_INTERNAL_MATH_INLINES.
8427         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
8428         (CFLAGS-test-ildouble.c): ... this.  Remove
8429         -U__LIBC_INTERNAL_MATH_INLINES.
8431 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
8433         * math/libm-test-support.c: New file.  Content from
8434         math/libm-test-driver.c.
8435         * math/libm-test-support.h: Likewise.
8436         * math/libm-test-support-double.c: New file.
8437         * math/libm-test-support-float.c: Likewise.
8438         * math/libm-test-support-ldouble.c: Likewise.
8439         * math/libm-test-driver.c: Remove main comment and header
8440         includes.  Include libm-test-support.h.
8441         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
8442         (flag_test_errno): Remove static.
8443         (flag_test_exceptions): Likewise.
8444         (flag_test_finite): Likewise.
8445         (flag_test_inline): Likewise.
8446         (flag_test_mathvec): Likewise.
8447         (test_msg): Likewise.
8448         (NO_EXCEPTION): Remove.
8449         (INVALID_EXCEPTION): Likewise.
8450         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
8451         (OVERFLOW_EXCEPTION): Likewise.
8452         (UNDERFLOW_EXCEPTION): Likewise.
8453         (INEXACT_EXCEPTION): Likewise.
8454         (INVALID_EXCEPTION_OK): Likewise.
8455         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
8456         (OVERFLOW_EXCEPTION_OK): Likewise.
8457         (UNDERFLOW_EXCEPTION_OK): Likewise.
8458         (NO_INEXACT_EXCEPTION): Likewise.
8459         (EXCEPTIONS_OK): Likewise.
8460         (IGNORE_ZERO_INF_SIGN): Likewise.
8461         (TEST_NAN_SIGN): Likewise.
8462         (TEST_NAN_PAYLOAD): Likewise.
8463         (NO_TEST_INLINE): Likewise.
8464         (XFAIL_TEST): Likewise.
8465         (ERRNO_UNCHANGED): Likewise.
8466         (ERRNO_EDOM): Likewise.
8467         (ERRNO_ERANGE): Likewise.
8468         (IGNORE_RESULT): Likewise.
8469         (NON_FINITE): Likewise.
8470         (TEST_SNAN): Likewise.
8471         (NO_TEST_MATHVEC): Likewise.
8472         (__CONCATX): Likewise.
8473         (TYPE_MIN): Likewise.
8474         (TYPE_TRUE_MIN): Likewise.
8475         (TYPE_MAX): Likewise.
8476         (MIN_EXP): Likewise.
8477         (MAX_EXP): Likewise.
8478         (MANT_DIG): Likewise.
8479         (FSTR_MAX): Likewise.
8480         (ulp_idx): Likewise.
8481         (qtype_str): Remove static.
8482         (TEST_COND_binary32): Remove.
8483         (TEST_COND_binary64): Likewise.
8484         (TEST_COND_binary128): Likewise.
8485         (TEST_COND_ibm128): Likewise.
8486         (TEST_COND_intel96): Likewise.
8487         (TEST_COND_m68k96): Likewise.
8488         (TEST_COND_ibm128_libgcc): Likewise.
8489         (XFAIL_IBM128_LIBGCC): Likewise.
8490         (PAYLOAD_DIG): Likewise.
8491         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
8492         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
8493         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
8494         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
8495         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
8496         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
8497         (TEST_COND_long32): Likewise.
8498         (TEST_COND_long64): Likewise.
8499         (TEST_COND_before_rounding): Likewise.
8500         (TEST_COND_after_rounding): Likewise.
8501         (ulps_file_name): Likewise.
8502         (ulps_file): Likewise.
8503         (output_ulps): Likewise.
8504         (output_dir): Likewise.
8505         (noErrors): Likewise.
8506         (noTests): Likewise.
8507         (noExcTests): Likewise.
8508         (noErrnoTests): Likewise.
8509         (verbose): Likewise.
8510         (output_max_error): Likewise.
8511         (output_points): Likewise.
8512         (ignore_max_ulp): Likewise.
8513         (max_error): Likewise.
8514         (real_max_error): Likewise.
8515         (imag_max_error): Likewise.
8516         (prev_max_error): Likewise.
8517         (prev_real_max_error): Likewise.
8518         (prev_imag_max_error): Likewise.
8519         (max_valid_error): Likewise.
8520         (TYPE_DECIMAL_DIG): Likewise.
8521         (TYPE_HEX_DIG): Likewise.
8522         (fmt_ftostr): Likewise.
8523         (compare_ulp_data): Likewise.
8524         (find_ulps): Likewise.
8525         (init_max_error): Likewise.
8526         (set_max_error): Likewise.
8527         (print_float): Likewise.
8528         (print_screen): Likewise.
8529         (print_screen_max_error): Likewise.
8530         (update_stats): Likewise.
8531         (print_function_ulps): Likewise.
8532         (print_complex_function_ulps): Likewise.
8533         (fpstack_test): Likewise.
8534         (print_max_error): Likewise.
8535         (print_complex_max_error): Likewise.
8536         (test_single_exception): Likewise.
8537         (test_exceptions): Likewise.
8538         (test_single_errno): Likewise.
8539         (test_errno): Likewise.
8540         (ULPDIFF): Likewise.
8541         (ulp): Likewise.
8542         (check_float_internal): Likewise.
8543         (check_float): Likewise.
8544         (check_complex): Likewise.
8545         (check_int): Likewise.
8546         (check_long): Likewise.
8547         (check_bool): Likewise.
8548         (check_longlong): Likewise.
8549         (check_intmax_t): Likewise.
8550         (check_uintmax_t): Likewise.
8551         (enable_test): Likewise.
8552         (matherr): Likewise.
8553         (initialize): Likewise.
8554         (options): Likewise.
8555         (doc): Remove static.
8556         (argp): Likewise.
8557         (parse_opt): Remove.
8558         (check_ulp): Likewise.
8559         (libm_test_init): Likewise.
8560         (libm_test_finish): Likewise.
8561         * math/Makefile (libm-test-support): New variable.
8562         (test-extras): Add libm-test-support files.
8563         (extra-test-objs): Likewise.
8564         (CFLAGS-libm-test-support-float.c): New variable.
8565         (CFLAGS-libm-test-support-double.c): Likewise.
8566         (CFLAGS-libm-test-support-ldouble.c): Likewise.
8567         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
8568         libm-test-support objects.
8570 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8572         * math/Makefile (libm-calls): Move w_exp...
8573         (libm-compat-calls-auto): Here.
8575         * math/w_expl.c: Add suffix "_compat" to filename.
8576         * sysdeps/ia64/fpu/w_expl.c: Likewise.
8577         * sysdeps/ia64/fpu/w_expf.c: Likewise.
8578         * sysdeps/ia64/fpu/w_exp.c: Likewise.
8579         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
8580         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
8581         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
8582         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
8583         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
8585         * math/w_expl_compat.c: New file, copied from above.
8586         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
8587         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
8588         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
8589         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
8590         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
8591         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
8592         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
8593         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
8595         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
8596         to filename.
8597         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
8599         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
8600         copied from above and adjusted for the new filenames.
8601         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
8603 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8605         * math/Makefile (libm-calls): Move w_lgammaF...
8606         (libm-compat-calls-auto): Here.
8608         * math/w_lgamma.c: Add suffix "_compat2" to filename.
8609         * math/w_lgammaf.c: Likewise.
8610         * math/w_lgammal.c: Likewise.
8612         * math/w_lgamma_compat2.c: New file, copied from above.
8613         * math/w_lgammaf_compat2.c: Likewise.
8614         * math/w_lgammal_compat2.c: Likewise.
8616 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
8618         * math/Makefile (libm-calls): Move w_lgammaF_r...
8619         (libm-compat-calls-auto): Here.
8621         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
8622         * math/w_lgammaf_r.c: Likewise.
8623         * math/w_lgammal_r.c: Likewise.
8624         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
8625         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
8626         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
8628         * math/w_lgamma_r_compat.c: New file, copied from above.
8629         * math/w_lgammaf_r_compat.c: Likewise.
8630         * math/w_lgammal_r_compat.c: Likewise.
8631         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
8632         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
8633         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
8635         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
8636         to filename.
8637         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
8639         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
8640         copied from above and adjusted for the new filenames.
8641         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
8643 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
8645         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
8646         calculation in SYSCALL_ERROR_HANDLER().
8648 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
8650         * manual/contrib.texi: Fix typo.
8652 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8654         [BZ #21109]
8655         * elf/dl-tunable-types.h (tunable_callback_t): Accept
8656         tunable_val_t as argument.
8657         * elf/dl-tunables.c (__tunable_set_val): Add comment.
8658         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
8659         argument.
8660         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
8662 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
8664         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
8665         Add PTRACE_EVENT_STOP.
8666         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
8667         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
8668         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
8669         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
8670         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
8671         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
8673 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
8675         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
8676         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
8677         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
8678         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
8679         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
8680         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
8681         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
8682         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
8683         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
8684         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
8686         [BZ #21112]
8687         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
8688         12 bits zero.
8689         (cp_l): Update for new value of cp_h.
8690         * math/auto-libm-test-in: Add another test of pow.
8691         * math/auto-libm-test-out-pow: Regenerated.
8693 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8695         * manual/contrib.texi: Fix typo.
8697 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8699         [BZ #15998]
8700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
8701         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
8702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
8704 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8706         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
8707         STRCHR as __strchr_power8.
8708         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
8709         strlen as __strlen_power8.
8711 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8713         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
8714         unaligned load for shorter strings.
8715         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
8717 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
8719         * math/libm-test-driver.c (flag_test_errno): New variable.
8720         (flag_test_exceptions): Likewise.
8721         (flag_test_finite): Likewise.
8722         (flag_test_inline): Likewise.
8723         (flag_test_mathvec): Likewise.
8724         (test_msg): Likewise.
8725         (ulp_idx): Likewise.
8726         (qtype_str): Likewise.
8727         (ULP_IDX): Remove macro.
8728         (QTYPE_STR): Likewise.
8729         (find_ulps): Use ulp_idx not ULP_IDX.
8730         (print_function_ulps): Use qtype_str, printed with %s, not
8731         QTYPE_STR, printed with concatentation to format string.
8732         (print_complex_function_ulps): Likewise.
8733         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
8734         (test_errno): Use flag_test_errno not TEST_ERRNO.
8735         (enable_test): Use flag_test_inline, flag_test_finite and
8736         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
8737         TEST_MATHVEC.
8738         (libm_test_init): New function.  Factored out of main.
8739         (libm_test_finish): Likewise.
8740         (main): Call libm_test_init and libm_test_finish and move most
8741         code to those functions.
8743         * math/libm-test-driver.c (STRX): New macro.
8744         (STR): Likewise.
8745         (STR_FLOAT): Likewise.
8746         (STR_VEC_LEN): Likewise.
8747         (TEST_MSG): Likewise.  Define here instead of expecting to be
8748         defined by including file.
8749         * math/test-double-finite.c (TEST_MSG): Remove macro.
8750         * math/test-double-vlen2.h (TEST_MSG): Likewise.
8751         * math/test-double-vlen4.h (TEST_MSG): Likewise.
8752         * math/test-double-vlen8.h (TEST_MSG): Likewise.
8753         * math/test-double.c (TEST_MSG): Likewise.
8754         * math/test-float-finite.c (TEST_MSG): Likewise.
8755         * math/test-float-vlen16.h (TEST_MSG): Likewise.
8756         * math/test-float-vlen4.h (TEST_MSG): Likewise.
8757         * math/test-float-vlen8.h (TEST_MSG): Likewise.
8758         * math/test-float.c (TEST_MSG): Likewise.
8759         * math/test-idouble.c (TEST_MSG): Likewise.
8760         * math/test-ifloat.c (TEST_MSG): Likewise.
8761         * math/test-ildouble.c (TEST_MSG): Likewise.
8762         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
8763         * math/test-ldouble.c (TEST_MSG): Likewise.
8765         * math/libm-test.inc: Move all tests of individual functions to
8766         libm-test-*.inc and #include libm-test-*.c files.
8767         (acos_test_data): Remove.
8768         (acos_test): Likewise.
8769         (acosh_test_data): Likewise.
8770         (acosh_test): Likewise.
8771         (asin_test_data): Likewise.
8772         (asin_test): Likewise.
8773         (asinh_test_data): Likewise.
8774         (asinh_test): Likewise.
8775         (atan_test_data): Likewise.
8776         (atan_test): Likewise.
8777         (atanh_test_data): Likewise.
8778         (atanh_test): Likewise.
8779         (atan2_test_data): Likewise.
8780         (atan2_test): Likewise.
8781         (cabs_test_data): Likewise.
8782         (cabs_test): Likewise.
8783         (cacos_test_data): Likewise.
8784         (cacos_test): Likewise.
8785         (cacosh_test_data): Likewise.
8786         (cacosh_test): Likewise.
8787         (canonicalize_test_data): Likewise.
8788         (canonicalize_test): Likewise.
8789         (carg_test_data): Likewise.
8790         (carg_test): Likewise.
8791         (casin_test_data): Likewise.
8792         (casin_test): Likewise.
8793         (casinh_test_data): Likewise.
8794         (casinh_test): Likewise.
8795         (catan_test_data): Likewise.
8796         (catan_test): Likewise.
8797         (catanh_test_data): Likewise.
8798         (catanh_test): Likewise.
8799         (cbrt_test_data): Likewise.
8800         (cbrt_test): Likewise.
8801         (ccos_test_data): Likewise.
8802         (ccos_test): Likewise.
8803         (ccosh_test_data): Likewise.
8804         (ccosh_test): Likewise.
8805         (ceil_test_data): Likewise.
8806         (ceil_test): Likewise.
8807         (cexp_test_data): Likewise.
8808         (cexp_test): Likewise.
8809         (cimag_test_data): Likewise.
8810         (cimag_test): Likewise.
8811         (clog_test_data): Likewise.
8812         (clog_test): Likewise.
8813         (clog10_test_data): Likewise.
8814         (clog10_test): Likewise.
8815         (conj_test_data): Likewise.
8816         (conj_test): Likewise.
8817         (copysign_test_data): Likewise.
8818         (copysign_test): Likewise.
8819         (cos_test_data): Likewise.
8820         (cos_test): Likewise.
8821         (cosh_test_data): Likewise.
8822         (cosh_test): Likewise.
8823         (cpow_test_data): Likewise.
8824         (cpow_test): Likewise.
8825         (cproj_test_data): Likewise.
8826         (cproj_test): Likewise.
8827         (creal_test_data): Likewise.
8828         (creal_test): Likewise.
8829         (csin_test_data): Likewise.
8830         (csin_test): Likewise.
8831         (csinh_test_data): Likewise.
8832         (csinh_test): Likewise.
8833         (csqrt_test_data): Likewise.
8834         (csqrt_test): Likewise.
8835         (ctan_test_data): Likewise.
8836         (ctan_test): Likewise.
8837         (ctanh_test_data): Likewise.
8838         (ctanh_test): Likewise.
8839         (erf_test_data): Likewise.
8840         (erf_test): Likewise.
8841         (erfc_test_data): Likewise.
8842         (erfc_test): Likewise.
8843         (exp_test_data): Likewise.
8844         (exp_test): Likewise.
8845         (exp10_test_data): Likewise.
8846         (exp10_test): Likewise.
8847         (pow10_test): Likewise.
8848         (exp2_test_data): Likewise.
8849         (exp2_test): Likewise.
8850         (expm1_test_data): Likewise.
8851         (expm1_test): Likewise.
8852         (fabs_test_data): Likewise.
8853         (fabs_test): Likewise.
8854         (fdim_test_data): Likewise.
8855         (fdim_test): Likewise.
8856         (floor_test_data): Likewise.
8857         (floor_test): Likewise.
8858         (fma_test_data): Likewise.
8859         (fma_test): Likewise.
8860         (fmax_test_data): Likewise.
8861         (fmax_test): Likewise.
8862         (fmaxmag_test_data): Likewise.
8863         (fmaxmag_test): Likewise.
8864         (fmin_test_data): Likewise.
8865         (fmin_test): Likewise.
8866         (fminmag_test_data): Likewise.
8867         (fminmag_test): Likewise.
8868         (fmod_test_data): Likewise.
8869         (fmod_test): Likewise.
8870         (fpclassify_test_data): Likewise.
8871         (fpclassify_test): Likewise.
8872         (frexp_test_data): Likewise.
8873         (frexp_test): Likewise.
8874         (fromfp_test_data): Likewise.
8875         (fromfp_test): Likewise.
8876         (fromfpx_test_data): Likewise.
8877         (fromfpx_test): Likewise.
8878         (getpayload_test_data): Likewise.
8879         (getpayload_test): Likewise.
8880         (hypot_test_data): Likewise.
8881         (hypot_test): Likewise.
8882         (ilogb_test_data): Likewise.
8883         (ilogb_test): Likewise.
8884         (iscanonical_test_data): Likewise.
8885         (iscanonical_test): Likewise.
8886         (iseqsig_test_data): Likewise.
8887         (iseqsig_test): Likewise.
8888         (isfinite_test_data): Likewise.
8889         (isfinite_test): Likewise.
8890         (finite_test): Likewise.
8891         (isgreater_test_data): Likewise.
8892         (isgreater_test): Likewise.
8893         (isgreaterequal_test_data): Likewise.
8894         (isgreaterequal_test): Likewise.
8895         (isinf_test_data): Likewise.
8896         (isinf_test): Likewise.
8897         (isless_test_data): Likewise.
8898         (isless_test): Likewise.
8899         (islessequal_test_data): Likewise.
8900         (islessequal_test): Likewise.
8901         (islessgreater_test_data): Likewise.
8902         (islessgreater_test): Likewise.
8903         (isnan_test_data): Likewise.
8904         (isnan_test): Likewise.
8905         (isnormal_test_data): Likewise.
8906         (isnormal_test): Likewise.
8907         (issignaling_test_data): Likewise.
8908         (issignaling_test): Likewise.
8909         (issubnormal_test_data): Likewise.
8910         (issubnormal_test): Likewise.
8911         (isunordered_test_data): Likewise.
8912         (isunordered_test): Likewise.
8913         (iszero_test_data): Likewise.
8914         (iszero_test): Likewise.
8915         (j0_test_data): Likewise.
8916         (j0_test): Likewise.
8917         (j1_test_data): Likewise.
8918         (j1_test): Likewise.
8919         (jn_test_data): Likewise.
8920         (jn_test): Likewise.
8921         (lgamma_test_data): Likewise.
8922         (lgamma_test): Likewise.
8923         (gamma_test): Likewise.
8924         (llogb_test_data): Likewise.
8925         (llogb_test): Likewise.
8926         (lrint_test_data): Likewise.
8927         (lrint_test): Likewise.
8928         (llrint_test_data): Likewise.
8929         (llrint_test): Likewise.
8930         (log_test_data): Likewise.
8931         (log_test): Likewise.
8932         (log10_test_data): Likewise.
8933         (log10_test): Likewise.
8934         (log1p_test_data): Likewise.
8935         (log1p_test): Likewise.
8936         (log2_test_data): Likewise.
8937         (log2_test): Likewise.
8938         (logb_test_data): Likewise.
8939         (logb_test): Likewise.
8940         (lround_test_data): Likewise.
8941         (lround_test): Likewise.
8942         (llround_test_data): Likewise.
8943         (llround_test): Likewise.
8944         (modf_test_data): Likewise.
8945         (modf_test): Likewise.
8946         (nearbyint_test_data): Likewise.
8947         (nearbyint_test): Likewise.
8948         (nextafter_test_data): Likewise.
8949         (nextafter_test): Likewise.
8950         (nextup_test_data): Likewise.
8951         (nextup_test): Likewise.
8952         (nextdown_test_data): Likewise.
8953         (nextdown_test): Likewise.
8954         (nexttoward_test_data): Likewise.
8955         (nexttoward_test): Likewise.
8956         (pow_test_data): Likewise.
8957         (pow_test): Likewise.
8958         (remainder_test_data): Likewise.
8959         (remainder_test): Likewise.
8960         (drem_test): Likewise.
8961         (remquo_test_data): Likewise.
8962         (remquo_test): Likewise.
8963         (rint_test_data): Likewise.
8964         (rint_test): Likewise.
8965         (round_test_data): Likewise.
8966         (round_test): Likewise.
8967         (roundeven_test_data): Likewise.
8968         (roundeven_test): Likewise.
8969         (scalb_test_data): Likewise.
8970         (scalb_test): Likewise.
8971         (scalbn_test_data): Likewise.
8972         (scalbn_test): Likewise.
8973         (ldexp_test): Likewise.
8974         (scalbln_test_data): Likewise.
8975         (scalbln_test): Likewise.
8976         (setpayload_test_data): Likewise.
8977         (setpayload_test): Likewise.
8978         (setpayloadsig_test_data): Likewise.
8979         (setpayloadsig_test): Likewise.
8980         (signbit_test_data): Likewise.
8981         (signbit_test): Likewise.
8982         (sin_test_data): Likewise.
8983         (sin_test): Likewise.
8984         (sincos_test_data): Likewise.
8985         (sincos_test): Likewise.
8986         (sinh_test_data): Likewise.
8987         (sinh_test): Likewise.
8988         (sqrt_test_data): Likewise.
8989         (sqrt_test): Likewise.
8990         (tan_test_data): Likewise.
8991         (tan_test): Likewise.
8992         (tanh_test_data): Likewise.
8993         (tanh_test): Likewise.
8994         (tgamma_test_data): Likewise.
8995         (tgamma_test): Likewise.
8996         (totalorder_test_data): Likewise.
8997         (totalorder_test): Likewise.
8998         (totalordermag_test_data): Likewise.
8999         (totalordermag_test): Likewise.
9000         (trunc_test_data): Likewise.
9001         (trunc_test): Likewise.
9002         (ufromfp_test_data): Likewise.
9003         (ufromfp_test): Likewise.
9004         (ufromfpx_test_data): Likewise.
9005         (ufromfpx_test): Likewise.
9006         (y0_test_data): Likewise.
9007         (y0_test): Likewise.
9008         (y1_test_data): Likewise.
9009         (y1_test): Likewise.
9010         (yn_test_data): Likewise.
9011         (yn_test): Likewise.
9012         (significand_test_data): Likewise.
9013         (significand_test): Likewise.
9014         * math/Makefile (auto-libm-test-out-files): Remove variable.
9015         (libm-test-funcs-noauto): New variable.
9016         (libm-test-funcs-all): Likewise.
9017         (libm-test-c-auto): Likewise.
9018         (libm-test-c-noauto): Likewise.
9019         (libm-tests-generated): Add $(libm-test-c-auto) and
9020         $(libm-test-c-noauto).
9021         (generated): Do not add auto-libm-test-out.
9022         (libm-test-c-auto-obj): New variable.
9023         (libm-test-c-noauto-obj): Likewise.
9024         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
9025         ($(libm-test-c-noauto-obj)): New static pattern rule.
9026         ($(libm-test-c-auto-obj)): Likewise.
9027         (libm-test-incs): New variable.
9028         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
9029         and pass it to gen-libm-have-vector-test.sh.
9030         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
9031         be passed on command line.
9032         * math/libm-test-acos.inc: New file.  Content from
9033         math/libm-test.inc.
9034         * math/libm-test-acosh.inc: Likewise.
9035         * math/libm-test-asin.inc: Likewise.
9036         * math/libm-test-asinh.inc: Likewise.
9037         * math/libm-test-atan.inc: Likewise.
9038         * math/libm-test-atan2.inc: Likewise.
9039         * math/libm-test-atanh.inc: Likewise.
9040         * math/libm-test-cabs.inc: Likewise.
9041         * math/libm-test-cacos.inc: Likewise.
9042         * math/libm-test-cacosh.inc: Likewise.
9043         * math/libm-test-canonicalize.inc: Likewise.
9044         * math/libm-test-carg.inc: Likewise.
9045         * math/libm-test-casin.inc: Likewise.
9046         * math/libm-test-casinh.inc: Likewise.
9047         * math/libm-test-catan.inc: Likewise.
9048         * math/libm-test-catanh.inc: Likewise.
9049         * math/libm-test-cbrt.inc: Likewise.
9050         * math/libm-test-ccos.inc: Likewise.
9051         * math/libm-test-ccosh.inc: Likewise.
9052         * math/libm-test-ceil.inc: Likewise.
9053         * math/libm-test-cexp.inc: Likewise.
9054         * math/libm-test-cimag.inc: Likewise.
9055         * math/libm-test-clog.inc: Likewise.
9056         * math/libm-test-clog10.inc: Likewise.
9057         * math/libm-test-conj.inc: Likewise.
9058         * math/libm-test-copysign.inc: Likewise.
9059         * math/libm-test-cos.inc: Likewise.
9060         * math/libm-test-cosh.inc: Likewise.
9061         * math/libm-test-cpow.inc: Likewise.
9062         * math/libm-test-cproj.inc: Likewise.
9063         * math/libm-test-creal.inc: Likewise.
9064         * math/libm-test-csin.inc: Likewise.
9065         * math/libm-test-csinh.inc: Likewise.
9066         * math/libm-test-csqrt.inc: Likewise.
9067         * math/libm-test-ctan.inc: Likewise.
9068         * math/libm-test-ctanh.inc: Likewise.
9069         * math/libm-test-erf.inc: Likewise.
9070         * math/libm-test-erfc.inc: Likewise.
9071         * math/libm-test-exp.inc: Likewise.
9072         * math/libm-test-exp10.inc: Likewise.
9073         * math/libm-test-exp2.inc: Likewise.
9074         * math/libm-test-expm1.inc: Likewise.
9075         * math/libm-test-fabs.inc: Likewise.
9076         * math/libm-test-fdim.inc: Likewise.
9077         * math/libm-test-floor.inc: Likewise.
9078         * math/libm-test-fma.inc: Likewise.
9079         * math/libm-test-fmax.inc: Likewise.
9080         * math/libm-test-fmaxmag.inc: Likewise.
9081         * math/libm-test-fmin.inc: Likewise.
9082         * math/libm-test-fminmag.inc: Likewise.
9083         * math/libm-test-fmod.inc: Likewise.
9084         * math/libm-test-fpclassify.inc: Likewise.
9085         * math/libm-test-frexp.inc: Likewise.
9086         * math/libm-test-fromfp.inc: Likewise.
9087         * math/libm-test-fromfpx.inc: Likewise.
9088         * math/libm-test-getpayload.inc: Likewise.
9089         * math/libm-test-hypot.inc: Likewise.
9090         * math/libm-test-ilogb.inc: Likewise.
9091         * math/libm-test-iscanonical.inc: Likewise.
9092         * math/libm-test-iseqsig.inc: Likewise.
9093         * math/libm-test-isfinite.inc: Likewise.
9094         * math/libm-test-isgreater.inc: Likewise.
9095         * math/libm-test-isgreaterequal.inc: Likewise.
9096         * math/libm-test-isinf.inc: Likewise.
9097         * math/libm-test-isless.inc: Likewise.
9098         * math/libm-test-islessequal.inc: Likewise.
9099         * math/libm-test-islessgreater.inc: Likewise.
9100         * math/libm-test-isnan.inc: Likewise.
9101         * math/libm-test-isnormal.inc: Likewise.
9102         * math/libm-test-issignaling.inc: Likewise.
9103         * math/libm-test-issubnormal.inc: Likewise.
9104         * math/libm-test-isunordered.inc: Likewise.
9105         * math/libm-test-iszero.inc: Likewise.
9106         * math/libm-test-j0.inc: Likewise.
9107         * math/libm-test-j1.inc: Likewise.
9108         * math/libm-test-jn.inc: Likewise.
9109         * math/libm-test-lgamma.inc: Likewise.
9110         * math/libm-test-llogb.inc: Likewise.
9111         * math/libm-test-llrint.inc: Likewise.
9112         * math/libm-test-llround.inc: Likewise.
9113         * math/libm-test-log.inc: Likewise.
9114         * math/libm-test-log10.inc: Likewise.
9115         * math/libm-test-log1p.inc: Likewise.
9116         * math/libm-test-log2.inc: Likewise.
9117         * math/libm-test-logb.inc: Likewise.
9118         * math/libm-test-lrint.inc: Likewise.
9119         * math/libm-test-lround.inc: Likewise.
9120         * math/libm-test-modf.inc: Likewise.
9121         * math/libm-test-nearbyint.inc: Likewise.
9122         * math/libm-test-nextafter.inc: Likewise.
9123         * math/libm-test-nextdown.inc: Likewise.
9124         * math/libm-test-nexttoward.inc: Likewise.
9125         * math/libm-test-nextup.inc: Likewise.
9126         * math/libm-test-pow.inc: Likewise.
9127         * math/libm-test-remainder.inc: Likewise.
9128         * math/libm-test-remquo.inc: Likewise.
9129         * math/libm-test-rint.inc: Likewise.
9130         * math/libm-test-round.inc: Likewise.
9131         * math/libm-test-roundeven.inc: Likewise.
9132         * math/libm-test-scalb.inc: Likewise.
9133         * math/libm-test-scalbln.inc: Likewise.
9134         * math/libm-test-scalbn.inc: Likewise.
9135         * math/libm-test-setpayload.inc: Likewise.
9136         * math/libm-test-setpayloadsig.inc: Likewise.
9137         * math/libm-test-signbit.inc: Likewise.
9138         * math/libm-test-significand.inc: Likewise.
9139         * math/libm-test-sin.inc: Likewise.
9140         * math/libm-test-sincos.inc: Likewise.
9141         * math/libm-test-sinh.inc: Likewise.
9142         * math/libm-test-sqrt.inc: Likewise.
9143         * math/libm-test-tan.inc: Likewise.
9144         * math/libm-test-tanh.inc: Likewise.
9145         * math/libm-test-tgamma.inc: Likewise.
9146         * math/libm-test-totalorder.inc: Likewise.
9147         * math/libm-test-totalordermag.inc: Likewise.
9148         * math/libm-test-trunc.inc: Likewise.
9149         * math/libm-test-ufromfp.inc: Likewise.
9150         * math/libm-test-ufromfpx.inc: Likewise.
9151         * math/libm-test-y0.inc: Likewise.
9152         * math/libm-test-y1.inc: Likewise.
9153         * math/libm-test-yn.inc: Likewise.
9154         * math/README.libm-test: Update.
9156         * math/gen-auto-libm-tests.c: Update comment about use of program.
9157         (generate_output): Add argument FUNCTION.
9158         (main): Require extra argument.  Pass function name to
9159         generate_output.
9160         * math/Makefile (generated): Add auto-libm-test-out.
9161         (libm-test-funcs-auto): New variable.
9162         (auto-libm-test-out-files): New variable.
9163         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
9164         Concatenate those files to form $(objpfx)auto-libm-test-out and
9165         use it as input to gen-libm-test.pl.
9166         * math/README.libm-test: Update.
9167         * math/auto-libm-test-out: Remove.
9168         * math/auto-libm-test-out-acos: New generated file.
9169         * math/auto-libm-test-out-acosh: Likewise.
9170         * math/auto-libm-test-out-asin: Likewise.
9171         * math/auto-libm-test-out-asinh: Likewise.
9172         * math/auto-libm-test-out-atan: Likewise.
9173         * math/auto-libm-test-out-atan2: Likewise.
9174         * math/auto-libm-test-out-atanh: Likewise.
9175         * math/auto-libm-test-out-cabs: Likewise.
9176         * math/auto-libm-test-out-carg: Likewise.
9177         * math/auto-libm-test-out-cbrt: Likewise.
9178         * math/auto-libm-test-out-ccos: Likewise.
9179         * math/auto-libm-test-out-ccosh: Likewise.
9180         * math/auto-libm-test-out-cexp: Likewise.
9181         * math/auto-libm-test-out-clog: Likewise.
9182         * math/auto-libm-test-out-clog10: Likewise.
9183         * math/auto-libm-test-out-cos: Likewise.
9184         * math/auto-libm-test-out-cosh: Likewise.
9185         * math/auto-libm-test-out-cpow: Likewise.
9186         * math/auto-libm-test-out-csin: Likewise.
9187         * math/auto-libm-test-out-csinh: Likewise.
9188         * math/auto-libm-test-out-csqrt: Likewise.
9189         * math/auto-libm-test-out-ctan: Likewise.
9190         * math/auto-libm-test-out-ctanh: Likewise.
9191         * math/auto-libm-test-out-erf: Likewise.
9192         * math/auto-libm-test-out-erfc: Likewise.
9193         * math/auto-libm-test-out-exp: Likewise.
9194         * math/auto-libm-test-out-exp10: Likewise.
9195         * math/auto-libm-test-out-exp2: Likewise.
9196         * math/auto-libm-test-out-expm1: Likewise.
9197         * math/auto-libm-test-out-fma: Likewise.
9198         * math/auto-libm-test-out-hypot: Likewise.
9199         * math/auto-libm-test-out-j0: Likewise.
9200         * math/auto-libm-test-out-j1: Likewise.
9201         * math/auto-libm-test-out-jn: Likewise.
9202         * math/auto-libm-test-out-lgamma: Likewise.
9203         * math/auto-libm-test-out-log: Likewise.
9204         * math/auto-libm-test-out-log10: Likewise.
9205         * math/auto-libm-test-out-log1p: Likewise.
9206         * math/auto-libm-test-out-log2: Likewise.
9207         * math/auto-libm-test-out-pow: Likewise.
9208         * math/auto-libm-test-out-sin: Likewise.
9209         * math/auto-libm-test-out-sincos: Likewise.
9210         * math/auto-libm-test-out-sinh: Likewise.
9211         * math/auto-libm-test-out-sqrt: Likewise.
9212         * math/auto-libm-test-out-tan: Likewise.
9213         * math/auto-libm-test-out-tanh: Likewise.
9214         * math/auto-libm-test-out-tgamma: Likewise.
9215         * math/auto-libm-test-out-y0: Likewise.
9216         * math/auto-libm-test-out-y1: Likewise.
9217         * math/auto-libm-test-out-yn: Likewise.
9219         * math/Makefile (generated): Do not include libm-test.stmp.
9220         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
9221         on $(objpfx)libm-test.stmp.
9222         ($(objpfx)libm-test.stmp): Remove rule.
9223         ($(objpfx)libm-test-ulps.h): New rule.
9224         ($(objpfx)libm-test.c): Likewise.
9225         ($(objpfx)libm-have-vector-test.h): Likewise.
9226         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
9227         individual generated files, not libm-test.stmp.
9229         * math/gen-libm-test.pl ($output_dir): Remove variable.
9230         ($srcdir): Likewise.
9231         ($opt_a): New variable.
9232         ($opt_c): Likewise.
9233         ($opt_C): Likewise.
9234         ($opt_H): Likewise.
9235         (-n): Make option take argument and use it as NewUlps output.
9236         (-a): New option.  Use its argument for auto-libm-test-out input.
9237         (-c): New option.  Use its argument for libm-test.inc input.
9238         (-C): New option.  Use its argument for libm-test.c output.
9239         (-H): New option.  Use its argument for libm-test-ulps.h output.
9240         (top level): Only process inputs needed to generate outputs
9241         specified by command-line options.  Only generate outputs
9242         specified by command-line options.
9243         * math/README.libm-test: Update example gen-libm-test.pl command.
9244         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
9245         commands.
9246         (regen-ulps): Likewise.
9248 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
9250         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
9251         * include/string.h (index): Remove define.
9252         (rindex): Likewise.
9253         * misc/getttyent.c (__getttyent): Rename index to strchr.
9254         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
9255         * sunrpc/rpc_main.c (mkfile_output): Likewise.
9257 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9259         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
9260         * math/libm-test.inc: Move all contents, other than tests of
9261         individual functions, to libm-test-driver.c.
9262         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
9263         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
9264         [!FE_UPWARD] (FE_UPWARD): Likewise.
9265         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
9266         (NO_EXCEPTION): Likewise.
9267         (INVALID_EXCEPTION): Likewise.
9268         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
9269         (OVERFLOW_EXCEPTION): Likewise.
9270         (UNDERFLOW_EXCEPTION): Likewise.
9271         (INEXACT_EXCEPTION): Likewise.
9272         (INVALID_EXCEPTION_OK): Likewise.
9273         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
9274         (OVERFLOW_EXCEPTION_OK): Likewise.
9275         (UNDERFLOW_EXCEPTION_OK): Likewise.
9276         (NO_INEXACT_EXCEPTION): Likewise.
9277         (EXCEPTIONS_OK): Likewise.
9278         (IGNORE_ZERO_INF_SIGN): Likewise.
9279         (TEST_NAN_SIGN): Likewise.
9280         (TEST_NAN_PAYLOAD): Likewise.
9281         (NO_TEST_INLINE): Likewise.
9282         (XFAIL_TEST): Likewise.
9283         (ERRNO_UNCHANGED): Likewise.
9284         (ERRNO_EDOM): Likewise.
9285         (ERRNO_ERANGE): Likewise.
9286         (IGNORE_RESULT): Likewise.
9287         (NON_FINITE): Likewise.
9288         (TEST_SNAN): Likewise.
9289         (NO_TEST_MATHVEC): Likewise.
9290         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
9291         (__CONCATX): Likewise.
9292         (TYPE_MIN): Likewise.
9293         (TYPE_TRUE_MIN): Likewise.
9294         (TYPE_MAX): Likewise.
9295         (MIN_EXP): Likewise.
9296         (MAX_EXP): Likewise.
9297         (MANT_DIG): Likewise.
9298         (FSTR_MAX): Likewise.
9299         (ULP_IDX): Likewise.
9300         (QTYPE_STR): Likewise.
9301         (TEST_COND_binary32): Likewise.
9302         (TEST_COND_binary64): Likewise.
9303         (TEST_COND_binary128): Likewise.
9304         (TEST_COND_ibm128): Likewise.
9305         (TEST_COND_intel96): Likewise.
9306         (TEST_COND_m68k96): Likewise.
9307         (TEST_COND_ibm128_libgcc): Likewise.
9308         (XFAIL_IBM128_LIBGCC): Likewise.
9309         (PAYLOAD_DIG): Likewise.
9310         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
9311         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
9312         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
9313         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
9314         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
9315         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
9316         (TEST_COND_long32): Likewise.
9317         (TEST_COND_long64): Likewise.
9318         (TEST_COND_before_rounding): Likewise.
9319         (TEST_COND_after_rounding): Likewise.
9320         (lit_pi_3_m_4_d): Likewise.
9321         (lit_pi_3_m_4_ln10_m_d): Likewise.
9322         (lit_pi_2_ln10_m_d): Likewise.
9323         (lit_pi_4_ln10_m_d): Likewise.
9324         (lit_pi_ln10_d): Likewise.
9325         (lit_pi_2_d): Likewise.
9326         (lit_pi_4_d): Likewise.
9327         (lit_pi): Likewise.
9328         (lit_e): Likewise.
9329         (ulps_file_name): Likewise.
9330         (ulps_file): Likewise.
9331         (output_ulps): Likewise.
9332         (output_dir): Likewise.
9333         (noErrors): Likewise.
9334         (noTests): Likewise.
9335         (noExcTests): Likewise.
9336         (noErrnoTests): Likewise.
9337         (verbose): Likewise.
9338         (output_max_error): Likewise.
9339         (output_points): Likewise.
9340         (ignore_max_ulp): Likewise.
9341         (plus_zero): Likewise.
9342         (minus_zero): Likewise.
9343         (plus_infty): Likewise.
9344         (minus_infty): Likewise.
9345         (qnan_value_pl): Likewise.
9346         (qnan_value): Likewise.
9347         (snan_value_pl): Likewise.
9348         (snan_value): Likewise.
9349         (max_value): Likewise.
9350         (min_value): Likewise.
9351         (min_subnorm_value): Likewise.
9352         (snan_value_ld): Likewise.
9353         (max_error): Likewise.
9354         (real_max_error): Likewise.
9355         (imag_max_error): Likewise.
9356         (prev_max_error): Likewise.
9357         (prev_real_max_error): Likewise.
9358         (prev_imag_max_error): Likewise.
9359         (max_valid_error): Likewise.
9360         (TYPE_DECIMAL_DIG): Likewise.
9361         (TYPE_HEX_DIG): Likewise.
9362         (fmt_ftostr): Likewise.
9363         (compare_ulp_data): Likewise.
9364         (find_ulps): Likewise.
9365         (init_max_error): Likewise.
9366         (set_max_error): Likewise.
9367         (print_float): Likewise.
9368         (print_screen): Likewise.
9369         (print_screen_max_error): Likewise.
9370         (update_stats): Likewise.
9371         (print_function_ulps): Likewise.
9372         (print_complex_function_ulps): Likewise.
9373         (fpstack_test): Likewise.
9374         (print_max_error): Likewise.
9375         (print_complex_max_error): Likewise.
9376         (test_single_exception): Likewise.
9377         (test_exceptions): Likewise.
9378         (test_single_errno): Likewise.
9379         (test_errno): Likewise.
9380         (ULPDIFF): Likewise.
9381         (ulp): Likewise.
9382         (check_float_internal): Likewise.
9383         (check_float): Likewise.
9384         (check_complex): Likewise.
9385         (check_int): Likewise.
9386         (check_long): Likewise.
9387         (check_bool): Likewise.
9388         (check_longlong): Likewise.
9389         (check_intmax_t): Likewise.
9390         (check_uintmax_t): Likewise.
9391         (enable_test): Likewise.
9392         (struct test_f_f_data): Likewise.
9393         (struct test_ff_f_data): Likewise.
9394         (struct test_fj_f_data): Likewise.
9395         (struct test_fi_f_data): Likewise.
9396         (struct test_fl_f_data): Likewise.
9397         (struct test_if_f_data): Likewise.
9398         (struct test_fff_f_data): Likewise.
9399         (struct test_fiu_M_data): Likewise.
9400         (struct test_fiu_U_data): Likewise.
9401         (struct test_c_f_data): Likewise.
9402         (struct test_f_f1_data): Likewise.
9403         (struct test_fF_f1_data): Likewise.
9404         (struct test_ffI_f1_data): Likewise.
9405         (struct test_c_c_data): Likewise.
9406         (struct test_cc_c_data): Likewise.
9407         (struct test_f_i_data): Likewise.
9408         (struct test_ff_i_data): Likewise.
9409         (struct test_f_l_data): Likewise.
9410         (struct test_f_L_data): Likewise.
9411         (struct test_fFF_11_data): Likewise.
9412         (struct test_Ff_b1_data): Likewise.
9413         (IF_ROUND_INIT_): Likewise.
9414         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
9415         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
9416         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
9417         (IF_ROUND_INIT_FE_UPWARD): Likewise.
9418         (ROUND_RESTORE_): Likewise.
9419         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
9420         (ROUND_RESTORE_FE_TONEAREST): Likewise.
9421         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
9422         (ROUND_RESTORE_FE_UPWARD): Likewise.
9423         (RM_): Likewise.
9424         (RM_FE_DOWNWARD): Likewise.
9425         (RM_FE_TONEAREST): Likewise.
9426         (RM_FE_TOWARDZERO): Likewise.
9427         (RM_FE_UPWARD): Likewise.
9428         (COMMON_TEST_SETUP): Likewise.
9429         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
9430         (COMMON_TEST_CLEANUP): Likewise.
9431         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
9432         (RUN_TEST_f_f): Likewise.
9433         (RUN_TEST_LOOP_f_f): Likewise.
9434         (RUN_TEST_fp_f): Likewise.
9435         (RUN_TEST_LOOP_fp_f): Likewise.
9436         (RUN_TEST_2_f): Likewise.
9437         (RUN_TEST_LOOP_2_f): Likewise.
9438         (RUN_TEST_ff_f): Likewise.
9439         (RUN_TEST_LOOP_ff_f): Likewise.
9440         (RUN_TEST_LOOP_fj_f): Likewise.
9441         (RUN_TEST_fi_f): Likewise.
9442         (RUN_TEST_LOOP_fi_f): Likewise.
9443         (RUN_TEST_fl_f): Likewise.
9444         (RUN_TEST_LOOP_fl_f): Likewise.
9445         (RUN_TEST_if_f): Likewise.
9446         (RUN_TEST_LOOP_if_f): Likewise.
9447         (RUN_TEST_fff_f): Likewise.
9448         (RUN_TEST_LOOP_fff_f): Likewise.
9449         (RUN_TEST_fiu_M): Likewise.
9450         (RUN_TEST_LOOP_fiu_M): Likewise.
9451         (RUN_TEST_fiu_U): Likewise.
9452         (RUN_TEST_LOOP_fiu_U): Likewise.
9453         (RUN_TEST_c_f): Likewise.
9454         (RUN_TEST_LOOP_c_f): Likewise.
9455         (RUN_TEST_f_f1): Likewise.
9456         (RUN_TEST_LOOP_f_f1): Likewise.
9457         (RUN_TEST_fF_f1): Likewise.
9458         (RUN_TEST_LOOP_fF_f1): Likewise.
9459         (RUN_TEST_fI_f1): Likewise.
9460         (RUN_TEST_LOOP_fI_f1): Likewise.
9461         (RUN_TEST_ffI_f1_mod8): Likewise.
9462         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
9463         (RUN_TEST_Ff_b1): Likewise.
9464         (RUN_TEST_LOOP_Ff_b1): Likewise.
9465         (RUN_TEST_Ffp_b1): Likewise.
9466         (RUN_TEST_LOOP_Ffp_b1): Likewise.
9467         (RUN_TEST_c_c): Likewise.
9468         (RUN_TEST_LOOP_c_c): Likewise.
9469         (RUN_TEST_cc_c): Likewise.
9470         (RUN_TEST_LOOP_cc_c): Likewise.
9471         (RUN_TEST_f_i): Likewise.
9472         (RUN_TEST_LOOP_f_i): Likewise.
9473         (RUN_TEST_f_i_tg): Likewise.
9474         (RUN_TEST_LOOP_f_i_tg): Likewise.
9475         (RUN_TEST_ff_b): Likewise.
9476         (RUN_TEST_LOOP_ff_b): Likewise.
9477         (RUN_TEST_ff_i_tg): Likewise.
9478         (RUN_TEST_LOOP_ff_i_tg): Likewise.
9479         (RUN_TEST_f_b): Likewise.
9480         (RUN_TEST_LOOP_f_b): Likewise.
9481         (RUN_TEST_f_b_tg): Likewise.
9482         (RUN_TEST_LOOP_f_b_tg): Likewise.
9483         (RUN_TEST_f_l): Likewise.
9484         (RUN_TEST_LOOP_f_l): Likewise.
9485         (RUN_TEST_f_L): Likewise.
9486         (RUN_TEST_LOOP_f_L): Likewise.
9487         (RUN_TEST_fFF_11): Likewise.
9488         (RUN_TEST_LOOP_fFF_11): Likewise.
9489         (VEC_SUFF): Likewise.
9490         (STR_CONCAT): Likewise.
9491         (STR_CON3): Likewise.
9492         (HAVE_VECTOR): Likewise.
9493         (START): Likewise.
9494         (END): Likewise.
9495         (END_COMPLEX): Likewise.
9496         (ALL_RM_TEST): Likewise.
9497         (matherr): Likewise.
9498         (initialize): Likewise.
9499         (options): Likewise.
9500         (doc): Likewise.
9501         (parse_opt): Likewise.
9502         (argp): Likewise.
9503         (check_ulp): Likewise.
9504         (main): Likewise.
9505         (do_test): New function.  Call tests of individual functions
9506         previously called from main.
9508         * math/libm-test.inc: Remove comment listing functions tested and
9509         not tested.
9511 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9513         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
9514         (allocate_stack): Remove COLORING_INCREMENT usage.
9515         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
9516         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
9518 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
9520         * manual/libm-err-tab.pl (@all_functions): Change to
9521         %all_functions.  Initialize as empty.
9522         (parse_ulps): Add to %all_functions based on functions found in
9523         ulps files.  Ignore results for non-default rounding modes and
9524         vector functions.
9525         (print_platforms): Use %all_platforms.
9526         * manual/math.texi (Errors in Math Functions): Document omissions
9527         from the table.
9529         * math/Makefile (before-compile): Remove.
9531 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
9533         [BZ #21075]
9534         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
9535         unused assignment.
9536         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9538 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
9540         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
9541         Add __glibc_unlikely hint.
9543 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9545         [BZ #16640]
9546         * sysdeps/i386/i686/strtok.S: Remove file.
9547         * sysdeps/i386/i686/strtok_r.S: Likewise.
9548         * sysdeps/i386/strtok.S: Likewise.
9549         * sysdeps/i386/strtok_r.S: Likewise.
9550         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
9551         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
9552         * sysdeps/x86_64/strtok.S: Likewise.
9553         * sysdeps/x86_64/strtok_r.S: Likewise.
9555         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
9556         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
9557         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9558         (__ASSUME_FADVISE64_AS_64_64): Define.
9559         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
9560         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
9561         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
9562         __ALIGNMENT_ARG usage.
9563         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
9564         __NR_fadvise64_64 if it is not defined.
9566 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9568         * version.h (RELEASE): Set to "development"
9569         (VERSION): Set to 2.25.90.
9570         * NEWS: Add 2.26 section.
9572         * version.h (RELEASE): Set to "stable"
9573         (VERSION): Set to 2.25.
9574         * include/features.h (__GLIBC_MINOR__): Set to 25.
9576         * manual/contrib.texi: Add more contributors from this release
9577         and past releases.
9579         * NEWS (2.25): Add list of bugs fixed.
9581         * NEWS: Add missing news items.
9583 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9585         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
9586         parent if child exited in that manner.  Print WEXITSTATUS
9587         instead of the raw status.
9588         (do_test_prep): Rename to do_test.
9589         (do_test): Return the result of run_executable_sgid.
9590         (TEST_FUNCTION_ARGV): Adjust.
9592 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
9593             Florian Weimer  <fweimer@redhat.com>
9594             Carlos O'Donell  <carlos@redhat.com>
9596         [BZ #20915]
9597         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
9598         Do not initialize DTV.
9599         * nptl/allocatestack.c (init_one_static_tls): Likewise.
9601 2017-02-03  David S. Miller  <davem@davemloft.net>
9603         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
9604         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
9605         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
9606         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
9607         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
9608         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
9609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
9610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
9611         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
9612         (libm-sysdep_routines): Update.
9613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
9614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
9615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
9616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
9617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
9618         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
9619         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
9620         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
9621         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
9622         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
9623         Likewise.
9624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
9625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
9626         Likewise.
9627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
9628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
9629         Likewise.
9630         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
9631         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
9632         Likewise.
9633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
9634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
9635         (libm-sysdep_routines): Update.
9637 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
9639         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
9640         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
9641         against unrelocated shared library.
9642         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
9644 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9646         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
9647         * elf/tst-env-setuid-tunables.c
9648         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
9649         GLIBC_TUNABLES is removed in a setgid process.
9651         [BZ #21073]
9652         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
9653         * elf/dl-tunables.c (tunables_strdup): Remove.
9654         (get_next_env): Also return the previous envp.
9655         (parse_tunables): Erase tunables of category
9656         TUNABLES_SECLEVEL_SXID_ERASE.
9657         (maybe_enable_malloc_check): Make MALLOC_CHECK_
9658         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
9659         (__tunables_init)[TUNABLES_FRONTEND ==
9660         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
9661         after parsing.
9662         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
9663         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
9664         * elf/dl-tunables.h (struct _tunable): Change member is_secure
9665         to security_level.
9666         * elf/dl-tunables.list: Add security_level annotations for all
9667         tunables.
9668         * scripts/gen-tunables.awk: Recognize and generate enum values
9669         for security_level.
9670         * elf/tst-env-setuid.c: New test case.
9671         * elf/tst-env-setuid-tunables: new test case.
9672         * elf/Makefile (tests-static): Add them.
9674 2017-02-01  Richard Henderson  <rth@twiddle.net>
9676         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
9677         adjusting the byte count.
9679 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
9681         * conform/Makefile (linknamespace-libs): Define.
9683         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
9684         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
9685         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
9686         operands.
9688 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
9690         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
9692 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
9694         [BZ #21081]
9695         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
9696         (L(stosb)): Add VZEROUPPER before ret.
9698 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
9699             Alexey Makhalov <amakhalov@vmware.com>
9700             Florian Weimer <fweimer@redhat.com>
9702         [BZ #20116]
9703         * nptl/pthread_create.c: Document concurrency notes.
9704         Enhance thread creation notes.
9705         (create_thread): Use bool *stopped_start.
9706         (START_THREAD_DEFN): Comment ownership of PD.
9707         (__pthread_create_2_1): Add local bool stopped_start and use
9708         that instead of pd->stopped_start where appropriate.
9709         * nptl/createthread.c (create_thread): Use bool *stopped_start.
9710         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
9711         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
9712         * nptl/tst-create-detached.c: New file.
9713         * nptl/Makefile (tests): Add tst-create-detached.
9714         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
9715         Reference the enhanced thread creation notes.
9716         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
9717         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
9718         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
9719         (__pthread_current_priority): Likewise.
9720         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
9721         xpthread_attr_init, xpthread_attr_setdetachstate, and
9722         xpthread_attr_setstacksize.
9723         * support/xpthread_attr_destroy.c: New file.
9724         * support/xpthread_attr_init.c: New file.
9725         * support/xpthread_attr_setdetachstate.c: New file.
9726         * support/xpthread_attr_setstacksize.c: New file.
9727         * support/xthread.h: Define prototypes for xpthread_attr_destroy
9728         xpthread_attr_init, xpthread_attr_setdetachstate, and
9729         xpthread_attr_setstacksize.
9731 2017-01-27  Florian Weimer  <fweimer@redhat.com>
9733         * nptl/Makefile (tests): Add tst-robust-fork.
9734         * nptl/tst-robust-fork.c: New file.
9735         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
9736         xpthread_mutex_consistent, xpthread_mutex_destroy,
9737         xpthread_mutex_init, xpthread_mutexattr_destroy,
9738         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
9739         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
9740         xpthread_mutexattr_settype.
9741         * support/xmmap.c: New file.
9742         * support/xmunmap.c: Likewise.
9743         * support/xpthread_mutex_consistent.c: Likewise.
9744         * support/xpthread_mutex_destroy.c: Likewise.
9745         * support/xpthread_mutex_init.c: Likewise.
9746         * support/xpthread_mutexattr_destroy.c: Likewise.
9747         * support/xpthread_mutexattr_init.c: Likewise.
9748         * support/xpthread_mutexattr_setprotocol.c: Likewise.
9749         * support/xpthread_mutexattr_setpshared.c: Likewise.
9750         * support/xpthread_mutexattr_setrobust.c: Likewise.
9751         * support/xpthread_mutexattr_settype.c: Likewise.
9752         * support/xthread.h (xpthread_mutexattr_destroy)
9753         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
9754         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
9755         (xpthread_mutexattr_settype, xpthread_mutex_init)
9756         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
9757         * support/xunistd.h (xmmap, xmunmap): Likewise.
9759 2017-01-25  Florian Weimer  <fweimer@redhat.com>
9761         * string/Makefile (xtests): Add comment.
9762         (LOCALES): Add en_GB.UTF-8.
9763         (tst-strcoll-overflow.out): Depend on generated locales.
9764         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
9765         (SIZE, TIMEOUT): Update comments.
9766         (do_test): Define as static.  Fail test if setlocale fails.
9767         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
9768         messages.
9769         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
9770         TIMEOUT at 300 seconds should be enough to run this test
9771         successfully.
9773 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
9775         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
9776         /* FALLTHRU */ comments.
9778 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
9780         [BZ #21053]
9781         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
9782         constants instead of the old R* ones.
9783         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
9784         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
9785         (NGREG): ... to this, to fit in with other architectures.
9786         (gpregset_t): Use new NGREG macro.
9787         [__USE_GNU]: Remove condition; all architectures other than tile
9788         are unconditional.
9789         (R*): Rename to REG_R*.
9791 2017-01-20  DJ Delorie  <dj@redhat.com>
9793         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
9794         (tunable_set_val_if_valid_range_signed) ... this, and ...
9795         (tunable_set_val_if_valid_range_unsigned) ... this.
9796         (tunable_initialize): Call the correct one of the above based on type.
9798 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
9800         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
9801         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
9802         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
9803         * sysdeps/microblaze/libm-test-ulps: Likewise.
9804         * sysdeps/sh/libm-test-ulps: Likewise.
9806         * math/README.libm-test: Update list of characters for input and
9807         output types.
9809 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9811         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
9812         (__lll_unlock_elision): Fix adapt_count decrement.
9814 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
9816         * README.pretty-printers (Known issues): Warn about printers not
9817         always covering everything.
9818         * nptl/nptl-printers.py (MutexPrinter): Change output.
9819         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
9821 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9823         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
9824         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9825         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
9826         (__lll_lock_elision): Do not test futex before starting a
9827         transaction.  Use __glibc_likely instead of __builtin_expect.
9828         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
9829         (__lll_trylock_elision): Do not test futex before starting a
9830         transaction.  Use __glibc_likely instead of __builtin_expect.
9832 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9834         * po/Makefile (update-translations): New target.
9836 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9838         [BZ #21061]
9839         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
9841 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9843         * elf/dl-tunables (get_next_env): Always advance envp.
9844         * stdlib/tst-empty-env.c: New test case.
9845         * stdlib/Makefile (tests): Use it.
9847 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
9849         [BZ #21047]
9850         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
9851         name for instruction.
9852         [!__SOFTFP__] (_FPU_SETCW): Likewise.
9854 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9856         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
9857         for make install.
9859 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9861         * po/bg.po: Merge from Translation Project.
9862         * po/fr.po: Likewise.
9863         * po/ko.po: Likewise.
9864         * po/nl.po: Likewise.
9865         * po/sv.po: Likewise.
9867 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
9869         * manual/install.texi (Tools for Compilation): Update GCC version
9870         known to work to build glibc.
9871         * INSTALL: Regenerated.
9873 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
9875         [BZ #21006]
9876         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
9878 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
9880         [BZ #21045]
9881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
9882         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
9883         to __sigprocmask.
9885 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
9887         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
9888         wrap-around.
9889         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
9891         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
9893 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9895         * NEWS: Fix typo.
9897 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9899         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
9900         barriers and comments.
9901         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
9902         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9903         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9905 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9907         [BZ #19402]
9908         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
9909         mutexes.
9911 2016-01-13  Torvald Riegel  <triegel@redhat.com>
9913         [BZ #20985]
9914         * nptl/Makefile: Adapt.
9915         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9916         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9917         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
9918         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
9919         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
9920         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
9921         lll_robust* functions and adapt.
9922         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9923         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
9924         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9925         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9926         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
9927         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9928         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
9929         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
9930         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
9931         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
9932         __lll_robust_timedlock, __lll_robust_unlock): Remove.
9933         * nptl/lowlevelrobustlock.c: Remove file.
9934         * nptl/lowlevelrobustlock.sym: Likewise.
9935         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
9936         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
9938 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9940         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9942 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9944         * po/cs.po: Merge translations from the Translation Project.
9945         * po/de.po: Likewise.
9946         * po/pl.po: Likewise.
9947         * po/ru.po: Likewise.
9948         * po/tr.po: Likewise.
9949         * po/uk.po: Likewise.
9950         * po/vi.po: Likewise.
9951         * po/zh_CN.po: Likewise.
9953 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
9955         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
9957         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
9958         object.
9960 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
9962         [BZ #16458]
9963         * bits/uintn-identity.h: New file.
9964         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
9965         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
9966         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
9967         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
9968         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
9969         * string/endian.h: Include <bits/uintn-identity.h>.
9970         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
9971         __uint16_identity.
9972         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
9973         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
9974         __uint32_identity.
9975         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
9976         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
9977         __uint64_identity.
9978         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
9979         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
9980         __uint16_identity.
9981         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
9982         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
9983         __uint32_identity.
9984         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
9985         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
9986         __uint64_identity.
9987         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
9988         * string/Makefile (headers): Add bits/uintn-identity.h.
9989         (tests): Add test-endian-types.
9990         * string/test-endian-types.c: New file.
9991         * inet/Makefile (tests): Add test-hnto-types.
9992         * inet/test-hnto-types.c: New file.
9994 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9996         * po/be.po: Update from Translation Project.
9997         * po/bg.po: Likewise.
9998         * po/ca.po: Likewise.
9999         * po/cs.po: Likewise.
10000         * po/da.po: Likewise.
10001         * po/de.po: Likewise.
10002         * po/el.po: Likewise.
10003         * po/eo.po: Likewise.
10004         * po/es.po: Likewise.
10005         * po/fi.po: Likewise.
10006         * po/fr.po: Likewise.
10007         * po/gl.po: Likewise.
10008         * po/hr.po: Likewise.
10009         * po/hu.po: Likewise.
10010         * po/ia.po: Likewise.
10011         * po/id.po: Likewise.
10012         * po/it.po: Likewise.
10013         * po/ja.po: Likewise.
10014         * po/ko.po: Likewise.
10015         * po/lt.po: Likewise.
10016         * po/nb.po: Likewise.
10017         * po/nl.po: Likewise.
10018         * po/pl.po: Likewise.
10019         * po/pt_BR.po: Likewise.
10020         * po/ru.po: Likewise.
10021         * po/rw.po: Likewise.
10022         * po/sk.po: Likewise.
10023         * po/sl.po: Likewise.
10024         * po/sv.po: Likewise.
10025         * po/tr.po: Likewise.
10026         * po/uk.po: Likewise.
10027         * po/vi.po: Likewise.
10028         * po/zh_CN.po: Likewise.
10029         * po/zh_TW.po: Likewise.
10031 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
10033         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
10034         -Wformat-truncation instead of -Wformat-length.
10035         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
10036         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
10037         GCC 7.
10038         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
10039         (do_test): Ignore -Wformat-truncation for GCC 7.
10041         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
10042         buffer used to print long int value.
10044         * elf/sotruss-lib.c (init): Increase space allocated for pid by
10045         one byte.  Print it with %ld, cast to long int.
10047 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
10049         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
10050         (re.fullmatch, subprocess.run): Likewise.
10052 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10054         * po/libc.pot: Regenerate.
10056 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10058         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
10059         (min_strlen): Likewise.
10060         (disable_tunable): Likewise.
10061         (maybe_disable_malloc_check): Rename to
10062         maybe_enable_malloc_check.
10063         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
10064         if /etc/suid-debug file exists.
10065         (__tunables_init): Update caller.
10066         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
10067         secure.
10069 2016-01-10  Torvald Riegel  <triegel@redhat.com>
10071         * nptl/DESIGN-rwlock.txt: Remove.
10072         * nptl/lowlevelrwlock.sym: Remove.
10073         * nptl/Makefile: Add new tests.
10074         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
10075         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
10076         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
10077         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
10078         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
10079         PTHREAD_RWLOCK_FUTEX_USED): New.
10080         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
10081         implementation.
10082         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
10083         (__pthread_rwlock_rdlock): Adapt.
10084         * nptl/pthread_rwlock_timedrdlock.c
10085         (pthread_rwlock_timedrdlock): Adapt.
10086         * nptl/pthread_rwlock_timedwrlock.c
10087         (pthread_rwlock_timedwrlock): Adapt.
10088         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
10089         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
10090         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
10091         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
10092         (__pthread_rwlock_wrlock): Adapt.
10093         * nptl/tst-rwlock10.c: Adapt.
10094         * nptl/tst-rwlock11.c: Adapt.
10095         * nptl/tst-rwlock17.c: New file.
10096         * nptl/tst-rwlock18.c: New file.
10097         * nptl/tst-rwlock19.c: New file.
10098         * nptl/tst-rwlock2b.c: New file.
10099         * nptl/tst-rwlock8.c: Adapt.
10100         * nptl/tst-rwlock9.c: Adapt.
10101         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10102         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10103         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10104         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10105         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10106         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10107         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10108         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10109         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10110         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10111         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10112         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10113         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
10114         (pthread_rwlock_t): Adapt.
10115         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
10116         (pthread_rwlock_t): Adapt.
10117         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
10118         * nptl/nptl-printers.py (): Adapt.
10119         * nptl/nptl_lock_constants.pysym: Adapt.
10120         * nptl/test-rwlock-printers.py: Adapt.
10121         * nptl/test-rwlockattr-printers.c: Adapt.
10122         * nptl/test-rwlockattr-printers.py: Adapt.
10124 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
10126         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
10127         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
10128         (fma_test_data): Likewise.
10129         (hypot_test_data): Likewise.
10130         (log1p_test_data): Likewise.
10131         (modf_test_data): Likewise.
10132         (pow_test_data): Likewise.
10133         (remainder_test_data): Likewise.
10134         (remquo_test_data): Likewise.
10135         (scalb_test_data): Likewise.
10136         (scalbn_test_data): Likewise.
10137         (scalbln_test_data): Likewise.
10138         * math/gen-libm-test.pl (parse_args): Transform
10139         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
10140         on the rounding mode.
10142 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
10144         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
10145         xfail-rounding:ibm128-libgcc automatically to tests overflowing
10146         and those that can underflow to zero.
10147         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
10148         add others.
10149         * math/auto-libm-test-out: Regenerated.
10151         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
10152         supported.
10153         (feholdexcept_tests): Skip tests requiring exceptions or rounding
10154         modes support if not supported.
10156         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
10157         Add libc.so PLT entry.
10158         (__tls_get_addr): Make ld.so PLT entry optional.
10160 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10162         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
10163         * string/bits/string3.h: ... here.
10165 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10167         [BZ #21028]
10168         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
10169         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
10170         if EXCEPTION_TESTS returns false.
10172 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10174         [BZ #20558]
10175         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
10176         strings_fortified.h.
10177         [__USE_MISC] (bzero): Likewise.
10178         [__USE_MISC] (explicit_bzero): Likewise.
10179         * string/strings.h: Include strings_fortified.h.
10180         * string/Makefile (headers): Add strings_fortified.h.
10181         * string/bits/strings_fortified.h: New file.
10182         * include/bits/strings_fortified.h: Likewise.
10184 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
10186         * elf/tst-tls13.c (TIMEOUT): Remove.
10187         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
10188         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
10189         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
10190         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
10191         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
10193         [BZ #21026]
10194         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
10195         (readahead): New syscall entry.
10197 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10199         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
10200         around tests of strncat with large sizes.
10202         * malloc/tst-malloc.c: Include <libc-internal.h>.
10203         (do_test): Disable -Walloc-size-larger-than= around tests of
10204         malloc with negative sizes.
10205         * malloc/tst-mcheck.c: Include <libc-internal.h>.
10206         (do_test): Disable -Walloc-size-larger-than= around tests of
10207         malloc and realloc with negative sizes.
10208         * malloc/tst-realloc.c: Include <libc-internal.h>.
10209         (do_test): Disable -Walloc-size-larger-than= around tests of
10210         realloc with negative sizes.
10212         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
10213         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
10214         allowed to 16 ulps.
10215         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
10216         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
10217         * math/auto-libm-test-out: Regenerated.
10219 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10221         * math/Makefile (libm-calls): Move wrappers...
10222         (libm-compat-call-auto): Here.
10223         (libm-routines): Add items in libm-compat-calls-auto.
10224         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
10225         the filenames of the wrappers that have been renamed.
10226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
10227         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
10229         * math/w_acos.c: Add _compat suffix to filename.
10230         * math/w_acosf.c: Likewise.
10231         * math/w_acosh.c: Likewise.
10232         * math/w_acoshf.c: Likewise.
10233         * math/w_acoshl.c: Likewise.
10234         * math/w_acosl.c: Likewise.
10235         * math/w_asin.c: Likewise.
10236         * math/w_asinf.c: Likewise.
10237         * math/w_asinl.c: Likewise.
10238         * math/w_atan2.c: Likewise.
10239         * math/w_atan2f.c: Likewise.
10240         * math/w_atan2l.c: Likewise.
10241         * math/w_atanh.c: Likewise.
10242         * math/w_atanhf.c: Likewise.
10243         * math/w_atanhl.c: Likewise.
10244         * math/w_cosh.c: Likewise.
10245         * math/w_coshf.c: Likewise.
10246         * math/w_coshl.c: Likewise.
10247         * math/w_exp10.c: Likewise.
10248         * math/w_exp10f.c: Likewise.
10249         * math/w_exp10l.c: Likewise.
10250         * math/w_exp2.c: Likewise.
10251         * math/w_exp2f.c: Likewise.
10252         * math/w_exp2l.c: Likewise.
10253         * math/w_fmod.c: Likewise.
10254         * math/w_fmodf.c: Likewise.
10255         * math/w_fmodl.c: Likewise.
10256         * math/w_hypot.c: Likewise.
10257         * math/w_hypotf.c: Likewise.
10258         * math/w_hypotl.c: Likewise.
10259         * math/w_j0.c: Likewise.
10260         * math/w_j0f.c: Likewise.
10261         * math/w_j0l.c: Likewise.
10262         * math/w_j1.c: Likewise.
10263         * math/w_j1f.c: Likewise.
10264         * math/w_j1l.c: Likewise.
10265         * math/w_jn.c: Likewise.
10266         * math/w_jnf.c: Likewise.
10267         * math/w_jnl.c: Likewise.
10268         * math/w_log10.c: Likewise.
10269         * math/w_log10f.c: Likewise.
10270         * math/w_log10l.c: Likewise.
10271         * math/w_log2.c: Likewise.
10272         * math/w_log2f.c: Likewise.
10273         * math/w_log2l.c: Likewise.
10274         * math/w_log.c: Likewise.
10275         * math/w_logf.c: Likewise.
10276         * math/w_logl.c: Likewise.
10277         * math/w_pow.c: Likewise.
10278         * math/w_powf.c: Likewise.
10279         * math/w_powl.c: Likewise.
10280         * math/w_remainder.c: Likewise.
10281         * math/w_remainderf.c: Likewise.
10282         * math/w_remainderl.c: Likewise.
10283         * math/w_scalb.c: Likewise.
10284         * math/w_scalbf.c: Likewise.
10285         * math/w_scalbl.c: Likewise.
10286         * math/w_sinh.c: Likewise.
10287         * math/w_sinhf.c: Likewise.
10288         * math/w_sinhl.c: Likewise.
10289         * math/w_sqrt.c: Likewise.
10290         * math/w_sqrtf.c: Likewise.
10291         * math/w_sqrtl.c: Likewise.
10292         * math/w_tgamma.c: Likewise.
10293         * math/w_tgammaf.c: Likewise.
10294         * math/w_tgammal.c: Likewise.
10296         * math/w_acos_compat.c: New file copied from above and
10297         adjusted for new #includes path
10298         * math/w_acosf_compat.c: Likewise.
10299         * math/w_acosh_compat.c: Likewise.
10300         * math/w_acoshf_compat.c: Likewise.
10301         * math/w_acoshl_compat.c: Likewise.
10302         * math/w_acosl_compat.c: Likewise.
10303         * math/w_asin_compat.c: Likewise.
10304         * math/w_asinf_compat.c: Likewise.
10305         * math/w_asinl_compat.c: Likewise.
10306         * math/w_atan2_compat.c: Likewise.
10307         * math/w_atan2f_compat.c: Likewise.
10308         * math/w_atan2l_compat.c: Likewise.
10309         * math/w_atanh_compat.c: Likewise.
10310         * math/w_atanhf_compat.c: Likewise.
10311         * math/w_atanhl_compat.c: Likewise.
10312         * math/w_cosh_compat.c: Likewise.
10313         * math/w_coshf_compat.c: Likewise.
10314         * math/w_coshl_compat.c: Likewise.
10315         * math/w_exp10_compat.c: Likewise.
10316         * math/w_exp10f_compat.c: Likewise.
10317         * math/w_exp10l_compat.c: Likewise.
10318         * math/w_exp2_compat.c: Likewise.
10319         * math/w_exp2f_compat.c: Likewise.
10320         * math/w_exp2l_compat.c: Likewise.
10321         * math/w_fmod_compat.c: Likewise.
10322         * math/w_fmodf_compat.c: Likewise.
10323         * math/w_fmodl_compat.c: Likewise.
10324         * math/w_hypot_compat.c: Likewise.
10325         * math/w_hypotf_compat.c: Likewise.
10326         * math/w_hypotl_compat.c: Likewise.
10327         * math/w_j0_compat.c: Likewise.
10328         * math/w_j0f_compat.c: Likewise.
10329         * math/w_j0l_compat.c: Likewise.
10330         * math/w_j1_compat.c: Likewise.
10331         * math/w_j1f_compat.c: Likewise.
10332         * math/w_j1l_compat.c: Likewise.
10333         * math/w_jn_compat.c: Likewise.
10334         * math/w_jnf_compat.c: Likewise.
10335         * math/w_jnl_compat.c: Likewise.
10336         * math/w_log10_compat.c: Likewise.
10337         * math/w_log10f_compat.c: Likewise.
10338         * math/w_log10l_compat.c: Likewise.
10339         * math/w_log2_compat.c: Likewise.
10340         * math/w_log2f_compat.c: Likewise.
10341         * math/w_log2l_compat.c: Likewise.
10342         * math/w_log_compat.c: Likewise.
10343         * math/w_logf_compat.c: Likewise.
10344         * math/w_logl_compat.c: Likewise.
10345         * math/w_pow_compat.c: Likewise.
10346         * math/w_powf_compat.c: Likewise.
10347         * math/w_powl_compat.c: Likewise.
10348         * math/w_remainder_compat.c: Likewise.
10349         * math/w_remainderf_compat.c: Likewise.
10350         * math/w_remainderl_compat.c: Likewise.
10351         * math/w_scalb_compat.c: Likewise.
10352         * math/w_scalbf_compat.c: Likewise.
10353         * math/w_scalbl_compat.c: Likewise.
10354         * math/w_sinh_compat.c: Likewise.
10355         * math/w_sinhf_compat.c: Likewise.
10356         * math/w_sinhl_compat.c: Likewise.
10357         * math/w_sqrt_compat.c: Likewise.
10358         * math/w_sqrtf_compat.c: Likewise.
10359         * math/w_sqrtl_compat.c: Likewise.
10360         * math/w_tgamma_compat.c: Likewise.
10361         * math/w_tgammaf_compat.c: Likewise.
10362         * math/w_tgammal_compat.c: Likewise.
10364         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
10365         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
10366         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
10367         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
10368         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
10369         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
10370         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
10371         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
10372         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
10373         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
10374         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
10375         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
10376         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
10377         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
10378         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
10379         * sysdeps/ia64/fpu/w_powl.c: Likewise.
10380         * sysdeps/ia64/fpu/w_powf.c: Likewise.
10381         * sysdeps/ia64/fpu/w_pow.c: Likewise.
10382         * sysdeps/ia64/fpu/w_logl.c: Likewise.
10383         * sysdeps/ia64/fpu/w_logf.c: Likewise.
10384         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
10385         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
10386         * sysdeps/ia64/fpu/w_log2.c: Likewise.
10387         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
10388         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
10389         * sysdeps/ia64/fpu/w_log10.c: Likewise.
10390         * sysdeps/ia64/fpu/w_log.c: Likewise.
10391         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
10392         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
10393         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
10394         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
10395         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
10396         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
10397         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
10398         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
10399         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
10400         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
10401         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
10402         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
10403         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
10404         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
10405         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
10406         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
10407         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
10408         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
10409         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
10410         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
10411         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
10412         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
10413         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
10414         * sysdeps/ia64/fpu/w_asin.c: Likewise.
10415         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
10416         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
10417         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
10418         * sysdeps/ia64/fpu/w_acos.c: Likewise.
10419         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
10420         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
10421         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
10422         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
10423         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
10424         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
10425         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
10426         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
10427         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
10428         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
10429         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
10430         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
10431         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
10432         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
10433         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
10434         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
10435         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
10436         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
10437         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
10438         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
10439         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
10440         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
10441         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
10442         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
10443         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
10444         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
10445         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
10446         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
10447         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
10448         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
10449         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
10450         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
10451         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
10452         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
10453         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
10454         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
10455         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
10456         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
10457         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
10458         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
10459         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
10460         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
10461         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
10462         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
10463         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
10464         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
10465         Likewise.
10466         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
10467         Likewise.
10468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
10469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
10470         Likewise.
10471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
10472         Likewise.
10473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
10474         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
10475         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
10476         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
10477         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
10478         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
10479         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
10480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
10481         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
10482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
10483         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
10484         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
10485         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
10486         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
10487         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
10489         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
10490         and adjusted for new #includes path
10491         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
10492         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
10493         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
10494         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
10495         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
10496         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
10497         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
10498         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
10499         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
10500         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
10501         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
10502         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
10503         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
10504         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
10505         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
10506         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
10507         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
10508         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
10509         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
10510         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
10511         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
10512         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
10513         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
10514         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
10515         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
10516         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
10517         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
10518         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
10519         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
10520         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
10521         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
10522         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
10523         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
10524         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
10525         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
10526         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
10527         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
10528         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
10529         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
10530         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
10531         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
10532         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
10533         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
10534         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
10535         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
10536         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
10537         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
10538         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
10539         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
10540         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
10541         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
10542         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
10543         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
10544         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
10545         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
10546         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
10547         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
10548         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
10549         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
10550         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
10551         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
10552         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
10553         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
10554         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
10555         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
10556         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
10557         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
10558         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
10559         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
10560         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
10561         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
10562         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
10563         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
10564         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
10565         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
10566         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
10567         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
10568         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
10569         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
10570         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
10571         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
10572         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
10573         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
10574         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
10575         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
10576         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
10577         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
10578         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
10579         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
10580         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
10581         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
10582         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
10583         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
10584         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
10585         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
10586         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
10587         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
10588         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
10589         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
10590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
10591         Likewise.
10592         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
10593         Likewise.
10594         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
10595         Likewise.
10596         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
10597         Likewise.
10598         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
10599         Likewise.
10600         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
10601         Likewise.
10602         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
10603         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
10604         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
10605         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
10606         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
10607         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
10608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
10609         Likewise.
10610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
10611         Likewise.
10612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
10613         Likewise.
10614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
10615         Likewise.
10616         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
10617         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
10618         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
10619         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
10621 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
10623         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
10624         __jmp_buf_internal_tag.
10626         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
10627         preserve NaN payload if [__mips_nan2008].
10628         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
10630         [BZ #21022]
10631         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
10633 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10635         * sysdeps/i386/fpu/libm-test-ulps: Update.
10637 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10639         * sysdeps/ia64/strcat.c: Remove file.
10640         * sysdeps/powerpc/strcat.c: Likewise.
10641         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
10642         C implementation.
10643         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
10644         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
10646 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10647             Steven Munroe  <sjmunroe@us.ibm.com>
10648             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10650         [BZ #20822]
10651         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10652         (__lll_lock_elision): Access adapt_count via C11 atomics.
10653         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
10654         (__lll_trylock_elision): Likewise.
10655         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
10656         (__lll_unlock_elision):  Update adapt_count variable inside the
10657         critical section using C11 atomics.
10659 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10661         * math/test-fenvinline.c (do_test): Disable tests of raised
10662         exceptions if !EXCEPTION_TESTS (FLOAT).
10664 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10666         [BZ #19390]
10667         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
10668         maximum string size.
10669         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
10670         in pointer addition.
10671         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
10672         Likewise.
10674 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
10676         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
10677         passed to tst-ldconfig-X.sh.
10679 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
10681         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
10683 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10685         [BZ #21019]
10686         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
10687         New syscall entry.
10688         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
10689         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
10690         lseek.
10692         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
10693         power4 glibc for powerpc-linux-gnu.
10695 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10697         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
10698         semctl.
10700 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10702         * math/test-nearbyint-except.c: Include <stdbool.h>.
10703         (any_supported): New variable.
10704         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
10705         set any_supported.
10706         (do_test): Return 77 if no floating-point type supported
10707         exceptions.
10709         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
10710         condition on [__mips_hard_float].
10712 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10714         [BZ #21014]
10715         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
10716         in pointer addition.
10717         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
10719 2017-01-02  Torvald Riegel  <triegel@redhat.com>
10721         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
10722         new condvar.
10724 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
10726         * scripts/build-many-glibcs.py (Context.checkout): Default
10727         binutils version to 2.28 branch.
10729 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10731         * support/support_format_netent.c (support_format_netent): Work
10732         around alpha struct netent definition difference.
10734 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10736         * support/xwrite.c (xwrite): Use %td for pointer difference.
10738 2017-01-01  Florian Weimer  <fweimer@redhat.com>
10740         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
10741         have-tunables only.
10742         (tests-static): Add tst-malloc-usable-static-tunables for
10743         have-tunables only.
10745 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
10747         * scripts/config.guess: Update to version 2017-01-01.
10748         * scripts/config.sub: Update to version 2017-01-01.
10750         * NEWS: Update copyright dates.
10751         * catgets/gencat.c (print_version): Likewise.
10752         * csu/version.c (banner): Likewise.
10753         * debug/catchsegv.sh: Likewise.
10754         * debug/pcprofiledump.c (print_version): Likewise.
10755         * debug/xtrace.sh (do_version): Likewise.
10756         * elf/ldconfig.c (print_version): Likewise.
10757         * elf/ldd.bash.in: Likewise.
10758         * elf/pldd.c (print_version): Likewise.
10759         * elf/sotruss.sh: Likewise.
10760         * elf/sprof.c (print_version): Likewise.
10761         * iconv/iconv_prog.c (print_version): Likewise.
10762         * iconv/iconvconfig.c (print_version): Likewise.
10763         * locale/programs/locale.c (print_version): Likewise.
10764         * locale/programs/localedef.c (print_version): Likewise.
10765         * login/programs/pt_chown.c (print_version): Likewise.
10766         * malloc/memusage.sh (do_version): Likewise.
10767         * malloc/memusagestat.c (print_version): Likewise.
10768         * malloc/mtrace.pl: Likewise.
10769         * manual/libc.texinfo: Likewise.
10770         * nptl/version.c (banner): Likewise.
10771         * nscd/nscd.c (print_version): Likewise.
10772         * nss/getent.c (print_version): Likewise.
10773         * nss/makedb.c (print_version): Likewise.
10774         * posix/getconf.c (main): Likewise.
10775         * scripts/test-installation.pl: Likewise.
10776         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10778         * All files with FSF copyright notices: Update copyright dates
10779         using scripts/update-copyrights.
10780         * intl/plural.c: Regenerated.
10781         * locale/programs/charmap-kw.h: Likewise.
10782         * locale/programs/locfile-kw.h: Likewise.
10784 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10786         [BZ #20593]
10787         Update DNS RR type definitions.
10788         * scripts/gen-rrtypes.py: New file.
10789         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
10790         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
10791         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
10792         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
10793         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
10794         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
10795         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
10796         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
10797         ns_t_ta, ns_t_dlv.
10798         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
10799         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
10800         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
10801         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
10802         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
10803         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
10804         Define.
10805         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
10806         entry for ns_t_zxfr.
10808 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10810         [BZ #18784]
10811         CVE-2015-5180
10812         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
10813         T_UNSPEC.  Adjust value.
10814         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
10815         * resolv/res_query.c (__libc_res_nquery): Likewise.
10816         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
10817         QTYPEs.
10818         * resolv/tst-resolv-qtypes.c: New file.
10819         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
10820         (tst-resolv-qtypes): Link against libresolv and libpthread.
10822 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10824         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
10826 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
10828         * manual/tunables.texi: New chapter.
10829         * manual/Makefile (chapters): Add it.
10830         * manual/probes.texi (@node): Point to the Tunables chapter.
10832         * Makeconfig (have-tunables): Check for non-negative instead
10833         of positive.
10834         * configure.ac: Add 'valstring' as a valid value for
10835         --enable-tunables.
10836         * configure: Regenerate.
10837         * elf/Makefile (have-tunables): Check for non-negative instead
10838         of positive.
10839         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
10840         dl-tunables.c.
10841         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
10842         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10843         (tunables_strdup): Likewise.
10844         (disable_tunables): Likewise.
10845         (parse_tunables): Likewise.
10846         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
10847         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
10848         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
10849         (TUNABLES_FRONTEND_yes): New macro, define as
10850         TUNABLES_FRONTEND_valstring by default.
10851         * manual/install.texi: Document new acceptable values for
10852         --enable-tunables.
10853         * INSTALL: Regenerate.
10855         * config.make.in (have-loop-to-function): Define.
10856         * elf/Makefile (CFLAGS-dl-tunables.c): Add
10857         -fno-tree-loop-distribute-patterns.
10858         * elf/dl-tunables.c: Include libc-internals.h.
10859         (GLIBC_TUNABLES): New macro.
10860         (tunables_strdup): New function.
10861         (parse_tunables): New function.
10862         (min_strlen): New function.
10863         (__tunables_init): Use the new functions and macro.
10864         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
10865         * malloc/tst-malloc-usable-tunables.c: New test case.
10866         * malloc/tst-malloc-usable-static-tunables.c: New test case.
10867         * malloc/Makefile (tests, tests-static): Add tests.
10869         * manual/install.texi: Add --enable-tunables option.
10870         * INSTALL: Regenerate.
10871         * README.tunables: New file.
10872         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
10873         (before-compile): Generate dl-tunable-list.h early.
10874         * config.h.in: Add HAVE_TUNABLES.
10875         * config.make.in: Add have-tunables.
10876         * configure.ac: Add --enable-tunables option.
10877         * configure: Regenerate.
10878         * csu/init-first.c (__libc_init_first): Move
10879         __libc_init_secure earlier...
10880         * csu/init-first.c (LIBC_START_MAIN):... to here.
10881         Include dl-tunables.h, libc-internal.h.
10882         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
10883         binaries.
10884         * elf/Makefile (dl-routines): Add dl-tunables.
10885         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
10886         namespace.
10887         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
10888         only when !HAVE_TUNABLES.
10889         * elf/rtld.c (process_envvars): Likewise.
10890         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
10891         (_dl_sysdep_start): Call __tunables_init.
10892         * elf/dl-tunable-types.h: New file.
10893         * elf/dl-tunables.c: New file.
10894         * elf/dl-tunables.h: New file.
10895         * elf/dl-tunables.list: New file.
10896         * malloc/tst-malloc-usable-static.c: New test case.
10897         * malloc/Makefile (tests-static): Add it.
10898         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
10899         Define TUNABLE_NAMESPACE.
10900         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
10901         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
10902         callback functions.
10903         (ptmalloc_init): Set tunable values.
10904         * scripts/gen-tunables.awk: New file.
10905         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
10906         (_dl_sysdep_start): Call __tunables_init.
10908 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10910         * resolv/resolv.h (RES_BLAST): Deprecate.
10911         * resolv/res_debug.c (p_option): Remove RES_BLAST.
10912         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
10913         to RES_BLAST.
10915 2016-12-27  Florian Weimer  <fweimer@redhat.com>
10917         [BZ #19582]
10918         Deprecate RES_USE_INET6.
10919         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
10920         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
10921         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
10922         RES_USE_INET6.
10923         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
10924         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
10925         (_nss_nisplus_gethostbyaddr_r): Likewise.
10926         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
10927         of res_use_inet6.
10928         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
10929         instead of RES_USE_INET6.
10930         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
10931         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
10932         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
10933         Likewise.
10934         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
10935         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
10936         Likewise.
10937         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
10938         (_nss_dns_gethostbyname_r): Likewise.
10939         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
10940         alternate RES_USE_INET6 handling.
10941         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
10942         instead of RES_USE_INET6.
10943         * resolv/res_init.c (res_setoptions): Likewise.
10944         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
10945         * resolv/resolv-internal.h: New file.
10946         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
10947         make the deprecation warning non-fatal.
10948         * resolv/README (Using the resolver in multi-threaded code): Drop
10949         reference to RES_USE_INET6.
10950         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
10951         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
10953 2016-12-31  Florian Weimer  <fweimer@redhat.com>
10955         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
10956         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
10957         tst-resolv-search.
10958         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
10959         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
10960         with libresolv and libpthread.
10961         * resolv/tst-bug18665.c: New file.
10962         * resolv/tst-bug18665-tcp: Likewise.
10963         * resolv/tst-res_use_inet6: Likewise.
10964         * resolv/tst-resolv-basic: Likewise.
10965         * resolv/tst-resolv-network: Likewise.
10966         * resolv/tst-resolv-search: Likewise.
10967         * support/Makefile (libsupport-routines): Add check_addrinfo,
10968         check_dns_packet, check_hostent, check_netent, resolv_test,
10969         support_format_address_family, support_format_addrinfo,
10970         support_format_dns_packet, support_format_herrno,
10971         support_format_hostent, support_format_netent, support_run_diff,
10972         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
10973         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
10974         xstrdup, xwrite.
10975         * support/check_addrinfo.c: New file.
10976         * support/check_dns_packet.c: Likewise.
10977         * support/check_hostent.c: Likewise.
10978         * support/check_netent.c: Likewise.
10979         * support/check_nss.h: Likewise.
10980         * support/format_nss.h: Likewise.
10981         * support/resolv_test.c: Likewise.
10982         * support/resolv_test.h: Likewise.
10983         * support/run_diff.h: Likewise.
10984         * support/support_format_address_family.c: Likewise.
10985         * support/support_format_addrinfo.c: Likewise.
10986         * support/support_format_dns_packet.c: Likewise.
10987         * support/support_format_herrno.c: Likewise.
10988         * support/support_format_hostent.c: Likewise.
10989         * support/support_format_netent.c: Likewise.
10990         * support/support_run_diff.c: Likewise.
10991         * support/xaccept.c: Likewise.
10992         * support/xbind.c: Likewise.
10993         * support/xconnect.c: Likewise.
10994         * support/xfclose.c: Likewise.
10995         * support/xfopen.c: Likewise.
10996         * support/xgetsockname.c: Likewise.
10997         * support/xlisten.c: Likewise.
10998         * support/xmemstream.c: Likewise.
10999         * support/xmemstream.h: Likewise.
11000         * support/xpoll.c: Likewise.
11001         * support/xpthread_once.c: Likewise.
11002         * support/xrecvfrom.c: Likewise.
11003         * support/xsendto.c: Likewise.
11004         * support/xsetsockopt.c: Likewise.
11005         * support/xstdio.h: Likewise.
11006         * support/xstrdup.c: Likewise.
11007         * support/support.h (xstrdup): Declare.
11008         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
11009         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
11010         * support/xthread.h (xpthread_once): Likwise.
11011         * support/xunistd.h (xwrite): Declare.
11013 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11015         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
11016         (test_verbose): Declare.
11017         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
11018         * support/support_test_main.c (default_options): Likewise.
11019         (usage, support_test_main): Handle 'v'.
11020         (test_verbose): Define.
11021         * support/tst-support_record_failure.c (do_test): Use
11022         test_verbose.
11023         * support/tst-support_record_failure-2.sh (different_status): Add
11024         --verbose test.
11026 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11028         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
11029         test failures are recorded.
11030         * support/check.c (support_print_failure_impl): Call
11031         support_record_failure.
11032         (support_exit_failure_impl): Call support_record_failure if status
11033         indicates failure.
11034         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
11035         * support/xasprintf.c (xasprintf): Likewise.
11036         * support/xfork.c (xfork): Likewise.
11037         * support/xpthread_check_return.c (xpthread_check_return):
11038         Likewise.
11039         * support/xsocket.c (xsocket): Likeweise.
11040         * support/xwaitpid.c (xwaitpid): Likewise.
11041         * support/support_record_failure.c (struct test_failures): Adjust
11042         to coding style.
11043         * support/support_test_verify_impl.c (support_test_verify_impl):
11044         Adjust error messages.
11045         * support/tst-support_record_failure-2.sh (different_status):
11046         Adjust error messages.
11048 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11050         * support/namespace.h: New file.
11051         * support/support_become_root.c: Likewise.
11052         * support/support_enter_network_namespace.c: Likewise.
11053         * support/tst-support-namespace.c: Likewise.
11054         * support/xsocket.c: Likewise.
11055         * support/xsocket.h: Likewise.
11056         * support/Makefile (libsupport-routines): Add support_become_root,
11057         support_enter_network_namespace, xsocket.
11058         (tests): Add tst-support-namespace.
11060 2016-12-31  Florian Weimer  <fweimer@redhat.com>
11062         [BZ #17252]
11063         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
11064         __USE_GNU.
11066 2016-12-31  Torvald Riegel  <triegel@redhat.com>
11068         [BZ #13165]
11069         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
11070         use new algorithm.
11071         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11072         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11073         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11074         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
11075         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
11076         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
11077         __condvar_cleanup_waiting, __condvar_dec_grefs,
11078         __pthread_cond_wait_common): New.
11079         (__condvar_cleanup): Remove.
11080         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
11081         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
11082         Likewise.
11083         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
11084         Likewise.
11085         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
11086         * nptl/tst-cond1.c: Add comment.
11087         * nptl/tst-cond20.c (do_test): Adapt.
11088         * nptl/tst-cond22.c (do_test): Likewise.
11089         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
11090         structure.
11091         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11092         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11093         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11094         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
11095         Likewise.
11096         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11097         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11098         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11099         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11100         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11101         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
11102         Likewise.
11103         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
11104         Likewise.
11105         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
11106         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
11107         (COND_CLOCK_BITS): Adapt.
11108         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
11109         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
11110         __PTHREAD_COND_SHARED_MASK): New.
11111         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
11112         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
11113         * nptl/nptl_lock_constants.pysym: Adapt.
11114         * nptl/test-cond-printers.py: Adapt.
11115         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
11116         cond_compat_check_and_clear): Adapt.
11117         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
11118         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11119         (__pthread_cond_timedwait): ... and move here.
11120         * nptl/DESIGN-condvar.txt: Remove file.
11121         * nptl/lowlevelcond.sym: Likewise.
11122         * nptl/pthread_cond_timedwait.c: Likewise.
11123         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
11124         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
11125         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
11126         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
11127         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
11128         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
11129         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
11130         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
11131         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
11132         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
11133         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
11134         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
11135         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
11136         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
11137         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
11138         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
11140 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
11142         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11143         (fromfp): New declaration.
11144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11147         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
11148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
11149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
11150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
11151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
11152         * math/math.h: Include <bits/types.h>.
11153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
11154         constant and macro.
11155         (FP_INT_DOWNWARD): Likewise.
11156         (FP_INT_TOWARDZERO): Likewise.
11157         (FP_INT_TONEARESTFROMZERO): Likewise.
11158         (FP_INT_TONEAREST): Likewise.
11159         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
11160         (fromfpf): Likewise.
11161         (fromfpl): Likewise.
11162         (ufromfp): Likewise.
11163         (ufromfpf): Likewise.
11164         (ufromfpl): Likewise.
11165         (fromfpx): Likewise.
11166         (fromfpxf): Likewise.
11167         (fromfpxl): Likewise.
11168         (ufromfpx): Likewise.
11169         (ufromfpxf): Likewise.
11170         (ufromfpxl): Likewise.
11171         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
11172         s_fromfpxF and s_ufromfpxF.
11173         * math/gen-fromfp-tests.py: New file.
11174         * math/gen-fromfp-tests-inputs: Likewise.
11175         * math/libm-test.inc: Include <stdint.h>
11176         (check_intmax_t): New function.
11177         (check_uintmax_t): Likewise.
11178         (struct test_fiu_M_data): New type.
11179         (struct test_fiu_U_data): Likewise.
11180         (RUN_TEST_fiu_M): New macro.
11181         (RUN_TEST_LOOP_fiu_M): Likewise.
11182         (RUN_TEST_fiu_U): Likewise.
11183         (RUN_TEST_LOOP_fiu_U): Likewise.
11184         (fromfp_test_data): New array.
11185         (fromfp_test): New function.
11186         (fromfpx_test_data): New array.
11187         (fromfpx_test): New function.
11188         (ufromfp_test_data): New array.
11189         (ufromfp_test): New function.
11190         (ufromfpx_test_data): New array.
11191         (ufromfpx_test): New function.
11192         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
11193         ufromfpx_test.
11194         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
11195         characters.
11196         * math/test-tgmath-ret.c: Include <stdint.h>.
11197         (rm): New variable.
11198         (width): Likewise.
11199         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
11200         called function.
11201         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
11202         CHECK_RET_CONST_TYPE.
11203         (CHECK_RET_CONST_DOUBLE): Likewise.
11204         (CHECK_RET_CONST_LDOUBLE): Likewise.
11205         (CHECK_RET_CONST): Take extra arguments and pass them to calls
11206         macros.
11207         (fromfp): New CHECK_RET_CONST call.
11208         (ufromfp): Likewise.
11209         (fromfpx): Likewise.
11210         (ufromfpx): Likewise.
11211         (do_test): Call check_return_fromfp, check_return_ufromfp,
11212         check_return_fromfpx and check_return_ufromfpx.
11213         * math/test-tgmath.c: Include <stdint.h>
11214         (NCALLS): Increase to 138.
11215         (F(compile_test)): Initialize i.  Call fromfp functions.
11216         (F(fromfp)): New function.
11217         (F(fromfpx)): Likewise.
11218         (F(ufromfp)): Likewise.
11219         (F(ufromfpx)): Likewise.
11220         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
11221         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
11222         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
11223         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
11224         ufromfpxl.
11225         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
11226         ufromfp and ufromfpx.
11227         * math/fromfp.h: New file.
11228         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
11229         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
11230         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
11231         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
11232         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
11233         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
11234         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
11235         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
11236         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
11237         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
11238         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
11239         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
11240         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
11241         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
11242         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
11243         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
11244         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
11245         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
11246         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
11247         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
11248         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
11249         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
11250         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
11251         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
11252         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
11253         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
11254         ufromfp, fromfpx and ufromfpx.
11255         (CFLAGS-nldbl-fromfp.c): New variable.
11256         (CFLAGS-nldbl-fromfpx.c): Likewise.
11257         (CFLAGS-nldbl-ufromfp.c): Likewise.
11258         (CFLAGS-nldbl-ufromfpx.c): Likewise.
11259         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
11260         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
11261         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
11262         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
11263         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
11264         * sysdeps/nacl/libm.abilist: Update.
11265         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11266         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11267         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11269         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11270         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11271         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11272         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11273         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11274         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11275         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11276         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11278         Likewise.
11279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11280         Likewise.
11281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11282         Likewise.
11283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11284         Likewise.
11285         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11286         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11287         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11288         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11289         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11290         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11291         Likewise.
11292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11293         Likewise.
11294         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11295         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11296         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11298 2016-12-30  Florian Weimer  <fweimer@redhat.com>
11300         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
11301         compat-gethnamaddr.
11302         (CPPFLAGS): Remove.
11303         * resolv/gethnamaddr.c: Rename ...
11304         * resolv/compat-gethnamaddr.c: ... to this file.
11305         (_endhtent): Make static.
11306         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
11307         symbol.
11308         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
11309         compat symbol.
11310         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
11311         symbol.
11312         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
11313         Turn into compat symbol.
11314         * include/resolv.h (_endhtent): Remove declaration.
11316 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
11318         * bits/types.h (__intmax_t): New typedef.
11319         (__uintmax_t): Likewise.
11320         * sysdeps/generic/stdint.h: Include <bits/types.h>.
11321         (intmax_t): Define using __intmax_t.
11322         (uintmax_t): Define using __uintmax_t.
11324         * support/Makefile (tests-special): Make definition conditional on
11325         [$(run-built-tests) = yes].
11326         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
11327         on [$(run-built-tests) = yes].
11329 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11331         * Rules (tests): Add tests-printers-programs to tests to be
11332         built.
11334 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11336         * sysvipc/Makefile (tests): Add test-sysvshm.
11337         * sysvipc/test-sysvshm.c: New file.
11339         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
11340         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
11341         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
11342         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
11343         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
11344         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
11345         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
11346         Likewise.
11347         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
11348         Likewise.
11349         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
11350         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
11351         is defined.
11353         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
11354         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
11355         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
11356         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
11357         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
11358         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
11359         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
11360         Likewise.
11361         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
11362         Likewise.
11363         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
11364         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
11365         defined.
11367         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11368         oldshmctl.
11369         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
11370         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
11371         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
11372         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
11373         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
11374         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
11375         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
11376         Likewise.
11377         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
11378         Likewise.
11379         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
11380         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
11381         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
11382         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
11383         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
11384         implementation.
11385         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
11386         if it is defined.
11388         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
11389         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
11390         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
11391         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
11392         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
11393         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
11394         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
11395         Likewise.
11396         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
11397         Likewise.
11398         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
11399         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
11400         Define to __NR_osf_shmat.
11401         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
11402         defined.
11404         * sysvipc/Makefile (tests): Add test-sysvsem.
11405         * sysvipc/test-sysvsem.c: New file.
11407         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
11408         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
11409         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
11410         Likewise.
11411         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
11412         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
11413         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
11414         Likewise.
11415         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
11416         Likewise.
11417         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
11418         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
11419         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
11420         add a comment about s390 syscall difference from default one.
11421         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
11422         syscall if it is defined.
11424         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
11425         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
11426         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
11427         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
11428         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
11429         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
11430         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
11431         Likewise.
11432         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
11433         Likewise.
11434         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
11435         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
11436         defined.
11438         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
11439         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
11440         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
11441         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
11442         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
11443         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
11444         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
11445         Likewise.
11446         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
11447         Likewise.
11448         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
11449         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
11450         if it is defined.
11452         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11453         oldsemctl.
11454         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
11455         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
11456         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
11457         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
11458         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
11459         implementation.
11460         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
11461         syscall if it is defined.
11462         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
11463         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
11464         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
11465         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
11466         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
11467         Likewise.
11468         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
11470         * sysvipc/Makefile (tests): Add test-sysvmsg.
11471         * sysvipc/test-sysvmsg.c: New file.
11472         * support/check.h (FAIL_UNSUPPORTED): New define.
11474         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
11475         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
11476         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
11477         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
11478         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
11479         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
11480         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
11481         Likewise.
11482         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
11483         Likewise.
11484         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
11485         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
11486         define.
11488         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
11489         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
11490         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
11491         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
11492         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
11493         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
11494         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
11495         Likewise.
11496         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
11497         Likewise.
11498         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
11499         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
11500         if defined.
11502         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
11503         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
11504         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11505         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11506         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11507         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
11508         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11509         Likewise.
11510         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
11511         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
11512         Likewise.
11513         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
11514         if defined.
11515         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
11517         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
11518         oldmsgctl.
11519         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
11520         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
11521         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
11522         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
11523         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
11524         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
11525         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
11526         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
11527         Likewise.
11528         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
11529         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
11530         implementation.
11531         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
11532         if defined.
11534         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
11535         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
11536         definition and define its own.
11537         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
11538         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
11539         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
11540         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
11541         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
11542         definitions to common header.
11543         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
11544         operation from ipc_ops.h.
11546         * sysdeps/unix/sysv/linux/kernel-features.h
11547         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
11548         * sysdeps/unix/sysv/linux/i386/kernel-features.h
11549         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
11550         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11551         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11552         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11553         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11554         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11555         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11556         * sysdeps/unix/sysv/linux/s390/kernel-features.h
11557         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11558         * sysdeps/unix/sysv/linux/sh/kernel-features.h
11559         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11560         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
11561         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
11563 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11565         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
11566         overflow in pointer addition.
11568 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
11570         * sysdeps/powerpc/powerpc64/multiarch/Makefile
11571         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
11572         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
11573         (strchr): Add __strchr_power8 to list of strchr functions.
11574         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
11575         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
11576         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
11577         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
11578         (strchr): Add __strchr_power8 to ifunc list.
11579         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
11580         (__strchrnul): Add __strchrnul_power8 to ifunc list.
11581         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
11582         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
11584 2016-12-28  Florian Weimer  <fweimer@redhat.com>
11586         * support/Makefile (libsupport-routines): Add
11587         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
11588         (tests): Add tst-support_record_failure.
11589         (tests-special): tst-support_record_failure-2.
11590         (tst-support_record_failure-2.out): Depend on
11591         tst-support_record_failure-2.sh and tst-support_record_failure.
11592         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
11593         (support_test_verify_impl, support_record_failure)
11594         (support_report_failure, support_report_failure_reset): Declare.
11595         * support/support_test_main.c (adjust_exit_status): New function.
11596         (support_test_main): Call it to incorporate record test failures.
11597         * support/support_test_verify_impl.c: New file.
11598         * support/support_record_failure.c: Likewise.
11599         * support/tst-support_record_failure.c: Likewise.
11600         * support/tst-support_record_failure-2.sh: Likewise.
11601         * support/xunistd.h: Likewise.
11602         * support/xfork.c: Likewise.
11603         * support/xwaitpid.c: Likewise.
11605 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
11607         * scripts/check-c++-types.sh: Add comments.
11609 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
11611         [BZ #19514]
11612         * resolv/res_send.c: Fix typo in comment.
11613         * sysdeps/i386/i386-mcount.S: Likewise.
11614         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
11615         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
11616         * sysdeps/sparc/sparc-mcount.S: Likewise.
11618 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11620         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
11621         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
11622         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
11623         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
11624         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
11625         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
11626         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
11627         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
11629 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11631         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
11633 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11635         [BZ #17252]
11636         * posix/unistd.h (getentropy): Declare.
11638 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11640         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
11641         Remove.
11642         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
11643         (cmd): Remove spoof, nospoof, spoofalert.
11644         (parse_line): Ignore spoof-related lines.
11645         (do_init): Do not process RESOLV_SPOOF_CHECK.
11647 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11649         [BZ #20964]
11650         sunrpc: Always obtain AF_INET addresses from NSS.
11651         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
11652         * sunrpc/rpc_gethostbyname.c: New file.
11653         * sunrpc/Makefile (routines): Add it.
11654         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
11655         * sunrpc/clnt_simp.c (callrpc): Likewise.
11656         * sunrpc/getrpcport.c (getrpcport): Likewise.
11658 2016-12-27  Florian Weimer  <fweimer@redhat.com>
11660         * sunrpc/rpcinfo.c: Remove.
11661         * sunrpc/Makefile: Remove comments referring to rpcinfo.
11663 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11665         [BZ #19387]
11666         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
11667         addition.
11668         * string/test-memchr.c (do_test): Remove alignment limitation.
11669         (test_main): Add test that trigger BZ #19387.
11671 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11673         [BZ #7065]
11674         Enable stack protectore if requested by ./configure.
11675         * Makeconfig (+stack-protector): New variable.
11676         (+cflags): Use it.
11678 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11680         [BZ #7065]
11681         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
11682         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
11683         (__rt_sigreturn_stub): Use inhibit_stack_protector.
11684         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
11685         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
11687 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11689         [BZ #7065]
11690         * login/Makefile (pt_chown-cflags): Remove.
11691         * nscd/Makefile (CFLAGS-nscd): Likewise.
11692         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11694 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11696         [BZ #7065]
11697         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
11698         non-libc-linking testcase.
11700 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11701             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11702             Florian Weimer  <fweimer@redhat.com>
11704         [BZ #7065]
11705         PLT avoidance for __stack_chk_fail*.
11706         * debug/Makefile (CFLAGS-stack_chk_fail.c)
11707         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
11708         * debug/stack_chk_fail.c (__stack_chk_fail): Add
11709         __stack_chk_fail_local alias.
11710         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
11711         (__stack_chk_fail): Turn into hidden reference to
11712         __stack_chk_fail_local.
11714 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11716         [BZ #7065]
11717         * configure.ac: Add check for unsupported stack-protection level.
11718         (libc_cv_predef_stack_protector): Remove.
11719         (no_ssp): New variable.
11720         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
11721         (stack_protector): Set to -fno-stack-protector similarly.
11722         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
11723         (libc_cv_asm_set_directive): Likewise.
11724         (libc_cv_protected_data): Likewise.
11725         (libc_cv_z_combreloc): Likewise.
11726         (libc_cv_hashstyle): Likewise.
11727         (libc_cv_has_glob_dat): Likewise.
11728         (libc_cv_output_format): Likewise.
11729         (libc_cv_output_format): Likewise.
11730         (libc_cv_ehdr_start): Likewise.
11731         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
11732         (LIBC_LINKER_FEATURE): Likewise.
11733         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
11735 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11737         [BZ #7065]
11738         * elf/Makefile (dummy-stack-chk-fail): New.
11739         (librtld.map): Use it.
11741 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11743         [BZ #7065]
11744         Compile the dynamic linker without stack protection.
11745         * elf/Makefile (elide-stack-protector): New.
11746         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
11747         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
11748         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
11749         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
11751 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11753         [BZ #7065]
11754         * config.make.in (have-ssp, no-stack-protector): New.
11755         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
11756         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
11757         (CFLAGS-sbrk.op): Likewise.
11758         (CFLAGS-brk.o): Likewise.
11759         (CFLAGS-brk.op): Likewise.
11760         * string/Makefile (CFLAGS-memcpy.c): Likewise.
11761         (CFLAGS-wordcopy.c): Likewise.
11763 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11765         [BZ #7065]
11766         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
11767         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
11768         * include/libc-symbols.h (inhibit_stack_protector): New macro.
11769         (__ifunc_resolver): Use it.
11770         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
11771         inhibit_stack_protector.
11772         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
11773         * elf/ifuncmain7.c (foo_ifunc): Likewise.
11774         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
11775         (foo_protected_ifunc): Likewise.
11776         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
11777         (foo_protected_ifunc): Likewise.
11778         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11779         * sysdeps/nacl/nacl_interface_query.c
11780         (nacl_interface_query_ifunc): Likewise.
11781         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
11782         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
11783         Likewise.
11784         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
11785         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
11786         the generated vDSO syscall resolver.
11788 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11789             Florian Weimer  <fweimer@redhat.com>
11791         [BZ #7065]
11792         Initialize the stack guard earlier when linking statically.
11793         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
11794         (__pthread_initialize_minimal): Declare.
11795         * csu/libc-start.c (__pthread_initialize_minimal): Remove
11796         declaration.
11797         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
11798         stack canary and apply_irel initialization up.  Call
11799         __pthread_initialize_minimal only if linked in.
11800         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
11801         constant values.
11802         (__pthread_initialize_minimal): Remove.
11803         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
11804         (__pthread_initialize_minimal_internal): Do not call
11805         __libc_setup_tls.
11807 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
11809         [BZ #7065]
11810         * configure.ac (libc_cv_ssp): Move up.
11811         (libc_cv_ssp_strong): Likewise.
11812         (libc_cv_ssp_all): New.
11813         (stack_protector): Augment, adding -fstack-protector-all.
11814         (no_stack_protector): New.
11815         (STACK_PROTECTOR_LEVEL): New.
11816         (AC_ARG_ENABLE(stack-protector)): New configure flag.
11817         * manual/install.texi (--enable-stack-protector): Document it.
11818         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
11820 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
11822         * README.pretty-printers: Must specify CPPFLAGS-* also.
11823         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
11824         (CPPFLAGS-test-mutex-printers.c): Define.
11825         (CPPFLAGS-test-condattr-printers.c): Define.
11826         (CPPFLAGS-test-cond-printers.c): Define.
11827         (CPPFLAGS-test-rwlockattr-printers.c): Define.
11828         (CPPFLAGS-test-rwlock-printers.c): Define.
11830         * nss/Makefile [ifeq (yes,$(have-thread-library))]
11831         (tests): Add tst-cancel-getpwuid_r.
11832         * nss/tst-cancel-getpwuid_r.c: New file.
11834         [BZ #11941]
11835         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
11836         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
11837         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
11838         tst-nodelete-dlclose.
11839         (modules-names): Add tst-nodelete-dlclose-dso and
11840         tst-nodelete-dlclose-plugin.
11841         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
11842         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
11843         ($(objpfx)tst-nodelete-dlclose): Define.
11844         ($(objpfx)tst-nodelete-dlclose.out): Define.
11846 2016-12-23  Florian Weimer  <fweimer@redhat.com>
11848         * scripts/test_printers_common.py: Log GDB output in case of
11849         Python detection failure.
11851 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11853         * configure.ac: Check for python3 or python.
11854         * configure: Regenerated.
11855         * config.make.in (PYTHON): New variable.
11856         * benchtests/Makefile: Don't define PYTHON.
11857         (bench): Define target only if PYTHON was defined.
11858         * Rules: Don't define PYTHON.
11859         Define pretty printer targets only if PYTHON was defined.
11860         (tests-printers): Add to tests-unsupported if PYTHON is not
11861         found.
11862         (python-flags, python-invoke): Remove.
11863         (tests-printers-out): Use PYTHON instead of python-invoke.
11865 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11867         [BZ #20978]
11868         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
11869         Compare name == NULL, not name != NULL.
11871         * manual/texinfo.tex: Update to version 2016-09-18.18 with
11872         trailing whitespace removed.
11873         * scripts/config.guess: Update to version 2016-10-02.
11874         * scripts/config.sub: Update to version 2016-11-19.
11875         * scripts/install-sh: Update to version 2016-01-11.22.
11876         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
11877         * scripts/move-if-change: Update to version 2016-01-11 22:04.
11879 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
11881         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
11882         (do_one_test) Restore original string so iteration works.
11883         * string/string-inlines.c (do_test): Create better input strings.
11884         (test_main) Reduce number of testruns.
11885         * string/string-inlines.c (__old_strsep_1c): New function.
11886         (__old_strsep_2c): Likewise.
11887         (__old_strsep_3c): Likewise.
11888         * string/strsep.c (__strsep): Remove case of small delim string.
11889         Call strcspn directly rather than strpbrk.
11890         * string/bits/string2.h (__strsep): Remove define.
11891         (__strsep_1c): Remove.
11892         (__strsep_2c): Remove.
11893         (__strsep_3c): Remove.
11894         (strsep): Remove.
11895         * sysdeps/unix/sysv/linux/internal_statvfs.c
11896         (__statvfs_getflags): Rename to __strsep.
11898 2016-12-21  Florian Weimer  <fweimer@redhat.com>
11900         * csu/libc-tls.c (_dl_tls_setup): Remove.
11901         * elf/dl-tls.c (_dl_tls_setup): Likewise.
11902         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
11903         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
11905 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11907         [BZ #7065]
11908         * sysdeps/x86_64/Makefile [$(subdir) = elf]
11909         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
11911 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
11912             Florian Weimer  <fweimer@redhat.com>
11914         [BZ #7065]
11915         * csu/Makefile (tests): Empty assignment and document it.
11916         (tests-static): Remove.
11917         * csu/tst-empty.c: Move to...
11918         * misc/tst-empty.c: ... here.  Switch to new test driver.
11919         * csu/tst-atomic.c: Move to...
11920         * misc/tst-atomic.c: ... here.  Switch to new test driver.
11921         * csu/tst-atomic-long.c: Move to...
11922         * misc/tst-atomic-long.c: ... here.
11923         * misc/Makefile (tests): Add tst-empty, tst-atomic,
11924         tst-atomic-long.
11925         (tests-static): Add tst-empty.
11927 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
11929         * manual/nss.texi: Change incorrect @vtable to @table.
11930         * manual/arith.texi: Convert @tables of variables to @vtables
11931         and remove unnecessary indexing.
11932         * manual/filesys.texi: Likewise.
11933         * manual/llio.texi: Likewise.
11934         * manual/memory.texi: Likewise.
11935         * manual/process.texi: Likewise.
11936         * manual/resource.texi: Likewise.
11937         * manual/search.texi: Likewise.
11938         * manual/signal.texi: Likewise.
11939         * manual/socket.texi: Likewise.
11940         * manual/stdio.texi: Likewise.
11941         * manual/sysinfo.texi: Likewise.
11942         * manual/syslog.texi: Likewise.
11943         * manual/terminal.texi: Likewise.
11944         * manual/time.texi: Likewise.
11945         * manual/users.texi: Likewise.
11947 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
11949         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11950         (roundeven): New declaration.
11951         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
11952         macro.
11953         * math/Versions (roundeven): New libm symbol at version
11954         GLIBC_2.25.
11955         (roundevenf): Likewise.
11956         (roundevenl): Likewise.
11957         * math/Makefile (libm-calls): Add s_roundevenF.
11958         * math/libm-test.inc (roundeven_test_data): New array.
11959         (roundeven_test): New function.
11960         (main): Call roundeven_test.
11961         * math/test-tgmath.c (NCALLS): Increase to 134.
11962         (F(compile_test)): Call roundeven.
11963         (F(roundeven)): New function.
11964         * manual/arith.texi (Rounding Functions): Document roundeven,
11965         roundevenf and roundevenl.
11966         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
11967         * include/math.h (roundeven): Use libm_hidden_proto.
11968         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
11969         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
11970         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
11971         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
11972         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
11973         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
11974         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11975         roundeven.
11976         (CFLAGS-nldbl-roundeven.c): New variable.
11977         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
11978         * sysdeps/nacl/libm.abilist: Update.
11979         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11980         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11981         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11982         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11983         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11984         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11985         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11986         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11987         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11988         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11989         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11990         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11992         Likewise.
11993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11994         Likewise.
11995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11996         Likewise.
11997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11998         Likewise.
11999         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12000         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12001         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12002         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12003         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12004         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12005         Likewise.
12006         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12007         Likewise.
12008         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12009         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12010         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12012 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12014         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
12015         preprocessor indentation inside #if.
12017 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12019         * math/libm-test.inc (fmt_ftostr): New function.
12020         (print_float, check_float_internal): Replace some uses of
12021         FTOSTR with uses of fmt_ftostr.
12022         (print_max_error, print_complex_max_error, print_function_ulps)
12023         (print_complex_function_ulps): Remove uses of the macros
12024         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
12025         * math/test-double.h (FTOSTR): Define to strfromd.
12026         (PRINTF_EXPR): Delete.
12027         (PRINTF_XEXPR): Likewise.
12028         (PRINTF_NEXPR): Likewise.
12029         * math/test-float.h (FTOSTR): Define to strfromf.
12030         (PRINTF_EXPR): Delete.
12031         (PRINTF_XEXPR): Likewise.
12032         (PRINTF_NEXPR): Likewise.
12033         * math/test-ldouble.h (FTOSTR): Define to strfroml.
12034         (PRINTF_EXPR): Delete.
12035         (PRINTF_XEXPR): Likewise.
12036         (PRINTF_NEXPR): Likewise.
12038 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12040         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12041         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
12042         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12043         (__lll_lock_elision): Decrement adapt_count while unlocking
12044         instead of before locking.
12045         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12046         (__lll_trylock_elision): Likewise.
12047         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
12048         (__lll_unlock_elision): Likewise.
12050 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12052         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
12053         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
12054         Use __libc_tbegin_retry macro.
12056 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12058         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
12059         Add -msoft-float.
12060         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
12061         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
12062         Use __libc_t* transaction macros instead of __builtin_t*.
12063         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12064         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12066 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
12068         * sysdeps/unix/sysv/linux/s390/elision-lock.c
12069         (__lll_lock_elision): Use atomics to load / store adapt_count.
12070         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
12071         (__lll_trylock_elision): Likewise.
12073 2016-12-20  Florian Weimer  <fweimer@redhat.com>
12075         Do not require memset elimination in explicit_bzero test.
12076         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
12077         (enum test_expectation): Add NO_EXPECTATIONS.
12078         (subtests): NO_EXPECTATIONS for ordinary clear.
12079         (check_test_buffer): Handle NO_EXPECTATIONS.
12080         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
12082 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
12084         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12085         (fmaxmag): New declaration.
12086         (fminmag): Likewise.
12087         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
12088         macro.
12089         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
12090         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
12091         (fmaxmagf): Likewise.
12092         (fmaxmagl): Likewise.
12093         (fminmag): Likewise.
12094         (fminmagf): Likewise.
12095         (fminmagl): Likewise.
12096         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
12097         * math/s_fmaxmag_template.c: New file.
12098         * math/s_fminmag_template.c: Likewise.
12099         * math/libm-test.inc (fmaxmag_test_data): New array.
12100         (fmaxmag_test): New function.
12101         (fminmag_test_data): New array.
12102         (fminmag_test): New function.
12103         (main): Call fmaxmag_test and fminmag_test.
12104         * math/test-tgmath.c (NCALLS): Increase to 132.
12105         (F(compile_test)): Call fmaxmag and fminmag.
12106         (F(fminmag)): New function.
12107         (F(fmaxmag)): Likewise.
12108         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
12109         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
12110         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
12111         fminmag.
12112         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
12113         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
12114         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
12115         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
12116         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
12117         and fminmag.
12118         (CFLAGS-nldbl-fmaxmag.c): New variable.
12119         (CFLAGS-nldbl-fminmag.c): Likewise.
12120         * sysdeps/nacl/libm.abilist: Update.
12121         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12122         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12123         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12124         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12125         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12126         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12127         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12128         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12129         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12130         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12131         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12132         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12134         Likewise.
12135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12136         Likewise.
12137         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12138         Likewise.
12139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12140         Likewise.
12141         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12142         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12143         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12144         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12145         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12147         Likewise.
12148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12149         Likewise.
12150         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12151         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12152         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12154 2016-12-19  Torvald Riegel  <triegel@redhat.com>
12156         [BZ #20973]
12157         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
12158         wake-up in robust mutexes.
12159         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
12161 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12163         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
12164         (CFLAGS-bench-fmaxf.c): New rule.
12165         (CFLAGS-bench-fminf.c): Likewise.
12166         * benchtests/fmaxf-inputs: New file.
12167         * benchtests/fminf-inputs: Likewise.
12169         * benchtests/Makefile (bench-math): Add fmin and fmax.
12170         (CFLAGS-bench-fmax.c): New rule.
12171         (CFLAGS-bench-fmin.c): Likewise.
12172         * benchtests/fmax-inputs: New file.
12173         * benchtests/fmin-inputs: Likewise.
12175         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
12176         parenthesis.
12177         (CMDLINE_PROCESS): Define using function instead of macro.
12178         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
12179         of test-skeleton.
12180         * benchtests/bench-memchr.c: Likewise.
12181         * benchtests/bench-memcmp.c: Likewise.
12182         * benchtests/bench-memcpy-large.c: Likewise.
12183         * benchtests/bench-memcpy.c: Likewise.
12184         * benchtests/bench-memmem.c: Likewise.
12185         * benchtests/bench-memmove-large.c: Likewise.
12186         * benchtests/bench-memmove.c: Likewise.
12187         * benchtests/bench-memset-large.c: Likewise.
12188         * benchtests/bench-memset.c: Likewise.
12189         * benchtests/bench-rawmemchr.c: Likewise.
12190         * benchtests/bench-strcasecmp.c: Likewise.
12191         * benchtests/bench-strcasestr.c: Likewise.
12192         * benchtests/bench-strcat.c: Likewise.
12193         * benchtests/bench-strchr.c: Likewise.
12194         * benchtests/bench-strcmp.c: Likewise.
12195         * benchtests/bench-strcpy.c: Likewise.
12196         * benchtests/bench-strcpy_chk.c: Likewise.
12197         * benchtests/bench-strlen.c: Likewise.
12198         * benchtests/bench-strncasecmp.c: Likewise.
12199         * benchtests/bench-strncmp.c: Likewise.
12200         * benchtests/bench-strncpy.c: Likewise.
12201         * benchtests/bench-strnlen.c: Likewise.
12202         * benchtests/bench-strpbrk.c: Likewise.
12203         * benchtests/bench-strrchr.c: Likewise.
12204         * benchtests/bench-strsep.c: Likewise.
12205         * benchtests/bench-strspn.c: Likewise.
12206         * benchtests/bench-strstr.c: Likewise.
12207         * benchtests/bench-strtok.c: Likewise.
12209 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
12211         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
12212         stepping identification.
12213         (init_cpu_features): Add handle of Haswell.
12215 2016-11-25  Jim Meyering  <meyering@fb.com>
12217         [BZ #20386]
12218         Let gcc detect assert(a = 1) errors.
12219         * assert/assert.h (assert): Rewrite, retaining the old definintion
12220         when required, but otherwise putting the expression as-is in an "if"
12221         expression (hence, with no added parentheses) within a statement
12222         expression.
12224 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12226         * benchtests/Makefile (binaries-benchset): Depend on libsupport
12227         DSO.
12229 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
12231         * Rules (python-flags, python-invoke): New.
12232         ($(test-printers-out)): Use $(python-flags).
12234 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12236         * manual/arith.texi (Math Error Reporting): Document that sNaN
12237         arguments are not considered domain errors.
12239 2016-12-16  Zack Weinberg <zackw@panix.com>
12240             Florian Weimer <fweimer@redhat.com>
12241             Nick Mathewson <nickm@torproject.org>
12243         * string/explicit_bzero.c: New routine.
12244         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
12245         * string/Makefile (routines, strop-tests, tests): Add them.
12246         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
12247         * string/string.h [__USE_MISC]: Declare explicit_bzero.
12249         * debug/explicit_bzero_chk.c: New routine.
12250         * debug/Makefile (routines): Add it.
12251         * debug/tst-chk1.c: Test fortification of explicit_bzero.
12252         * string/bits/string3.h: Fortify explicit_bzero.
12254         * manual/string.texi: Document explicit_bzero.
12255         * NEWS: Mention addition of explicit_bzero.
12257         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
12258         data before returning, using explicit_bzero.
12259         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
12260         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12261         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12263         * include/string.h: Redirect internal uses of explicit_bzero
12264         to __explicit_bzero_chk[_internal].
12265         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
12266         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
12267         * sysdeps/arm/nacl/libc.abilist
12268         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
12269         * sysdeps/unix/sysv/linux/alpha/libc.abilist
12270         * sysdeps/unix/sysv/linux/arm/libc.abilist
12271         * sysdeps/unix/sysv/linux/hppa/libc.abilist
12272         * sysdeps/unix/sysv/linux/i386/libc.abilist
12273         * sysdeps/unix/sysv/linux/ia64/libc.abilist
12274         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
12275         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
12276         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
12277         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
12278         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
12279         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
12280         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
12281         * sysdeps/unix/sysv/linux/nios2/libc.abilist
12282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
12283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
12284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
12285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
12286         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
12287         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
12288         * sysdeps/unix/sysv/linux/sh/libc.abilist
12289         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
12290         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
12291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
12292         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
12293         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
12294         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
12295         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
12296         Add entries for explicit_bzero and __explicit_bzero_chk.
12298 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12300         * math/fenv.h
12301         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
12302         (FE_SNANS_ALWAYS_SIGNAL): New macro.
12303         * math/test-fe-snans-always-signal.c: New file.
12304         * math/Makefile (tests): Add test-fe-snans-always-signal.
12305         (CFLAGS-test-fe-snans-always-signal.c): New variable.
12306         * manual/arith.texi (Infinity and NaN): Document
12307         FE_SNANS_ALWAYS_SIGNAL.
12309 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12311         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
12312         bracket.
12314 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
12316         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
12317         before calling execv.
12319 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12321         [BZ #20971]
12322         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
12323         overflow in pointer addition.
12324         * string/test-memchr.c (do_test): Add an argument to pass as
12325         the size on memchr.
12326         (test_main): Add check for SIZE_MAX.
12328 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12330         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
12331         (libm-calls): Add w_scalblnF.
12332         * math/w_scalbln.c: Remove.
12333         * math/w_scalblnf.c: Likewise.
12334         * math/w_scalblnl.c: Likewise.
12335         * math/w_scalbln_template.c: New file with type-generic
12336         implementation based on math/w_scalbln.c.
12337         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
12338         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
12340 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12342         [BZ #20947]
12343         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
12344         either is a signaling NaN.
12345         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
12346         follow fmaxl more closely.
12347         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
12348         when either is a signaling NaN.
12349         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
12350         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
12351         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
12352         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
12353         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
12354         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
12355         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
12356         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
12357         (fmin_test_data): Likewise.
12359 2016-12-15  Andreas Schwab  <schwab@suse.de>
12361         * support/support_test_main.c (support_test_main): Don't shadow
12362         file-local variable test_pid.
12364 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
12366         [BZ #20947]
12367         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
12368         either is a signaling NaN.
12369         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
12371 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12373         [BZ #20947]
12374         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
12375         when either is a signaling NaN.
12376         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
12378         * bits/long-double.h: New file.
12379         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
12380         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
12381         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
12382         * sysdeps/mips/bits/long-double.h: Likewise.
12383         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
12384         * math/Makefile (headers): Add bits/long-double.h.
12385         * misc/sys/cdefs.h: Include <bits/long-double.h>.
12386         * stdlib/strtold.c: Include <bits/long-double.h> instead of
12387         <bits/wordsize.h>.
12388         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
12389         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
12390         * math/math.h: Do not include <bits/mathdef.h>.
12391         * sysdeps/aarch64/bits/mathdef.h: Remove file.
12392         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
12393         inclusion.
12394         * sysdeps/ia64/bits/mathdef.h: Remove file.
12395         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
12396         * sysdeps/mips/bits/mathdef.h: Likewise.
12397         * sysdeps/powerpc/bits/mathdef.h: Likewise.
12398         * sysdeps/s390/bits/mathdef.h: Likewise.
12399         * sysdeps/sparc/bits/mathdef.h: Likewise.
12400         * sysdeps/x86/bits/mathdef.h: Likewise.
12401         * sysdeps/s390/s390-32/bits/wordsize.h
12402         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
12403         conditional code.
12404         * sysdeps/s390/s390-64/bits/wordsize.h
12405         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12406         Likewise.
12407         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
12408         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12409         Likewise.
12410         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
12411         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12412         Likewise.
12413         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
12414         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
12415         Likewise.
12417         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
12418         <linux/falloc.h>.
12419         (FALLOC_FL_KEEP_SIZE): Remove.
12420         (FALLOC_FL_PUNCH_HOLE): Likewise.
12421         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
12422         (FALLOC_FL_ZERO_RANGE): Likewise.
12424 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12426         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
12428 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12430         * sysdeps/unix/sysv/linux/renameat.c: New file.
12431         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
12433         * sysdeps/unix/sysv/linux/rename.c: New file.
12434         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
12436 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12438         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
12439         * string/strtok.c (strtok): Change to tailcall __strtok_r.
12440         * string/strtok_r.c (__strtok_r): Optimize for performance.
12441         * string/string-inlines.c (__old_strtok_r_1c): New function.
12442         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
12444 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12446         * math/Makefile (gen-libm-calls): Add w_log1pF.
12447         (libm-calls): Remove w_log1pF.
12448         * math/w_log1p.c: Remove.
12449         * math/w_log1pf.c: Likewise.
12450         * math/w_log1pl.c: Likewise.
12451         * math/w_log1p_template.c: New file with type-generic
12452         implementation based on math/w_log1p.c.
12453         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
12454         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
12456 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
12458         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
12460 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
12462         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
12463         kernel version to 4.9.
12465 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
12467         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
12468         ($(inst_libdir)/libm.a): Fix rule to create the target only.
12470 2016-12-13  Andreas Schwab  <schwab@suse.de>
12472         * sysdeps/powerpc/dl-procinfo.c: Don't define
12473         _dl_powerpc_platforms.
12474         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
12475         constants instead of referencing _dl_powerpc_platforms.
12476         (_dl_platform_string): Remove.
12478 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12480         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
12482 2016-12-13  Florian Weimer  <fweimer@redhat.com>
12484         * Rules (binaries-shared-tests, binaries-pie-tests)
12485         (binaries-static-tests): Link with $(link-extra-libs-tests).
12486         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
12487         Remove $(link-extra-libs-tests).
12489 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12491         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12492         (sysdep_routines): Add strncmp_power9.
12493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12494         (strncmp): Add __strncmp_power9 to list of strncmp functions.
12495         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
12496         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
12497         (strncmp): Add __strncmp_power9 to ifunc list.
12498         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
12500 2016-12-12  Florian Weimer  <fweimer@redhat.com>
12502         [BZ #17252]
12503         Add getentropy, getrandom.
12504         * stdlib/sys/random.h: New file.
12505         (headers): Add it.
12506         * stdlib/Makefile (routines): Add getentropy, getrandom.
12507         (tests): Add tst-getrandom.
12508         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
12509         * stdlib/getentropy.c: New file.
12510         * stdlib/getrandom.c: Likewise.
12511         * stdlib/tst-getrandom.c: Likewise.
12512         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
12513         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
12514         * manual/crypt.texi (Unpredictable Bytes): New section.
12515         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
12516         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
12517         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12518         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12519         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12520         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12521         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12522         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12523         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12524         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12525         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12526         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12527         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12528         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12529         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12530         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
12532         Likewise.
12533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
12534         Likewise.
12535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12537         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12538         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12539         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12540         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12541         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12543         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12544         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12545         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12546         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12548 2016-12-10  Florian Weimer  <fweimer@redhat.com>
12550         [BZ #20956]
12551         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
12552         as additional compiler barriers.
12553         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
12554         (fn2, do_test): Declare with external linkage.
12555         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
12556         (do_test): Declare with external linkage.
12557         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
12558         (do_test): Declare with external linkage.
12559         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
12560         (do_test): Declare with external linkage.
12562 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
12564         * support/support_test_main.c (support_test_main): Use correct
12565         timeout.
12567 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
12568             Florian Weimer  <fweimer@redhat.com>
12570         [BZ #16421]
12571         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
12572         and __u6_addr32 members.
12573         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
12574         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
12575         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
12576         Use __u6_addr32.
12577         * inet/tst-checks.c: Use <support/test-driver.c>
12578         * inet/tst-checks-posix.c: New file.
12579         * inet/Makefile (tests): Add it.
12580         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
12582 2016-12-09  Florian Weimer  <fweimer@redhat.com>
12584         New subdirectory support for build and test infrastructure.
12585         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
12586         setting install-lib.
12587         * Makeconfig (link-extra-libs-tests): Define.
12588         (+link-pie-tests, +link-static-tests, +link-tests): Use
12589         link-extra-libs-tests.
12590         (rpath-dirs, all-subdirs): Add support.
12591         (built-modules): Add libsupport.
12592         (libsupport): Define.
12593         * support: New directory.
12594         * support/Makefile: New file.
12595         * support/check.c: Likewise.
12596         * support/check.h: Likewise.
12597         * support/delayed_exit.c: Likewise.
12598         * support/ignore_stderr.c: Likewise.
12599         * support/oom_error.c: Likewise.
12600         * support/set_fortify_handler.c: Likewise.
12601         * support/support.h: Likewise.
12602         * support/temp_file-internal.h: Likewise.
12603         * support/temp_file.c: Likewise.
12604         * support/test-driver.c: Likewise.
12605         * support/test-driver.h: Likewise.
12606         * support/test_main.c: Likewise.
12607         * support/write_message.c: Likewise.
12608         * support/xasprintf.c: Likewise.
12609         * support/xcalloc.c: Likewise.
12610         * support/xmalloc.c: Likewise.
12611         * support/xpthread_barrier_destroy.c: Likewise.
12612         * support/xpthread_barrier_init.c: Likewise.
12613         * support/xpthread_barrier_wait.c: Likewise.
12614         * support/xpthread_cancel.c: Likewise.
12615         * support/xpthread_check_return.c: Likewise.
12616         * support/xpthread_cond_wait.c: Likewise.
12617         * support/xpthread_create.c: Likewise.
12618         * support/xpthread_detach.c: Likewise.
12619         * support/xpthread_join.c: Likewise.
12620         * support/xpthread_mutex_lock.c: Likewise.
12621         * support/xpthread_mutex_unlock.c: Likewise.
12622         * support/xpthread_sigmask.c: Likewise.
12623         * support/xpthread_spin_lock.c: Likewise.
12624         * support/xpthread_spin_unlock.c: Likewise.
12625         * support/xrealloc.c: Likewise.
12626         * support/xsignal.h: Likewise.
12627         * support/xthread.h: Likewise.
12628         * support_tempfile.h: Likewise.
12629         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
12630         (TEST_DATA_LIMIT): Remove unused macro.
12631         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
12632         <support/check.h>.
12633         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
12634         (ignore_stderr, set_fortify_handler): Remove.  Now in
12635         <support/support.h>.
12636         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
12637         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
12638         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
12639         (xpthread_join): Remove.  Now in <support/xthread.h>.
12640         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
12641         Introduce legacy wrappers.
12642         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
12643         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
12644         (write_message): Remove.
12645         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
12646         test-skeleton.c.
12647         * io/test-open-tmpfile: Likewise.
12648         * io/tst-posix_fallocate-common.c: Likewise.
12649         * libio/tst-fseek.c: Likewise.
12650         * malloc/tst-malloc-backtrace.c: Likewise.
12651         * malloc/tst-malloc-fork-deadlock.c: Likewise.
12652         * malloc/tst-malloc-thread-exit.c: Likewise.
12653         * nptl/tst-cancel7.c: Likewise.
12654         * nptl/tst-cleanup0.c: Likewise.
12655         * posix/tst-posix_fadvise-common.c: Likewise.
12656         * rt/tst-shm.c: Likewise.
12657         * time/bug-getdate1.c: Likewise.
12658         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12659         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
12660         * elf/Makefile (tst-piemod1.so): Link against libsupport.
12662 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
12664         * Rules [$(run-built-tests) != no] (tests-expected): Add
12665         $(tests-printers).
12666         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
12668 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
12670         [BZ #20539]
12671         * math/Makefile (install-lib-ldscripts): Add libm.a.
12672         (install_subdir): Remove.
12673         (install-others): Add.
12674         ($(inst_libdir)/libm.a): Add rule for installation as
12675         linker script.
12676         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
12678 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
12680         * INSTALL: Regenerated.
12681         * Makeconfig: Add comments and whitespace to make the control flow
12682         clearer.
12683         (+link-printers-tests, +link-pie-printers-tests,
12684         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
12685         built-rtld-LDFLAGS, link-libc-rpath,
12686         link-libc-tests-after-rpath-link,
12687         link-libc-printers-tests): New.
12688         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
12689         link-libc-tests): Use the new variables as required.
12690         * Makerules ($(py-const)): New rule.
12691         generated: Add $(py-const).
12692         * README.pretty-printers: New file.
12693         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
12694         (others): Depend on $(py-const).
12695         (tests): Depend on $(tests-printers-programs) or
12696         $(tests-printers-out),
12697         as required.  Pass $(tests-printers) to merge-test-results.sh.
12698         * manual/install.texi: Add requirements for testing the pretty
12699         printers.
12700         * nptl/Makefile (gen-py-const-headers, pretty-printers,
12701         tests-printers, CFLAGS-test-mutexattr-printers.c
12702         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
12703         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
12704         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
12705         * nptl/nptl-printers.py: New file.
12706         * nptl/nptl_lock_constants.pysym: Likewise.
12707         * nptl/test-cond-printers.c: Likewise.
12708         * nptl/test-cond-printers.py: Likewise.
12709         * nptl/test-condattr-printers.c: Likewise.
12710         * nptl/test-condattr-printers.py: Likewise.
12711         * nptl/test-mutex-printers.c: Likewise.
12712         * nptl/test-mutex-printers.py: Likewise.
12713         * nptl/test-mutexattr-printers.c: Likewise.
12714         * nptl/test-mutexattr-printers.py: Likewise.
12715         * nptl/test-rwlock-printers.c: Likewise.
12716         * nptl/test-rwlock-printers.py: Likewise.
12717         * nptl/test-rwlockattr-printers.c: Likewise.
12718         * nptl/test-rwlockattr-printers.py: Likewise.
12719         * scripts/gen-py-const.awk: Likewise.
12720         * scripts/test_printers_common.py: Likewise.
12721         * scripts/test_printers_exceptions.py: Likewise.
12723 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12725         * scripts/build-many-glibcs.py (Context.__init__): Take strip
12726         argument.
12727         (Glibc.build_glibc): Strip installed shared libraries if
12728         requested.
12729         (get_parser): Add --strip option.
12730         (main): Update Context call.
12732 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12733             Dominik Vogt  <vogt@linux.vnet.ibm.com>
12735         [BZ #20847]
12736         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
12737         array bounds for else branch.
12738         (__execvpe): Style fixes.
12739         * posix/tst-vfork3.c (run_script): New function.
12740         (create_script): Likewise.
12741         (do_test): Use run_script internal function.
12742         (do_prepare): Use create_script internal function.
12744 2016-12-07  Andreas Schwab  <schwab@suse.de>
12746         * sysdeps/unix/sysv/linux/x86/elision-conf.h
12747         (__elision_available): Don't declare.
12748         * sysdeps/unix/sysv/linux/x86/elision-conf.c
12749         (__elision_available): Don't define.
12750         (elision_init): Don't set __elision_available.
12752 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
12754         [BZ #20940]
12755         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
12756         return Inf for arguments Inf and sNaN.
12757         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
12758         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
12759         Likewise.
12760         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
12761         Likewise.
12762         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
12763         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
12764         for arguments Inf and sNaN.  When returning a NaN, compute it by
12765         arithmetic on the arguments.
12766         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
12767         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
12768         arguments.
12770 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
12772         [BZ #20916]
12773         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
12774         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
12775         to compute result.
12776         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
12777         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
12779 2016-12-05  Torvald Riegel  <triegel@redhat.com>
12781         * include/atomic.h (__atomic_check_size_ls): New.
12782         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
12783         atomic_store_release): Use it.
12784         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
12785         (elision_adapt, ELIDE_LOCK): Use atomics.
12786         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
12787         atomics and improve code comments.
12788         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
12789         (__lll_trylock_elision): Likewise.
12791 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12793         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
12794         programs.
12796 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12798         [BZ #20916]
12799         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
12800         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
12801         arguments to compute result.
12802         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
12803         1 for arguments (sNaN, 0) or (1, sNaN).
12804         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
12805         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
12807         [BZ #20919]
12808         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
12809         NaN first argument when raised to power 0.
12810         * math/w_pow.c (__pow): Do not check for NaN or zero results from
12811         raising to power zero.
12812         * math/w_powf.c (__powf): Likewise.
12813         * math/w_powl.c (__powl): Likewise.
12814         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
12815         pow (0, 0) or pow (NaN, 0).
12817 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
12819         [BZ #20918]
12820         * configure.ac: Test for static NSS cryptographic libraries and set
12821         libc_cv_static_nss_crypt.
12822         * configure: Regenerate.
12823         * config.make.in (static-nss-crypt): Define.
12824         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
12825         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
12826         (CFLAGS-tst-linkall-static.c): Define.
12827         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
12828         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
12829         ($(objpfx)tst-linkall-static): Define.
12830         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
12831         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
12833 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12835         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
12836         (one-hundred, tst-tls-many-dynamic-modules): Define.
12837         (modules-names): Add $(tst-tls-many-dynamic-modules).
12838         (tst-tls-manydynamic%mod.os): Build with special preprocessor
12839         macros.
12840         (tst-tls-manydynamic): Link against libdl, libpthread.
12841         (tst-tls-manydynamic.out): The test needs the test modules at run
12842         time.
12843         * elf/tst-tls-manydynamic.c: New file.
12844         * elf/tst-tls-manydynamic.h: Likewise.
12845         * elf/tst-tls-manydynamicmod.c: Likewise.
12847 2016-12-02  Florian Weimer  <fweimer@redhat.com>
12849         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
12850         (TLS_DTV_UNALLOCATED): Add.
12851         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
12852         offsets.
12854 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12856         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
12858 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
12860         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
12861         Add -fno-optimize-sibling-calls.
12863 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
12865         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
12866         New declaration.
12867         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
12868         macro.
12869         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
12870         New macro.
12871         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
12872         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
12873         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
12874         (llogbf): Likewise.
12875         (llogbl): Likewise.
12876         * math/Makefile (gen-libm-calls): Add w_llogbF.
12877         (tests): Add test-fp-llogb-constants.
12878         * math/w_llogb_template.c: New file.  Based on
12879         math/w_ilogb_template.c.
12880         * math/libm-test.inc (llogb_test_data): New array.
12881         (llogb_test): New function.
12882         (main): Call llogb_test.
12883         * math/test-fp-llogb-constants.c: New file.  Based on
12884         math/test-fp-ilogb-constants.c.
12885         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
12886         (do_test): Call check_return_llogb.
12887         * math/test-tgmath.c (NCALLS): Increase to 126.
12888         (F(compile_test)): Call llogb.
12889         (F(llogb)): New function.
12890         * manual/math.texi (Exponents and Logarithms): Document llogb,
12891         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
12892         * manual/libm-err-tab.pl (@all_functions): Add llogb.
12893         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
12894         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
12895         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
12896         (CFLAGS-nldbl-llogb.c): New variable.
12897         * sysdeps/nacl/libm.abilist: Update.
12898         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12899         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12900         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12901         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12902         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12903         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12904         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12905         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12906         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12907         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12908         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12909         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12911         Likewise.
12912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12913         Likewise.
12914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12915         Likewise.
12916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12917         Likewise.
12918         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12919         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12920         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12921         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12922         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12923         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12924         Likewise.
12925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12926         Likewise.
12927         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12928         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12929         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12931 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12933         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
12934         _Float128 instead of long double.
12935         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
12937         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
12938         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
12939         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
12940         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
12941         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
12942         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
12943         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
12944         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
12945         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
12946         Likewise.
12948 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12950         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
12951         Remove redirection to __strrchr_ppc.
12953 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12955         * sysdeps/powerpc/powerpc64/multiarch/Makefile
12956         (sysdep_routines): Add strcmp_power9.
12957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12958         (strcmp): Add __strcmp_power9 to list of strcmp functions.
12959         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
12960         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
12961         (strcmp): Add __strcmp_power9 to ifunc list.
12962         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
12964 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
12966         * bits/fp-logb.h: New file.
12967         * sysdeps/ia64/bits/fp-logb.h: Likewise.
12968         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
12969         * sysdeps/x86/bits/fp-logb.h: Likewise.
12970         * math/Makefile (headers): Add bits/fp-logb.h.
12971         * math/math.h: Include <bits/fp-logb.h>.
12972         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
12973         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
12974         * bits/mathdef.h (FP_ILOGB0): Remove.
12975         (FP_ILOGBNAN): Likewise.
12976         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
12977         (FP_ILOGBNAN): Likewise.
12978         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
12979         (FP_ILOGBNAN): Likewise.
12980         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
12981         (FP_ILOGBNAN): Likewise.
12982         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
12983         (FP_ILOGBNAN): Likewise.
12984         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
12985         (FP_ILOGBNAN): Likewise.
12986         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
12987         (FP_ILOGBNAN): Likewise.
12988         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
12989         (FP_ILOGBNAN): Likewise.
12990         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
12991         (FP_ILOGBNAN): Likewise.
12992         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
12993         (FP_ILOGBNAN): Likewise.
12995         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
12996         time module.
12997         (Context.__init__): Initialize self.logsdir_old.
12998         (Context.run_builds): Handle bot action.
12999         (Context.bot_cycle): Copy logs directory before running builds.
13000         (Context.bot_run_self): Take argument for whether to check
13001         subprocess result.  Flush stdout before running subprocess.
13002         (Context.bot): New function.
13003         (get_parser): Allow bot action.
13005 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
13007         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
13008         Import email.mime.text, email.utils and smtplib modules.
13009         (Context.__init__): Initialize self.bot_config_json.
13010         (Context.run_builds): Handle bot-cycle action.
13011         (Context.load_bot_config_json): New function.
13012         (Context.part_build_old): Likewise.
13013         (Context.bot_cycle): Likewise.
13014         (Context.bot_build_mail): Likewise.
13015         (Context.bot_run_self): Likewise.
13016         (get_parser): Allow bot-cycle action.
13018 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13020         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
13021         Remove redirection to __stpcpy_ppc.
13023 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13025         Remove __libc_memalign from ld.so because it is unused.
13026         * elf/dl-minimal.c: Update comment on the malloc implementation.
13027         (malloc): Renamed from __libc_memalign, replacing the original
13028         malloc implementation.  Replace the align parameter with
13029         MALLOC_ALIGNMENT.
13030         * elf/Versions (ld): Update comment and remove __libc_memalign.
13031         * sysdeps/nacl/ld.abilist: Likewise.
13032         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
13033         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
13034         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
13035         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
13036         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
13037         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
13038         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
13039         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
13040         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
13041         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
13042         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
13043         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
13044         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
13045         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
13046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
13047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
13048         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
13049         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
13050         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
13051         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
13052         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
13053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
13054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
13055         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
13056         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
13057         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
13058         * sysdeps/generic/localplt.data (ld.so): Likewise.
13059         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13060         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13061         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13062         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13063         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13064         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13065         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13066         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
13067         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13069         (ld.so): Likewise.
13070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13071         (ld.so): Likewise.
13072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13073         Likewise.
13074         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13075         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13076         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
13077         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
13078         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13080 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13082         [BZ #16628]
13083         Implement _dl_catch_error, _dl_signal_error in libc.so.
13084         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
13085         (catch_hook): Define as thread-local or regular variable,
13086         depending on DL_ERROR_BOOTSTRAP.
13087         (CATCH_HOOK): Remove.
13088         (dl_signal_error, _dl_catch_error): Use
13089         catch_hook.  Add hidden definition for libc.
13090         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
13091         for DL_ERROR_BOOTSTRAP only.
13092         * elf/dl-error.c: New file.
13093         * elf/dl-error-minimal.c: Likewise.
13094         * elf/tst-latepthread.c: Likewise.
13095         * elf/tst-latepthreadmod.c: Likewise.
13096         * elf/Makefile (routines): Add dl-error.
13097         (dl-routines): Remove dl-error.
13098         (rtld-routines): Add dl-error-minimal.
13099         [build-shared] (tests): Add tst-latepthread.
13100         (module-names): Add tst-latepthreadmod.
13101         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
13102         symbol.
13103         (tst-latepthreadmod.so): Link against libpthread.
13104         (tst-latepthread): Link against libdbl.
13105         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
13106         _dl_catch_error.
13107         [ld] (GLIBC_PRIVATE): Likewise.
13108         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
13109         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
13110         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
13111         directly.
13112         * elf/dl-tsd.c: Remove file.
13113         * elf/rtld.c (_rtld_global_ro): Remove initializers for
13114         _dl_catch_error, _dl_signal_error.
13115         (_dl_initial_error_catch_tsd): Remove definition.
13116         (do_preload): Remove initialization of dl_error_catch_tsd.
13117         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
13118         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
13119         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
13120         * dlfcn/dlopen.c (dlopen_doit): Likewise.
13121         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
13122         set dl_error_catch_tsd.
13123         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
13124         _dl_error_catch_tsd member.
13125         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
13126         members.
13127         (_dl_initial_error_catch_tsd): Remove declaration.
13128         (_dl_dprintf): Provide definition for use outside of ld.so.
13129         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
13130         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
13131         prototype for libc.
13132         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
13133         _dl_catch_error.
13134         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
13135         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
13136         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
13137         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
13138         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
13139         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
13140         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
13141         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
13142         Likewise.
13143         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
13144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
13145         (ld.so): Likewise.
13146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
13147         (ld.so): Likewise.
13148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
13149         Likewise.
13150         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
13151         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
13152         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
13153         Likewise.
13154         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
13155         Likewise.
13156         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
13158 2016-11-30  Florian Weimer  <fweimer@redhat.com>
13160         [BZ #4099]
13161         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
13162         _IO_BUFSIZ (8192).
13164 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
13166         * PROJECTS: Remove file.
13168 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13170         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
13172 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
13173             Steve Ellcey  <sellcey@caviumnetworks.com>
13175         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
13176         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
13177         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
13178         fxstatat.
13179         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
13180         lxstat.
13181         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
13182         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
13183         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
13184         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
13185         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
13186         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
13187         __xstat.
13189 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13191         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
13192         Define.
13193         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
13194         definition.
13196 2016-11-29  Florian Weimer  <fweimer@redhat.com>
13198         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
13199         version and turn into strong alias.  Remove compat symbol.
13201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
13202         (__longjmp): Remove.
13204 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
13206         * bits/fp-fast.h: New file.
13207         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
13208         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
13209         * math/Makefile (headers): Add bits/fp-fast.h.
13210         * math/math.h: Include <bits/fp-fast.h>.
13211         * bits/mathdef.h (FP_FAST_FMA): Remove.
13212         (FP_FAST_FMAF): Likewise.
13213         (FP_FAST_FMAL): Likewise.
13214         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
13215         (FP_FAST_FMAF): Likewise.
13216         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
13217         (FP_FAST_FMAF): Likewise.
13218         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
13219         (FP_FAST_FMAF): Likewise.
13220         (FP_FAST_FMAL): Likewise.
13221         * sysdeps/arm/bits/mathdef.h: Remove file.
13222         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
13223         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
13224         * sysdeps/tile/bits/mathdef.h: Likewise.
13226 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13228         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
13229         * math/w_ilogb.c: Remove.
13230         * math/w_ilogbf.c: Likewise.
13231         * math/w_ilogbl.c: Likewise.
13232         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
13233         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
13234         * math/Makefile (gen-libm-calls): Add w_ilogbF.
13235         (libm-calls): Remove w_ilogbF.
13236         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
13237         (LDOUBLE_ilogbl_libm_version): New macro.
13239         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
13241         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
13242         [!__STRICT_ANSI__ && !__cplusplus].
13244 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
13246         [BZ #20750]
13247         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
13248         of PIC.
13250 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
13251             Yury Norov  <ynorov@caviumnetworks.com>
13252             Steve Ellcey  <sellcey@caviumnetworks.com>
13254         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
13255         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
13256         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
13257         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
13258         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
13259         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
13260         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
13261         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
13262         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
13263         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
13264         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
13265         to get correct reg name for ILP32.
13266         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
13267         (RELA_SIZE): New Macro.
13268         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
13269         to support ILP32.
13270         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
13271         cast for ILP32 mode.
13272         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
13273         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
13274         * sysdeps/aarch64/memset.S (__memset): Ditto.
13275         * sysdeps/aarch64/strchr.S (strchr): Ditto.
13276         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
13277         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
13278         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
13279         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
13280         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
13281         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
13282         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
13283         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
13284         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
13285         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
13286         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
13287         change PTR_MANGLE call to use register numbers instead of names.
13288         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
13289         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
13290         ILP32 mode, change PTR_MANGLE calls to use register numbers.
13291         * sysdeps/aarch64/start.S (_start): Ditto.
13292         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
13293         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
13294         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
13295         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
13296         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
13297         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
13298         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
13299         Make defined values dependent on __ILP32__.
13300         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
13301         (sem_t): Change __align type.
13302         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
13303         PTR_SIZE): New Macros.
13304         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
13305         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
13306         Set when in ILP32 mode.
13307         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
13308         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
13309         Set elf flags for ILP32.
13310         (add_system_dir): Set ILP32 library directories.
13311         * sysdeps/unix/sysv/linux/aarch64/init-first.c
13312         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
13313         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
13314         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
13315         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
13316         New Macros.
13317         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
13319 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
13321         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
13322         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
13323         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
13325 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
13327         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
13328         <asm/cachectl.h>.
13330 2016-11-27  Zack Weinberg  <zackw@panix.com>
13332         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
13333         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
13335 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13337         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
13338         error_t to fix usage in C++ programs.
13340 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
13342         * scripts/build-many-glibcs.py: Import datetime module.
13343         (Context.__init__): Load JSON build state.  Initialize list of
13344         status logs.
13345         (Context.run_builds): Update saved build state.
13346         (Context.add_makefile_cmdlist): Update list of status logs.
13347         (Context.load_build_state_json): New function.
13348         (Context.store_build_state_json): Likewise.
13349         (Context.clear_last_build_state): Likewise.
13350         (Context.update_build_state): Likewise.
13351         (CommandList.status_logs): Likewise.
13353 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
13355         * scripts/build-many-glibcs.py (Context.__init__): Save text of
13356         script being executed.
13357         (Context.get_script_text): New function.
13358         (Context.exec_self): Likewise.
13359         (Context.checkout): Re-exec script if changed by checkout process.
13361 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13363         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13364         (setpayloadsig): New declaration.
13365         * math/Versions (setpayloadsig): New libm symbol at version
13366         GLIBC_2.25.
13367         (setpayloadsigf): Likewise.
13368         (setpayloadsigl): Likewise.
13369         * math/Makefile (libm-calls): Add s_setpayloadsigF.
13370         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
13371         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
13372         (setpayloadsig_test_data): New array.
13373         (setpayloadsig_test): New function.
13374         (main): Call setpayloadsig_test.
13375         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
13376         setpayloadsigf and setpayloadsigl.
13377         * manual/libm-err-tab.pl: Update comment on interfaces without
13378         ulps tabulated.
13379         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
13380         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
13381         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
13382         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
13383         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
13384         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
13385         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13386         setpayloadsig.
13387         (CFLAGS-nldbl-setpayloadsig.c): New variable.
13388         * sysdeps/nacl/libm.abilist: Update.
13389         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13390         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13391         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13392         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13393         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13394         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13395         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13396         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13397         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13398         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13399         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13400         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13402         Likewise.
13403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13404         Likewise.
13405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13406         Likewise.
13407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13408         Likewise.
13409         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13410         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13411         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13412         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13413         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13414         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13415         Likewise.
13416         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13417         Likewise.
13418         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13419         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13420         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13422         * scripts/build-many-glibcs.py: Import json module.
13423         (Context.__init__): Take replace_sources argument.  Load
13424         versions.json.
13425         (Context.load_versions_json): New function.
13426         (Context.store_json): Likewise.
13427         (Context.store_versions_json): Likewise.
13428         (Context.set_component_version): Likewise.
13429         (Context.checkout): Update versions.json.  Check for and handle
13430         changes of version.  Prefer previously explicitly specified
13431         version to default version.
13432         (Context.checkout_vcs): Return a revision identifier.
13433         (Context.git_checkout): Likewise.
13434         (Context.gcc_checkout): Likewise.
13435         (get_parser): Add --replace-sources option.
13436         (main): Pass replace_sources argument to Context call.
13438 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13440         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
13441         * nptl/allocatestack.c (allocate_stack): Likewise.
13442         (__reclaim_stacks): Likewise.
13443         (setxid_signal_thread): Obtain pid through syscall.
13444         * nptl/nptl-init.c (sigcancel_handler): Likewise.
13445         (sighandle_setxid): Likewise.
13446         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
13447         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
13448         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13449         Likewise.
13450         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
13451         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
13452         comment.
13453         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
13454         * nptl/descr.h (struct pthread): Change comment about pid value.
13455         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
13456         pid assert.
13457         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
13458         Do not set pid value.
13459         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
13460         pid cache check.
13461         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
13462         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
13463         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
13464         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
13465         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
13466         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
13467         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
13468         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
13469         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
13470         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
13471         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
13472         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
13473         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
13474         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
13475         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
13476         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
13477         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
13478         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
13479         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
13480         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
13481         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
13482         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13483         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
13484         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
13485         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
13486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
13488         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
13489         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
13490         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
13491         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
13492         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
13493         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
13494         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
13495         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
13496         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
13497         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
13498         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
13499         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
13500         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
13501         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
13502         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
13503         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
13504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
13505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
13506         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
13507         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
13508         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
13509         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
13510         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
13511         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
13512         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
13513         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
13514         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
13515         struct access.
13516         (clone_test): Remove function.
13517         (do_test): Rewrite to take in consideration pid is not cached anymore.
13519 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
13521         * bits/flt-eval-method.h: New file.
13522         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
13523         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
13524         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
13525         * math/Makefile (headers): Add bits/flt-eval-method.h.
13526         * math/math.h: Include <bits/flt-eval-method.h>.
13527         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
13528         [__USE_ISOC99] (double_t): Likewise.
13529         * bits/mathdef.h (float_t): Remove.
13530         (double_t): Likewise.
13531         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
13532         (double_t): Likewise.
13533         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
13534         (double_t): Likewise.
13535         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
13536         (double_t): Likewise.
13537         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
13538         (double_t): Likewise.
13539         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
13540         (double_t): Likewise.
13541         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
13542         (double_t): Likewise.
13543         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
13544         (double_t): Likewise.
13545         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
13546         (double_t): Likewise.
13547         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
13548         (double_t): Likewise.
13549         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
13550         (double_t): Likewise.
13551         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
13552         (double_t): Likewise.
13553         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
13554         (double_t): Likewise.
13555         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
13556         (double_t): Likewise.
13558 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
13560         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
13561         instead of PIC.
13563 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13565         [BZ #20859]
13566         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
13567         (-0x7fffffff) instead of 0x80000001.
13568         * math/test-fp-ilogb-constants.c: New file.
13569         * math/Makefile (tests): Add test-fp-ilogb-constants.
13571 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
13573         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
13574         (_init): Use it in place of hardcoded R_MIPS_JALR.
13575         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
13576         (_init): Use it in place of hardcoded R_MIPS_JALR.
13577         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
13578         (_init): Use it in place of hardcoded R_MIPS_JALR.
13580 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13582         [BZ #20787]
13583         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
13584         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
13585         (double_t): Do not define to double if [__x86_64__] when
13586         __FLT_EVAL_METHOD__ is nonzero.
13587         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
13588         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
13589         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13590         test-flt-eval-method-387 and test-flt-eval-method-sse.
13591         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
13592         variable.
13593         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
13595 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
13597         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
13598         use of -fno-isolate-erroneous-paths options for tilepro.
13600 2016-11-23  Florian Weimer  <fweimer@redhat.com>
13602         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
13603         structure initialization is no longer needed.
13605 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
13607         [BZ #20855]
13608         * bits/mathdef.h (float_t): Define to float.
13609         * math/test-flt-eval-method.c: New file.
13610         * math/Makefile (tests): Add test-flt-eval-method.
13611         (CFLAGS-test-flt-eval-method.c): New variable.
13613 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
13615         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
13616         and __fstatfs.  Make them aliases of __fstatfs64 if
13617         STATFS_IS_STATFS64 is set to non-zero.
13618         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
13619         and __statfs64.
13620         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
13621         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
13622         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
13623         for __statfs and statfs.
13624         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
13625         to 0.
13626         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
13627         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
13628         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
13629         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13630         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13631         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
13634         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
13635         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13636         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
13637         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
13639 2016-11-22  Andreas Schwab  <schwab@suse.de>
13641         * misc/mkstemp.c: Include <fcntl.h>.
13642         * misc/mkstemps.c: Likewise.
13643         * misc/mkostemp.c: Likewise.
13644         * misc/mkostemps.c: Likewise.
13646 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
13648         [BZ #20847]
13649         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
13650         array bounds.
13651         (__execvpe): Likewise.
13653 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
13655         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
13656         -fno-isolate-erroneous-paths options for tilepro.
13658 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
13660         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
13661         to 0 when in 32 bit mode.
13662         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
13663         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
13664         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
13665         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
13666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
13667         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
13668         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
13669         XSTAT_IS_XSTAT64 test.
13670         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
13671         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
13672         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
13673         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
13674         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
13675         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
13676         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
13677         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
13678         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
13679         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
13680         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
13682 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
13684         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13685         (setpayload): New declaration.
13686         * math/Versions (setpayload): New libm symbol at version
13687         GLIBC_2.25.
13688         (setpayloadf): Likewise.
13689         (setpayloadl): Likewise.
13690         * math/Makefile (libm-calls): Add s_setpayloadF.
13691         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
13692         test_Ff_b1_data.
13693         (RUN_TEST_Ff_b1): New macro.
13694         (RUN_TEST_LOOP_Ff_b1): Likewise.
13695         (canonicalize_test_data): Update type.
13696         (setpayload_test_data): New array.
13697         (setpayload_test): New function.
13698         (main): Call setpayload_test.
13699         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
13700         setpayloadf and setpayloadl.
13701         * manual/libm-err-tab.pl: Update comment on interfaces without
13702         ulps tabulated.
13703         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
13704         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
13705         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
13706         Likewise.
13707         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
13708         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
13709         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
13710         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
13711         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
13712         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
13713         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
13714         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
13715         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
13716         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
13717         setpayload.
13718         (CFLAGS-nldbl-setpayload.c): New variable.
13719         * sysdeps/nacl/libm.abilist: Update.
13720         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13721         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13722         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13723         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13724         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13725         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13726         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13727         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13728         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13729         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13730         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13731         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13733         Likewise.
13734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13735         Likewise.
13736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13737         Likewise.
13738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13739         Likewise.
13740         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13741         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13742         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13743         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13744         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13746         Likewise.
13747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13748         Likewise.
13749         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13750         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13751         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13753 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13755         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
13756         * include/unistd.h: Extend comment about __access_noerrno return
13757         semantics.
13758         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
13759         (access_common): Correct typo for EACCES.
13761 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
13763         * sysdeps/tile/math-tests.h: New file.
13765         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
13766         (__old_set_dataplane): Rename from set_dataplane and make a
13767         compatibility symbol.
13768         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
13769         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
13770         sys/dataplane.h.
13772 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
13774         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
13775         script quote words in command output to log suitably for input to
13776         the shell.
13778 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
13779             Maciej W. Rozycki  <macro@imgtec.com>
13781         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
13782         `.Lno_weak_fn' label.
13783         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
13784         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
13786 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13787             Yury Norov  <ynorov@caviumnetworks.com>
13789         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
13790         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
13791         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13792         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
13793         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13794         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
13795         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13796         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
13797         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13798         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
13799         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
13800         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
13801         (sysdep_routines): Remove oldgetrlimit64.
13802         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
13803         (sysdep_routines): Likewise.
13804         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
13805         (sysdep_routines): Likewise.
13806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
13807         [$(subdir) = resource] (sysdep_routines): Likewise.
13808         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
13809         [$(subdir) = resource] (sysdep_routines): Likewise.
13810         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
13811         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
13812         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
13813         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
13814         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
13815         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
13816         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
13817         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
13818         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
13819         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
13820         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
13821         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
13822         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
13823         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
13824         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
13825         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
13826         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
13827         setrlimit and getrlimit.
13828         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
13829         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
13830         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
13831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
13832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
13833         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
13834         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
13835         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
13836         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
13837         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
13838         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
13839         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
13840         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
13841         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
13842         (__old_getrlimit64): Add compatibility symbol.
13843         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
13845 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
13847         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
13848         newly built gmp, mpfr and mpc.
13850         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
13852 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13854         * conform/Makefile (linknamespace-libs): Rename to
13855         linknamespace-libs-thr.
13856         (linknamespace-libs-posix): New variable.
13857         (linknamespace-libs-xsi): Likewise.
13858         (linknamespace-libs-XPG3): Include libcrypt.a.
13859         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
13860         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
13861         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
13862         (linknamespace-libs-XOPEN2K): Likewise.
13863         (linknamespace-libs-XOPEN2K8): Likewise.
13864         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
13866         [BZ #20829]
13867         * stdio-common/Versions (__snprintf): Add to version
13868         GLIBC_PRIVATE.
13869         * include/stdio.h (__snprintf): Use libc_hidden_proto.
13870         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
13871         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
13872         of snprintf.
13873         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
13875 2016-11-16  Zack Weinberg  <zackw@panix.com>
13877         * string/string.h: Remove obsolete comment stating that
13878         strcoll_l and strxfrm_l have not yet been standardized.
13880 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13882         * hurd/hurd.h (__hurd_fail_noerrno): New function.
13883         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
13884         __access_noerrno.
13885         * io/access.c (__access_noerrno): New function.
13886         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
13887         (hurd_fail_seterrno): Likewise.
13888         (access_common): Likewise.
13889         (__access_noerrno): Likewise.
13890         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
13891         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
13892         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
13893         macro.
13895 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
13897         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
13898         Only declare fpregs if [__SH_FPU_ANY__].
13900 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
13902         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
13903         Make code unconditional.
13904         [!(__SH4__ || __SH4A__)]: Remove conditional code.
13906 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
13908         * manual/sysinfo.texi (S_APPEND): Delete.
13909         (S_IMMUTABLE): Likewise.
13911 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
13912             Magnus Granberg  <zorry@gentoo.org>
13913             Mike Frysinger  <vapier@gentoo.org>
13915         [BZ #20662]
13916         * configure.ac (libc_cv_predef_stack_protector): Also check for
13917         __stack_chk_fail_local symbols.
13918         * configure: Regenerated.
13920 2016-11-15  Florian Weimer  <fweimer@redhat.com>
13922         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13923         (libc_hidden_def): Remove redefinition.
13924         (__sigsetjmp): Add hidden definition.
13925         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
13926         (libc_hidden_def): Remove redefinition.
13927         (__sigsetjmp): Add hidden definition.
13929 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
13931         * scripts/build-many-glibcs.py (os.path): Do not import.
13932         (Context): Inherit explicitly from object.  Remove blank line
13933         between class and docstring.
13934         (Config): Likewise.
13935         (Glibc): Likewise.
13936         (Command): Likewise.
13937         (CommandList): Likewise.
13938         (Context.write_files): Store chmod mode in a variable.
13940         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
13941         LIBC_SLIBDIR_RTLDDIR for tilegx32.
13942         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
13944 2016-11-14  Zack Weinberg  <zackw@panix.com>
13946         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
13947         creating or re-creating it.
13949         * string/bits/string2.h: Fix typo in comment.
13951 2016-11-14  Zack Weinberg  <zackw@panix.com>
13953         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
13954         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
13955         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
13956         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
13957         of redirected function names.
13959         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
13960         as well.  Document that MESSAGE must be a single string literal.
13962 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
13964         * scripts/build-many-glibcs.py: New file.
13966         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
13967         (do_test): Disable -Wmaybe-uninitialized around uses of
13968         except_mask.
13970         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
13972 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
13974         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
13975         (atomic_store_release): Provide tilepro-specific implementations.
13977 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
13979         * math/math.h (__MATH_TG): New macro.
13980         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
13981         [__USE_ISOC99] (signbit): Likewise.
13982         [__USE_ISOC99] (isfinite): Likewise.
13983         [__USE_ISOC99] (isnan): Likewise.
13984         [__USE_ISOC99] (isinf): Likewise.
13985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
13986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
13987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
13988         __MATH_TG and __MATH_EVAL_FMT2.
13989         * sysdeps/generic/math_private.h (fabs_tg): Define using
13990         __MATH_TG.
13991         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13992         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
13993         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
13994         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
13995         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
13996         macro.
13997         (__iscanonical): Likewise.
13998         (iscanonical): Define using __MATH_TG.
14000 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14002         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
14003         guards.
14005         * sysdeps/unix/sysv/linux/access.c: New file.
14006         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
14008 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
14010         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
14011         and __WORDSIZE32_PTRDIFF_LONG.
14013 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14015         * sysdeps/aarch64/libm-test-ulps: Regenerated.
14017 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14019         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
14020         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
14021         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
14022         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
14023         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
14024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
14025         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
14026         * sysdeps/unix/sysv/linux/truncate.c: New file.
14027         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
14028         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14029         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
14030         Remove.
14031         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
14032         Likewise.
14034         * posix/tst-truncate-common.c: New file.
14035         * posix/tst-truncate.c: Use tst-truncate-common.c.
14036         * posix/tst-truncate64.c: Likewise and add LFS tests.
14037         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
14038         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
14039         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
14040         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
14041         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
14042         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
14043         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
14044         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
14045         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
14046         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
14047         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
14048         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
14049         Remove.
14050         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
14051         Likewise.
14053 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
14055         [BZ #20790]
14056         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
14057         to MAXLINESIZE.
14058         * sunrpc/bug20790.x: New file.
14059         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
14060         variable.
14061         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
14062         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
14064         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
14066         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
14068         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
14069         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
14070         calloc, realloc, free, memalign and __libc_memalign rather than
14071         making them optional.
14073         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
14074         for libc.so.
14076 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14078         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
14079         ptw-lseek64.
14080         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
14081         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
14082         Likewise.
14083         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
14084         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
14085         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
14086         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
14087         * sysdeps/unix/sysv/linux/lseek.c: New file.
14088         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
14089         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
14090         __libc_lseek64 from auto-generation.
14091         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
14092         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
14094 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14096         * nptl/tst-basic1.c (tf, do_test): Use write_message.
14097         * nptl/tst-cleanup1.c (do_test): Likewise.
14098         * nptl/tst-cleanup3.c (do_test): Likewise.
14099         * nptl/tst-key1.c (do_test): Likewise.
14100         * nptl/tst-key2.c (tf, do_test): Likewise.
14101         * nptl/tst-key3.c (tf, do_test): Likewise.
14102         * nptl/tst-stdio1.c (do_test): Likewise.
14103         * nptl/tst-stdio2.c (do_test): Likewise.
14105         * nptl/tst-kill3.c (handler): Use write_message in place of write.
14106         * nptl/tst-kill6.c (handler): Likewise.
14107         * nptl/tst-tls2.c (CB): Likewise.
14108         * nptl/tst-tls3.c (CB): Likewise.
14110 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
14112         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
14114 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
14115             Steve Ellcey  <sellcey@caviumnetworks.com>
14117         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
14118           __ASSUME_ST_INO_64_BIT as 0
14119         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
14120         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
14121           over the code where __ASSUME_ST_INO_64_BIT is used.
14122         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
14123         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
14124         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
14126 2016-11-07  Florian Weimer  <fweimer@redhat.com>
14128         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14129         Document ABI exposure of the __kind offset.
14130         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14131         Mention reason for the __kind offset exposure in the ABI.
14132         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14133         Likewise.
14134         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14135         Likewise.
14136         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14137         Likewise.
14138         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
14139         (struct __pthread_mutex_s): Likewise.
14140         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14141         Likewise.
14142         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14143         Likewise.
14144         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14145         Likewise.
14146         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14147         Likewise.
14148         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14149         Likewise.
14150         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
14151         Likewise.
14152         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
14153         (struct __pthread_mutex_s): Likewise.
14154         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14155         (struct __pthread_mutex_s): Likewise.
14156         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
14157         Likewise.
14159 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
14161         * test-skeleton.c: Document do_test usage.
14163 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
14165         * iconv/gconv.h (__gconv_info): Define __data element using a
14166         zero-length array.
14168 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
14170         * math/test-tgmath2.c: Split up test function.
14172 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14174         * Rules (tests-expected): New variable, depending on
14175         $(run-built-tests).
14176         (tests): Pass $(tests-expected) to merge-test-results.sh, not
14177         $(tests).
14179         * Rules [$(run-built-tests) = no] (tests): Do not depend on
14180         $(tests-unsupported).
14182 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14184         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
14185         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
14187 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14189         [BZ #20768]
14190         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
14191         __fegetenv instead of fegetenv.
14193         [BZ #14139]
14194         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
14195         (find_files): Obtain platform name from libm-test-ulps-name and
14196         store in %pplatforms.
14197         (canonicalize_platform): Remove.
14198         (print_platforms): Use $pplatforms directly.
14199         (by_platforms): Do not allow for platforms missing from
14200         %pplatforms.
14201         * sysdeps/aarch64/libm-test-ulps-name: New file.
14202         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
14203         * sysdeps/arm/libm-test-ulps-name: Likewise.
14204         * sysdeps/generic/libm-test-ulps-name: Likewise.
14205         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
14206         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
14207         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
14208         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
14209         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
14210         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
14211         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
14212         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
14213         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
14214         * sysdeps/nios2/libm-test-ulps-name: Likewise.
14215         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
14216         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
14217         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
14218         * sysdeps/sh/libm-test-ulps-name: Likewise.
14219         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
14220         * sysdeps/tile/libm-test-ulps-name: Likewise.
14221         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
14223         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
14225         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
14226         (test-xfail-check-execstack): New variable.
14228         * sysdeps/mips/localplt.data: New file.
14230 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
14231             Steve Ellcey  <sellcey@caviumnetworks.com>
14233         * bits/wordsize.h: Add documentation.
14234         * sysdeps/aarch64/bits/wordsize.h : New file
14235         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
14236         definitions.
14237         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
14238         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
14239         with #if instead of #ifdef.
14240         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
14241         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
14242         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
14243         Add or change defines.
14244         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
14245         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
14246         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
14247         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
14248         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
14249         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
14250         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
14251         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
14252         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
14253         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
14254         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
14255         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
14256         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
14257         * sysdeps/x86/bits/wordsize.h: Likewise.
14259 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
14260             Kevin Petit  <kevin.petit@arm.com>
14262         * sysdeps/aarch64/memchr.S (__memchr): New file.
14264 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
14266         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
14268 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
14270         [BZ #19398]
14271         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
14272         $(linknamespace-symlists-tests).
14274 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
14276         * time/tst-strptime2.c: Ignore -Wformat-length warning.
14278 2016-11-02  Florian Weimer  <fweimer@redhat.com>
14279             Carlos O'Donell  <carlos@redhat.com>
14281         [Bug #20729]
14282         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
14283         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
14284         for -Os related change.
14286 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
14288         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
14290 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
14292         [BZ #19673]
14293         * manual/math.texi (Exponents and Logarithms): Correct description
14294         of clog10.
14296 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
14298         [Bz #20729]
14299         * locale/weight.h: Include libc-internal.h.
14300         * locale/weightwc.h: Likewise.
14301         * nptl/nptl_dbP.h: Likewise.
14303 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
14305         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
14306         when it is MACH_PORT_NULL.
14308 2016-10-31  Andreas Schwab  <schwab@suse.de>
14310         [BZ #20707]
14311         * posix/glob.c (glob): Initialize pglob before checking for
14312         GLOB_BRACE.  Don't call glob recursively if pattern contains no
14313         valid brace expression despite GLOB_BRACE.
14314         * posix/globtest.sh: Test it.
14316 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14318         [BZ #20729]
14319         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
14320         Define.
14321         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
14322         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
14323         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
14324         for seq2.back_us and seq1.back_us only for -Os compiles.
14325         * locale/weightwc.h (findix): Likewise.
14326         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
14327         DB_GET_FIELD_ADDRESS only for -Os compiles.
14328         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
14329         for slen only for -Os compiles.
14330         * string/strcoll_l.c (get_next_seq): Ignore
14331         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
14332         for -Os compiles.
14334         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
14335         * include/crypt.h: New file.
14337 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14339         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
14340         from test-skeleton.c.
14341         (statclass): Replace calls to write with calls to write_message.
14343 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14345         * math/math.h
14346         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
14347         New macro.
14348         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
14349         Likewise.
14350         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
14351         Likewise.
14352         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
14353         SNANL.
14354         * math/test-double.h (snan_value_MACRO): New macro.
14355         * math/test-float.h (snan_value_MACRO): Likewise.
14356         * math/test-ldouble.h (snan_value_MACRO): Likewise.
14357         * math/libm-test.inc (issignaling_test_data): Add tests of
14358         snan_value_MACRO.
14360 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14362         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
14363         behavior when eliding a lock not held by the current thread.
14364         * sysdeps/powerpc/nptl/elide.h: Likewise.
14366 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
14368         [BZ #20728]
14369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
14370         branch to _exit() by a function call.
14372 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14374         * malloc/malloc.c: Update chunk layout comments.
14375         (chunk_main_arena): Update comment.
14377 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14379         * crypt/sha256.c, crypt/sha256-block.c,
14380         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
14381         sha256_process_block to __sha256_process_block.
14382         * crypt/sha512.c, crypt/sha512-block.c,
14383         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
14384         sha512_process_block to __sha512_process_block.
14386 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
14388         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
14390         * math/test-nan-overflow.c: Include stdlib.h for malloc.
14392 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
14394         [BZ #20019]
14395         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
14396         definition in unrelocated shared library.
14397         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14399 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14401         [BZ #20729]
14402         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
14403         * sysdeps/unix/sysv/linux/i386/Makefile
14404         (uses-6-syscall-arguments): Define.
14405         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
14406         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
14407         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
14408         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
14409         Likewise.
14410         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
14411         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
14412         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
14413         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
14414         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
14415         (CFLAGS-fallocate64.os): Likewise.
14416         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
14417         (CFLAGS-pthread_rwlock_timedrdlock.os)
14418         (CFLAGS-pthread_rwlock_timedwrlock.o)
14419         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
14420         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
14421         (CFLAGS-sem_timedwait.os): Likewise.
14423 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14425         * elf/tst-linkall-static.c: New file.
14426         * elf/Makefile (tests-static): Add tst-linkall-static.
14427         (tst-linkall-static): Link against static libraries.
14429 2016-10-27  Florian Weimer  <fweimer@redhat.com>
14431         * malloc/malloc.c (sysmalloc): Initialize previous size field of
14432         mmaped chunks.
14434 2016-10-28  Florian Weimer  <fweimer@redhat.com>
14436         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
14437         members to mchunk_prev_size, mchunk_size.
14438         (chunk_main_arena): Reverse sense and rename from
14439         chunk_non_main_arena.
14440         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
14441         mchunk_size instead of size.
14442         (set_non_main_arena): Define.
14443         (chunksize): Use chunksize_nomask instead of direct member access.
14444         (chunksize_nomask): Define.
14445         (next_chunk): Use chunksize instead of direct member access.
14446         (prev_size, set_prev_size): Define.
14447         (prev_chunk): Use prev_size instead of direct member access.
14448         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
14449         (inuse_bit_at_offset, set_inuse_bit_at_offset)
14450         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
14451         (mchunk_prev_size, mchunk_size): Poison tokens.
14452         (unlink): Use chunksize_nomask, prev_size accessors.
14453         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
14454         (do_check_free_chunk): Use prev_size accessor.
14455         (sysmalloc): Use set_prev_size, set_head accessors.
14456         (munmap_chunk, mremap_chunk): Use prev_size accessor.
14457         (__libc_free): Use chunksize_nomask accessor.
14458         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
14459         chunk_main_arena accessors.
14460         (_int_free): Use chunksize_nomask, prev_size accessors.
14461         (malloc_consolidate): Use chunksize, prev_size accessors.
14462         (_int_realloc): Use chunksize_nomask accessor.
14463         (_int_memalign): Use set_prev_size accessor.
14464         (__malloc_info): Use chunksize_nomask accessor.
14465         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
14466         accessors.
14467         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
14468         (heap_trim): Use chunksize_nomask, prev_size accessors.
14470 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
14472         [BZ #19380]
14473         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
14474         for inexact results.
14475         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
14476         of inexact result where mpfr_subnormalize is the only inexact
14477         step.
14478         * stdlib/tst-strtod-round-data.h: Regenerated.
14479         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
14480         Define to 0.
14481         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
14483 2016-10-27  David S. Miller  <davem@davemloft.net>
14485         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
14487 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14489         * malloc/malloc.c (do_set_mallopt_check): New function.
14490         (do_set_mmap_threshold): Likewise.
14491         (do_set_mmaps_max): Likewise.
14492         (do_set_top_pad): Likewise.
14493         (do_set_perturb_byte): Likewise.
14494         (do_set_trim_threshold): Likewise.
14495         (do_set_arena_max): Likewise.
14496         (do_set_arena_test): Likewise.
14497         (__libc_mallopt): Use them.
14499 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
14501         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14502         (canonicalize): New declaration.
14503         * math/Versions (canonicalize): New libm symbol at version
14504         GLIBC_2.25.
14505         (canonicalizef): Likewise.
14506         (canonicalizel): Likewise.
14507         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
14508         * math/s_canonicalize_template.c: New file.
14509         * math/libm-test.inc: Update comment on functions tested and
14510         testing of NaN payloads.
14511         (TEST_NAN_PAYLOAD): New macro.
14512         (NO_TEST_INLINE): Update value.
14513         (XFAIL_TEST): Likewise.
14514         (ERRNO_UNCHANGED): Likewise.
14515         (ERRNO_EDOM): Likewise.
14516         (ERRNO_ERANGE): Likewise.
14517         (IGNORE_RESULT): Likewise.
14518         (NON_FINITE): Likewise.
14519         (TEST_SNAN): Likewise.
14520         (NO_TEST_MATHVEC): Likewise.
14521         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
14522         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
14523         (struct test_Ffp_b1_data): New type.
14524         (RUN_TEST_Ffp_b1): New macro.
14525         (RUN_TEST_LOOP_Ffp_b1): Likewise.
14526         (canonicalize_test_data): New array.
14527         (canonicalize_test): New function.
14528         (main): Call canonicalize_test.
14529         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
14530         canonicalizef and canonicalizel.
14531         * manual/libm-err-tab.pl: Update comment on interfaces without
14532         ulps tabulated.
14533         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
14534         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
14535         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14536         canonicalize.
14537         (CFLAGS-nldbl-canonicalize.c): New variable.
14538         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
14539         to ...
14540         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
14541         ... here.
14542         (do_test): Also test canonicalizel.
14543         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
14544         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
14545         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
14546         file.
14547         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
14548         Use libm_hidden_def.
14549         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
14550         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
14551         (do_test): Also test canonicalizel.
14552         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
14553         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
14554         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
14555         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
14556         libm_hidden_def.
14557         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
14558         macro.
14559         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
14560         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
14561         * sysdeps/nacl/libm.abilist: Update.
14562         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14563         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14564         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14565         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14566         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14567         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14568         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14569         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14570         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14571         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14572         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14573         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14575         Likewise.
14576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14577         Likewise.
14578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14579         Likewise.
14580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14581         Likewise.
14582         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14583         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14584         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14585         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14586         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14588         Likewise.
14589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14590         Likewise.
14591         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14592         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14593         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14595         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
14596         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
14597         getpayload.
14598         (CFLAGS-nldbl-getpayload.c): New variable.
14600 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14602         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
14603         integer from the format string.
14605 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14607         [BZ #19473]
14608         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
14609         declarations.
14610         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
14611         weak aliases.
14612         * malloc/hooks.c (__malloc_get_state): Remove definition.
14613         (malloc_get_state): New stub implementation as
14614         compatibility symbol.
14615         (malloc_set_state): Rename from __malloc_set_state.  Turn into
14616         compat symbol.
14617         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
14618         malloc_set_state.
14619         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
14621 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14623         * iconvdata/iso646.c (enum variant): Drop illegal_var.
14624         (names): Turn into concatenation of strings.
14625         (gconv_init): Adapt iteration over names.
14627 2016-10-26  Florian Weimer  <fweimer@redhat.com>
14629         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
14630         make const.
14631         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
14632         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
14633         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
14634         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
14635         character in sbconv.
14636         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
14637         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
14638         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
14640 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14642         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
14644         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
14645         (M_TRIM_THRESHOLD): Likewise.
14647         * manual/memory.texi (M_ARENA_TEST): Add documentation.
14648         (M_ARENA_MAX): Likewise.
14649         * malloc/malloc.c: Remove obsolete comment.
14651         * manual/memory.texi: Add environment variable alternatives to
14652         setting mallopt parameters.
14654 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
14656         * include/atomic.h
14657         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
14658         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
14660 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14662         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
14663         * stdlib/tst-strfrom.h: New file.
14664         * stdlib/tst-strfrom.c: New file.
14665         * stdlib/tst-strfrom-locale.c: New file.
14667         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
14668         * stdlib/bug-strtod2.c: Likewise.
14669         * stdlib/tst-strtod-round-skeleton.c: Likewise.
14670         * stdlib/tst-strtod6.c: Likewise.
14671         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
14673 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
14675         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
14676         * manual/arith.texi: Document strfromd, strfromf, strfroml.
14677         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
14678         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
14679         * stdlib/stdlib.h (strfromd): New declaration.
14680         (strfromf): Likewise.
14681         (strfroml): Likewise.
14682         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
14683         strfrom.
14684         * stdlib/strfromd.c: New file.
14685         * stdlib/strfromf.c: Likewise.
14686         * stdlib/strfroml.c: Likewise.
14687         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
14688         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
14689         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
14690         * sysdeps/arm/nacl/libc.abilist: Update.
14691         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
14692         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
14693         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
14694         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
14695         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
14696         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
14697         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
14698         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
14699         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
14700         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
14701         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
14702         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
14703         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
14704         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
14705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
14706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
14707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
14708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
14709         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
14710         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
14711         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
14712         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
14713         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
14714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
14715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
14716         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
14717         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
14718         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
14720 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
14722         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
14723         instead of cmpli.
14724         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
14725         instead of cmpli.
14727 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
14729         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
14730         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
14731         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
14732         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
14733         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
14734         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
14736 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14738         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
14739         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
14740         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
14741         SYSCALL_LL64_PRW.
14742         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
14743         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
14744         __ASSUME_PRW_DUMMY_ARG.
14745         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
14746         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
14747         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
14748         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
14749         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
14750         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
14752 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
14754         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
14756 2016-10-22  Florian Weimer  <fweimer@redhat.com>
14758         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
14759         "C++", to override a potential extern "C" directive around the
14760         header file inclusion.
14762 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
14764         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
14766 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14768         * sysdeps/powerpc/fpu/fenv_private.h:
14769         (_FPU_MASK_ALL): Rename to...
14770         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
14771         XE FPSCR bits.
14773         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
14775         (_FPU_MASK_ROUNDING): Rename to...
14776         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
14777         NI bits.
14779         (_FPU_MASK_EXCEPT_ROUND): Rename to...
14780         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
14781         bits and rounding bits.
14783         (__libc_feholdbits_ppc): New inline function to mask, set,
14784         and pontentially clear FSPCR bits, and change MSR[FE] bits.
14785         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
14786         (libc_feholdexcept_setround_ppc): Likewise.
14788         (__libc_femergeenv_ppc): New function to dynamically mask both
14789         old and new FP environments and merge.
14790         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
14791         (libc_feresetround_ppc): Likewise.
14792         (libc_feupdateenv_test_ppc): Likewise.
14793         (libc_feupdateenv_ppc): Likewise.
14795         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
14796         of ISA RN bits, and update macro names.
14797         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
14798         effectively the same as the previously mentioned function.
14800         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
14801         usage with fe_resetround_ppc.
14803         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
14804         to be used.
14805         (libc_feholdexcept_setround_ctxf): Likewise.
14806         (libc_feholdexcept_setround_ctxl): Likewise.
14808 2016-10-21  Florian Weimer  <fweimer@redhat.com>
14810         [BZ #20715]
14811         * math/math.h [__cplusplus] (iszero): Define as function template.
14812         * math/Makefile [CXX] (tests): Add test-math-iszero.
14813         (CFLAGS-test-math-iszero.cc): Set.
14814         * math/test-math-iszero.cc: New file.
14816 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
14818         [BZ #20660]
14819         * sysdeps/arm/e_sqrt.c: New file.
14820         * sysdeps/arm/e_sqrtf.c: Likewise.
14822 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
14824         [BZ #20718]
14825         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
14826         not use floating-point comparisons to test sign.
14827         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
14828         Likewise.
14830         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14831         (getpayload): New declaration.
14832         * math/Versions (getpayload): New libm symbol at version
14833         GLIBC_2.25.
14834         (getpayloadf): Likewise.
14835         (getpayloadl): Likewise.
14836         * math/Makefile (libm-calls): Add s_getpayloadF.
14837         * math/libm-test.inc: Include <nan-high-order-bit.h>.
14838         (struct test_f_f_data): Add comment.
14839         (RUN_TEST_fp_f): New macro.
14840         (RUN_TEST_LOOP_fp_f): Likewise.
14841         (getpayload_test_data): New array.
14842         (getpayload_test): New function.
14843         (main): Call getpayload_test.
14844         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
14845         descriptor.
14846         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
14847         getpayloadf and getpayloadl.
14848         * manual/libm-err-tab.pl: Update comment on interfaces without
14849         ulps tabulated.
14850         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
14851         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
14852         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
14853         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
14854         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
14855         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
14856         * sysdeps/nacl/libm.abilist: Update.
14857         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14858         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14859         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14860         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14861         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14862         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14863         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14864         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14865         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14866         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14867         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14868         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14870         Likewise.
14871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14872         Likewise.
14873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14874         Likewise.
14875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14876         Likewise.
14877         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14878         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14879         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14880         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14881         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14882         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14883         Likewise.
14884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14885         Likewise.
14886         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14887         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14888         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14890 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14892         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
14893         tst-fallocate{64}.
14894         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
14895         on syscall return.
14897 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
14899         [BZ #20689]
14900         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
14901         usable.
14903 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
14905         * sysdeps/generic/nan-high-order-bit.h: New file.
14906         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
14907         * sysdeps/mips/nan-high-order-bit.h: Likewise.
14908         * sysdeps/hppa/math_private.h: Remove file.
14909         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
14910         not define here.
14911         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
14912         <nan-high-order-bit.h>.
14913         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14914         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
14915         <nan-high-order-bit.h>.
14916         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14917         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
14918         <nan-high-order-bit.h>.
14919         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14920         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
14921         <nan-high-order-bit.h>.
14922         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14923         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
14924         <nan-high-order-bit.h>.
14925         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14926         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
14927         <nan-high-order-bit.h>.
14928         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14929         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
14930         <nan-high-order-bit.h>.
14931         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14932         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
14933         <nan-high-order-bit.h>.
14934         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14935         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
14936         <nan-high-order-bit.h>.
14937         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14938         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
14939         <nan-high-order-bit.h>.
14940         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14941         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
14942         <nan-high-order-bit.h>.
14943         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14944         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
14945         <nan-high-order-bit.h>.
14946         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14947         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
14948         <nan-high-order-bit.h>.
14949         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14950         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
14951         <nan-high-order-bit.h>.
14952         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14953         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
14954         <nan-high-order-bit.h>.
14955         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14956         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
14957         <nan-high-order-bit.h>.
14958         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14959         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
14960         <nan-high-order-bit.h>.
14961         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14962         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
14963         <nan-high-order-bit.h>.
14964         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
14966 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
14968         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
14970 2016-09-22  John David Anglin  <dave.anglin@bell.net>
14972         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
14973         abort-instr.h.
14974         (EFAULT): Remove conditional define.
14975         (ENOSYS): Likewise.
14976         (atomic_compare_and_exchange_val_acq): Use instruction nullification
14977         instead of conditional branch instructions.
14979 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
14981         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14982         (totalordermag): New declaration.
14983         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
14984         New macro.
14985         * math/Versions (totalordermag): New libm symbol at version
14986         GLIBC_2.25.
14987         (totalordermagf): Likewise.
14988         (totalordermagl): Likewise.
14989         * math/Makefile (libm-calls): Add s_totalordermagF.
14990         * math/libm-test.inc (totalordermag_test_data): New array.
14991         (totalordermag_test): New function.
14992         (main): Call totalordermag_test.
14993         * math/test-tgmath.c (NCALLS): Increase to 125.
14994         (F(compile_test)): Call totalordermag.
14995         (F(totalordermag)): New function.
14996         * manual/arith.texi (FP Comparison Functions): Document
14997         totalordermag, totalordermagf and totalordermagl.
14998         * manual/libm-err-tab.pl: Update comment on interfaces without
14999         ulps tabulated.
15000         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
15001         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
15002         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
15003         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
15004         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
15005         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
15006         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
15007         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15008         totalordermag.
15009         (CFLAGS-nldbl-totalordermag.c): New variable.
15010         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
15011         (do_test): Also test totalordermagl.
15012         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
15013         Likewise.
15014         * sysdeps/nacl/libm.abilist: Update.
15015         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15016         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15017         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15018         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15019         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15020         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15021         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15022         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15023         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15024         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15025         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15026         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15027         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15028         Likewise.
15029         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15030         Likewise.
15031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15032         Likewise.
15033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15034         Likewise.
15035         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15036         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15037         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15038         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15039         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15041         Likewise.
15042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15043         Likewise.
15044         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15045         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15046         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15048 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
15050         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
15051         boolean.
15053 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
15055         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
15056         raising FE_INVALID with feraisexcept in case where part of
15057         argument is infinite, subtract that part of argument from itself.
15058         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
15059         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
15060         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15062 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15064         * math/libm-test.inc (totalorder_test_data): Add more tests.
15066 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
15068         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
15069         Undefine weak_alias and add a comment why mips64 require
15070         versioning.
15072 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
15074         [BZ #20647]
15075         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
15076         maximum CPUID level is less than 2.
15078 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
15080         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15081         (totalorder): New declaration.
15082         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
15083         New macro.
15084         * math/Versions (totalorder): New libm symbol at version
15085         GLIBC_2.25.
15086         (totalorderf): Likewise.
15087         (totalorderl): Likewise.
15088         * math/Makefile (libm-calls): Add s_totalorderF.
15089         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
15090         string.
15091         * math/libm-test.inc (PAYLOAD_DIG): New macro.
15092         (qnan_value_pl): Likewise.
15093         (snan_value_pl): Likewise.
15094         (qnan_value): Define using qnan_value_pl.
15095         (snan_value): Define using snan_value_pl.
15096         (struct test_ff_i_data): Add comment about which tests use this
15097         structure.
15098         (RUN_TEST_ff_b): New macro.
15099         (RUN_TEST_LOOP_ff_b): Likewise.
15100         (totalorder_test_data): New array.
15101         (totalorder_test): New function.
15102         (main): Call totalorder_test.
15103         * math/test-tgmath.c (NCALLS): Increase to 122.
15104         (F(compile_test)): Call totalorder.
15105         (F(totalorder)): New function.
15106         * manual/arith.texi (FP Comparison Functions): Document
15107         totalorder, totalorderf and totalorderl.
15108         * manual/libm-err-tab.pl: Update comment on interfaces without
15109         ulps tabulated.
15110         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
15111         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
15112         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
15113         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
15114         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
15115         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
15116         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
15117         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
15118         totalorder.
15119         (CFLAGS-nldbl-totalorder.c): New variable.
15120         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
15121         file.
15122         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
15123         Add test-totalorderl-ldbl-128ibm.
15124         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
15125         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
15126         test-totalorderl-ldbl-96.
15127         * sysdeps/nacl/libm.abilist: Update.
15128         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15129         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15130         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15131         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15132         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15133         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15134         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15135         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15136         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15137         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15138         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15139         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15141         Likewise.
15142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15143         Likewise.
15144         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15145         Likewise.
15146         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15147         Likewise.
15148         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15149         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15150         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15151         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15152         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15154         Likewise.
15155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15156         Likewise.
15157         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15158         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15159         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15161 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15163         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
15164         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
15165         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
15166         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
15167         remove ENOSYS implementation.
15168         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
15169         Consolidate all Linux implementations.
15171 2016-10-11  Florian Weimer  <fweimer@redhat.com>
15173         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
15174         * resolv/herror.c (herror): Cast away const-ness.
15175         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
15176         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
15178 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
15180         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
15181         instead of M_NAN + M_NAN.
15182         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
15184 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15186         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
15187         unused variable 'p'.
15189 2016-10-09  Alan Modra  <amodra@gmail.com>
15190             Andreas Schwab  <schwab@linux-m68k.org>
15192         [BZ #20554]
15193         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
15194         [PIC && !SHARED]: Set up PIC register for PLT call.
15196 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
15198         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
15199         conditional on value of [__FLT_EVAL_METHOD__].
15200         * math/test-iseqsig-excess-precision.c: New file.
15201         * math/Makefile (tests): Add test-iseqsig-excess-precision.
15203 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15205         * math/s_iseqsig_template.c: Include math-private.h.
15207         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
15208         * posix/tst-posix_fadvise.c: New file.
15209         * posix/tst-posix_fadvise64.c: Likewise.
15210         * posix/tst-posix_fadvise-common.c: Likewise.
15211         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15212         (__ASSUME_FADVISE64_64_6ARG): Define.
15213         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15214         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
15215         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15216         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
15217         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
15218         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
15219         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
15220         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
15221         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
15222         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
15223         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
15224         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
15225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
15226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
15227         Likewise.
15228         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
15229         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
15230         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
15231         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15232         Alias to __posix_fadvise64_l32.
15233         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
15234         Add compat definition to posix_fadvise64.
15235         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
15236         Add versioned definition to posix_fadvise64.
15237         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
15238         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
15239         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
15240         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
15241         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
15243         * io/Makefile (tests): Add tst-posix_fallocate and
15244         tst-posix_fallocate64.
15245         * io/tst-posix_fallocate-common.c: New file.
15246         * io/tst-posix_fallocate.c: Likewise.
15247         * io/tst-posix_fallocate64.c: Likewise.
15248         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
15249         file.
15250         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
15251         Likewise.
15252         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
15253         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
15254         Likewise.
15255         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
15256         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
15257         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
15258         SYSCALL_LL to pass both offset and len arguments.
15259         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
15260         Likewise.
15261         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
15262         __libc_pwrite64 alias used by posix_fallocate64.
15264         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15265         tst-fallocate64.
15266         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15267         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15268         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15269         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15270         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15271         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15272         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15273         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15274         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15275         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15276         macro on offset argument.
15277         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15278         SYSCALL_LL64 on offset argument.
15280         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
15281         tst-fallocate64.
15282         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
15283         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
15284         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
15285         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
15286         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
15287         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
15288         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
15289         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
15290         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
15291         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
15292         macro on offset argument.
15293         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
15294         SYSCALL_LL64 on offset argument.
15295         * test-skeleton.c (FAIL_RET): Add macro.
15296         (FAIL_EXIT): Likewise.
15297         (FAIL_EXIT1): Likewise.
15298         (_FAIL): Likewise.
15300 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15302         [BZ #20629]
15303         resolv: Remove RES_USEBSTRING and its implementation.
15304         * resolv/resolv.h (RES_USEBSTRING): Remove.
15305         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
15306         (digitvalue, encode_bitstring, decode_bitstring): Remove.
15307         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
15308         (labellen): Remove extended label types support.
15309         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
15310         * resolv/res_init.c (res_setoptions): Likewise.
15311         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15313 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15315         resolv: Remove RES_NOIP6DOTINT and its implementation.
15316         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
15317         (RES_NOIP6DOTINT): Remove.
15318         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
15319         handling.
15320         * resolv/res_debug.c (p_option): Likewise.
15321         * resolv/res_init.c (res_setoptions): Likewise.
15322         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
15324 2016-10-07  Florian Weimer  <fweimer@redhat.com>
15326         resolv: Deprecate unimplemented flags.
15327         * misc/sys/cdefs.h (__glibc_macro_warning1)
15328         (__glibc_macro_warning): Define.
15329         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
15330         (RES_KEEPTSIG): Mark as deprecated.
15331         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
15332         RES_NOCHECKNAME, RES_KEEPTSIG.
15333         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
15335 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15337         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
15338         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
15339         Use strong_alias to create symbols for glibc verison 2.19.
15341 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15343         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
15345 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15347         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
15349 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15351         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
15353 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15355         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
15356         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
15357         in header for using it as type for ifunc function because __GI_* symbols
15358         for ppc32 do not target the ifunc symbols.
15359         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
15361 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15363         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
15364         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
15365         libc_ifunc_hidden_def.
15366         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
15367         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
15368         Redirect ifunced function in header for using it as type of ifunc'ed
15369         function. Redefine libc_hidden_def to use fallback non ifunc'ed
15370         function for __GI_* symbol.
15371         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
15372         * include/libc-symbols.h
15373         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
15375 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15377         [BZ #20478]
15378         * sysdeps/s390/multiarch/ifunc-resolve.h
15379         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
15380         to create ifunc symbols.
15381         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
15382         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
15383         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
15384         for using it as type for ifunc function.
15385         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
15386         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15387         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15388         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15389         * sysdeps/s390/multiarch/strcat.c: Likewise.
15390         * sysdeps/s390/multiarch/strchr.c: Likewise.
15391         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15392         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15393         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15394         * sysdeps/s390/multiarch/strlen.c: Likewise.
15395         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15396         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15397         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15398         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15399         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15400         * sysdeps/s390/multiarch/strspn.c: Likewise.
15401         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15402         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15403         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15404         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15405         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15406         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15407         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
15408         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
15409         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
15410         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
15411         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
15412         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
15414 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15416         * include/libc-symbols.h (__ifunc_resolver):
15417         New macro is used by __ifunc* macros.
15418         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
15419         depending on HAVE_GCC_IFUNC.
15420         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
15421         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
15422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
15423         Redirect ifunced function in header for using as type for ifunc function.
15424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
15425         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
15426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
15427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
15428         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
15429         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
15430         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
15431         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
15432         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
15433         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
15434         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
15435         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
15436         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
15437         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
15438         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
15439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
15440         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
15441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
15442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
15443         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
15444         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
15445         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
15446         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
15447         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
15448         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
15449         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
15450         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
15451         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
15452         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
15453         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
15454         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
15455         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
15456         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
15457         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
15458         Add libc_hidden_def() and use libc_ifunc_hidden() macro
15459         instead of libc_ifunc() macro.
15460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
15461         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
15463 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
15465         * config.h.in (HAVE_GCC_IFUNC): New undef.
15466         * configure.ac: Add check if gcc supports attribute ifunc feature.
15467         * configure: Regenerated.
15468         * manual/install.texi: Add recommendation for gcc with
15469         indirect-function support.
15470         * INSTALL: Regenerated.
15472 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
15474         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
15475         macro.
15476         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
15477         (__iseqsig): New declaration.
15478         * math/s_iseqsig_template.c: New file.
15479         * math/Versions (__iseqsigf): New libm symbol at version
15480         GLIBC_2.25.
15481         (__iseqsig): Likewise.
15482         (__iseqsigl): Likewise.
15483         * math/libm-test.inc (iseqsig_test_data): New array.
15484         (iseqsig_test): New function.
15485         (main): Call iseqsig_test.
15486         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
15487         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
15488         * manual/libm-err-tab.pl: Update comment on interfaces without
15489         ulps tabulated.
15490         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
15491         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
15492         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
15493         * sysdeps/nacl/libm.abilist: Update.
15494         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15495         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15496         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15497         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15498         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15499         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15500         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15501         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15502         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15503         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15504         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15505         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15507         Likewise.
15508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15509         Likewise.
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15511         Likewise.
15512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15513         Likewise.
15514         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15515         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15516         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15517         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15518         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15519         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15520         Likewise.
15521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15522         Likewise.
15523         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15524         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15525         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15527 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15529         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
15530         do_sincos_2, sloww, sloww1): Update comments.
15532         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
15533         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
15535         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
15536         K boolean and rename it.
15537         (__sin): Adjust.
15538         (__cos): Adjust.
15540 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15541             Siddhesh Poyarekar  <siddhesh@sourceware.org>
15543         * manual/nss.texi: Fix typos in the manual.
15545 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
15547         * manual/contrib.texi: Fix typos in the manual.
15549         * manual/maint.texi: Fix typos in the manual.
15551         * manual/install.texi: Fix typos in the manual.
15552         * INSTALL: Regenerated.
15554         * manual/lang.texi: Fix typos in the manual.
15556         * manual/probes.texi: Fix typos in the manual.
15558         * manual/threads.texi: Fix typos in the manual.
15560         * manual/debug.texi: Fix typos in the manual.
15562         * manual/crypt.texi: Fix typos in the manual.
15564         * manual/conf.texi: Fix typos in the manual.
15566         * manual/sysinfo.texi: Fix typos in the manual.
15568         * manual/users.texi: Fix typos in the manual.
15570         * manual/job.texi: Fix typos in the manual.
15572         * manual/process.texi: Fix typos in the manual.
15574         * manual/argp.texi: Fix typos in the manual.
15575         * manual/getopt.texi: Likewise.
15576         * manual/startup.texi: Likewise.
15578         * manual/signal.texi: Fix typos in the manual.
15580         * manual/setjmp.texi: Fix typos in the manual.
15582         * manual/resource.texi: Fix typos in the manual.
15584         * manual/time.texi: Fix typos in the manual.
15586         * manual/arith.texi: Fix typos in the manual.
15588         * manual/math.texi: Fix typos in the manual.
15590         * manual/syslog.texi: Fix typos in the manual.
15592         * manual/terminal.texi: Fix typos in the manual.
15594         * manual/socket.texi: Fix typos in the manual.
15596         * manual/filesys.texi: Fix typos in the manual.
15598         * manual/llio.texi: Fix typos in the manual.
15600         * manual/stdio.text: Fix typos in the manual.
15602 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15604         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
15605         instead of K1.
15607         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
15608         SHIFT_QUADRANT and make it bool.
15609         (do_sincos_2): Likewise.
15610         (sloww): Likewise.
15611         (sloww1): Likewise.
15612         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
15613         (__cos): Likewise.
15615 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15617         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15619 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
15621         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
15622         Define to __WORDSIZE, not conditional on [LONG_MAX ==
15623         0x7fffffffL].
15624         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
15626 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15628         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
15629         inline by __inline__.
15630         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
15631         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
15632         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
15633         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
15634         sigset_t from signal.h.
15635         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
15636         which is already required.
15638 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
15640         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
15642 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
15644         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
15645         (struct tcp_repair_window): New type.
15647 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15649         * libio/tst-memstream3.c: Include string.h.
15651 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15653         [BZ #18241]
15654         [BZ #20181]
15655         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
15656         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
15657         write position is at the end the buffer.
15658         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
15659         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
15660         (_IO_str_seekoff): Set correct offset from negative displacement and
15661         set EINVAL for invalid ones.
15662         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
15663         buffer length.
15664         (_IO_wstr_switch_to_get_mode): New function.
15665         (_IO_wstr_seekoff): Set correct offset from negative displacement and
15666         set EINVAL for invalid ones.
15667         * libio/tst-memstream3.c: New file.
15668         * libio/tst-wmemstream3.c: Likewise.
15669         * manual/examples/memstrm.c: Remove warning when priting size_t.
15671 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
15673         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
15674         macro to use __builtin_fma.
15675         * sysdeps/x86_64/fpu/dla.h: Remove file.
15677         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
15678         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
15679         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
15681 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
15683         [BZ #20292]
15684         * elf/Makefile (routines): Add dl-addr-obj.
15685         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
15686         tst-_dl_addr_inside_object.
15687         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
15688         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15689         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
15690         [ifeq (yesyes,$(have-fpie)$(build-shared))]
15691         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
15692         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
15693         * elf/dl-open.c: Likewise.
15694         * elf/dl-addr-obj.c: New file.
15695         * elf/tst-_dl_addr_inside_object.c: New file.
15697 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
15699         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
15700         <bits/iscanonical.h>.
15701         * bits/iscanonical.h: New file.
15702         * math/s_iscanonicall.c: Likewise.
15703         * math/Versions (__iscanonicall): New libm symbol at version
15704         GLIBC_2.25.
15705         * math/libm-test.inc (iscanonical_test_data): New array.
15706         (iscanonical_test): New function.
15707         (main): Call iscanonical_test.
15708         * math/Makefile (headers): Add bits/iscanonical.h.
15709         (type-ldouble-routines): Add s_iscanonicall.
15710         * manual/arith.texi (Floating Point Classes): Document
15711         iscanonical.
15712         * manual/libm-err-tab.pl: Update comment on interfaces without
15713         ulps tabulated.
15714         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
15715         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
15716         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
15717         Likewise.
15718         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
15719         test-iscanonical-ldbl-128ibm.
15720         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
15721         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
15722         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
15723         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
15724         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
15725         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15726         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15728         Likewise.
15729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15730         Likewise.
15731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15732         Likewise.
15733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15734         Likewise.
15735         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15736         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15738 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15740         * string/bits/string3.h: Remove C++ style comments.
15742 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
15744         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
15745         instead of ternary condition.
15746         (do_sincos_2): Likewise.
15747         (__sin): Likewise.
15748         (__cos): Likewise.
15749         (slow): Likewise.
15750         (sloww): Likewise.
15751         (sloww1): Likewise.
15752         (bsloww): Likewise.
15753         (bsloww1): Likewise.
15755         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
15756         instead of ternary condition.
15757         (do_sin_slow): Likewise.
15758         (do_sincos_1): Likewise.
15759         (do_sincos_2): Likewise.
15760         (__cos): Likewise.
15761         (sloww): Likewise.
15762         (sloww1): Likewise.
15763         (sloww2): Likewise.
15764         (bsloww): Likewise.
15765         (bsloww1): Likewise.
15766         (bsloww2): Likewise.
15768         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
15769         check from here...
15770         (slow2): ... and here...
15771         (__sin): ... to here.
15773 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
15775         * math/math.h
15776         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
15777         Cast argument to its own type.
15778         * math/test-iszero-excess-precision.c: New file.
15779         * math/Makefile (tests): Add test-iszero-excess-precision.
15780         (CFLAGS-test-iszero-excess-precision.c): New variable.
15782 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
15784         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
15785         field, add err field.
15786         (__spawni_child): Report error through err member instead of pipe.
15787         (__spawnix): Likewise.
15789 2016-09-28  Zack Weinberg  <zackw@panix.com>
15791         * scripts/check-installed-headers.sh: Generalize treatment of
15792         sys/elf.h to all target architectures.
15794         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
15795         deleted typedef ucontext_t.
15797 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15799         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
15800         (__INTERNAL_SYSCALL1): Likewise.
15801         (__INTERNAL_SYSCALL2): Likewise.
15802         (__INTERNAL_SYSCALL3): Likewise.
15803         (__INTERNAL_SYSCALL4): Likewise.
15804         (__INTERNAL_SYSCALL5): Likewise.
15805         (__INTERNAL_SYSCALL6): Likewise.
15806         (__INTERNAL_SYSCALL7): Likewise.
15807         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
15808         (__INTERNAL_SYSCALL_NARGS): Likewise.
15809         (__INTERNAL_SYSCALL_DISP): Likewise.
15810         (INTERNAL_SYSCALL_CALL): Likewise.
15811         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
15812         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
15813         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
15814         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
15815         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
15816         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
15817         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
15818         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
15819         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
15820         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
15821         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
15822         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
15823         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
15825 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
15827         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
15828         macro.
15829         * math/libm-test.inc (iszero_test_data): New array.
15830         (iszero_test): New function.
15831         (main): Call iszero_test.
15832         * manual/arith.texi (Floating Point Classes): Document iszero.
15833         * manual/libm-err-tab.pl: Update comment on interfaces without
15834         ulps tabulated.
15836 2016-09-23  Zack Weinberg  <zackw@panix.com>
15838         * scripts/check-installed-headers.sh: New script.
15839         * Rules: In each directory that defines header files to be installed,
15840         run check-installed-headers.sh on them as a special test.
15841         * Makefile: Likewise for the headers installed at top level.
15843         * include/aliases.h, include/alloca.h, include/argz.h
15844         * include/arpa/nameser.h, include/arpa/nameser_compat.h
15845         * include/elf.h, include/envz.h, include/err.h
15846         * include/execinfo.h, include/fpu_control.h, include/getopt.h
15847         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
15848         * include/link.h, include/malloc.h, include/mcheck.h
15849         * include/mntent.h, include/netinet/ether.h
15850         * include/nss.h, include/obstack.h, include/printf.h
15851         * include/pty.h, include/resolv.h, include/rpc/auth.h
15852         * include/rpc/auth_des.h, include/rpc/auth_unix.h
15853         * include/rpc/clnt.h, include/rpc/des_crypt.h
15854         * include/rpc/key_prot.h, include/rpc/netdb.h
15855         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
15856         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
15857         * include/rpc/rpc_msg.h, include/rpc/svc.h
15858         * include/rpc/svc_auth.h, include/rpc/xdr.h
15859         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
15860         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
15861         * include/rpcsvc/ypupd.h, include/shadow.h
15862         * include/stdio_ext.h, include/sys/epoll.h
15863         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
15864         * include/sys/prctl.h, include/sys/profil.h
15865         * include/sys/statfs.h, include/sys/sysctl.h
15866         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
15867         * sysdeps/arm/nacl/include/bits/setjmp.h
15868         * sysdeps/mips/include/sys/asm.h
15869         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
15870         * sysdeps/unix/sysv/linux/include/sys/timex.h
15871         * sysdeps/x86/fpu/include/bits/fenv.h:
15872         Add #ifndef _ISOMAC guard around internal declarations.
15873         Add multiple-inclusion guard if not already present.
15875 2016-09-23  Zack Weinberg  <zackw@panix.com>
15877         * sysdeps/generic/sys/ucontext.h
15878         * sysdeps/arm/sys/ucontext.h
15879         * sysdeps/i386/sys/ucontext.h
15880         * sysdeps/m68k/sys/ucontext.h
15881         * sysdeps/mips/sys/ucontext.h
15882         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
15883         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
15884         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
15885         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
15886         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
15887         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
15888         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
15889         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
15890         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
15891         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
15892         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
15893         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
15894         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
15895         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
15896         Include both bits/sigcontext.h and bits/sigstack.h.
15897         Fix grammar error in comment, if present.
15899         * bits/sigstack.h
15900         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
15901         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
15902         * sysdeps/unix/sysv/linux/bits/sigstack.h
15903         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
15904         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
15905         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
15906         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
15907         * bits/sigcontext.h
15908         * sysdeps/mach/hurd/i386/bits/sigcontext.h
15909         * sysdeps/unix/sysv/linux/bits/sigcontext.h
15910         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
15911         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
15912         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
15913         as well as signal.h, if this was not already allowed.  Request
15914         definition of size_t if necessary.  Minimize semantically-null
15915         differences across files.
15917 2016-09-23  Zack Weinberg  <zackw@panix.com>
15919         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
15920         Remove all logic conditional on __need macros.  Move all the
15921         conditionally defined types to their own headers...
15922         * time/bits/types/clock_t.h: Define clock_t here.
15923         * time/bits/types/clockid_t.h: Define clockid_t here.
15924         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
15925         * time/bits/types/struct_timespec.h: Define struct timespec here.
15926         * time/bits/types/struct_timeval.h: Define struct timeval here.
15927         * time/bits/types/struct_tm.h: Define struct tm here.
15928         * time/bits/types/time_t.h: Define time_t here.
15929         * time/bits/types/timer_t.h: Define timer_t here.
15930         * time/Makefile: Install the new headers.
15932         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
15933         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
15934         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
15935         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
15936         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
15937         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
15938         * sysdeps/unix/sysv/linux/bits/resource.h
15939         * sysdeps/unix/sysv/linux/bits/timex.h
15940         * sysdeps/unix/sysv/linux/mips/bits/resource.h
15941         * sysdeps/unix/sysv/linux/net/ppp_defs.h
15942         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
15943         * sysdeps/unix/sysv/linux/sys/acct.h
15944         * sysdeps/unix/sysv/linux/sys/timerfd.h
15945         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
15946         * time/sys/time.h, time/sys/timeb.h
15947         Use the new bits/types headers.
15949         * include/time.h: Remove __need logic.
15950         * include/bits/time.h
15951         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
15952         * include/bits/types/time_t.h, include/bits/types/timer_t.h
15953         * include/bits/types/struct_itimerspec.h
15954         * include/bits/types/struct_timespec.h
15955         * include/bits/types/struct_timeval.h
15956         * include/bits/types/struct_tm.h:
15957         New wrapper headers.
15959 2016-09-23  Zack Weinberg  <zackw@panix.com>
15961         * sysdeps/mach/hurd/net/if_ppp.h
15962         * sysdeps/unix/sysv/linux/net/if_ppp.h:
15963         Only define struct ifpppstatsreq and struct ifpppcstatsreq
15964         if __USE_MISC is defined, to ensure struct ifreq is declared.
15966         * inet/netinet/ether.h: Condition all function prototypes
15967         on __USE_MISC, to ensure struct ether_addr is declared.
15969         * socket/bits/types/struct_osockaddr.h: New header.
15970         * include/bits/types/struct_osockaddr.h: New wrapper.
15971         * socket/Makefile: Install the new header.
15972         * socket/sys/socket.h, inet/protocols/talkd.h:
15973         Refer to bits/types/struct_osockaddr.h for the definition of
15974         struct osockaddr.
15976 2016-09-23  Zack Weinberg  <zackw@panix.com>
15978         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
15979         * inet/protocols/routed.h, inet/protocols/talkd.h
15980         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
15981         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
15982         * sysdeps/generic/netinet/if_ether.h
15983         * sysdeps/generic/netinet/in_systm.h
15984         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
15985         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
15986         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
15987         * sysdeps/mach/hurd/net/if_arp.h
15988         * sysdeps/mach/hurd/net/if_ppp.h
15989         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
15990         * sysdeps/unix/sysv/linux/bits/in.h
15991         * sysdeps/unix/sysv/linux/net/ethernet.h
15992         * sysdeps/unix/sysv/linux/net/if_arp.h
15993         * sysdeps/unix/sysv/linux/net/if_ppp.h
15994         * sysdeps/unix/sysv/linux/net/if_shaper.h
15995         * sysdeps/unix/sysv/linux/net/route.h
15996         * sysdeps/unix/sysv/linux/netinet/if_ether.h
15997         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
15998         * sysdeps/unix/sysv/linux/netinet/if_tr.h
15999         * sysdeps/unix/sysv/linux/netipx/ipx.h
16000         * sysdeps/unix/sysv/linux/sys/acct.h
16001         * include/arpa/nameser.h, include/resolv.h:
16002         Change all uses of u_char to unsigned char,
16003         u_short and ushort to unsigned short, u_int and uint to unsigned int,
16004         u_long and ulong to unsigned long, u_int8_t to uint8_t,
16005         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
16006         and u_int64_t and u_quad_t to uint64_t.
16008         * mach/sys/reboot.h: Remove two casts of integer literals
16009         to the types they already have.
16011         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
16012         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
16013         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
16014         from referring to 'unsigned char' to 'uint8_t' for consistency with
16015         the macro definition below.
16017         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
16018         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
16019         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
16020         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
16021         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
16022         * sysdeps/unix/sysv/linux/sys/acct.h
16023         * include/arpa/nameser.h, include/resolv.h:
16024         Fix indentation disrupted by mechanical edits.
16026         * inet/protocols/talkd.h, resolv/arpa/nameser.h
16027         * sysdeps/generic/netinet/in_systm.h
16028         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
16029         * sysdeps/gnu/netinet/udp.h
16030         * sysdeps/unix/sysv/linux/net/ethernet.h
16031         * sysdeps/unix/sysv/linux/net/if_arp.h
16032         * sysdeps/unix/sysv/linux/net/if_ppp.h
16033         * sysdeps/unix/sysv/linux/net/if_shaper.h
16034         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
16035         * sysdeps/unix/sysv/linux/netinet/if_tr.h
16036         * sysdeps/unix/sysv/linux/netipx/ipx.h
16037         * sysdeps/unix/sysv/linux/sys/acct.h
16038         Include stdint.h for uintNN_t definitions.
16039         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
16041 2016-09-23  Zack Weinberg  <zackw@panix.com>
16043         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
16044         * sysdeps/unix/sysv/linux/netrose/rose.h:
16045         Include sys/socket.h and netax25/ax25.h.
16047         * inet/netinet/icmp6.h, inet/netinet/ip6.h
16048         * resolv/arpa/nameser_compat.h:
16049         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
16051         * sysdeps/unix/sysv/linux/sys/quota.h:
16052         Use __caddr_t instead of caddr_t.
16053         * sysdeps/unix/sysv/linux/sys/timerfd.h:
16054         Use __clockid_t instead of clockid_t.
16056         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
16058         * argp/argp.h: Check whether _LIBC is defined before expanding it.
16059         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
16060         expanding it.
16062         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
16063         Define __glibc_c99_flexarr_available to 1 when the compiler
16064         supports C99-compatible flexible array members, 0 otherwise.
16065         * sysdeps/unix/sysv/linux/bits/socket.h
16066         * sysdeps/mach/hurd/bits/socket.h
16067         * bits/socket.h: Use __glibc_c99_flexarr_available in
16068         definitions of struct cmsghdr and CMSG_DATA.
16070 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16072         * manual/nss.texi (NSS Modules Interface): Adjust function return
16073         type to enum nss_status.  Document errnop argument.  Clarify
16074         h_errnop semantics.  Fix cross-reference formatting.
16075         (NSS Module Function Internals): Mention that *errnop needs to be
16076         set on failure, but not to zero.
16078 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16080         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
16081         (get_random_name): New functions.
16082         (check_wrapper_flags_mode): Use linkat to give the new file a name
16083         determined by get_random_name.
16084         (do_test): Add calls to test open64 and openat64.
16086 2016-09-23  Florian Weimer  <fweimer@redhat.com>
16088         * test-skeleton.c: Remove #include <stdarg.h>.
16090 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
16092         [BZ #19826]
16093         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
16094         initialization of static TLS entries.
16095         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
16096         * nptl/allocatestack.c (init_one_static_tls): Likewise.
16098 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16100         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
16101         _hurd_malloc_fork_prepare.
16102         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
16103         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
16104         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
16105         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
16106         (_hurd_fork_child_hook): Drop malloc_fork_child.
16107         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
16108         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
16109         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
16110         after locking locks (notably hurd_dtable_lock). Call
16111         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
16112         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
16113         __malloc_fork_unlock_child.
16114         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
16116 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
16118         * soft-fp/extendhftf2.c: New.
16119         * soft-fp/fixhfti.c: Likewise.
16120         * soft-fp/fixunshfti.c: Likewise.
16121         * soft-fp/floattihf.c: Likewise.
16122         * soft-fp/floatuntihf.c: Likewise.
16123         * soft-fp/half.h: Likewise.
16124         * soft-fp/trunctfhf2.c: Likewise.
16126 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
16128         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
16129         macro.
16130         * math/libm-test.inc (issubnormal_test_data): New array.
16131         (issubnormal_test): New function.
16132         * manual/arith.texi (Floating Point Classes): Document
16133         issubnormal.
16134         * manual/libm-err-tab.pl: Update comment on interfaces without
16135         ulps tabulated.
16137         * sysdeps/generic/stdint.h: Define
16138         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16139         <bits/libc-header-start.h> instead of including <features.h>.
16140         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
16141         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
16142         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
16143         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
16144         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
16145         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
16146         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
16147         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
16148         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
16149         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
16150         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
16151         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
16152         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
16153         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
16154         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
16155         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
16156         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
16157         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
16158         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
16159         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
16160         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
16161         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
16162         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
16163         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
16164         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
16165         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
16166         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
16167         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
16168         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
16169         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
16170         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
16171         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
16172         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
16173         * manual/arith.texi (Integers): Document these macros for types
16174         specified by width properties.
16175         * manual/lang.texi (Width of Type): Document these macros for
16176         other standard typedefs.
16177         * stdlib/tst-width-stdint.c: New file.
16178         * stdlib/Makefile (tests): Add tst-width-stdint.
16180 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16182         [BZ #20016]
16183         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
16184         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
16185         Move ...
16186         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
16187         ... here, as compatibility symbols in a new file.
16188         * resolv/Makefile (libresolv-routines): Add compat-hooks.
16189         * resolv/res_init.c (__res_vinit): Adjust member names.
16190         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
16191         * resolv/resolv.h (res_sendhookact, res_send_qhook)
16192         (res_send_rhook): Remove.
16193         (struct __res_state): Rename qhook, rhook members.
16195 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16197         malloc: Use __libc_lock wrappers.
16198         * malloc/arena.c (list_lock, free_list_lock): Define using
16199         __libc_lock_define_initialized.
16200         (arena_lock): Adjust formatting.
16201         * malloc/malloc.c (struct malloc_state): Define mutex using
16202         __libc_lock_define.
16203         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
16204         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
16205         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
16206         (mutex_unlock, mutex_trylock): Remove.
16207         (__pthread_initialize): Remove unused macro.
16208         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
16209         (mutex_unlock, mutex_trylock): Remove.
16211 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16213         [BZ #20592]
16214         Remove RR type classification macros.
16215         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
16216         (ns_t_udp_p, ns_t_xfr_p): Remove.
16218 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16220         Remove misleading version information.
16221         * resolv/arpa/nameser.h (__NAMESER): Remove.
16222         * resolv/arpa/nameser_compat.h (__BIND): Remove.
16224 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16226         Remove the always-defined BIND_4_COMPAT macro.
16227         * resolv/arpa/nameser.h: Unconditionally include
16228         <arpa/nameser_compat.h>.
16229         (BIND_4_COMPAT): Remove.
16230         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
16232 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16234         [BZ #20591]
16235         Remove obsolete DNSSEC support.
16236         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
16237         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
16238         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
16239         (ns_verify_tcp, ns_verify_tcp_init): Remove.
16240         (ns_cert_types): Add comment.
16241         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
16242         separately.
16243         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
16244         (dst_s_dns_key_id): Remove.
16245         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
16246         variables.
16248 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16250         [BZ #20524]
16251         * manual/string.texi (String/Array Comparison): Clarify the
16252         strverscmp behavior.
16254 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16256         * test-skeleton.c (xasprintf): Add function.
16257         * io/tst-open-tmpfile.c: New test.
16258         * io/Makefile (tests): Add it.
16260 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16262         Avoid running $(CXX) during build to obtain header file paths.
16263         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
16264         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
16265         * Makerules (cstdlib, cmath): Remove variables.  Use
16266         $(c++-cstdlib-header), $(c++-cmath-header) instead.
16267         * configure: Regenerate.
16269 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16271         * Makeconfig (all-object-suffixes): Include .op only if
16272         $(build-profile).
16274 2016-09-21  Florian Weimer  <fweimer@redhat.com>
16276         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
16277         conditionals.  Do not define PATH_MAX.
16279 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16281         * posix/Makefile (tests): Add tst-spawn3.
16282         * posix/tst-spawn3.c: New file.
16283         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
16284         if it is already opened for open action.
16286         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
16287         all signals when executing the clone vfork child.
16288         (SIGALL_SET): Remove macro.
16290         * nptl/Makefile (tests): Add tst-exec5.
16291         * nptl/tst-exec5.c: New file.
16292         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
16293         asynchronous cancellation.
16295 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16297         * hurd/exc2signal.c: #include <hurd/signal.h>
16298         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
16299         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
16300         accordingly.
16301         * mach/mach_error.c (mach_error): Fix old-style function definition.
16302         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
16304 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16306         * math/Makefile (libm-calls): Remove s_nanF.
16307         (gen-libm-calls): Add s_nanF.
16309         * math/s_nan.c: Refactor into ...
16310         * math/s_nan_template.c: New file.
16312         * math/s_nanf.c: Removed.
16313         * math/s_nanl.c: Removed.
16314         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
16315         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
16317         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16318         (LDOUBLE_nanl_libm_version): New macro.
16320         * sysdeps/generic/math-type-macros-double.h:
16321         (M_STRTO_NAN): New macro.
16322         * sysdeps/generic/math-type-macros-float.h: Likewise.
16323         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
16325         * sysdeps/generic/math-type-macros.h: Document
16326         M_STRTO_NAN.
16328 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16330         * math/s_nanf.c: Remove __nanf undef.
16331         * math/s_nan.c: Remove __nan undef.
16332         * math/s_nanl.c: Remove __nanl undef.
16334         * sysdeps/generic/math_private.h (__nan): Remove macro
16335         override.
16336         (__nanf): Likewise.
16337         (__nanl): Likewise.
16339 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16341         * math/Makefile (gen-all-calls): New variable.
16342         (generated): Replace gen-libm-calls with gen-all-calls.
16343         (gen-libm-templates.stmp): Likewise.  Also, ensure
16344         the output directory exists or is created and add
16345         dependency on the Makefile.
16346         (calls): Move s_ldexpF into gen-calls.
16347         (gen-calls): New variable.
16349         * math/s_ldexpf.c: Removed.
16350         * math/s_ldexpl.c: Removed.
16351         * math/s_ldexp.c: Refactored into ...
16352         * math/s_ldexp_template.c: New file.
16354         * sysdeps/generic/math-type-macros-double.h: Remove
16355         redundant fall-through definition of declare_mgen_alias.
16356         (declare_mgen_alias_2): New macro.
16358         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
16359         New macro for function aliased to two exported symbols.
16361         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
16362         new template file.
16363         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
16365 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16367         * Makeconfig (all-object-suffixes): Remove .og.
16368         * Makerules (elide-routines.og): Remove.
16369         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
16370         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
16371         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
16373 2016-09-20  Florian Weimer  <fweimer@redhat.com>
16375         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
16376         .os objects.
16378 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16380         [BZ #20615]
16381         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
16382         fpu directory by non-fpu.
16383         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
16384         on non-fpu directory from a fpu directory.
16386 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
16388         * include/limits.h: Define
16389         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
16390         <bits/libc-header-start.h> instead of including <features.h>.
16391         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
16392         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
16393         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
16394         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
16395         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
16396         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
16397         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
16398         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
16399         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
16400         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
16401         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
16402         * manual/lang.texi (Width of Type): Document these macros.
16403         * stdlib/tst-width.c: New file.
16404         * stdlib/Makefile (tests): Add tst-width.
16406 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16408         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
16409         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
16411 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16413         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
16414         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16415         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16417 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16419         [BZ #18243]
16420         * rt/Makefile (test): Add tst-shm-cancel.
16421         * rt/tst-shm-cancel.c: New file.
16422         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
16424         [BZ #18243]
16425         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
16426         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
16427         definition.
16428         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
16429         uncontended case.
16430         * nptl/sem_wait.c (__new_sem_wait): Likewise.
16431         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
16432         (tf): Fix check for uncontended case.
16433         (do_test): Likewise.
16434         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
16435         (tf): Fix check for uncontended case.
16436         (do_test): Likewise.
16437         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
16438         (tf): Fix check for uncontended case.
16439         (do_test): Likewise.
16440         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
16441         (tf): Fix check for uncontended case.
16442         (do_test): Likewise.
16444         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
16445         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
16447         [BZ #15765]
16448         * nptl/Makefile (tests): Add tst-sem16.
16449         * nptl/tst-sem16.c: New file.
16450         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
16452         * nptl/sem_open.c (sem_open): Init pad value to 0.
16453         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
16454         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
16456 2016-09-15  Florian Weimer  <fweimer@redhat.com>
16458         [BZ #20611]
16459         * inet/Makefile (routines): Add inet6_scopeid_pton.
16460         (tests): Add tst-inet6_scopeid_pton.
16461         * inet/inet6_scopeid_pton.c: New file.
16462         * inet/net-internal.h: Likewise.
16463         * inet/tst-inet6_scopeid_pton.c: New test.
16464         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
16465         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
16466         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
16468 2016-09-14  Florian Weimer  <fweimer@redhat.com>
16470         Remove support for compiling wrappers with PTW.
16471         * sysdeps/nptl/Makeconfig: Drop ptw- support.
16472         * nptl/Makefile (pthread-compat-wrappers): Define.
16473         (libpthread-routines): Use pthread-compat-wrappers.
16474         * sysdeps/unix/sysv/linux/alpha/Makefile
16475         (libpthread-routines, libpthread-shared-only-routines): Remove
16476         ptw- prefix.
16477         * sysdeps/s390/nptl/Makefile
16478         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16479         * sysdeps/ia64/nptl/Makefile
16480         (libpthread-routines, libpthread-shared-only-routines): Likewise.
16481         * sysdeps/nacl/Makefile (libpthread-routines): Use
16482         pthread-compat-wrappers to filter the routines list instead of the
16483         ptw- prefix.
16485 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16487         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
16488         with L() and remove explicit suffix, convert real literals
16489         which can be equivalentally substituted with integers, and
16490         transform -L(x) to L(-x).
16492         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16493         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
16494         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16495         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16496         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16497         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16498         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16499         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16500         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16501         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16502         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16503         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16504         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16505         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16506         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16507         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16508         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16509         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16510         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16511         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16512         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16513         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16514         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16515         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16516         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16517         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16518         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16519         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16520         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16521         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16522         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16523         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16524         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16525         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16526         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16527         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16528         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16529         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16530         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
16531         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
16532         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
16533         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
16534         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
16535         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
16536         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
16537         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
16538         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
16539         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
16540         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
16541         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
16543 2016-09-13  Florian Weimer  <fweimer@redhat.com>
16545         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
16547 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16549         * malloc/Makefile (tests): Remove individual static test names
16550         and just add all of tests-static.
16552         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
16554 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
16556         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
16557         file.
16559         * sysdeps/sparc/fpu/fegetmode.c: New file.
16560         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
16562         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
16563         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
16565         * sysdeps/s390/fpu/fegetmode.c: New file.
16566         * sysdeps/s390/fpu/fesetmode.c: Likewise.
16568         * sysdeps/powerpc/fpu/fegetmode.c: New file.
16569         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
16570         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
16571         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
16572         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
16573         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
16575         * sysdeps/mips/fpu/fegetmode.c: New file.
16576         * sysdeps/mips/fpu/fesetmode.c: Likewise.
16578         * sysdeps/m68k/fpu/fegetmode.c: New file.
16579         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
16581         * sysdeps/ia64/fpu/fegetmode.c: New file.
16582         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
16584         * sysdeps/hppa/fpu/fegetmode.c: New file.
16585         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
16587         * sysdeps/arm/fegetmode.c: New file.
16588         * sysdeps/arm/fesetmode.c: Likewise.
16590         * sysdeps/alpha/fpu/fegetmode.c: New file.
16591         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
16593         * sysdeps/aarch64/fpu/fegetmode.c: New file.
16594         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
16596         * math/fegetmode.c: New file.
16597         * math/fesetmode.c: Likewise.
16598         * sysdeps/i386/fpu/fegetmode.c: Likewise.
16599         * sysdeps/i386/fpu/fesetmode.c: Likewise.
16600         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
16601         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
16602         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
16603         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
16604         declaration.
16605         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
16606         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
16607         typedef.
16608         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16609         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16610         (femode_t): New typedef.
16611         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16612         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16613         (femode_t): New typedef.
16614         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16615         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16616         (femode_t): New typedef.
16617         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16618         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16619         (femode_t): New typedef.
16620         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16621         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16622         (femode_t): New typedef.
16623         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16624         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16625         (femode_t): New typedef.
16626         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16627         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16628         (femode_t): New typedef.
16629         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16630         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16631         (femode_t): New typedef.
16632         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16633         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16634         (femode_t): New typedef.
16635         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16636         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16637         (femode_t): New typedef.
16638         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
16639         declaration.
16640         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16641         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16642         (femode_t): New typedef.
16643         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16644         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16645         (femode_t): New typedef.
16646         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16647         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16648         (femode_t): New typedef.
16649         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16650         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16651         (femode_t): New typedef.
16652         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16653         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
16654         (femode_t): New typedef.
16655         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
16656         * manual/arith.texi (FE_DFL_MODE): Document macro.
16657         (fegetmode): Document function.
16658         (fesetmode): Likewise.
16659         * math/Versions (fegetmode): New libm symbol at version
16660         GLIBC_2.25.
16661         (fesetmode): Likewise.
16662         * math/Makefile (libm-support): Add fegetmode and fesetmode.
16663         (tests): Add test-femode and test-femode-traps.
16664         * math/test-femode-traps.c: New file.
16665         * math/test-femode.c: Likewise.
16666         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
16667         alias for __fe_dfl_env.
16668         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
16669         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
16670         (__fe_dfl_mode): Likewise.
16671         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
16672         version GLIBC_2.25.
16673         * sysdeps/nacl/libm.abilist: Update.
16674         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16675         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16676         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16677         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16678         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16679         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16680         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16681         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16682         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16683         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16684         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16685         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16687         Likewise.
16688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16689         Likewise.
16690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16691         Likewise.
16692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16693         Likewise.
16694         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16695         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16696         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16697         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16698         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16699         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16700         Likewise.
16701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16702         Likewise.
16703         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16704         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16705         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16707 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
16709         [BZ #20495]
16710         [BZ #20508]
16711         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
16712         processors, set Use_dl_runtime_resolve_slow and set
16713         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
16714         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
16715         New.
16716         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
16717         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
16718         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
16719         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
16720         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
16721         if Use_dl_runtime_resolve_opt is set.  Use
16722         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
16723         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
16724         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
16725         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
16726         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
16727         New.
16728         (_dl_runtime_resolve_opt): Likewise.
16729         (_dl_runtime_profile): Define only if _dl_runtime_profile is
16730         defined.
16732 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16734         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
16735         __libc_memalign with "+ RELA R_390_GLOB_DAT".
16737 2016-09-06  Florian Weimer  <fweimer@redhat.com>
16739         Convert malloc to __libc_lock.  Automated part, using this Perl
16740         s/// command:
16741           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
16742             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
16743         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
16744         conversion.
16746 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
16748         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
16749         (linknamespace-symlists-tests): Likewise.
16750         (linknamespace-header-tests): Likewise.
16752 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
16754         [BZ #19810]
16755         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
16756         * elf/tst-noload.c: New test case.
16757         * elf/Makefile (tests): Add tst-noload.
16759 2016-09-02  Roland McGrath  <roland@hack.frob.com>
16761         * sysdeps/nacl/dup.c: Add libc_hidden_def.
16763         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
16764         not any more.
16766         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
16768 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16770         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
16771         (do_cos_slow): Likewise.
16772         (do_sin): Likewise.
16773         (do_sin_slow): Likewise.
16774         (slow): Likewise.
16775         (slow1): Likewise.
16776         (slow2): Likewise.
16777         (sloww): Likewise.
16778         (sloww1): Likewise.
16779         (sloww2): Likewise.
16780         (bsloww): Likewise.
16781         (bsloww1): Likewise.
16782         (bsloww2): Likewise.
16783         (cslow2): Likewise.
16785         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
16787         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
16788         arguments.  Consolidate input partitioning from callers here.
16789         (do_cos_slow): Likewise.
16790         (do_sin): Likewise.
16791         (do_sin_slow): Likewise.
16792         (do_sincos_1): Remove the no longer necessary input partitioning.
16793         (do_sincos_2): Likewise.
16794         (__sin): Likewise.
16795         (__cos): Likewise.
16796         (slow1): Likewise.
16797         (slow2): Likewise.
16798         (sloww1): Likewise.
16799         (sloww2): Likewise.
16800         (bsloww1): Likewise.
16801         (bsloww2): Likewise.
16802         (cslow2): Likewise.
16804 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16806         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
16807         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
16808         outside of allocated array.
16810 2016-09-02  Florian Weimer  <fweimer@redhat.com>
16812         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
16813         instead of MB_CUR_MAX to avoid variable-length array.
16815 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16817         * math/Makefile (libm-calls): Remove k_rem_pio2F.
16818         (type-double-routines): Add k_rem_pio2.
16819         (type-float-routines): Add k_rem_pio2f.
16821         * sysdeps/generic/math_private.h:
16822         (__kernel_rem_pio2l): Removed.
16824         * math/k_rem_pio2l.c: Removed.
16825         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
16826         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
16827         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
16828         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
16830 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16832         * math/Makefile (gen-libm-calls): Add s_fmin
16833         (libm-calls): Remove above.
16835         * math/s_fmin.c: Refactor into ...
16836         * math/s_fmin_template.c: New file.
16838         * math/s_fminf.c: Removed.
16839         * math/s_fminl.c: Removed.
16840         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16841         (LDOUBLE_fmin_libm_version): New macro.
16843         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
16844         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
16846 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16848         * math/Makefile: (gen-libm-calls): Add s_fmax.
16849         (libm-calls): Remove above.
16851         * math/s_fmax.c: Refactor into ...
16852         * math/s_fmax_template.c: New file.
16853         * math/s_fmaxf.c: Removed.
16854         * math/s_fmaxl.c: Removed.
16856         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16857         (LDOUBLE_fmaxl_libm_version): New macro.
16859         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
16860         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
16862         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
16863         s_fmin.c to pick the aarch64 version of the file.
16864         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
16865         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
16867 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16869         * math/Makefile: (gen-libm-calls): Add s_nextdown.
16870         (libm-calls): Remove above.
16872         * math/s_nextdown.c: Refactor into ...
16873         * math/s_nextdown_template.c: New file.
16874         * math/s_nextdownf.c: Removed.
16875         * math/s_nextdownl.c: Removed.
16877         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
16879 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16881         * math/Makefile (gen-libm-calls): Add s_fdim.
16882         (libm-calls): Move to above.
16884         * math/s_fdim.c: Renamed and refactored into to ...
16885         * math/s_fdim_template.c: New file.
16886         * math/s_fdiml.c: Removed.
16887         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
16888         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
16890         * sysdeps/generic/math-type-macros-double.h:
16891         (declare_mgen_alias): Don't declare if already declared.
16892         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
16893         Likewise.
16895         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
16896         (declare_mgen_alias): Don't declare if already declared.
16897         (M_LIBM_NEED_COMPAT): Likewise.
16898         (declare_mgen_libm_compat): Likewise.
16899         (LDOUBLE_fdiml_libm_version): New macro.
16901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
16902         Include math/s_fdim.c now that ldbl-opt version is not needed.
16903         (declare_mgen_alias): New macro to disable aliasing.
16905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
16906         (declare_mgen_alias): Likewise.
16907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
16908         (declare_mgen_alias): Likewise.
16909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
16910         (declare_mgen_alias): Likewise.
16911         (M_LIBM_NEED_COMPAT): Likewise.
16913 2016-09-01  Florian Weimer  <fweimer@redhat.com>
16915         [BZ #20525]
16916         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
16917         Include <linux/quota.h>.
16918         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
16919         and btodb.
16920         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
16921         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
16922         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
16923         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
16924         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
16925         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
16926         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
16927         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
16928         types.
16929         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
16930         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
16932 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16934         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
16935         (gammal_positive): Fix spacing.
16936         (__ieee754_gammal_r): Likewise.
16938 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
16940         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
16941         (_Float128): Define as long double, always.
16942         (L): Apply long double type suffix, always.
16944         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
16945         _Float128, excepting comments.
16947         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
16948         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
16949         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
16950         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
16951         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
16952         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
16953         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
16954         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
16955         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
16956         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
16957         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
16958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
16959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
16960         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
16961         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
16962         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
16963         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
16964         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
16965         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
16966         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
16967         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
16968         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16969         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
16970         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
16971         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
16972         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
16973         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16974         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16975         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
16976         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
16977         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
16978         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
16979         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
16980         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
16981         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
16982         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
16983         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
16984         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
16985         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
16986         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
16987         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
16988         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
16989         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
16990         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
16991         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
16992         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
16993         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
16994         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
16995         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
16996         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
16997         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
16998         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
16999         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
17000         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
17001         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
17002         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
17003         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
17004         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
17005         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
17006         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
17007         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
17008         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
17009         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
17010         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
17011         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
17012         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
17013         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17014         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
17016         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
17017         _Float128, and include math_private.h.
17018         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
17020         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
17021         long double semantics.
17022         (_Float128): Likewise.
17023         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
17024         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
17025         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
17026         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
17028 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
17030         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
17031         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
17032         * sysdeps/s390/configure: Regenerated.
17033         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
17034         instruction for raising over-/underflow if z196 zarch is supported
17035         by default.
17036         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
17038 2016-08-30  Svante Signell  <svante.signell@gmail.com>
17040         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
17041         it point to a dumb buffer for RPC to fill it.
17043 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
17045         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
17046         instead of if/else.
17047         (do_sin_slow): Likewise.
17048         (do_sincos_1): Use fabs instead of if/else.
17049         (do_sincos_2): Likewise.
17050         (__sin): Likewise.
17051         (__cos): Likewise.
17052         (slow2): Likewise.
17053         (sloww): Likewise.
17054         (sloww1): Likewise.  Drop argument M.
17055         (sloww2): Use fabs instead of if/else.
17056         (bsloww): Likewise.
17057         (bsloww1): Likewise.
17058         (bsloww2): Likewise.
17060         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
17061         fall through comment.
17062         (do_sincos_1): Likewise.
17064         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
17065         Consolidate switch cases 0 and 2.
17067 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17069         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
17070         (libm-calls): Remove the above.
17072         * math/s_cexp_template.c: Update using type-generic macros.
17073         * math/s_clog10_template.c: Likewise.
17074         * math/s_cpow_template.c: Likewise.
17075         * math/s_clog_template.c: Likewise.
17076         * math/s_cproj_template.c: Likewise.
17077         * math/s_csqrt_template.c: Likewise.
17079         * math/s_cexp.c: Removed.
17080         * math/s_cexpf.c: Removed.
17081         * math/s_cexpl.c: Removed.
17082         * math/s_clog10.c: Removed.
17083         * math/s_clog10f.c: Removed.
17084         * math/s_clog10l.c: Removed.
17085         * math/s_cpow.c: Removed.
17086         * math/s_cpowf.c: Removed.
17087         * math/s_cpowl.c: Removed.
17088         * math/s_clog.c: Removed.
17089         * math/s_clogf.c: Removed.
17090         * math/s_clogl.c: Removed.
17091         * math/s_cproj.c: Removed.
17092         * math/s_cprojf.c: Removed.
17093         * math/s_cprojl.c: Removed.
17094         * math/s_csqrt.c: Removed.
17095         * math/s_csqrtf.c: Removed.
17096         * math/s_csqrtl.c: Removed.
17098         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
17099         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
17100         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
17101         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
17102         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
17103         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
17105         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
17106         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
17107         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
17108         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
17109         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
17110         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
17111         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
17112         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
17113         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
17114         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
17115         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
17117         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
17118         version.
17120         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
17121         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
17122         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
17123         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
17125 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17127         * s_cexp_template.c: Copy of s_cexp.c.
17128         * s_clog_template.c: Copy of s_clog.c.
17129         * s_clog10_template.c: Copy of s_clog10.c.
17130         * s_cpow_template.c: Copy of s_cpow.c.
17131         * s_cproj_template.c: Copy of s_cproj.c.
17132         * s_csqrt_template.c: Copy of s_csqrt.c.
17134 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17136         [BZ #20517]
17137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
17138         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
17139         exported.
17141 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
17143         * math/fetestexceptflag.c: New file.
17144         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
17145         Stefan Liebler.
17146         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
17147         (fetestexceptflag): New function declaration.
17148         * manual/arith.texi (fetestexceptflag): Document function.
17149         * math/Versions (fetestexceptflag): New libm symbol at version
17150         GLIBC_2.25.
17151         * math/Makefile (libm-support): Add fetestexceptflag.
17152         (tests): Add test-fetestexceptflag.
17153         * math/test-fetestexceptflag.c: New file.
17154         * sysdeps/nacl/libm.abilist: Update.
17155         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17156         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17157         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17158         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17159         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17160         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17161         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17162         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17163         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17164         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17165         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17166         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17167         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17168         Likewise.
17169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17170         Likewise.
17171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17172         Likewise.
17173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17174         Likewise.
17175         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17176         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17177         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17178         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17179         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17181         Likewise.
17182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17183         Likewise.
17184         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17185         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17186         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17188 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17190         [BZ #20432]
17191         Avoid strong references to malloc-internal symbols when linking
17192         statically, to support statically interposed mallocs.
17193         * include/libc-symbols.h (call_function_static_weak): New macro.
17194         * malloc/Makefile (tests): Add tst-interpose-nothread,
17195         tst-interpose-thread, tst-interpose-static-nothread,
17196         tst-interpose-static-thread.
17197         (tests-static): Add tst-interpose-static-nothread,
17198         tst-interpose-static-thread.
17199         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
17200         tst-interpose-aux-thread.o.
17201         (test-extras): Add tst-interpose-aux-nothread,
17202         tst-interpose-aux-thread.
17203         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
17204         tst-interpose-aux-nothread.o.
17205         (tst-interpose-thread, tst-interpose-static-thread): Link with
17206         tst-interpose-aux-thread.o and libthread.
17207         * malloc/tst-interpose-aux-nothread.c: New file.
17208         * malloc/tst-interpose-aux-thread.c: Likewise.
17209         * malloc/tst-interpose-aux.c: Likewise.
17210         * malloc/tst-interpose-aux.h: Likewise.
17211         * malloc/tst-interpose-nothread.c: Likewise.
17212         * malloc/tst-interpose-skeleton.c: Likewise.
17213         * malloc/tst-interpose-static-nothread.c: Likewise.
17214         * malloc/tst-interpose-static-thread.c: Likewise.
17215         * malloc/tst-interpose-thread.c: Likewise.
17216         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
17217         * sysdeps/mach/hurd/fork.c (__fork): Only call
17218         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
17219         __malloc_fork_unlock_child if defined.
17220         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17222 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17224         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
17225         timespec C99 designated initialization.
17227 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17229         [BZ #19946]
17230         Avoid expected SIGALRM signals.
17231         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
17232         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
17233         (xpthread_create, xpthread_detach, xpthread_join)
17234         (delayed_exit_thread, delayed_exit): New functions.
17235         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
17236         (tf): Use xpthread_cond_wait.
17237         (do_test): Likewise.  Replace alarm with delayed_exit.
17238         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17239         (do_test): Call delayed_exit.  Report failure.
17240         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17241         (do_test): Call delayed_exit.
17242         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17243         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
17244         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17245         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
17246         error.
17247         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
17248         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
17249         error.
17250         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
17251         (do_test): Call delayed_exit.
17252         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
17253         (do_test): Call delayed_exit.
17254         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
17255         (do_test): Call delayed_exit instead of alarm.  Use
17256         xpthread_mutex_lock.
17257         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
17258         (do_test): Call delayed_exit instead of alarm.  Use
17259         xpthread_mutex_lock.
17260         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
17261         (do_test): Call delayed_exit instead of alarm.
17262         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
17263         (do_test): Call delayed_exit instead of alarm.  Use
17264         xpthread_spin_lock.
17265         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
17266         (do_test): Call delayed_exit instead of alarm.  Use
17267         xpthread_join.
17269 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17271         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
17272         adjust CFA when allocating register save area on re-aligned
17273         stack.
17275 2016-08-26  Florian Weimer  <fweimer@redhat.com>
17277         * string/tst-cmp.c: New test.
17278         * string/Makefile (tests): Add it.
17280 2016-08-25  Mark Wielaard  <mark@klomp.org>
17282         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
17283         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
17284         (check_tree_recurse): Use newly defined accessors.
17285         (check_tree): Likewise.
17286         (maybe_split_for_insert): Likewise.
17287         (__tfind): Likewise.
17288         (__tdelete): Likewise.
17289         (trecurse): Likewise.
17290         (tdestroy_recurse): Likewise.
17291         (__tsearch): Likewise. And add asserts for malloc alignment.
17292         (__twalk): Cast root to node in case CHECK_TREE is defined.
17294 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17296         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
17298 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17300         * math/Makefile (libm-gen-calls): Add
17301         catan, catanh, ctan, ctanh.
17302         (libm-calls): Remove the above.
17304         * math/s_catan_template.c: Update using type-generic macros.
17305         * math/s_catanh_template.c: Likewise.
17306         * math/s_ctan_template.c: Likewise.
17307         * math/s_ctanh_template.c: Likewise.
17309         * math/s_catanf.c: Removed.
17310         * math/s_catan.c: Removed.
17311         * math/s_catanl.c: Removed.
17312         * math/s_catanhf.c: Removed.
17313         * math/s_catanh.c: Removed.
17314         * math/s_catanhl.c: Removed.
17315         * math/s_ctanf.c: Removed.
17316         * math/s_ctan.c: Removed.
17317         * math/s_ctanl.c: Removed.
17318         * math/s_ctanhf.c: Removed.
17319         * math/s_ctanh.c: Removed.
17320         * math/s_ctanhl.c: Removed.
17322         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
17323         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
17324         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
17325         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
17326         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
17327         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
17329         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
17330         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
17331         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
17332         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
17334 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17336         * s_catan_template.c: Copy of s_catan.c.
17337         * s_catanh_template.c: Copy of s_catanh.c.
17338         * s_ctan_template.c: Copy of s_ctan.c.
17339         * s_ctanh_template.c: Copy of s_ctanh.c.
17341 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17343         * math/Makefile (gen-libm-calls): Move
17344         casin, casinh, csin, csinh here.
17345         (libm-calls): Remove the above.
17347         * math/s_casin_template.c: Update using type-generic macros.
17348         * math/s_casinh_template.c: Likewise.
17349         * math/s_csin_template.c: Likewise.
17350         * math/s_csinh_template.c: Likewise.
17351         * math/k_casinh_template.c: Likewise.
17353         * math/s_casinf.c: Removed.
17354         * math/s_casin.c: Removed.
17355         * math/s_casinl.c: Removed.
17356         * math/s_casinh.c: Removed.
17357         * math/s_casinhf.c: Removed.
17358         * math/s_casinhl.c: Removed.
17359         * math/s_csin.c: Removed.
17360         * math/s_csinf.c: Removed.
17361         * math/s_csinl.c: Removed.
17362         * math/s_csinh.c: Removed.
17363         * math/s_csinhf.c: Removed.
17364         * math/s_csinhl.c: Removed.
17365         * math/k_casinh.c: Removed.
17366         * math/k_casinhf.c: Removed.
17367         * math/k_casinhl.c: Removed.
17369         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
17370         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
17371         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
17372         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
17374         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
17375         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
17376         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
17377         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
17378         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
17379         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
17380         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
17381         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
17383         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
17384         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
17385         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
17386         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
17388         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
17389         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
17390         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
17391         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
17393 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17395         * s_casin_template.c: Copy of s_casin.c.
17396         * s_casinh_template.c: Copy of s_casinh.c.
17397         * s_csin_template.c: Copy of s_csin.c.
17398         * s_csinh_template.c: Copy of s_csinh.c.
17399         * k_casinh_template.c: Copy of k_casinh.c.
17401 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
17403         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
17405 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17407         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
17408         (mul_split) Remove, rename as mul_splitl, remove
17409         redundant float.h include, and include via mul_splitl.h
17411         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
17412         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17413         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
17414         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
17415         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17417         * math/mul_splitl.h: New file.
17419         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
17420         Move into mul_split.h, and remove redundant float.h include.
17422         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
17423         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
17424         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
17425         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
17427         * math/mul_split.h: New file.
17429 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17431         * math/Makefile (libm-gen-calls): Move
17432         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
17433         (libm-calls): Remove above.
17435         * math/s_cacos_template.c: Update using type-generic macros.
17436         * math/s_cacosh_template.c: Likewise.
17437         * math/s_ccos_template.c: Likewise.
17438         * math/s_ccosh_template.c: Likewise.
17440         * math/s_cacosf.c: Removed.
17441         * math/s_cacos.c: Removed.
17442         * math/s_cacosl.c: Removed.
17443         * math/s_cacoshf.c: Removed.
17444         * math/s_cacosh.c: Removed.
17445         * math/s_cacoshl.c: Removed.
17446         * math/s_ccosf.c: Removed.
17447         * math/s_ccos.c: Removed.
17448         * math/s_ccosl.c: Removed.
17449         * math/s_ccoshf.c: Removed.
17450         * math/s_ccosh.c: Removed.
17451         * math/s_ccoshl.c: Removed.
17453         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
17454         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
17455         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
17456         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
17457         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
17458         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
17460         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
17461         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
17462         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
17463         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
17465         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
17466         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
17467         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
17468         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
17470 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17472         * s_cacos_template.c: Copy of s_cacos.c.
17473         * s_cacosh_template.c: Copy of s_cacosh.c.
17474         * s_ccos_template.c: Copy of s_ccos.c.
17475         * s_ccosh_template.c: Copy of s_ccosh.c.
17477 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17479         * stdlib/tst-strtod-round-skeleton.c:
17480         Refactored from tst-strtod-round.c.
17482         (L_): New macro to apply literal modifier.
17483         (FNPFX): New macro to select str or wcs prefix.
17484         (CHAR): New macro to choose wchar_t or char.
17485         (STRM): New macro to choose printf for tested character type.
17487         (STRTO): New macro to choose appropriate string -> real function.
17488         (FNPFXS): Stringitized version of FNPFX.
17489         (STR): Support for above macro.
17490         (STRX): Likewise.
17492         (TEST): Update with above macros.
17493         (test): Likewise.
17494         (GEN_ONE_TEST): Likewise.
17495         (test_in_one_mode): Likewise.
17497         * stdlib/tst-strtod-round.c: New file.
17498         * wcsmbs/tst-wcstod-round.c: New file.
17500         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
17501         (tst-wcstod-round): Add libm depencency for fesetround.
17503 2016-08-19  Zack Weinberg  <zackw@panix.com>
17505         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
17507 2016-08-18  Torvald Riegel  <triegel@redhat.com>
17509         [BZ #20477]
17510         * resolv/res_hconf.c (do_init): Use atomic access.
17511         * resolv/res_hconf.h: Add comments.
17512         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
17513         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
17514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
17516 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
17518         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
17519         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
17520         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
17521         Likewise.
17523 2016-08-18  Florian Weimer  <fweimer@redhat.com>
17525         [BZ #16907]
17526         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
17527         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
17528         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
17529         (__attribute__): Remove definition.
17531 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17533         * sysdeps/ieee754/ldbl-128/e_asinl.c:
17534         Remove unused sqrtl declaration.
17536 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17538         * math/Makefile: (gen-libm-templates.stmp): New rule.
17539         (libm-calls): Move carg conj cimag and cabs into ...
17540         (gen-libm-calls): New variable.
17541         (generated): Inform Make objects from gen-libm-calls
17542         may be generated.
17544         * sysdeps/generic/math-type-macros.h: New file.
17545         * sysdeps/generic/math-type-macros-float.h: Likewise.
17546         * sysdeps/generic/math-type-macros-double.h: Likewise.
17547         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
17548         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
17549         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
17551         * math/cabs.c: Refactor into
17552         * math/cabs_template.c: new file.
17553         * math/cabsf.c: Removed.
17554         * math/cabsl.c: Removed.
17555         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
17556         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
17558         * math/carg.c: Refactor into
17559         * math/carg_template.c: new file.
17560         * math/cargf.c: Removed.
17561         * math/cargl.c: Removed.
17562         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
17563         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
17565         * math/conj.c: Refactor into
17566         * math/conj_template.c: new file.
17567         * math/conjf.c: Removed.
17568         * math/conjl.c: Removed.
17569         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
17570         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
17572         * math/cimag.c: Refactor into
17573         * math/cimag_template.c: new file.
17574         * math/cimagf.c: Removed.
17575         * math/cimagl.c: Removed.
17576         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17577         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17579         * math/cimag.c: Refactor into
17580         * math/cimag_template.c: new file.
17581         * math/cimagf.c: Removed.
17582         * math/cimagl.c: Removed.
17583         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
17584         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
17586 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17588         Reduce time to expected nptl/tst-once5 failure.
17589         * nptl/tst-once5.cc (TIMEOUT): Define.
17591 2016-08-17  Florian Weimer  <fweimer@redhat.com>
17593         [BZ #20452]
17594         Avoid additional copies of objects in libc.a in static libraries.
17595         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
17596         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
17597         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
17598         rt-sysdep.
17599         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
17600         Add nptl-sysdep.
17601         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
17602         Add ptw-sysdep.
17603         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
17604         rt-sysdep.
17605         * sysdeps/unix/sysv/linux/alpha/Makefile
17606         (libpthread-shared-only-routines): Add ptw-sysdep,
17607         ptw-sigprocmask, ptw-rt_sigaction.
17608         * sysdeps/unix/sysv/linux/ia64/Makefile
17609         (librt-shared-only-routines): Add rt-sysdep.
17610         * sysdeps/unix/sysv/linux/i386/Makefile
17611         (libpthread-shared-only-routines): Add libc-do-syscall.
17612         * sysdeps/unix/sysv/linux/microblaze/Makefile
17613         (libpthread-shared-only-routines): Add sysdep.
17614         * sysdeps/unix/sysv/linux/powerpc/Makefile
17615         (librt-shared-only-routines): Add rt-sysdep.
17616         (libpthread-shared-only-routines): Add sysdep.
17617         * sysdeps/unix/sysv/linux/s390/Makefile
17618         (librt-shared-only-routines): Add rt-sysdep.
17619         * sysdeps/unix/sysv/linux/sparc/Makefile
17620         (librt-shared-only-routines): Add rt-sysdep.
17621         (libpthread-shared-only-routines): Add sysdep.
17622         * sysdeps/unix/sysv/linux/tile/Makefile
17623         (libpthread-shared-only-routines): Likewise.
17625 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
17627         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
17628         Mask implicit bit out of unpacked value.
17629         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
17630         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
17631         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
17633         * sysdeps/sparc/fpu/fesetexcept.c: New file.
17635         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
17637         * sysdeps/s390/fpu/fesetexcept.c: New file.
17639         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
17640         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
17641         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
17643         * sysdeps/mips/fpu/fesetexcept.c: New file.
17645         * sysdeps/m68k/fpu/fesetexcept.c: New file.
17647         * sysdeps/ia64/fpu/fesetexcept.c: New file.
17649         * sysdeps/hppa/fpu/fesetexcept.c: New file.
17651         * sysdeps/arm/fesetexcept.c: New file.
17653         * sysdeps/alpha/fpu/fesetexcept.c: New file.
17655         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
17657         * math/fesetexcept.c: New file.
17658         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
17659         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
17660         * math/fenv.h: Define
17661         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17662         <bits/libc-header-start.h> instead of including <features.h>.
17663         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
17664         declaration.
17665         * manual/arith.texi (fesetexcept): Document function.
17666         * math/Versions (fesetexcept): New libm symbol at version
17667         GLIBC_2.25.
17668         * math/Makefile (libm-support): Add fesetexcept.
17669         (tests): Add test-fesetexcept and test-fesetexcept-traps.
17670         * math/test-fesetexcept.c: New file.
17671         * math/test-fesetexcept-traps.c: Likewise.
17672         * sysdeps/nacl/libm.abilist: Update.
17673         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
17674         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
17675         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
17676         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
17677         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
17678         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
17679         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
17680         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
17681         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
17682         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
17683         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
17684         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
17685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
17686         Likewise.
17687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
17688         Likewise.
17689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
17690         Likewise.
17691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
17692         Likewise.
17693         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
17694         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
17695         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
17696         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
17697         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
17698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
17699         Likewise.
17700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
17701         Likewise.
17702         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
17703         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
17704         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
17706 2016-08-16  Florian Weimer  <fweimer@redhat.com>
17708         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
17709         New.
17710         (do_test): Apply default_stack_size_in_mb if not set.
17711         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
17713 2016-08-15  Andreas Schwab  <schwab@suse.de>
17715         [BZ #20435]
17716         CVE-2016-6323
17717         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
17718         as .cantunwind.
17720 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
17722         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
17723         comment from fraiseexcpt.c.
17725         * math/test-fexcept.c (feraiseexcept_exact): New function.
17726         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
17727         (test_except): Likewise.
17729 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
17731         [BZ #20455]
17732         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
17733         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
17734         to be restored.
17736         * math/test-fexcept-traps.c: New file.
17737         * math/test-fexcept.c: Likewise.
17738         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
17739         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
17740         macro.
17741         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
17742         (EXCEPTION_SET_FORCES_TRAP): Likewise.
17744 2016-08-09  Torvald Riegel  <triegel@redhat.com>
17746         * include/atomic.h (atomic_fetch_and_relaxed,
17747         atomic_fetch_and_release, atomic_fetch_or_release,
17748         atomic_fetch_xor_release): New.
17750 2016-08-06  Christian Seiler  <christian@iwakd.de>
17752         [BZ #20444]
17753         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
17754         MACH_PORT_NULL.
17756 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17758         * math/s_fdim.c: Avoid alias renamed.
17759         * math/s_fdimf.c: Likewise.
17760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17761         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17762         Add s_fdimf-vis3, s_fdim-vis3.
17763         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
17764         (CFLAGS-s_fdim-vis3.c): Likewise.
17765         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
17766         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
17768 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
17771         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
17772         Remove s_fdimf-vis3, s_fdim-vis3.
17773         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
17774         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
17775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
17776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
17777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
17778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
17779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
17780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
17781         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
17782         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
17784 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
17786         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
17787         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
17788         -Wa,-Av9a -mvis.
17790 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17792         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
17793         LIT() to individual constants in simple expressions
17794         after splitting on spaces.
17795         (_apply_lit): Rename replaced version, and use it to
17796         apply to what appears to be a token.
17798         * math/libm-test.inc: Fix many, many issues with
17799         spacing.
17801 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
17803         * math/math.h: Move comment about <bits/mathdef.h> definitions
17804         above inclusion of <bits/mathdef.h>.  Do not mention
17805         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
17807 2016-08-05  Torvald Riegel  <triegel@redhat.com>
17809         * include/atomic.h (atomic_exchange_relaxed): New.
17811 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
17813         * math/e_scalb.c: Do not include <fenv.h>.
17814         (invalid_fn): Do calculation resulting in NaN instead of raising
17815         FE_INVALID and returning a NaN explicitly.
17816         * math/e_scalbf.c: Do not include <fenv.h>.
17817         (invalid_fn): Do calculation resulting in NaN instead of raising
17818         FE_INVALID and returning a NaN explicitly.
17819         * math/e_scalbl.c: Do not include <fenv.h>.
17820         (invalid_fn): Do calculation resulting in NaN instead of raising
17821         FE_INVALID and returning a NaN explicitly.
17823 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
17825         * po/de.po: Updated from Translation Project.
17826         * po/fi.po: Likewise.
17827         * po/sv.po: Likewise.
17829 2016-08-04  Florian Weimer  <fweimer@redhat.com>
17831         [BZ #20452]
17832         Use sysdep.o from libc.a in static libraries.
17833         * sysdeps/unix/sysv/linux/i386/Makefile
17834         (libpthread-shared-only-routines): Add sysdep.
17835         (librt-shared-only-routines): Likewise.
17837 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17839         * math/tgmath.h (nextdown): Define if
17840         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
17841         (nextup): Likewise.
17843         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
17844         macro.
17845         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17846         Document.
17847         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
17848         Document macro.
17849         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
17850         (exp10f): Likewise.
17851         (exp10l): Likewise.
17852         * math/bits/mathcalls.h (exp10): Declare if
17853         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
17855         * manual/arith.texi (nextup): Fix typo in last change.
17857 2016-08-03  Zack Weinberg  <zackw@panix.com>
17859         [BZ #19239]
17860         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
17861         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
17862         define major, minor, and makedev to issue deprecation warnings on use.
17863         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
17864         previously-activated deprecation warnings for these macros and prevent
17865         subsequent inclusions of this header from having any effect.
17866         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
17867         including <sys/sysmacros.h>, and undefine it again afterward.
17869 2016-08-03  Zack Weinberg  <zackw@panix.com>
17871         * sysdeps/generic/sys/sysmacros.h: Delete file.
17872         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
17873         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
17874         * bits/sysmacros.h: ... here; this encoding is now the generic
17875         encoding.  Now defines only the following macros:
17876         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
17877         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
17878         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
17880         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
17881         bits/sysmacros.h and the above new macros to generate the
17882         public implementations of major, minor, and makedev.
17883         * misc/tst-makedev.c: New test.
17884         * include/sys/sysmacros.h: New wrapper.
17886         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
17887         (routines): Add makedev.
17888         (tests): Add tst-makedev.
17889         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
17890         gnu_dev_makedev.
17891         * posix/Makefile (headers): Remove sys/sysmacros.h.
17892         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
17894         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
17895         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
17896         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
17897         * sysdeps/unix/sysv/linux/alpha/libc.abilist
17898         * sysdeps/unix/sysv/linux/arm/libc.abilist
17899         * sysdeps/unix/sysv/linux/hppa/libc.abilist
17900         * sysdeps/unix/sysv/linux/i386/libc.abilist
17901         * sysdeps/unix/sysv/linux/ia64/libc.abilist
17902         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17903         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
17904         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
17905         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17906         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17907         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17908         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17909         * sysdeps/unix/sysv/linux/nios2/libc.abilist
17910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17914         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
17915         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
17916         * sysdeps/unix/sysv/linux/sh/libc.abilist
17917         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17918         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17921         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
17922         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
17923         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
17924         Add GLIBC_2.25.
17926         * include/features.h (__glibc_clang_prereq): New macro.
17927         * misc/sys/cdefs.h (__glibc_clang_has_extension)
17928         (__attribute_deprecated_msg__): New macros.
17930 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
17932         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
17933         macro.
17934         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
17935         * manual/arith.texi (issignaling): Document as ISO from TS
17936         18661-1:2014.
17937         (nextup): Likewise.
17938         (nextupf): Likewise.
17939         (nextupl): Likewise.
17940         (nextdown): Likewise.
17941         (nextdownf): Likewise.
17942         (nextdownl): Likewise.
17943         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
17944         macro.
17945         * math/math.h: Define
17946         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
17947         <bits/libc-header-start.h> instead of including <features.h>.
17948         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
17949         [__USE_GNU].
17950         * math/bits/mathcalls.h (nextdown): Declare if
17951         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
17952         (nextup): Likewise.
17953         (__issignaling): Likewise.
17955 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17957         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
17958         check, and remove __glibc_likely hint
17959         from FP_INFINITE check.
17960         * s_csinhf.c (__csinhf): Likewise.
17962         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
17963         hint from FP_INFINITE check.
17964         * s_csinhl.c (__csinhl): Likewise.
17966 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17968         * math/Makefile (libm-calls): Insert F placeholder into
17969         object names.  Move w_lgamma_compat* routines into
17970         (libm-compat-calls): New variable.
17971         (libm-compat-calls-ldouble-yes): New variable.
17972         (calls): Insert F placeholder.
17973         (generated): Redefine using new type-foreach macro call.
17974         (routines): Likewise.
17976         (types): New variable to hold a list of symbolic names
17977         for each type supported by the target machine.
17978         (libm-routines): Redefine using new types variable.
17979         (type-foreach): macro to replace fooF with the
17980         appropriately suffixed foo for each types.
17982         (type-ldouble-suffix): New variable.
17983         (type-ldouble-routines): Likewise.
17984         (type-ldouble-yes): Likewise.
17985         (type-double-suffix): Likewise.
17986         (type-double-routines): Likewise.
17987         (type-float-suffix): Likewise.
17988         (type-float-routines): Likewise.
17990         (dbl-only-routines): Remove.
17991         (long-c-yes): Likewise.
17992         (long-m-routines): Likewise.
17993         (long-m-support): Likewise.
17994         (long-m-yes): Likewise.
17995         (test-longdouble-yes): Likewise.
17997         (test-float.o): Simplify by increasing the scope of the
17998         recipe which adds libm-test.stmp to the vector types.
17999         (test-ifloat.o): Likewise.
18000         (test-float-finite.o): Likewise.
18001         (test-double.o): Likewise
18002         (test-idouble.o): Likewise.
18003         (test-double-finite.o): Likewise.
18004         (test-ldouble.o): Likewise
18005         (test-ildoubl.o): Likewise.
18006         (test-ldouble-finite.o): Likewise.
18008         (libm-tests): Redefine type tests using foreach and the
18009         list of types in types.
18011         (CPPFLAGS-test-ildoubl.c): Rename to
18012         (CPPFLAGS-test-ildouble.c): New variable
18014         * math/test-ildoubl.c: Rename to
18015         * math/test-ildouble.c: New file.
18017 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18019         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
18020         Use fabsl instead of fabs.
18021         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
18022         Likewise.
18023         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
18024         Add long double suffix to constant to ensure proper
18025         promotion to long double.
18027 2016-08-03  Tom Tromey  <tom@tromey.com>
18029         [BZ #20311]
18030         * nptl_db/Makefile (headers): Add proc_service.h.
18031         * nptl_db/proc_service.h: Add include guard.  Use
18032         __BEGIN/__END_DECLS.
18033         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
18034         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
18035         arguments.
18038 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18040         [BZ #17730]
18041         Avoid using memalign for TCB allocations.
18042         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
18043         (_dl_allocate_tls_storage): Use malloc and manual alignment.
18044         Avoid alignment gap in the TLS_DTV_AT_TP case.
18045         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
18046         determine the pointer to free.
18047         * nptl/tst-tls3-malloc.c: New test.
18048         * nptl/Makefile (tests): Add it.
18049         (tst-tls3-malloc): Link with libdl, libpthread.
18050         (LDFLAGS-tst-tls3-malloc): Set.
18051         (tst-tls3-malloc.out): Depend on DSO used in test.
18053 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18055         [BZ #17730]
18056         Avoid using memalign for TLS allocations.
18057         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
18058         is_static member with to_free member.
18059         (union dtv): Use struct dtv_pointer.
18060         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
18061         dtv_pointer instead of is_static.
18062         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
18063         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
18064         instead of val.
18065         (allocate_dtv_entry): New function.
18066         (allocate_and_init): Return struct dtv_pointer.  Call
18067         allocate_dtv_entry instead of __libc_memalign.
18068         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
18069         instead of val.
18070         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
18071         instead of is_static.  Adjust call to allocate_and_init.
18072         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
18073         struct dtv_pointer instead of val.
18075 2016-08-03  Florian Weimer  <fweimer@redhat.com>
18077         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
18078         (MALLOC_ALIGN_MASK): Move ...
18079         * malloc/malloc-internal.h: ... to here.
18080         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
18082 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
18084         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
18085         (UDP_ENCAP_GTP1U): Likewise.
18087         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
18088         (PF_MAX): Update value.
18089         (AF_QIPCRTR): New macro.
18091 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18093         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
18094         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
18095         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
18096         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
18097         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18098         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18099         s_truncf-vis3, s_trunc-vis3.
18100         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
18101         (CFLAGS-s_ceil-vis3.c): Likewise.
18102         (CFLAGS-s_floorf-vis3.c): Likewise.
18103         (CFLAGS-s_floor-vis3.c): Likewise.
18104         (CFLAGS-s_truncf-vis3.c): Likewise.
18105         (CFLAGS-s_trunc-vis3.c): Likewise.
18106         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
18107         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
18108         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
18109         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
18110         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
18111         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
18112         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
18113         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
18114         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
18115         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
18116         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
18117         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
18119 2016-08-02  David S. Miller  <davem@davemloft.net>
18121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18122         (__nearbyint_vis3): Don't check for sNaN before float register is
18123         loaded with the incoming argument.
18124         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18125         (__nearbyintf_vis3): Likewise.
18126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
18127         Likewise.
18128         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
18129         Likewise.
18131         * string/test-strncmp.c (do_test_limit): Make sure the test data
18132         stream is aligned as required for the type "CHAR".
18133         (do_test): Likewise.
18135 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
18137         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
18138         by beq instructions jumping to the end of the function.
18139         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
18140         clobber list. Use "i" constraint instead of "X".
18141         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
18142         of "X".
18144 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
18146         * bits/libc-header-start.h: New file.
18147         * Makefile (headers): Add bits/libc-header-start.h.
18148         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
18149         (__GLIBC_USE): New macro.
18150         * libio/stdio.h: Define
18151         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18152         <bits/libc-header-start.h> instead of including <features.h>.
18153         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
18154         (open_memstream): Likewise.
18155         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
18156         (__asprintf): Likewise.
18157         (asprintf): Likewise.
18158         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
18159         (getdelim): Likewise.
18160         (getline): Likewise.
18161         * string/string.h: Define
18162         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18163         <bits/libc-header-start.h> instead of including <features.h>.
18164         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
18165         (strndup): Likewise.
18166         * wcsmbs/wchar.h: Define
18167         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
18168         <bits/libc-header-start.h> instead of including <features.h>.
18169         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
18170         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
18172 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18174         Support linking against compatibility symbols, for use in tests.
18175         * include/libc-symbols.h (symbol_version_reference): New macro.
18176         (symbol_version): Use it.
18177         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
18178         (compat_symbol): Use compat_symbol_reference.
18179         (compat_symbol_1, compat_symbol_2): Remove.
18180         (compat_symbol_reference, compat_symbol_reference_1)
18181         (compat_symbol_reference_2): New macro.  Use
18182         symbol_version_reference.
18184 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18186         [BZ #19469]
18187         * malloc/Makefile (CPPFLAGS): Compile tests with
18188         -DTEST_NO_MALLOPT.
18189         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
18191 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
18193         [BZ #20033]
18194         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
18195         finite version.
18196         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
18197         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
18198         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
18199         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
18200         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
18201         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
18202         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
18203         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
18204         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
18205         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
18206         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
18207         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
18208         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
18209         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
18210         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
18211         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
18212         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
18213         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
18214         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
18215         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
18216         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
18217         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
18218         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
18219         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
18220         in zero power.
18222 2016-08-02  Florian Weimer  <fweimer@redhat.com>
18224         [BZ #20370]
18225         * malloc/arena.c (get_free_list): Update comment.  Assert that
18226         arenas on the free list have no attached threads.
18227         (remove_from_free_list): New function.
18228         (reused_arena): Call it.
18230 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
18232         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
18233         when it is a NaN.
18234         [_IEEE_FP_INEXACT] Remove.
18235         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
18236         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
18237         when it is a NaN.
18238         [_IEEE_FP_INEXACT] Remove.
18239         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
18240         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
18241         when it is a NaN.
18242         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
18243         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
18244         when its absolute value is greater than 0x1.0p52.
18245         [_IEEE_FP_INEXACT] Remove.
18246         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
18247         when its absolute value is greater than 0x1.0p23.
18248         [_IEEE_FP_INEXACT] Remove.
18250 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
18252         * version.h (RELEASE): Set to "development"
18253         (VERSION): Set to 2.24.90.
18254         * NEWS: Add 2.25 section.
18256         * version.h (RELEASE): Set to "stable"
18257         (VERSION): Set to 2.24.
18258         * include/features.h (__GLIBC_MINOR__): Set to 24.
18260         * NEWS: Add 2.24 fixed bugs.
18261         * po/libc.pot: Regenerate.
18263 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
18265         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
18266         [$(subdir) = math] (libm-sysdep_routines): Remove.
18267         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
18268         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
18269         s_truncf-vis3, s_trunc-vis3.
18270         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
18271         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
18272         file.
18273         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
18274         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
18275         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18276         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18277         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
18278         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
18279         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
18280         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
18281         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
18282         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
18283         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
18284         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
18285         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
18286         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
18287         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
18288         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
18289         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
18290         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
18291         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
18292         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
18293         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
18294         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
18295         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
18296         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
18297         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
18298         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
18299         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
18300         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
18301         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
18302         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
18303         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
18304         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
18305         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
18306         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
18307         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
18308         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
18309         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
18310         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
18311         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
18312         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
18313         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
18314         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
18315         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
18317 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
18319         [BZ #20384]
18320         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
18321         test-double-libmvec-sincos-avx-main.o,
18322         test-double-libmvec-sincos-avx2-main.o,
18323         test-double-libmvec-sincos-main.o,
18324         test-float-libmvec-sincosf-avx-main.o,
18325         test-float-libmvec-sincosf-avx2-main.o and
18326         test-float-libmvec-sincosf-main.o.
18327         test-float-libmvec-sincosf-avx512-main.o.
18328         ($(objpfx)test-double-libmvec-sincos): Also link with
18329         $(objpfx)test-double-libmvec-sincos-main.o.
18330         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
18331         $(objpfx)test-double-libmvec-sincos-avx-main.o.
18332         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
18333         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
18334         ($(objpfx)test-float-libmvec-sincosf): Also link with
18335         $(objpfx)test-float-libmvec-sincosf-main.o.
18336         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
18337         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
18338         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
18339         test-double-libmvec-sincos-avx512-main.o and
18340         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
18341         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
18342         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
18343         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
18344         (CFLAGS-test-double-libmvec-sincos.c): Removed.
18345         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
18346         (CFLAGS-test-double-libmvec-sincos-main.c): New.
18347         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
18348         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
18349         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
18350         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
18351         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
18352         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
18353         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
18354         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
18355         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
18356         -DREQUIRE_AVX2.
18357         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
18358         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
18359         -DREQUIRE_AVX512F.
18360         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
18361         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
18362         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18363         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
18364         file.
18365         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
18366         Likewise.
18367         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
18368         Likewise.
18369         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
18370         Likewise.
18371         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
18372         Likewise.
18373         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
18374         Likewise.
18375         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
18376         Likewise.
18377         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
18378         Likewise.
18380 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
18382         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
18384 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
18386         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
18387         and typo in a comment about AT_HWCAP entry.
18389 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18391         * sysdeps/aarch64/libm-test-ulps: Updated.
18393 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
18395         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
18396         of r13 as it is not restored in mvcle case.
18398 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
18400         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
18401         Rename "ret" to "__ret".
18402         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
18403         inline_syscall5, inline_syscall6): Likewise.
18405 2016-07-19   Will Newton  <will.newton@gmail.com>
18407         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
18408         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
18409         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
18410         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
18411         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
18413 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
18415         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
18416         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
18417         -mfpmath=387 with $(rtld-CFLAGS).
18418         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
18419         $(rtld-CFLAGS).
18421 2016-07-18   Ross Burton  <ross.burton@intel.com>
18422              Khem Raj  <raj.khem@gmail.com>
18424         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
18425         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
18426         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
18427         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
18428         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
18429         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
18430         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
18431         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
18432         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
18433         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
18434         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
18435         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
18436         R_METAG_TLS_DTPOFF): New.
18438 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18439             Matt Clay  <mclay@lycos.com>
18441         [BZ #20357]
18442         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
18443         to call __mpsin/__mpcos and to negate values.
18444         * math/auto-libm-test-in: Add test.
18445         * math/auto-libm-test-out: Regenerate.
18447 2016-07-18  Zack Weinberg  <zackw@panix.com>
18449         * grp/Makefile: Don't install the internal header grp-merge.h.
18451 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18453         * sysdeps/aarch64/libm-test-ulps: Regenerated.
18455 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18457         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
18459 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18461         [BZ #15368]
18462         * sysdeps/unix/sysv/linux/nptl-signals.h
18463         (__nptl_clear_internal_signals): New function.
18464         (__libc_signal_block_all): Likewise.
18465         (__libc_signal_block_app): Likewise.
18466         (__libc_signal_restore_set): Likewise.
18467         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
18468         implementation.
18469         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
18470         the cached pid/tid value in pthread structure.
18472 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
18474         [BZ #20347]
18475         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18477 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18479         [BZ #20348]
18480         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
18481         preadv64, pwrite64 and pwritev64.
18483 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18485         [BZ #20350]
18486         * posix/tst-preadwrite.c: Renamed to ...
18487         * posix/tst-preadwrite-common.c: This.
18488         (PREAD): Removed.
18489         (PWRITE): Likewise.
18490         (STRINGIFY): Likewise.
18491         (STRINGIFY2): Likewise.
18492         (do_prepare): Make it static and remove function arguments.
18493         (do_test): Likewise.
18494         (PREPARE): Updated.
18495         (TEST_FUNCTION): New.
18496         (name): Make it static.
18497         (fd): Likewise.
18498         (do_prepare): Use create_temp_file.
18499         (do_test): Renamed to ...
18500         (do_test_with_offset): This.  Make it static and accept offset.
18501         Properly check return value of PWRITE and PREAD.  Return bytes
18502         read.  Don't close fd nor unlink name.
18503         * posix/tst-preadwrite.c: Rewrite.
18504         * posix/tst-preadwrite64.c: Likewise.
18506 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
18508         [BZ #20309]
18509         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
18510         -mtls-dialect=gnu2 works.
18511         * configure: Regenerated.
18512         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
18513         (tests): Add tst-gnu2-tls1.
18514         (modules-names): Add tst-gnu2-tls1mod.
18515         ($(objpfx)tst-gnu2-tls1): New.
18516         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
18517         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
18518         * elf/tst-gnu2-tls1.c: New file.
18519         * elf/tst-gnu2-tls1mod.c: Likewise.
18520         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
18521         bytes for push in the PLT entry to align the stack.
18523 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
18525         [BZ #20349]
18526         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
18528 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
18530         [BZ #18707]
18531         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
18532         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
18534 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18536         * sysdeps/unix/sysv/linux/sysdep.h
18537         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
18538         guards.
18539         * misc/tst-preadvwritev-common.c: New file.
18540         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
18541         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
18542         a check for files larger than 2GB.
18544         * sysdeps/unix/sysv/linux/mips/kernel-features.h
18545         (__ASSUME_OFF_DIFF_OFF64): Remove define.
18546         * sysdeps/unix/sysv/linux/pread.c
18547         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
18548         __OFF_T_MATCHES_OFF64_T.
18549         * sysdeps/unix/sysv/linux/pread64.c
18550         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
18551         * sysdeps/unix/sysv/linux/preadv.c
18552         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
18553         * sysdeps/unix/sysv/linux/preadv64.c
18554         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
18555         * sysdeps/unix/sysv/linux/pwrite.c
18556         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
18557         * sysdeps/unix/sysv/linux/pwrite64.c
18558         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
18559         * sysdeps/unix/sysv/linux/pwritev.c
18560         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
18561         * sysdeps/unix/sysv/linux/pwritev64.c
18562         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
18564 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
18566         * sysdeps/unix/sysv/linux/tile/kernel-features.h
18567         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
18569 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18571         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
18573 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
18575         [BZ #20240]
18576         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
18577         (CFLAGS-s_modf-ppc32.c): New variable.
18578         (CFLAGS-s_modff-ppc32.c): Likewise.
18579         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18580         (CFLAGS-s_modf-ppc64.c): Likewise.
18581         (CFLAGS-s_modff-ppc64.c): Likewise.
18583 2016-07-07  Andreas Schwab  <schwab@suse.de>
18585         [BZ #20263]
18586         * nptl/tst-robust10.c: New test.
18587         * nptl/Makefile (tests): Add tst-robust10.
18589 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
18591         [BZ #20263]
18592         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
18594 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
18596         * sysdeps/s390/linkmap.h (struct link_map_machine):
18597         Remove member gotplt and add member jmprel.
18598         * sysdeps/s390/s390-32/dl-machine.h
18599         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
18600         instead of gotplt with &got[3].
18601         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
18602         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
18604 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
18606         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
18608 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18610         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
18611         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
18612         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18613         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
18614         * libio/vtables.c (_IO_vtable_check)
18615         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
18616         * libio/libioP.h (IO_set_accept_foreign_vtables)
18617         [!PTR_MANGLE]: Do not call PTR_MANGLE.
18619 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
18621         [BZ #20314]
18622         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
18623         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
18624         $(common-objpfx)cmath.
18625         ($(common-objpfx)cstdlib): New target.
18626         ($(common-objpfx)cmath): Likewise.
18628 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
18630         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
18632 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18634         [BZ #20327]
18635         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
18636         are not part of the string.
18638 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18640         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
18641         * nptl/tst-cancel4-common.h (fifoname): New variable.
18642         (fifofd): Likewise.
18643         (cl_fifo): New function.
18644         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
18645         SIGINT.
18646         (tf_open): Add early cancel test.
18648 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
18650         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
18652 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
18654         * sysdeps/generic/ldsodefs.h
18655         (dl_symbol_visibility_binds_local_p): New inline function.
18656         * elf/dl-addr.c (determine_info): Treat hidden and internal
18657         symbols as local.
18658         * elf/dl-lookup.c (do_lookup_x): Likewise.
18659         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
18661 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
18663         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
18664         invalid exception for a sNaN input.
18665         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18666         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
18667         (__nearbyint_vis3): Likewise
18668         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
18669         (__nearbyintf_vis3): Likewise
18670         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
18671         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
18672         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
18673         Likewise.
18674         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
18675         Likewise.
18677 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
18679         [BZ #20139]
18680         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
18681         (HAVE_AVX512DQ_ASM_SUPPORT): This.
18682         * sysdeps/x86_64/configure.ac: Require assembler from binutils
18683         2.24 or above.
18684         (HAVE_AVX512_ASM_SUPPORT): Removed.
18685         (HAVE_AVX512DQ_ASM_SUPPORT): New.
18686         * sysdeps/x86_64/configure: Regenerated.
18687         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
18688         check unconditional.
18689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18690         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18691         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18692         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
18693         Likewise.
18694         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
18695         Likewise.
18696         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
18697         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
18698         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18699         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18700         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
18701         Likewise.
18702         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
18703         Likewise.
18704         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18705         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18706         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
18707         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
18708         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
18709         Likewise.
18710         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
18711         Likewise.
18712         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
18713         Likewise.
18714         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
18715         Likewise.
18716         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
18717         Likewise.
18718         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
18719         Likewise.
18720         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
18721         Likewise.
18722         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
18723         Likewise.
18724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
18725         Likewise.
18726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
18727         Likewise.
18728         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
18729         Likewise.
18731 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
18733         [BZ #20024]
18734         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
18735         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
18736         of this implementation of vector function.
18737         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18738         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
18740         Likewise.
18741         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18742         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18743         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
18744         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
18745         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
18746         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
18747         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
18748         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
18749         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
18750         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
18751         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
18752         for testing vector sincos with fixed ABI.
18753         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18754         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18755         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18756         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18757         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18758         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18759         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18760         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
18761         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
18762         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
18763         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
18764         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
18765         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
18766         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
18767         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
18768         * sysdeps/x86_64/fpu/Makefile: Added new tests.
18770 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18772         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
18774 2016-06-30  Anton Blanchard  <anton@samba.org>
18776         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18777         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
18778         s_sinf-ppc64.
18779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
18780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
18781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
18782         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
18784 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
18786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18787         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
18788         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
18789         e_expf-ppc64.
18790         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
18791         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
18792         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
18793         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
18795 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
18797         [BZ #20277]
18798         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
18799         when SHARED is defined.
18801 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
18803         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
18804         (index_arch_Prefer_ERMS): Likewise.
18805         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
18806         __memcpy_erms for Prefer_ERMS.
18807         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
18808         (__memmove_erms): Enabled for libc.a.
18809         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
18810         __memmove_erms or Prefer_ERMS.
18811         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
18812         __mempcpy_erms for Prefer_ERMS.
18813         * sysdeps/x86_64/multiarch/memset.S (memset): Return
18814         __memset_erms for Prefer_ERMS.
18816 2016-06-30  Andreas Schwab  <schwab@suse.de>
18818         [BZ #20262]
18819         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
18820         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
18821         of memory.
18823 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
18825         [BZ #18645]
18826         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
18827         (test-extras): Add tst-cleanupx4aux.
18828         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
18829         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
18830         tst-cleanupx4aux.o.
18831         * nptl/tst-cleanupx4aux.c: New file.
18833 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
18835         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
18837 2016-06-29  Andreas Schwab  <schwab@suse.de>
18839         [BZ #20260]
18840         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
18841         address before the beginning of the string as an integer to avoid
18842         array-bounds warning.
18844 2016-06-28  Richard Henderson  <rth@redhat.com>
18846         * elf/elf.h (EM_BPF): New.
18847         (EM_NUM): Update.
18848         (R_BPF_NONE, R_BPF_MAP_FD): New.
18850         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
18851         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
18852         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
18853         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
18854         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
18855         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
18856         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
18857         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
18858         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
18859         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
18860         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
18861         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
18862         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
18863         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
18864         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
18865         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
18866         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
18867         (EM_NUM): Update.
18869 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
18871         [BZ #18960]
18872         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
18873         Set _nl_current_LC_CATEGORY_used to two instead of one.
18875 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
18877         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
18878         (do_test): ... this.
18879         (TEST_FUNCTION): New macro.
18880          Include test-skeleton.c.
18881         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
18882         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
18884 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
18886         [BZ #15479]
18887         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
18888         floating-point environment rather than just control word.
18889         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
18890         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
18891         floating-point environment, with "invalid" exceptions merged in,
18892         rather than just control word.
18893         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
18894         * math/libm-test.inc (trunc_test_data): Do not allow spurious
18895         "inexact" exceptions.
18897         [BZ #15479]
18898         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
18899         floating-point environment rather than just control word.
18900         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
18901         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
18902         floating-point environment, with "invalid" exceptions merged in,
18903         rather than just control word.
18904         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
18905         * math/libm-test.inc (floor_test_data): Do not allow spurious
18906         "inexact" exceptions.
18908         [BZ #15479]
18909         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
18910         floating-point environment rather than just control word.
18911         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
18912         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
18913         floating-point environment, with "invalid" exceptions merged in,
18914         rather than just control word.
18915         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
18916         * math/libm-test.inc (ceil_test_data): Do not allow spurious
18917         "inexact" exceptions.
18919 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
18921         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
18922         __libc_vfork.
18923         (__vfork) [IS_IN (libc)]: Remove alias.
18924         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
18925         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
18926         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
18928 2016-06-24  Torvald Riegel  <triegel@redhat.com>
18930         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
18931         of atomic_compare_and_exchange_bool_rel.
18932         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
18933         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
18934         catomic_compare_and_exchange_bool_rel): Remove.
18935         * sysdeps/aarch64/atomic-machine.h
18936         (atomic_compare_and_exchange_bool_rel): Likewise.
18937         * sysdeps/alpha/atomic-machine.h
18938         (atomic_compare_and_exchange_bool_rel): Likewise.
18939         * sysdeps/arm/atomic-machine.h
18940         (atomic_compare_and_exchange_bool_rel): Likewise.
18941         * sysdeps/mips/atomic-machine.h
18942         (atomic_compare_and_exchange_bool_rel): Likewise.
18943         * sysdeps/microblaze/atomic-machine.h
18944         ( __arch_compare_and_exchange_bool_8_rel,
18945         __arch_compare_and_exchange_bool_16_rel): Likewise.
18946         * sysdeps/powerpc/atomic-machine.h
18947         ( __arch_compare_and_exchange_bool_8_rel,
18948         __arch_compare_and_exchange_bool_16_rel): Likewise.
18949         * sysdeps/powerpc/powerpc32/atomic-machine.h
18950         ( __arch_compare_and_exchange_bool_32_rel,
18951         __arch_compare_and_exchange_bool_64_rel): Likewise.
18952         * sysdeps/powerpc/powerpc64/atomic-machine.h
18953         ( __arch_compare_and_exchange_bool_32_rel,
18954         __arch_compare_and_exchange_bool_64_rel): Likewise.
18955         * sysdeps/tile/atomic-machine.h
18956         (atomic_compare_and_exchange_bool_rel): Likewise.
18958 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
18960         [BZ #20296]
18961         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
18962         when either argument is a NaN.
18963         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
18964         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
18966         * math/libm-test.inc (snan_value_ld): New macro.
18967         (isgreater_test_data): Add sNaN tests.
18968         (isgreaterequal_test_data): Likewise.
18969         (isless_test_data): Likewise.
18970         (islessequal_test_data): Likewise.
18971         (islessgreater_test_data): Likewise.
18972         (isunordered_test_data): Likewise.
18973         (nextafter_test_data): Likewise.
18974         (nexttoward_test_data): Likewise.
18975         (remainder_test_data): Likewise.
18976         (remquo_test_data): Likewise.
18977         (significand_test_data): Likewise.
18978         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
18980 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
18982         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
18983         environment macros are defined.
18984         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
18986 2016-06-23  Florian Weimer  <fweimer@redhat.com>
18988         [BZ #20191]
18989         Implement vtable verification in libio.
18990         * Makerules (shlib.lds): Place __libc_IO_vtables section.
18991         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
18992         * debug/vdprintf_chk.c (__vdprintf_chk): Call
18993         _IO_new_file_init_internal instead of _IO_file_init.
18994         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
18995         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
18996         * libio/Makefile (routines): Add vtables.
18997         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
18998         (_IO_init): Remove, not for internal use.
18999         (_IO_init_internal): Declare, internal replacement for _IO_init.
19000         (_IO_file_init): Remove, not for internal use.
19001         (_IO_new_file_init): Remove, not for internal use.
19002         (_IO_new_file_init_internal): Declare, internal replacement for
19003         _IO_new_file_init.
19004         (_IO_old_file_init): Remove, not for internal use.
19005         (_IO_old_file_init_internal): Declare, internal replacement for
19006         _IO_old_file_init.
19007         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
19008         internal use.
19009         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
19010         Declare.
19011         (libio_vtable): New macro.
19012         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
19013         functions.
19014         * libio/fileops.c (_IO_new_file_init_internal): Rename from
19015         _IO_new_file_init.
19016         (_IO_new_file_init): New externally visible wrapper which disables
19017         vtable verification.
19018         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
19019         Define as vtables.
19020         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
19021         (_IO_init): New externally visible wrapper which disables
19022         vtable verification.
19023         * libio/iofdopen.c (_IO_new_fdopen): Call
19024         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
19025         comment.
19026         * libio/iofopen.c (__fopen_internal): Call
19027         _IO_new_file_init_internal instead of _IO_file_init.
19028         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
19029         Define as vtables.
19030         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
19031         _IO_new_file_init_internal instead of _IO_file_init.
19032         * libio/iopopen.c (_IO_new_popen): Likewise.
19033         (_IO_proc_jumps): Define as vtable.
19034         * libio/iovdprintf.c (_IO_vdprintf): Call
19035         _IO_new_file_init_internal instead of _IO_file_init.
19036         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
19037         (__open_memstream): Call _IO_init_internal instead of _IO_init.
19038         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
19039         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
19040         _IO_old_file_init.
19041         (_IO_old_file_init): New externally visible wrapper which disables
19042         vtable verification.
19043         (_IO_old_file_jumps): Define as vtable.
19044         * libio/oldiofdopen.c (_IO_old_fdopen): Call
19045         _IO_old_file_init_internal instead of _IO_old_file_init.
19046         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
19047         * libio/oldiopopen.c (_IO_old_popen): Likewise.
19048         (_IO_old_proc_jumps): Define as vtable.
19049         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
19050         Define as vtables.
19051         * libio/vtables.c: New file.
19052         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
19053         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
19054         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
19055         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
19056         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
19057         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
19058         instead of _IO_init.
19060 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19062         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
19064 2016-06-23  Florian Weimer  <fweimer@redhat.com>
19066         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
19067         potentially unused.
19069 2016-06-22  Florian Weimer  <fweimer@redhat.com>
19071         * test-skeleton.c (write_message): New function.
19072         * malloc/tst-mallocfork2.c (write_message): Remove.
19073         * debug/tst-longjmp_chk2.c (write_indented): New function.
19074         (write_message): Remove.
19075         (stackoverflow_handler): Call write_indented.
19077 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
19079         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
19080         "inexact" exceptions after fnstenv.
19081         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
19082         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19083         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
19085 2015-06-22  Zack Weinberg  <zackw@panix.com>
19087         * sysdeps/generic/bits/hwcap.h: Moved to ...
19088         * bits/hwcap.h: Here.
19090 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
19092         * sysdeps/aarch64/memcpy.S (memcpy):
19093         Further tuning for performance.
19095 2016-06-21  Florian Weimer  <fweimer@redhat.com>
19097         [BZ #20284]
19098         * malloc/arena.c (reused_arena): Do not return NULL if we start
19099         out with a non-corrupted arena.
19101 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19103         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
19104         * misc/tst-preadvwritev.c: New file.
19105         * misc/tst-preadvwritev64.c: Likewise.
19106         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
19107         usage.
19108         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
19109         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
19110         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
19111         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
19113 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
19115         [BZ #19654]
19116         * sysdeps/x86_64/fpu/Makefile: Added new tests.
19117         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
19118         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
19119         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
19120         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
19121         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
19122         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
19123         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
19124         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
19125         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
19126         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
19127         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
19128         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
19129         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
19130         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
19131         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
19132         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
19133         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
19134         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
19135         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
19136         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
19137         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
19138         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
19139         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
19140         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
19141         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
19143 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19145         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
19146         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
19148 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
19150         * sysdeps/aarch64/memcpy.S (memcpy):
19151         Rewrite of optimized memcpy and memmove.
19152         * sysdeps/aarch64/memmove.S (memmove): Remove
19153         memmove code (merged into memcpy.S).
19155 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19157         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
19158         * sysdeps/generic/dl-dtv.h: New file.
19159         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19160         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
19161         (dtv_t): Remove.
19162         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19163         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
19164         (dtv_t): Remove.
19165         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19166         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
19167         (dtv_t): Remove.
19168         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19169         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
19170         (dtv_t): Remove.
19171         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19172         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
19173         (dtv_t): Remove.
19174         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19175         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
19176         (dtv_t): Remove.
19177         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19178         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
19179         (dtv_t): Remove.
19180         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
19181         (dtv_t): Remove.
19182         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19183         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
19184         (dtv_t): Remove.
19185         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19186         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
19187         (dtv_t): Remove.
19188         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19189         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
19190         (dtv_t): Remove.
19191         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19192         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
19193         (dtv_t): Remove.
19194         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19195         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
19196         (dtv_t): Remove.
19197         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19198         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
19199         (dtv_t): Remove.
19200         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19201         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
19202         (dtv_t): Remove.
19203         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
19204         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
19205         (dtv_t): Remove.
19207 2016-06-20  Florian Weimer  <fweimer@redhat.com>
19209         Revert symbol poisoning of  __malloc_initialize_hook.
19210         * include/stdc-predef.h (__malloc_initialize_hook): Remove
19211         poisoning.
19212         * malloc/Makefile: Remove un-poisoning.
19213         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
19214         instead of old__malloc_initialize_hook.
19215         * malloc/malloc-hooks.h: Likewise.
19216         * malloc/malloc.c: Likewise.
19217         * malloc/mcheck-init.c: Likewise.
19219 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
19221         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
19223 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
19225         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
19226         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
19227         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
19228         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
19230 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19232         * NEWS: Mention addition of nextup and nextdown.
19233         * manual/arith.texi: Document nextup and nextdown.
19234         * manual/libm-err-tab.pl: Add nextup and nextdown.
19235         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
19236         * math/Versions (libm): Add GLIBC_2.24.
19237         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
19238         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
19239         Add new test.
19240         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
19241         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
19242         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
19243         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
19244         (nextup_test_data): Likewise.
19245         (nextdown_test_data): Likewise.
19246         * math/s_nextdown.c: New file.
19247         * math/s_nextdownf.c: Likewise.
19248         * math/s_nextdownl.c: Likewise.
19249         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
19250         F(nextup): New function.
19251         F(nextdown): Likewise.
19252         * math/tgmath.h: Add nextup and nextdown.
19253         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
19254         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
19255         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
19256         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
19257         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
19258         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
19259         Add nextup and nextdown.
19260         (CFLAGS-nldbl-nextup.c): New variable.
19261         (CFLAGS-nldbl-nextdown.c): Likewise.
19262         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
19263         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
19264         * sysdeps/nacl/libm.abilist: Update.
19265         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
19266         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
19267         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
19268         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
19269         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
19270         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
19271         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
19272         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
19273         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
19274         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
19275         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
19276         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
19277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
19278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
19279         Likewise.
19280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
19281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
19282         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
19283         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
19284         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
19285         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
19286         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
19287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
19288         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
19289         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
19290         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
19291         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
19292         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
19294 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19296         * manual/pattern.texi: Fix typos & grammar errors.
19298 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19300         * manual/search.texi: Fix typos & grammar errors.
19302 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19304         * manual/message.texi: Fix typos & grammar errors.
19306 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
19308         * manual/contrib.texi: Fix spelling typos.
19309         * manual/crypt.texi: Likewise.
19310         * manual/filesys.texi: Likewise.
19311         * manual/locale.texi: Likewise.
19312         * manual/message.texi: Likewise.
19313         * manual/nss.texi: Likewise.
19314         * manual/string.texi: Likewise.
19316 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19318         * manual/locale.texi: Fix typos & grammar errors.
19320 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19322         * manual/charset.texi: Fix typos & grammar errors.
19324 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19326         * manual/string.texi: Fix typos.
19328 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19330         * manual/ctype.texi: Fix typos.
19332 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
19334         * manual/memory.texi: Fix various typos & grammar errors.
19336 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
19338         [BZ #20255]
19339         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
19340         * math/libm-test.inc (fdim_test_data): Add another test.
19342         [BZ #6796]
19343         [BZ #20255]
19344         [BZ #20256]
19345         * math/s_fdim.c: Include <math_private.h>.
19346         (__fdim): Use math_narrow_eval on result.
19347         * math/s_fdimf.c: Include <math_private.h>.
19348         (__fdimf): Use math_narrow_eval on result.
19349         * sysdeps/i386/fpu/s_fdim.S: Remove file.
19350         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
19351         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
19352         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
19353         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
19354         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
19355         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
19356         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
19357         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
19358         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
19359         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
19360         * math/libm-test.inc (fdim_test_data): Expect errno setting on
19361         overflow.  Add sNaN tests.
19363         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
19364         fpclassify.
19365         * math/s_fdimf.c (__fdimf): Likewise.
19366         * math/s_fdiml.c (__fdiml): Likewise.
19368 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19370         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19371         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
19372         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19373         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19374         ifunc'ed strcasecmp/strncasecmp.
19375         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
19376         [EALIGN]: Removed.
19377         [END]: Likewise.
19378         [__strcasecmp]: Define instead of the above to control symbol name.
19379         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
19380         for __strcasecmp_power8.
19381         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
19382         for __strncasecmp_power8.
19383         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
19384         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
19385         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
19386         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
19387         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
19388         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
19390 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
19392         [BZ #20252]
19393         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
19394         arguments when second argument is a NaN.
19395         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
19396         qNaN tests.
19398         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
19399         (conj_test_data): Likewise.
19400         (copysign_test_data): Likewise.
19401         (creal_test_data): Likewise.
19402         (fma_test_data): Likewise.
19403         (fmod_test_data): Likewise.
19405         [BZ #20250]
19406         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
19407         itself.
19408         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
19409         zero input to itself.
19410         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
19411         Likewise.
19412         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
19413         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
19414         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
19415         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
19416         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
19418 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19420         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
19421         * nptl/tst-cancel4-common.c: New file.
19422         * nptl/tst-cancel4-common.h: Likewise.
19423         * nptl/tst-cancel4.c: Move common definitions to
19424         tst-cancel4-common.{c,h} file.
19425         * nptl/tst-cancel4_1.c: New test.
19426         * nptl/tst-cancel4_2.c: New test.
19428 2016-06-13  Florian Weimer  <fweimer@redhat.com>
19430         [BZ #20248]
19431         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
19432         (write_message): New function.
19433         (stackoverflow_handler): Call it instead of printf, to avoid
19434         excessive stack usage by printf.
19435         (do_test): Restore SIGSEGV, SIGBUS default handlers.
19437 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19439         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
19440         (prio_inherit_missing): Remove define.
19441         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19442         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19443         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
19444         Likewise.
19445         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
19446         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19447         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19448         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19449         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
19450         (__ASSUME_FUTEX_LOCK_PI): Likewise.
19452 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
19454         [BZ #19670]
19455         [BZ #19672]
19457         * io/test-lfs.c (do_prepare): Use xmalloc.
19458         * io/tst-fcntl.c (do_prepare): Likewise.
19459         * libio/tst-fopenloc.c (do_bz17916): Likewise.
19460         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
19461         * login/tst-utmp.c (do_prepare): Likewise.
19462         * posix/tst-exec.c (do_prepare): Likewise.
19463         * posix/tst-pathconf.c (prepare): Likewise.
19464         * posix/tst-spawn.c (do_prepare): Likewise.
19465         * posix/tst-truncate.c (do_prepare): Likewise.
19466         * rt/tst-aio.c (do_prepare): Likewise.
19467         * rt/tst-aio64.c (do_prepare): Likewise.
19469 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19471         [BZ #20237]
19472         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
19473         (get*ent): Set entidx to NULL during initialization.  If entidx is
19474         NULL, start iteration from the beginning.
19476 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19478         * malloc/malloc.c (musable): Return correct size for dumped fake
19479         mmapped chunk.
19481 2016-06-11  Florian Weimer  <fweimer@redhat.com>
19483         [BZ #20222]
19484         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
19485         (_IO_cookie_write): Likewise.
19486         (_IO_cookie_seek): Likewise.
19487         (_IO_cookie_close): Likewise.
19488         (_IO_old_cookie_seek): Likewise.
19489         (set_callbacks): New function.
19490         (_IO_cookie_init): Call set_callbacks to copy callbacks.
19492 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
19494         * locale/programs/localedef.c (oldstyle_tables): Remove.
19495         * locale/programs/localedef.h (oldstyle_tables): Likewise.
19497 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
19499         [BZ #20240]
19500         * math/Makefile (CFLAGS-s_modf.c): New variable.
19501         (CFLAGS-s_modff.c): Likewise.
19502         (CFLAGS-s_modfl.c): Likewise.
19503         * math/libm-test.inc (modf_test_data): Add sNaN tests.
19505 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
19507         [BZ #20215]
19508         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
19509         [!__GNUC_PREREQ (3,2)]: Likewise.
19511 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
19513         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
19514         (msghdr.msg_controllen): Likewise.
19515         (cmsghdr.cmsg_len): Likewise.
19516         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
19517         ptw-oldsendmsg.
19518         (CFLAGS-oldrecvmsg.c): Remove rule.
19519         (CFLAGS-oldsendmsg.c): Likewise.
19520         (CFLAGS-recvmsg.c): Add rule.
19521         (CFLAGS-sendmsg.c): Likewise.
19522         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
19523         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
19524         (CFLAGS-recvmsg.c): Remove rule.
19525         (CFLAGS-sendmsg.c): Likewise.
19526         (CFLAGS-oldrecvmsg.c): Likewise.
19527         (CFLAGS-oldsendmsg.c): Likewise.
19528         (CFLAGS-recvmmsg.c): Likewise.
19529         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
19530         to kernel defined interfaces.
19531         (msghdr.msg_controllen): Likewise.
19532         (cmsghdr.cmsg_len): Likewise.
19533         (msghdr.__glibc_reserved1): Remove member.
19534         (msghdr.__glibc_reserved2): Likewise.
19535         (cmsghdr.__glibc_reserved1): Likewise.
19536         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
19537         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
19538         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
19539         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
19540         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
19541         version.
19542         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
19543         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
19544         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
19545         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
19546         Remove recvmsg and sendmsg.
19547         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
19548         Likewise.
19549         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
19550         Likewise.
19551         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
19552         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
19553         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
19554         Likewise.
19555         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
19556         Likewise.
19557         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
19558         [libc] (GLIBC_2.24): Likewise.
19559         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
19560         Likewise.
19561         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
19562         Likewise.
19563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
19564         [libc] (GLIBC_2.24): Likewise.
19565         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
19566         Likewise.
19567         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
19568         Likewise.
19569         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
19570         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
19571         Likewise.
19572         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
19573         Likewise.
19574         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
19575         Likewise.
19576         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
19577         Likewise.
19578         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
19579         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
19580         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
19581         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
19582         version for {recv,send,recm,sendm}msg.
19583         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
19584         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
19585         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
19586         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
19587         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
19588         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
19589         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
19590         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
19591         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
19592         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
19593         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
19594         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
19595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
19596         Likewise.
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
19598         Likewise.
19599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
19600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
19601         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
19602         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
19603         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
19604         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
19605         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
19606         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
19607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
19608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
19609         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
19610         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
19611         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
19613 2016-06-10  Florian Weimer  <fweimer@redhat.com>
19615         [BZ #19564]
19616         Remove __malloc_initialize_hook from the API.
19617         * malloc/malloc.h (__malloc_initialize_hook): Remove.
19618         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
19619         #pragma GCC poison.
19620         * malloc/malloc-hooks.h: New file.
19621         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
19622         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
19623         (old__malloc_initialize_hook): Rename from
19624         __malloc_initialize_hook to evade poisoning.  Turn into compat
19625         symbol.
19626         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
19627         __malloc_initialize_hook.
19628         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
19629         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
19630         * manual/memory.texi (Hooks for Malloc): Remove
19631         __malloc_initialize_hook.  Adjust hook example.
19633 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
19635         [BZ #20235]
19636         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
19637         itself.
19638         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
19639         * math/libm-test.inc (log2_test_data): Add sNaN tests.
19641         [BZ #20234]
19642         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
19643         infinity or NaN input to itself.
19645         [BZ #20233]
19646         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
19647         to itself.
19649         [BZ #20232]
19650         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
19651         itself.
19653 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19655         * sysdeps/x86_64/start.S (_start): Always indirect branch to
19656         __libc_start_main via GOT.
19658 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
19660         * sysdeps/x86_64/memcopy.h: New file.
19661         * sysdeps/x86_64/wordcopy.c: Likewise.
19663 2016-06-09  Florian Weimer  <fweimer@redhat.com>
19665         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
19666         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
19667         <cstdlib>.
19668         (optimization_barrier): New.
19669         (do_test): Use it.  Call quick_exit in the global namespace.
19670         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
19671         instead of <cstdlib>, <thread>.
19672         (optimization_barrier): New.
19673         (non_main_thread): Adjust declaration.  Call optimization_barrier.
19674         Call quick_exit in the global namespace.
19675         (do_test): Call optimization_barrier.  Use pthread_create,
19676         pthread_join instead of std::thread.
19678 2016-06-09  Andreas Schwab  <schwab@suse.de>
19680         [BZ #19755]
19681         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
19682         new entries in auto-propagate mode.
19683         * nscd/grpcache.c (cache_addgr): Likewise.
19685 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
19687         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
19688         New functions.
19689         (add_temp_file): Use them.
19691 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
19693         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
19695 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
19697         [BZ #20229]
19698         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
19699         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
19700         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
19702         [BZ #20228]
19703         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
19704         itself.
19705         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
19706         * math/libm-test.inc (log10_test_data): Add sNaN tests.
19708         [BZ #20227]
19709         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
19710         itself.
19711         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
19712         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
19713         * math/libm-test.inc (log_test_data): Add sNaN tests.
19715         [BZ #20226]
19716         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
19717         itself.
19718         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19719         * math/libm-test.inc (exp_test_data): Add sNaN tests.
19720         (exp10_test_data): Likewise.
19721         (expm1_test_data): Likewise.
19723         [BZ #20225]
19724         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
19725         itself.
19726         * math/s_ldexpf.c (__ldexpf): Likewise.
19727         * math/s_ldexpl.c (__ldexpl): Likewise.
19728         * math/w_scalbln.c (__w_scalbln): Likewise.
19729         * math/w_scalblnf.c (__w_scalblnf): Likewise.
19730         * math/w_scalblnl.c (__w_scalblnl): Likewise.
19731         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
19732         (scalbln_test_data): Likewise.
19734         [BZ #20224]
19735         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
19736         argument to itself.
19737         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
19739 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19741         [BZ #19776]
19742         * sysdeps/x86_64/memcpy.S: Make it dummy.
19743         * sysdeps/x86_64/mempcpy.S: Likewise.
19744         * sysdeps/x86_64/memmove.S: New file.
19745         * sysdeps/x86_64/memmove_chk.S: Likewise.
19746         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
19747         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
19748         * sysdeps/x86_64/memmove.c: Removed.
19749         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
19750         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
19751         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
19752         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
19753         Likewise.
19754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
19755         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
19756         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19757         memcpy-sse2-unaligned, memmove-avx-unaligned,
19758         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
19759         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19760         (__libc_ifunc_impl_list): Replace
19761         __memmove_chk_avx512_unaligned_2 with
19762         __memmove_chk_avx512_unaligned.  Remove
19763         __memmove_chk_avx_unaligned_2.  Replace
19764         __memmove_chk_sse2_unaligned_2 with
19765         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
19766         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
19767         with __memmove_avx512_unaligned.  Replace
19768         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
19769         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
19770         with __memcpy_chk_avx512_unaligned.  Remove
19771         __memcpy_chk_avx_unaligned_2.  Replace
19772         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
19773         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
19774         Replace __memcpy_avx512_unaligned_2 with
19775         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
19776         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
19777         with __mempcpy_chk_avx512_unaligned.  Remove
19778         __mempcpy_chk_avx_unaligned_2.  Replace
19779         __mempcpy_chk_sse2_unaligned_2 with
19780         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
19781         Replace __mempcpy_avx512_unaligned_2 with
19782         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
19783         Replace __mempcpy_sse2_unaligned_2 with
19784         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
19785         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
19786         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
19787         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
19788         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
19789         (ENTRY): Removed.
19790         (END): Likewise.
19791         (ENTRY_CHK): Likewise.
19792         (libc_hidden_builtin_def): Likewise.
19793         Don't include ../memcpy.S.
19794         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
19795         __memcpy_chk_avx512_unaligned_erms and
19796         __memcpy_chk_avx512_unaligned.  Use
19797         __memcpy_chk_avx_unaligned_erms and
19798         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19799         Default to __memcpy_chk_sse2_unaligned.
19800         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
19801         Change function suffix from unaligned_2 to unaligned.
19802         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
19803         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
19804         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
19805         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
19806         (ENTRY): Removed.
19807         (END): Likewise.
19808         (ENTRY_CHK): Likewise.
19809         (libc_hidden_builtin_def): Likewise.
19810         Don't include ../mempcpy.S.
19811         (mempcpy): New.  Add a weak alias.
19812         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
19813         __mempcpy_chk_avx512_unaligned_erms and
19814         __mempcpy_chk_avx512_unaligned.  Use
19815         __mempcpy_chk_avx_unaligned_erms and
19816         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
19817         Default to __mempcpy_chk_sse2_unaligned.
19819 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
19821         [BZ #19881]
19822         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
19823         into ...
19824         * sysdeps/x86_64/memset.S: This.
19825         (__bzero): Removed.
19826         (__memset_tail): Likewise.
19827         (__memset_chk): Likewise.
19828         (memset): Likewise.
19829         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
19830         defined.
19831         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
19832         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
19833         (__memset_zero_constant_len_parameter): Check SHARED instead of
19834         PIC.
19835         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
19836         memset-avx2 and memset-sse2-unaligned-erms.
19837         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
19838         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
19839         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
19840         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
19841         (__bzero): Enabled.
19842         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
19843         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
19844         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
19845         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
19846         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
19847         (memset): Removed.
19848         (__memset_chk): Likewise.
19849         (MEMSET_SYMBOL): New.
19850         (libc_hidden_builtin_def): Replace __memset_sse2 with
19851         __memset_sse2_unaligned.
19852         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
19853         __memset_chk_sse2 and __memset_chk_avx2 with
19854         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
19855         Use __memset_chk_sse2_unaligned_erms or
19856         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
19857         __memset_chk_avx512_unaligned_erms and
19858         __memset_chk_avx512_unaligned.
19860 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19862         * math/gen-auto-libm-test.c (fp_format_desc): remove
19863         suffix member.
19864         (output_generic_value): Remove usage of suffix member,
19865         and the resulting unuse of the fp_format argument.
19866         (output_for_one_input_case): Remove unused fp_format
19867         parameter.
19869         * math/auto-libm-test-out: Regenerate.
19871         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
19872         usage with TEST_COND_ibm128.
19873         (TEST_COND_flt_32): Remove.
19874         (TEST_COND_dbl_64): Remove.
19875         (TEST_COND_ldbl_96_intel): Remove.
19876         (TEST_COND_ldbl_96_m68k): Remove.
19877         (TEST_COND_ldbl_128): Remove.
19879 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19881         * auto-libm-test-in:
19882         Replace flt-32 usage with binary32.
19883         Replace dbl-64 usage with binary64.
19884         Replace ldbl-intel-96 usage with intel96.
19885         Replace ldbl-m68k-96 usage with m68k96.
19886         Replace ldbl-128ibm usage with ibm128.
19887         Replace ldbl-128 usage with binary128.
19889         * auto-libm-test-out: Regenerate.
19891 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19893         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
19894         (parse_ulps): Dynamically generate type name matching
19895         string from all_floats.
19896         (get_ulps): Generate the ulps as an array instead.
19897         (output_ulps): Dynamically compose the type based
19898         on the number of supported formats, and print
19899         the indices as type specific helper macros.
19901         * math/libm-test.inc: Remove comment about CHOOSE.
19902         (ulp_data): Generate the type in libm-test-ulps.h.
19903         (ULP_IDX): New macro.
19904         (find_ulps): Update usage of max_ulp.
19906         * math/test-double-vlen2.h (CHOOSE): Remove.
19907         * math/test-double-vlen4.h (CHOOSE): Likewise.
19908         * math/test-double-vlen8.h (CHOOSE): Likewise.
19909         * math/test-float.c (CHOOSE): Likewise.
19910         * math/test-float-finite.c (CHOOSE): Likewise.
19911         * math/test-double.c (CHOOSE): Likewise.
19912         * math/test-double-finite.c (CHOOSE): Likewise.
19913         * math/test-idouble.c (CHOOSE): Likewise.
19914         * math/test-ifloat.c (CHOOSE): Likewise.
19915         * math/test-ildoubl.c (CHOOSE): Likewise.
19916         * math/test-ldouble-finite.c (CHOOSE): Likewise.
19917         * math/test-ldouble.c (CHOOSE): Likewise.
19919         * math/test-float.h (TEST_FLOAT): Remove.
19920         * math/test-double.h (TEST_DOUBLE): Likewise.
19921         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
19923 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19925         * math/gen-libm-test.pl: (apply_lit): New subroutine.
19926         (parse_args): Strip C suffix from floating point literals
19927         typed with 'f' and wrap them with LIT().
19929         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
19930         (test_ff_f_data_nexttoward): Rename to
19931         (test_fj_f_data): New struct.
19932         (nexttoward_test_data): Relabel tests as
19933         TEST_fj_f instead of TEST_ff_f.
19935 2016-06-08  Florian Weimer  <fweimer@redhat.com>
19937         Emacs bug 23726.
19938         * malloc/malloc.c (dumped_main_arena_start): Update comment.
19939         (__libc_realloc): Correct size computation for dumped fake mmapped
19940         chunks.
19942 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
19944         [BZ #20219]
19945         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
19946         to itself.
19947         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
19949         [BZ #20218]
19950         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
19951         to itself.
19952         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
19954 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
19956         [BZ #20195]
19957         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
19958         check to ...
19959         (init_cpu_features): Here.
19961 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
19963         [BZ #20214]
19964         * sysdeps/unix/sysv/linux/bits/in.h
19965         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19966          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
19967         Define to 1.
19968         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
19969          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
19970         Define to 0.
19971         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
19972         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
19974 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
19976         [BZ #20198]
19977         * stdlib/Makefile (tests): Add tst-quick_exit, and
19978         tst-thread-quick_exit.
19979         [ifeq ($(have-cxx-thread_local),yes)]
19980         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
19981         (CFLAGS-tst-thread-quick_exit.o): Likewise.
19982         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
19983         (LDLIBS-tst-thread-quick_exit): Likewise.
19984         [ifneq ($(have-cxx-thread_local),yes)]
19985         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
19986         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
19987         If run_dtors is true call __call_tls_dtors.
19988         (exit): Call __run_exit_handlers with run_dtors set to true.
19989         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
19990         definition.
19991         * stdlib/quick_exit.c (quick_exit): Remove function.
19992         (__new_quick_exit): New function.
19993         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
19994         function.
19995         * stdlib/tst-quick_exit.cc: New file.
19996         * stdlib/tst-thread-quick_exit.cc: New file.
19997         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
19998         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
19999         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
20000         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
20001         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
20002         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
20003         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
20004         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
20005         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
20006         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
20007         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
20008         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
20009         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
20010         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
20011         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
20012         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
20014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
20015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
20016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
20017         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
20018         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
20019         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
20020         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
20021         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
20022         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
20023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
20024         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
20025         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
20026         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
20028 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20030         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
20031         a typo in comments.
20033 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20035         [BZ #20213]
20036         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
20037         argument to itself.
20038         * math/libm-test.inc (asin_test_data): Add sNaN tests.
20040 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20042         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
20043         required flags.
20044         (CFLAGS-pwritev64.c): Likewise.
20045         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
20046         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
20047         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
20048         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
20049         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
20050         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
20051         syscall from auto-generation.
20052         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
20053         [WORDSIZE == 64] (pwritev64): Remove macro.
20054         [!PWRITEV] (PWRITEV): Likewise.
20055         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20056         [!PWRITEV] (PWRITE): Likewise.
20057         [!PWRITEV] (OFF_T): Likewise.
20058         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
20059         (LO_HI_LONG): Remove macro.
20060         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
20061         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
20062         (PWRITEV): Remove macro.
20063         (PWRITEV_REPLACEMENTE): Likewise.
20064         (PWRITE): Likewise.
20065         (OFF_T): Likewise.
20066         (pwritev64): New function.
20067         * nptl/tst-cancel4.c (tf_writev): Add test.
20069         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
20070         required flags.
20071         (CFLAGS-preadv64.c): Likewise.
20072         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
20073         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
20074         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
20075         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
20076         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
20077         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
20078         syscall from auto-generation.
20079         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
20080         [WORDSIZE == 64] (preadv64): Remove macro.
20081         [!PREADV] (PREADV): Likewise.
20082         [!PREADV] (PREADV_REPLACEMENT): Likewise.
20083         [!PREADV] (PREAD): Likewise.
20084         [!PREADV] (OFF_T): Likewise.
20085         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
20086         (LO_HI_LONG): Remove macro.
20087         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
20088         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
20089         (PREADV): Remove macro.
20090         (PREADV_REPLACEMENTE): Likewise.
20091         (PREAD): Likewise.
20092         (OFF_T): Likewise.
20093         (preadv64): New function.
20094         * nptl/tst-cancel4.c (tf_preadv): Add test.
20096 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
20098         [BZ #20212]
20099         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
20100         argument to itself.
20101         * math/libm-test.inc (acos_test_data): Add sNaN tests.
20103 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20105         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
20106         New symbol defined as libc_hidden_def.
20107         (strcasestr): Became a weak alias to __strcasestr.
20108         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
20109         according to multi-arch support.  Move __stpncpy hidden
20110         definition from here to...
20111         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
20112         symbol stpncpy.
20113         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
20114         libc_hidden_builtin_def.
20115         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
20116         memset symbol to use when multi-arch support is available.
20118 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
20120         * dlfcn/tst-rec-dlopen.c: Include string.h.
20122 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
20124         * manual/install.texi: Remove mention of --without-tls
20125         * INSTALL: Regenerate.
20127 2016-06-05  Florian Weimer  <fweimer@redhat.com>
20129         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
20130         Remove.
20131         (call_function, interposed_malloc_called): New variables.
20132         (malloc): New function.
20133         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
20134         and clear call_function as needed.
20136 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
20138         * include/wchar.h (__wmemset): Use __typeof.
20140 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
20142         * include/wchar.h (__wmemset): Declare function without typeof.
20144 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
20146         [BZ #20205]
20147         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
20148         exponent when incrementing negative subnormal with low mantissa
20149         word zero.
20150         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
20151         Add another test.
20153 2016-06-03  Florian Weimer  <fweimer@redhat.com>
20155         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
20156         __wmemset instead of wmemset.
20158 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
20160         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
20161         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
20162         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
20163         __USE_KERNEL_IPV6_DEFS to 0.
20164         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
20165         Update comment.
20167 2016-06-01  Florian Weimer  <fweimer@redhat.com>
20169         [BZ #19861]
20170         Do not use IFUNC resolver with potentially unrelocated symbol.
20171         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
20172         (DEFINE_FORK): Remove macro and inline definition.
20173         (fork_alias): Renamed from fork_ifunc.
20174         (__fork_alias): Renamed from __fork_ifunc.
20176 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
20178         [BZ 19653]
20179         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
20180         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
20182 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20184         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
20185         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
20186         i386-linux-gnu).
20187         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
20188         Set to no.
20189         * sysdeps/mach/hurd/configure: Refresh.
20191 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20193         [BZ #20178]
20194         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
20195         on failure instead of exit.
20197 2016-05-30  Roland McGrath  <roland@hack.frob.com>
20199         [BZ #3629]
20200         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
20201         of POSIX.1-2008.
20203 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20205         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
20206           Use PLT entry for calling _hurd_self_sigstate.
20208 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
20210         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
20211         available logical processors with SMT level type sharing L2
20212         cache for Intel processors.
20214 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20216         [BZ #20160]
20217         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
20218         argument to itself before returning the result.
20219         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20220         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20221         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20222         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
20223         Likewise.
20224         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
20225         Likewise.
20226         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
20227         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
20228         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
20229         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
20230         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20231         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20233         [BZ #20160]
20234         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
20235         argument to itself before returning the result.
20236         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20237         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20238         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20239         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
20240         Likewise.
20241         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
20242         Likewise.
20243         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
20244         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
20245         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
20246         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
20247         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20248         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20250 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20252         * libm-test.inc: Replace usage of M_El with
20253         (lit_e): New macro.
20255 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20257         * libm-test.inc: Replace usage of M_PI_4l with
20258         (lit_pi_4_d): New macro.
20260 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20262         * libm-test.inc: Replace usage of M_PIl with
20263         (lit_pi): New macro.
20265 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20267         * libm-test.inc: Replace usage of M_PI2l with
20268         (lit_pi_2_d): New macro.
20270         * math/test-double.h (LITM): New macro.
20271         * math/test-float.h (LITM): Likewise.
20272         * math/test-ldouble.h (LITM): Likewise.
20274 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20276         * libm-test.inc (M_PI_34l): Rename to
20277         (lit_pi_3_m_4_d): New Macro.
20278         (M_PI_34_LOG10El): Rename to
20279         (lit_pi_3_m_4_ln10_m_d): New Macro.
20280         (M_PI2_LOG10El): Rename to
20281         (lit_pi_2_ln10_m_d):  New Macro.
20282         (M_PI4_LOG10El): Rename to
20283         (lit_pi_4_ln10_m_d):  New Macro.
20284         (M_PI_LOG10El): Rename to
20285         (lit_pi_ln10_d):  New Macro.
20287 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20289         [BZ #20157]
20290         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
20291         determine whether to negate low half if [_ARCH_PPCGR], and integer
20292         comparison otherwise.
20293         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
20294         determine whether to negate low half.
20296         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
20297         (NO_TEST_INLINE_DOUBLE): Likewise.
20298         (TEST_COND_x86_64): Likewise.
20299         (TEST_COND_x86): Likewise.
20300         (M_PI_6l): Likewise.
20302 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20304         * math/libm-test.inc:
20305         (TEST_FLOAT): Change usage to TEST_COND_binary32.
20306         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
20307         (TEST_LDOUBLE): Update usage to evaluate as true if
20308         the guarded tests match the property being tested.
20309         (LDBL_MAX_EXP): Change to MAX_EXP.
20310         (LDBL_MIN_EXP): Change to MIN_EXP.
20311         (LDBL_MANT_DIG): Change to MANT_DIG, except for
20312         nexttoward tests.
20314 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20316         * math/libm-test.inc:
20317         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
20318         (TYPE_MIN): Likewise.
20319         (TYPE_TRUE_MIN): Likewise.
20320         (TYPE_MAX): Likewise.
20321         (MIN_EXP): Likewise.
20322         (MAX_EXP): Likewise.
20323         (MANT_DIG): Likewise.
20325         (FSTR_MAX): New macro.
20326         (__CONCATX): Likewise.
20327         (QTYPE_STR): Likewise.
20328         (TEST_COND_binary32): Likewise.
20329         (TEST_COND_binary64): Likewise.
20330         (TEST_COND_binary128): Likewise.
20331         (TEST_COND_ibm128): Likewise.
20332         (TEST_COND_intel96): Likewise.
20333         (TEST_COND_m68k96): Likewise.
20335         (TEST_COND_flt_32): Redefine as equivalent format test macro.
20336         (TEST_COND_dbl_64): Likewise.
20337         (TEST_COND_ldbl_96_intel): Likewise.
20338         (TEST_COND_ldbl_96_m68k): Likewise.
20339         (TEST_COND_ldbl_128): Likewise.
20340         (TEST_COND_ldbl_128ibm): Likewise.
20342         (plus_zero): Redefine using LIT macro.
20343         (minus_zero): Likewise.
20344         (plus_infty): Redefine as (INF).
20345         (minux_infty): Redefine as (-INF).
20346         (max_value): Redefine as TYPE_MAX.
20347         (min_value): Redefine as TYPE_MIN.
20348         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
20350         (print_float): Refactor to use snprintf to convert FLOAT values
20351         to string. This brings it closer to dropin replacement of strtof
20352         for the TS 18661 defined types.
20353         (update_stats): Likewise.
20354         (print_complex_function_ulps): Likewise.
20355         (print_max_error): Likewise.
20356         (print_complex_max_error): Likewise.
20357         (check_float_internal): Likewise.
20359         * math/test-float.h (PREFIX): New macro.
20360         (LIT): Likewise.
20361         (TYPE_STR): Likewise.
20362         (FTOSTR): Likewise.
20364         * math/test-double.h (PREFIX): New macro.
20365         (LIT): Likewise.
20366         (TYPE_STR): Likewise.
20367         (FTOSTR): Likewise.
20369         * math/test-ldouble.h (PREFIX): New macro.
20370         (LIT): Likewise.
20371         (TYPE_STR): Likewise.
20372         (FTOSTR): Likewise.
20374 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
20376         [BZ #20156]
20377         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
20378         to itself when zero or not finite.
20379         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
20380         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
20381         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
20382         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
20384 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
20386         [BZ #20153]
20387         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
20388         x * x + x for infinities and NaNs.
20390         [BZ #20151]
20391         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
20392         argument to itself before returning result.
20393         (__ieee754_y0l): Likewise.
20394         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
20395         (__ieee754_y1l).
20397         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
20398         (atan_test_data): Likewise.
20399         (ceil_test_data): Likewise.
20400         (cos_test_data): Likewise.
20401         (cosh_test_data): Likewise.
20402         (erf_test_data): Likewise.
20403         (exp2_test_data): Likewise.
20404         (fabs_test_data): Likewise.
20405         (floor_test_data): Likewise.
20406         (ilogb_test_data): Likewise.
20407         (j0_test_data): Likewise.
20408         (j1_test_data): Likewise.
20409         (jn_test_data): Likewise.
20410         (lgamma_test_data): Likewise.
20411         (lrint_test_data): Likewise.
20412         (llrint_test_data): Likewise.
20413         (logb_test_data): Likewise.
20414         (lround_test_data): Likewise.
20415         (llround_test_data): Likewise.
20416         (nearbyint_test_data): Likewise.
20417         (rint_test_data): Likewise.
20418         (round_test_data): Likewise.
20419         (sin_test_data): Likewise.
20420         (sincos_test_data): Likewise.
20421         (sinh_test_data): Likewise.
20422         (sqrt_test_data): Likewise.
20423         (tan_test_data): Likewise.
20424         (tanh_test_data): Likewise.
20425         (tgamma_test_data): Likewise.
20426         (trunc_test_data): Likewise.
20427         (y0_test_data): Likewise.
20428         (y1_test_data): Likewise.
20429         (yn_test_data): Likewise.
20431         * math/libm-test.inc: Update comment about NaN testing.
20432         (TEST_SNAN): New macro.
20433         (snan_value): Likewise.
20434         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
20435         (fpclassify_test_data): Add sNaN tests.
20436         (isfinite_test_data): Likewise.
20437         (isinf_test_data): Likewise.
20438         (isnan_test_data): Likewise.
20439         (isnormal_test_data): Likewise.
20440         (issignaling_test_data): Likewise.
20441         (signbit_test_data): Likewise.
20442         * math/gen-libm-test.pl (%beautify): Add snan_value.
20443         (show_exceptions): Add argument $test_snan.
20444         (parse_args): Handle snan_value as non-finite.  Update call to
20445         show_exceptions.
20446         * math/Makefile (libm-test-no-inline-cflags): Add
20447         -fsignaling-nans.
20449 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20451         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
20452         (CFLAGS-oldsendmsg.c): Add rule.
20453         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
20454         Correct recvmsg symbol name.
20455         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
20456         Likewise.
20458 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20460         * sysdeps/unix/sysv/linux/Makefile
20461         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
20462         oldsendmmsg.
20463         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
20464         sendmmsg.
20465         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20466         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20467         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20468         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20470         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20471         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20472         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
20473         Likewise.
20474         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20475         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
20476         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
20477         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
20478         iovlen and controllen fields to adjust to POSIX specification.
20479         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
20481         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
20482         and change to correct expected type.
20483         (msghdr.msg_controllen): Likewise.
20484         (cmsghdr.cmsg_len): Likewise.
20485         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
20486         expected POSIX assumption about the size.
20487         (msghdr.msg_controllen): Likewise.
20488         (msghdr.__glibc_reserved1): Likewise.
20489         (msghdr.__glibc_reserved2): Likewise.
20490         (cmsghdr.cmsg_len): Likewise.
20491         (cmsghdr.__glibc_reserved1): Likewise.
20492         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
20493         Add ptw-oldrecvmsg and ptw-oldsendmsg.
20494         (CFLAGS-sendmsg.c): Remove rule.
20495         (CFLAGS-recvmsg.c): Likewise.
20496         (CFLAGS-oldsendmsg.c): Add rule.
20497         (CFLAGS-oldrecvmsg.c): Likewise.
20498         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
20499         recvmsg and sendmsg.
20500         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
20501         Likewise.
20502         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
20503         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
20504         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
20505         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
20506         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
20507         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
20508         Likewise.
20509         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
20510         Likewise.
20511         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
20512         Likewise.
20513         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
20514         Likewise.
20515         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
20516         Likewise.
20517         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
20518         Likewise.
20519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
20520         (GLIBC_2.24): Likewise.
20521         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
20522         Likewise.
20523         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
20524         Likewise.
20525         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
20526         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
20527         Likewise.
20528         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
20529         Likewise.
20530         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
20531         Likewise.
20532         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
20533         (GLIBC_2.24): Likewise.
20534         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
20535         Likewise.
20536         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
20537         Likewise.
20538         * sysdeps/unix/sysv/linux/Makefile
20539         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
20540         (CFLAGS-sendmsg.c): Add rule.
20541         (CFLAGS-recvmsg.c): Likewise.
20542         (CFLAGS-oldsendmsg.c): Likewise.
20543         (CFLAGS-oldrecvmsg.c): Likewise.
20544         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
20545         initialization.
20546         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
20547         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
20548         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
20549         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
20550         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
20551         iovlen and controllen fields to adjust to POSIX specification.
20552         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
20553         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
20554         added recvmsg and sendmsg.
20555         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
20556         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
20557         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
20558         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
20559         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
20560         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
20561         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
20562         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
20563         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
20564         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
20565         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
20566         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
20567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
20568         Likewise.
20569         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
20570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
20571         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
20572         Likewise.
20573         Likewise.
20574         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
20575         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
20576         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
20577         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
20578         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20579         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
20580         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
20581         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
20582         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
20583         Likewise.
20584         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
20585         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
20587         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
20588         from auto-generation.
20589         (sendmsg): Likewise.
20590         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
20591         (sendmsg): Likewise.
20592         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
20593         (sendmsg): Likewise.
20594         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
20595         (sendmsg): Likewise.
20596         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
20597         (sendmsg): Likewise.
20598         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
20599         (sendmsg): Likewise.
20600         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
20601         Likewise.
20602         (sendmsg): Likewise.
20603         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
20604         (sendmsg): Likewise.
20605         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20607         Remove.
20608         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20609         Likewise.
20610         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20611         Undefine.
20612         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20613         Likewise.
20614         * sysdeps/unix/sysv/linux/kernel-features.h
20615         (__ASSUME_SENDMSG_SYSCALL): Define.
20616         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20617         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20618         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20619         Remove.
20620         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20621         Likewise.
20622         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20623         Undefine.
20624         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20625         Likewise.
20626         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20627         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20628         Remove.
20629         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20630         Likewise.
20631         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
20632         Undefine.
20633         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
20634         Likewise.
20635         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20636         (__ASSUME_SENDMSG_SYSCALL): Undefine.
20637         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20638         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20639         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20640         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20641         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20642         (__ASSUME_SENDMSG_SYSCALL): Likewise.
20643         (__ASSUME_RECVMSG_SYSCALL): Likewise.
20645 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20647         * stdlib/gen-tst-strtod-round.c: Add backslash to
20648         compile command in comment.
20649         (printfp): Remove the literal suffix, and define an infinite
20650         value as INF to avoid expansion clash with INFINITY.
20651         (round_str): Remove the literal suffix.
20652         (round_for_all): Likewise, remove the now duplicate ldbl-64
20653         entry, and remove some magic constants.
20655         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
20656         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
20657         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
20658         (_CONCAT): New macro.
20659         (CONCAT): Likewise.
20660         (CHOOSE_ld): Likewise.
20661         (CHOOSE_f): Likewise.
20662         (CHOOSE_d): Likewise.
20663         (FTYPE_MEMBER): Likewise.
20664         (BOOL_MEMBER): Likewise.
20665         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
20666         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
20667         (_XNTRY): Likewise.
20668         (XNTRY): Likewise.
20669         (_ENTRY): Likewise.
20670         (ENTRY): Likewise.
20671         (test_exactness): Generate members via macro.
20672         (test_results): Likewise.
20673         (test): Update members.
20674         (TEST): Redefine using new macros.
20675         (INF): New macro.
20676         (fetestmodes): New structure.
20677         (do_test): Refactor to be type generic.
20678         (test_in_one_mode): Refactor duplicate code into
20679         (GEN_ONE_TEST): New macro.
20681         * stdlib/tst-strtod-round-data.h: Regenerate.
20683         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
20684         Extend to pass additional arbitrary parameters to
20685         generators.
20687 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
20689         [BZ #15479]
20690         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
20691         floating-point state after first floating-point operation on
20692         input.  Restore full floating-point state instead of just rounding
20693         mode.
20694         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
20695         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
20696         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
20697         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
20698         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
20700         [BZ #15479]
20701         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
20702         floating-point state after first floating-point operation on
20703         input.  Restore full floating-point state instead of just rounding
20704         mode.
20705         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
20706         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
20707         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
20708         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
20709         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
20711 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20713         [BZ #19727]
20714         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
20715         valid high surrogate.
20716         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
20717         of an utf16 surrogate.
20718         * iconv/gconv_simple.c (BODY): Likewise.
20719         * iconvdata/bug-iconv12.c: New file.
20720         * iconvdata/Makefile (tests): Add bug-iconv12.
20722 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20724         [BZ #19726]
20725         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
20726         outptrp in case of an illegal input.
20727         * iconv/tst-iconv6.c: New file.
20728         * iconv/Makefile (tests): Add tst-iconv6.
20730 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20732         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
20733         an error in case of a value in range of an utf16 low surrogate.
20735 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20737         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
20738         an error in case of a value in range of an utf16 low surrogate.
20740 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20742         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
20743         Move to ...
20744         * sysdeps/s390/Makefile: ... here.
20745         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
20746         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
20747         (BRANCH_ON_COUNT): New define.
20748         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
20749         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
20750         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
20751         run on s390-32, too.
20752         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
20753         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
20754         run on s390-32, too.
20755         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
20756         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
20757         run on s390-32, too.
20759 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20761         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
20762         etf3eh or new vector loop-variant.
20764 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20766         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
20767         etf3eh or new vector loop-variant.
20769 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20771         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
20772         or new vector loop-variant.
20774 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20776         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
20777         Rename to TR_LOOP and usage of tr instead of troo instruction.
20779 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20781         * sysdeps/s390/multiarch/gconv_simple.c: New File.
20782         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
20784 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20786         * sysdeps/s390/multiarch/8bit-generic.c: New File.
20787         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
20788         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
20789         New override define.
20790         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
20792 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20794         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
20795         * sysdeps/s390/configure.ac: Add test for S390 vector register
20796         support in gcc.
20797         * sysdeps/s390/configure: Regenerated.
20799 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
20801         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
20802         Install file from $(objpfx)gconv-modules.
20803         ($(objpfx)gconv-modules): Concatenate architecture specific file
20804         in variable sysdeps-gconv-modules and gconv-modules in src dir.
20805         * sysdeps/s390/gconv-modules: New file.
20806         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
20807         Deleted.
20808         ($(objpfx)gconv-modules-s390): Deleted.
20809         (sysdeps-gconv-modules): New variable.
20811 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20813         [BZ #15479]
20814         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
20815         of immediate operand to rounding instruction.
20816         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
20817         Likewise.
20818         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
20819         Likewise.
20820         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
20821         Likewise.
20823 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20825         * math/libm-test.inc (MIN_EXP): Directly define as
20826         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
20828 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20830         * math/libm-test.inc (MANT_DIG): Directly define as
20831         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
20833 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20835         * stdlib/gen-tst-strtod-round.c (main):
20836           Change usage to more closely match the generated
20837           output.  Add usage and compilation instructions.
20838           (string_to_fp): Add and use FILE* parameter as
20839           output target.
20840           (print_fp): Likewise.
20841           (round_str): Likewise.
20842           (round_for_all): Likewise.
20843         * stdlib/tst-strtod-round.c (tests): Move into
20844         * stdlib/tst-strtod-round-data.h: New file.
20846 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
20848         [BZ #15479]
20849         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
20850         (__round): Do not force "inexact" exception.
20851         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
20852         variable.
20853         (__round): Do not force "inexact" exception.
20854         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
20855         (__roundf): Do not force "inexact" exception.
20856         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
20857         (__roundl): Do not force "inexact" exception.
20858         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
20859         (__roundl): Do not force "inexact" exception.
20860         * math/libm-test.inc (round_test_data): Do not allow spurious
20861         "inexact" exceptions.
20863         [BZ #15479]
20864         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
20865         exception in comment.
20866         (huge): Remove variable.
20867         (__floor): Do not force "inexact" exception.
20868         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
20869         "inexact" exception in comment.
20870         (huge): Remove variable.
20871         (__floor): Do not force "inexact" exception.
20872         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
20873         exception in comment.
20874         (huge): Remove variable.
20875         (__floorf): Do not force "inexact" exception.
20876         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
20877         exception in comment.
20878         (huge): Remove variable.
20879         (__floorl): Do not force "inexact" exception.
20881         [BZ #15479]
20882         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
20883         exception in comment.
20884         (huge): Remove variable.
20885         (__ceil): Do not force "inexact" exception.
20886         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
20887         "inexact" exception in comment.
20888         (huge): Remove variable.
20889         (__ceil): Do not force "inexact" exception.
20890         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
20891         (__ceilf): Do not force "inexact" exception.
20892         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
20893         exception in comment.
20894         (huge): Remove variable.
20895         (__ceill): Do not force "inexact" exception.
20897 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
20899         * config.h.in (BIND_NOW): New.
20900         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
20901         * configure: Regenerated.
20902         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
20903         indirect branch via the GOT slot.
20905 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20907         [BZ #19765]
20908         * sysdeps/s390/mempcpy.S: New File.
20909         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
20910         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
20911         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
20912         Add mempcpy variants.
20913         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
20914         (memcpy): Adjust to be usable from mempcpy entry point.
20915         (__memcpy_mvcle): Likewise.
20916         * sysdeps/s390/s390-64/memcpy.S: Likewise.
20917         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
20918         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
20919         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
20920         (__memcpy_z10): Likewise.
20921         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20923 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20925         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
20926         Remove __GI_ symbol.
20927         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
20928         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
20929         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
20930         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
20931         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
20932         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
20934 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20936         * sysdeps/s390/s390-64/memcpy.S (memcpy):
20937         Use cghi instead of chi to compare 64bit value.
20939 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
20941         * sysdeps/s390/s390-32/memcpy.S (memcpy):
20942         Jump to 1MB check before executing mvc-loop.
20944 2016-05-24  Florian Weimer  <fweimer@redhat.com>
20946         [BZ #6527]
20947         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
20948         unconditionally.
20949         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
20951 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20953         * stdlib/tst-strtod6.c (do_test): Use new type generic
20954         invocation of the test function.
20955         (test): Refactor into ...
20956         (TEST_STRTOD): New macro base function.
20958 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20960         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
20961         (TEST_STRTOD): New macro.
20962         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
20964 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20966         * stdlib/tst-strtod6.c (do_test): Use new type generic
20967         invocation of the test function.
20968         (test): Refactor into ...
20969         (TEST_STRTOD): New macro base function.
20971 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20973         CVE-2016-4429
20974         [BZ #20112]
20975         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
20976         payload.
20978 2016-05-23  Florian Weimer  <fweimer@redhat.com>
20980         [BZ #20111]
20981         * bits/sockaddr.h (_SS_SIZE): Define.
20982         * bits/socket.h (_SS_SIZE): Remove.
20983         (_SS_PADSIZE): Adjust to account for all padding.
20984         (struct sockaddr_storage): Update comment.  Avoid implicit
20985         padding.
20986         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
20987         (_SS_PADSIZE): Adjust to account for all padding.
20988         (struct sockaddr_storage): Update comment.  Avoid implicit
20989         padding.
20990         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
20991         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
20992         (_SS_PADSIZE): Adjust to account for all padding.
20993         (struct sockaddr_storage): Update comment.  Avoid implicit
20994         padding.
20995         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
20996         __SS_SIZE is 126 in this version.
20997         * inet/tst-sockaddr.c: New file.
20998         * inet/Makefile (tests): Add tst-sockaddr.c
20999         (tst-sockaddr.c): Compile with non-strict aliasing.
21001 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
21003         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
21004         [XPG3 || XPG4].
21005         (NL_ARGMAX): Also expect for [XPG3].
21006         (NL_LANGMAX): Likewise.
21007         (NL_MSGMAX): Likewise.
21008         (NL_NMAX): Likewise.
21009         (NL_SETMAX): Likewise.
21010         (NL_TEXTMAX): Likewise.
21011         (NZERO): Likewise.
21012         (TMP_MAX): Likewise.
21013         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
21014         variable.
21016         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
21017         (PF_MAX): Update value.
21018         (AF_KCM): New macro.
21019         (SOL_NETBEUI): Likewise.
21020         (SOL_LLC): Likewise.
21021         (SOL_DCCP): Likewise.
21022         (SOL_NETLINK): Likewise.
21023         (SOL_TIPC): Likewise.
21024         (SOL_RXRPC): Likewise.
21025         (SOL_PPPOL2TP): Likewise.
21026         (SOL_BLUETOOTH): Likewise.
21027         (SOL_PNPIPE): Likewise.
21028         (SOL_RDS): Likewise.
21029         (SOL_IUCV): Likewise.
21030         (SOL_CAIF): Likewise.
21031         (SOL_ALG): Likewise.
21032         (SOL_NFC): Likewise.
21033         (SOL_KCM): Likewise.
21034         (MSG_BATCH): New enum value and macro.
21036 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
21038         [BZ #18185]
21039         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
21040         sharing L2 cache to 2 for Knights Landing.
21042 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
21044         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
21045         (FTW_DP): Do not expect for [XPG3 || XPG4].
21046         (FTW_SL): Do not expect for [XPG3].
21047         (FTW_SLN): Likewise.
21048         (FTW_PHYS): Likewise.
21049         (FTW_MOUNT): Likewise.
21050         (FTW_DEPTH): Likewise.
21051         (FTW_CHDIR): Likewise.
21052         (nftw): Likewise.
21053         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
21054         variable.
21056 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21058         * manual/errno.texi: Fix various typos & grammar errors.
21060 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
21062         * manual/intro.texi: Fix duplicated typo.
21064 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21066         [BZ #13304]
21067         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
21068         <float.h>, <math_private.h> and <stdlib.h>.
21069         (add_split): New function.
21070         (mul_split): Likewise.
21071         (ext_val): New typedef.
21072         (store_ext_val): New function.
21073         (mul_ext_val): New function.
21074         (compare): New function.
21075         (add_split_ext): New function.
21076         (__fmal): After checking for Inf, NaN and zero, compute result as
21077         an exact sum of scaled double values in round-to-nearest before
21078         adding those up and adjusting for other rounding modes.
21079         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
21080         tests of fma.
21081         * math/auto-libm-test-out: Regenerated.
21083 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21085         [BZ #20119]
21086         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
21087         processor level type mask for CPUID with EAX == 11.
21089 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21091         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
21092         logical threads if the HTT bit is 0.
21093         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
21094         (index_cpu_HTT): Likewise.
21095         (reg_HTT): Likewise.
21097 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
21099         [BZ #20115]
21100         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
21101         Remove alignments on jump targets.
21103 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
21105         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
21106         (getpwent): Likewise.
21107         (setpwent): Likewise.
21108         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
21109         variable.
21111         * conform/data/search.h-data (insque): Do not expect for [XPG3].
21112         (remque): Likewise.
21113         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
21114         variable.
21116 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21118         * math/libm-test.inc: Update comment not to refer to signs of NaNs
21119         not being tested.
21121 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21123         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
21124         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
21125         call.
21126         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
21127         (__condvar_cleanup1): Likewise.
21129 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21131         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
21132         New
21133         (__pthread_unwind): Renamed to ...
21134         (PTHREAD_UNWIND): This.
21135         (__pthread_enable_asynccancel): Replace
21136         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
21138 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
21140         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
21141         (CLONE_NEWCGROUP): New macro.
21143         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
21144         (Q_GETNEXTQUOTA): New macro.
21146 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
21148         [BZ #19907]
21149         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
21150         buffer updated by the previous run.
21151         * string/test-memcpy.c (do_one_test): Likewise.
21152         * benchtests/bench-memmove.c (do_one_test): Add a comment.
21153         * string/test-memmove.c (do_one_test): Likewise.
21155 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
21157         [BZ #20094]
21158         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
21159         not [__USE_XOPEN].
21160         (unlockpt): Likewise.
21161         (ptsname): Likewise.
21162         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
21163         variable.
21165         [BZ #20076]
21166         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
21167         instead of [__USE_UNIX98].
21168         (S_ISSOCK): Likewise.
21169         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
21170         variable.
21172         [BZ #20074]
21173         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
21174         [__USE_POSIX].
21175         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
21176         variable.
21178         [BZ #20051]
21179         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
21180         (ttyslot): Do not declare.
21181         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
21182         (ttyslot): New prototype.
21183         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
21184         variable.
21185         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
21187 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
21189         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
21191 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21193         Fix race condition in tst-mallocfork2, use fewer resources.
21194         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
21195         to current process group.
21196         (signal_sender): Yield in the non-sleeping case.
21198 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
21200         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
21201         (ecvt): Likewise.
21202         (fcvt): Likewise.
21203         (gcvt): Likewise.
21204         (getsubopt): Likewise.
21205         (grantpt): Likewise.
21206         (initstate): Likewise.
21207         (l64a): Likewise.
21208         (mktemp): Likewise.
21209         (mkstemp): Likewise.
21210         (ptsname): Likewise.
21211         (random): Likewise.
21212         (realpath): Likewise.
21213         (setstate): Likewise.
21214         (srandom): Likewise.
21215         (ttyslot): Likewise.
21216         (unlockpt): Likewise.
21217         (valloc): Likewise.
21219         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
21220         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
21221         variable.
21223 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21225         [BZ #20072]
21226         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
21227         init_cpu_features only if SHARED is defined.
21228         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
21230 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
21232         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
21233         non-inclusive caches on Intel processors.
21235 2016-05-13  Florian Weimer  <fweimer@redhat.com>
21237         * malloc/malloc.c (dumped_main_arena_start)
21238         (dumped_main_arena_end): New variables.
21239         (DUMPED_MAIN_ARENA_CHUNK): New macro.
21240         (do_check_chunk): Skip dumped fake mmapped chunks.
21241         (munmap_chunk): Likewise.
21242         (__libc_free): Do not adjust statistics for fake mmapped chunks.
21243         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
21244         mmapped chunks.
21245         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
21246         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
21247         and dumped_main_arena_end to cover the dumped heap.
21249 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
21251         * conform/data/time.h-data (getdate_err): Do not expect for
21252         [XPG3].
21253         (getdate): Likewise.
21254         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
21255         variable.
21257         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
21258         (F_ULOCK): Likewise.
21259         (F_TEST): Likewise.
21260         (F_TLOCK): Likewise.
21261         (useconds_t): Likewise.
21262         (intptr_t): Do not expect for [XPG3] or [XPG4].
21263         (brk): Do not expect for [XPG3]
21264         (fchown): Likewise.
21265         (fchdir): Likewise.
21266         (ftruncate): Likewise.
21267         (getdtablesize): Likewise.
21268         (gethostid): Likewise.
21269         (getpagesize): Likewise.
21270         (getpgid): Likewise.
21271         (getsid): Likewise.
21272         (getwd): Likewise.
21273         (lchown): Likewise.
21274         (lockf): Likewise.
21275         (readlink): Likewise.
21276         (sbrk): Likewise.
21277         (setpgrp): Likewise.
21278         (setregid): Likewise.
21279         (setreuid): Likewise.
21280         (symlink): Likewise.
21281         (sync): Likewise.
21282         (truncate): Likewise.
21283         (ualarm): Likewise.
21284         (usleep): Likewise.
21285         (vfork): Likewise.
21286         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
21287         variable.
21289         [BZ #20054]
21290         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
21291         not [__USE_UNIX98].
21292         * conform/data/unistd.h-data (gethostname): Do not expect for
21293         [XPG3].
21295         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
21296         [!POSIX] (S_IFBLK): Likewise.
21297         [!POSIX] (S_IFCHR): Likewise.
21298         [!POSIX] (S_IFIFO): Likewise.
21299         [!POSIX] (S_IFREG): Likewise.
21300         [!POSIX] (S_IFDIR): Likewise.
21301         [!POSIX] (S_IFLNK): Likewise.
21302         [!POSIX] (S_IFSOCK): Likewise.
21303         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
21304         variable.
21305         (test-xfail-XPG4/fcntl.h/conform): Likewise.
21307 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
21309         * sysdeps/aarch64/memset.S (__memset):
21310         Rewrite of optimized memset.
21312 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21314         [BZ #19703]
21315         Partially async-signal-safe fork for single-threaded processes.
21316         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
21317         variable.  Do not acquire and reset/release malloc and libio locks
21318         in single-threaded processes.
21319         * malloc/tst-mallocfork2.c: New file.
21320         * malloc/Makefile (tests): Add it.
21322 2016-05-12  Florian Weimer  <fweimer@redhat.com>
21324         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
21325         argument.  Use scratch buffer instead of extend_alloca.
21326         (gethosts): Use scratch buffer instead of extend_alloca.
21327         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
21328         extend_alloca.
21329         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
21331 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
21333         [BZ #20055]
21334         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
21335         instead of [__USE_UNIX98].
21336         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
21337         [__USE_UNIX98].
21338         * conform/data/termios.h-data (tcgetsid): Do not expect for
21339         [XPG3].
21340         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
21341         variable.
21342         (test-xfail-XPG4/termios.h/conform): Likewise.
21344 2016-05-11  Florian Weimer  <fweimer@redhat.com>
21346         Do not use mcheck in localedef.
21347         * locale/programs/localedef.c (turn_on_mcheck)
21348         (__malloc_initialize_hook): Remove.
21350 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
21352         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
21353         * sysdeps/s390/s390-64/Makefile: Likewise.
21355 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
21357         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
21358         Remove ifunc-defines.sym.
21359         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
21360         Likewise.
21361         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
21362         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
21363         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
21364         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
21365         rtld-global-offsets.sym.
21366         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
21367         * sysdeps/x86/cpu-features-offsets.sym: This.
21368         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
21369         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
21371 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
21373         [BZ #20073]
21374         * io/sys/stat.h (fchmod): Declare for
21375         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
21376         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
21377         variable.
21379         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
21380         [XPG3] (S_IFSOCK): Likewise.
21381         [XPG3] (S_ISVTX): Likewise.
21382         [XPG3] (S_ISLNK): Likewise.
21383         [XPG3] (S_ISSOCK): Likewise.
21384         [XPG3] (fchmod): Likewise.
21385         [XPG3] (lstat): Likewise.
21386         [XPG3] (mknod): Likewise.
21388         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
21389         [XPG3].  Expect type long and XFAIL for [XPG4].
21390         (st_blocks): Likewise.
21392         [BZ #20044]
21393         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
21394         (pthread_atfork): New prototype.
21395         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
21396         variable.
21398         [BZ #20043]
21399         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
21400         prototype.
21402 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21404         [BZ #20017]
21405         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
21406         gmtime.
21408 2016-05-10  Florian Weimer  <fweimer@redhat.com>
21410         [BZ #19994]
21411         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
21412         flag in _res.options.
21414 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
21416         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
21417         [XPG3 || XPG4].
21418         (blksize_t): Likewise.
21419         (clockid_t): Likewise.
21420         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
21421         variable.
21422         (test-xfail-XPG4/sys/types.h/conform): Likewise.
21424 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
21426         * sysdeps/unix/sysv/linux/s390/init-first.c:
21427         Add VDSO_SYMBOL(getcpu).
21428         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
21429         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
21430         Add VDSO_SYMBOL(getcpu).
21431         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
21432         New define HAVE_GETCPU_VSYSCALL.
21433         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
21435 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
21437         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
21438         instead of <sysdeps/x86_64/cacheinfo.c>.
21439         * sysdeps/x86_64/cacheinfo.c: Moved to ...
21440         * sysdeps/x86/cacheinfo.c: Here.
21442 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21444         * malloc/malloc-internal.h: Adjust header file guard.
21446 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21448         [BZ #19787]
21449         * inet/getnameinfo.c (check_sprintf_result): New function.
21450         (CHECKED_SNPRINTF): New macro.
21451         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
21452         to the host buffer.
21453         (gni_host_local): Use checked_copy to copy the host name.
21454         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
21455         (gni_serv_local): Use checked_copy to copy the service name.
21456         (getnameinfo): Remove unnecessary truncation of result buffers.
21458 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21460         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
21461         in case of inet_ntop failure.
21463 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21465         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
21466         avoid long lines.
21467         (gni_host_inet_numeric): Likewise.  Reduce scope of local
21468         variables.
21469         (gni_host_inet, gni_host_local): Add comment.
21470         (gni_host): Add comment.  Use temporary to avoid long lines.
21472 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21474         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
21475         registers specifiers where general purpose registers specifiers should
21476         have been used.
21478 2016-05-04  Florian Weimer  <fweimer@redhat.com>
21480         [BZ #19779]
21481         CVE-2016-1234
21482         Avoid copying names of directory entries.
21483         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
21484         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
21485         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
21486         (struct readdir_result): New type.
21487         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
21488         (GL_READDIR): New macros.
21489         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
21490         (convert_dirent, convert_dirent64): New functions.
21491         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
21492         convert_dirent64.  Adjust references to the readdir result.
21493         * sysdeps/unix/sysv/linux/i386/glob64.c:
21494         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
21495         * posix/bug-glob2.c (LONG_NAME): Define.
21496         (filesystem): Add LONG_NAME.
21497         (my_DIR): Increase the size of room_for_dirent.
21499 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
21501         [BZ #20041]
21502         * misc/sys/select.h (__need_timespec): Only define if
21503         [__USE_XOPEN2K].
21504         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
21505         variable.
21506         (test-xfail-XPG4/utmpx.h/conform): Likewise.
21507         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
21508         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
21510 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21511             Segher Boessenkool  <segher@gcc.gnu.org>
21513         [BZ #20004]
21514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
21515         (__novec_swapcontext): Add missing load.
21517 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
21519         [BZ #20023]
21520         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
21521         <time.h>.
21522         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
21523         variable.
21524         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
21526 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
21529         flags CLONE_VM compare.
21531 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21533         [BZ #20031]
21534         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
21535         completely empty.
21537 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21539         [BZ #19573]
21540         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
21541         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
21542         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
21543         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
21544         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
21545         (hesiod_free_list): Mark as hidden.
21546         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
21547         res_set, res_get.
21548         * hesiod/hesiod.c: Remove unnecessary forward declarations.
21549         (init, __hesiod_res_get, __hesiod_res_set): Remove.
21550         (hesiod_init): Remove obsolete res_ninit call.
21551         (hesiod_end): Do not free resolver state.  Do not invoke callback.
21552         (hesiod_bind): Do not call init.
21553         (get_txt_records): Use res_mkquery, res_send instead of
21554         res_nmkquery, res_nsend.
21555         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
21556         instead of _nss_hesiod_init.
21557         (_nss_hesiod_initgroups_dyn): Likewise.
21558         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
21559         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
21560         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
21562 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21564         * hesiod/hesiod_p.h (DEF_RHS): Remove.
21565         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
21567 2016-05-02  Florian Weimer  <fweimer@redhat.com>
21569         * hesiod/hesiod.h: Remove RCS keyword.
21570         * hesiod/hesiod_p.h: Likewise.
21572         * hesiod/hesiod.c: Likewise.
21574 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
21576         [BZ #12450]
21577         * locale/iso-639.def: Add Samogitian/sgs.
21579 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
21581         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
21583         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
21585 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
21586             Carlos O'Donell  <carlos@redhat.com>
21588         [BZ #19072]
21589         * grp/Makefile (headers): Add grp-merge.h
21590         (routines): Add grp-merge.
21591         * grp/getgrgid_r.c: Include grp-merge.h.
21592         (DEEPCOPY_FN): Define.
21593         (MERGE_FN): Define.
21594         * grp/getgrname_r.c: Include grp-merge.h.
21595         (DEEPCOPY_FN): Define.
21596         (MERGE_FN): Define.
21597         * grp/grp-merge.c: New file.
21598         * grp/grp-merge.h: New file.
21599         * include/grp-merge.h: New file.
21600         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
21601         __copy_grp@GLIBC_PRIVATE.
21602         * manual/nss.texi (Actions in the NSS configuration): Describe
21603         return, continue, and merge.
21604         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
21605         (DEEPCOPY_FN): Define.
21606         (MERGE_FN): Define.
21607         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
21608         (DEEPCOPY_FN): Define.
21609         (MERGE_FN): Define.
21610         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
21611         [!MERGE_FN]: Define __merge_einval.
21612         (CHECK_MERGE): Define.
21613         (REENTRANT_NAME): Process merge if do_merge is true.
21614         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
21615         (__nss_getent_r): Likewise.
21616         * nss/nsswitch.c (nss_parse_service_list): Likewise.
21617         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
21619 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21621         [BZ #20012]
21622         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
21623         length to calculate the buffer to read.
21624         (fmemopen_write): Set the buffer position based on bytes written.
21625         (fmemopen_seek): Return EINVAL for invalid whence modes.
21627         [BZ #19957]
21628         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
21629         tst-getpid2.
21630         (test): Add tst-clone2.
21631         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
21632         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
21633         pid/tid fields for CLONE_VM.
21634         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
21635         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
21636         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
21637         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
21638         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
21639         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
21640         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
21641         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21642         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21643         Likewise.
21644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21645         Likewise.
21646         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21647         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21648         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21649         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21650         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21651         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21652         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21653         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
21655 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21657         [BZ #19642]
21658         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
21659         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
21660         (gni_serv_local, gni_serv): New functions extracted from
21661         getnameinfo.
21662         (getnameinfo): Call gni_host and gni_serv to perform the
21663         processing.  Always free scratch buffer.
21665 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
21667         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
21668         remaining bytes in the dest string, with zeros.
21670 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21672         [BZ #20010]
21673         CVE-2016-3706
21674         * sysdeps/posix/getaddrinfo.c
21675         (convert_hostent_to_gaih_addrtuple): New function.
21676         (gethosts): Call convert_hostent_to_gaih_addrtuple.
21677         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
21678         AF_INET data.
21680 2016-04-29  Florian Weimer  <fweimer@redhat.com>
21682         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
21683         callback function gl_readdir.
21684         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
21685         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
21686         (glob_in_dir): Remove len.  Use strdup instead of malloc and
21687         memcpy to copy the name.
21688         * manual/pattern.texi (Calling Glob): Document requirements for
21689         implementations of the gl_readdir callback function.
21690         * manual/examples/mkdirent.c: New example.
21691         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
21692         per the manual guidance.
21693         * posix/tst-gnuglob.c (my_readdir): Likewise.
21695 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
21697         [BZ #20014]
21698         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
21699         not [__USE_POSIX].
21700         (getchar_unlocked): Likewise.
21701         (putc_unlocked): Likewise.
21702         (putchar_unlocked): Likewise.
21703         (flockfile): Likewise.
21704         (ftrylockfile): Likewise.
21705         (funlockfile): Likewise.
21706         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
21707         variable.
21708         (test-xfail-XPG4/stdio.h/conform): Likewise.
21710         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
21711         Expect constant.
21712         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
21713         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
21714         variable.
21715         (test-xfail-XPG4/langinfo.h/conform): Likewise.
21716         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
21718         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
21719         [__USE_LARGEFILE64] (off64_t): Likewise.
21720         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
21721         variable.
21723 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21725         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
21727 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21729         * resolv/inet_addr.c: Reindent preprocessor conditionals.
21730         * resolv/res_init.c: Likewise.
21731         * resolv/res_mkquery.c: Likewise.
21733 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21735         * resolv/res_init.c (isascii): Do not define.  Use definition in
21736         <ctype.h>.
21737         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
21738         (LOG_AUTH): Remove.
21739         (SPRINTF): Remove, adjust caller.
21740         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
21742 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21744         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
21745         SUNSECURITY conditional.
21746         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
21748 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21750         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
21751         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
21752         Remove BSD-related preprocessor conditionals.
21753         * conf/portability.h: Remove.
21755 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21757         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
21758         * resolv/res_data.c: Likewise.
21760 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21762         * resolv/res_comp.c: Remove code conditional on __ultrix__.
21763         * resolv/res_data.c: Remove code conditional on ultrix.
21765 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21767         * resolv/res_init.c (RFC1535): Do not define.  Remove
21768         RFC1535 preprocessor conditionals.
21769         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
21770         because there configuration options which make the resolver
21771         behavior different.
21773 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21775         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
21776         RESOLVSORT preprocessor conditionals.
21777         * resolv/nss_dns/dns-host.c: Likewise.
21778         * resolv/res_init.c: Likewise.
21780 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21782         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
21783         is never defined.
21785 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21787         * inet/inet_lnaof.c: Remove SCSS keyword.
21788         * inet/inet_mkadr.c: Likewise.
21789         * inet/inet_net.c: Likewise.
21790         * inet/inet_netof.c: Likewise.
21791         * inet/rcmd.c: Likewise.
21792         * inet/rexec.c: Likewise.
21793         * inet/ruserpass.c: Likewise.
21795 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21797         * resolv/inet_addr.c: Remove _LIBC conditionals.
21798         * resolv/res_data.c: Likewise.
21799         * resolv/res_init.c: Likewise.
21800         * resolv/res_mkquery.c: Likewise.
21801         * resolv/res_libc.c: Update comment.
21802         * resolv/README: Update.
21804 2016-04-28  Florian Weimer  <fweimer@redhat.com>
21806         * resolv/gethnamaddr.c: Remove SCSS keyword.
21807         * resolv/herror.c: Likewise.
21808         * resolv/inet_addr.c: Likewise.
21809         * resolv/inet_net_ntop.c: Likewise.
21810         * resolv/inet_net_pton.c: Likewise.
21811         * resolv/inet_neta.c: Likewise.
21812         * resolv/inet_ntop.c: Likewise.
21813         * resolv/inet_pton.c: Likewise.
21814         * resolv/ns_date.c: Remove RCS keyword.
21815         * resolv/ns_name.c: Likewise.
21816         * resolv/ns_netint.c: Likewise.
21817         * resolv/ns_parse.c: Likewise.
21818         * resolv/ns_print.c: Likewise.
21819         * resolv/ns_samedomain.c: Likewise.
21820         * resolv/ns_ttl.c: Likewise.
21821         * resolv/nsap_addr.c: Likewise.
21822         * resolv/res_comp.c: Remove SCSS and RCS keyword.
21823         * resolv/res_data.c: Remove RCS keyword.
21824         * resolv/res_debug.c: Remove SCSS and RCS keyword.
21825         * resolv/res_init.c: Likewise.
21826         * resolv/res_mkquery.c: Likewise.
21827         * resolv/res_query.c: Likewise.
21828         * resolv/res_send.c: Likewise.
21830 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21832         * conform/data/stdio.h-data (fdopen): Expect also for
21833         [XPG3 || XPG4].
21835         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
21836         (fseeko): Likewise.
21837         (ftello): Likewise.
21838         (ftrylockfile): Likewise.
21839         (funlockfile): Likewise.
21840         (getc_unlocked): Likewise.
21841         (getchar_unlocked): Likewise.
21842         (putc_unlocked): Likewise.
21843         (putchar_unlocked): Likewise.
21845 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21847         [BZ #19868]
21848         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
21849         DNS packet syntax checks (which were not needed before).  Skip
21850         over non-PTR records.
21852 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21854         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
21855         definition.  Include <stddef.h> instead.
21857 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21859         [BZ #19831]
21860         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
21861         function.
21862         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
21863         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
21865 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21867         [BZ #19862]
21868         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
21869         (getanswer_r): Do not call syslog.
21870         (gaih_getanswer_slice): Likewise.
21871         * resolv/gethnamaddr.c (AskedForGot): Remove.
21872         (getanswer): Do not call syslog.
21873         (gethostbyaddr): Likewise.
21875 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
21877         * conform/data/signal.h-data (union sigval): Expect also if
21878         [XOPEN2K].
21879         (struct sigevent): Likewise.
21880         (SIGEV_NONE): Likewise.
21881         (SIGEV_SIGNAL): Likewise.
21882         (SIGEV_THREAD): Likewise.
21883         (SIGRTMIN): Likewise.
21884         (SIGRTMAX): Likewise.
21885         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
21886         variable.
21887         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
21889 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21891         [BZ #19830]
21892         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
21893         (gaih_getanswer_slice): Likewise.
21894         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
21895         Also check for availability of RR metadata.
21897 2016-04-27  Florian Weimer  <fweimer@redhat.com>
21899         [BZ #19825]
21900         * resolv/res_send.c (send_vc): Remove early *resplen2
21901         initialization.  Set *resplen2 on socket error.  Call
21902         close_and_return_error for other errors.
21904 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
21906         * sysdeps/unix/sysv/linux/netiucv/iucv.h
21907         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
21908         (SCM_IUCV_TRGCLS): New define.
21910 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21912         [BZ #20005]
21913         * libio/fmemopen.c (fmemopen_write): Update internal position after
21914         write.
21915         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
21916         * stdio-common/tst-fmemopen4.c: New file..
21918 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
21920         [BZ #19996]
21921         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
21922         not [__USE_XOPEN2K].
21923         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
21924         variable.
21926         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
21927         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
21928         variable.
21930         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
21931         [__USE_XOPEN2K8].
21932         [__USE_LARGEFILE64] (off64_t): Likewise.
21933         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
21934         variable.
21936 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
21938         [BZ #19989]
21939         * libio/stdio.h (cuserid): Do not declare if
21940         [__USE_XOPEN2K && !__USE_GNU].
21941         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
21942         variable.
21944 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21946         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
21947         (sysdep_routines): Add P8 and PPC64 strcspn targets.
21948         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
21949         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
21950         ifunc'ed strcspn.
21951         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
21952         [EALIGN]: Removed.
21953         [END]: Likewise
21954         [STRSPN]: Define instead of the above to control symbol name.
21955         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
21956         New file.
21957         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
21958         Likewise.
21959         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
21960         Likewise.
21961         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
21962         Likewise.
21963         * sysdeps/powerpc/powerpc64/power8/strspn.S:
21964         [INITIAL_MASK]: New macro.
21965         [STRCSPN]: Likewise.
21966         [UPDATE_MASK]: Likewise.
21967         [USE_AS_STRCSPN]: Likewise.
21969 2016-04-25  Florian Weimer  <fweimer@redhat.com>
21971         [BZ #19931]
21972         * stdio-common/tst-vfprintf-width-prec.c: New file.
21973         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
21974         (tests-special): Add tst-vfprintf-width-prec-mem.out.
21975         (generated): Add mtrace-related files.
21976         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
21977         (tst-%-mem.out): New pattern rule, replaces
21978         tst-printf-bz18872-mem.out.
21979         * stdio-common/vfprintf.c (vfprintf): When handling a precision
21980         specifier, deallocate any previously allocated work buffer.
21982 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
21984         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
21985         Add nop before __startcontext, add explaining comments.
21987 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
21989         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
21990         any more. Notably since IPV6_PKTINFO has been reintroduced with a
21991         completely different API.
21993         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
21994         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
21995         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
21996         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
21997         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
21998         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
21999         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
22000         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
22001         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
22002         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
22004 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
22006         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
22008 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
22010         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
22011         when it is the default of 0.
22013 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22015         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
22016         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22017         (sysdep_routines): Add new strcasestr targets.
22018         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22019         (__libc_ifunc_impl_list): Likewise.
22020         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
22021         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
22022         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
22023         * sysdeps/powerpc/powerpc64/power8/Makefile:
22024         New file to add strcasestr-ppc64 to sysdep_routines.
22025         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
22026         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
22028 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
22030         * benchtests/Makefile (wcsmbs-benchset): Include only for
22031         native builds and runs.
22032         (LOCALES): Likewise.
22033         (bench-build): Build timing-type here instead of the bench
22034         target.  Generate locale only for native builds.
22035         * benchtests/README: Add note for cross-building.
22037         * benchtests/Makefile (bench-clean): Clean up extra-objs.
22039         * benchtests/README: Update README to include instructions on
22040         using bench-build.
22042         * Makefile.in (bench-build): New target.
22043         * Rules (PHONY): Add bench-build target.
22044         * benchtests/Makefile (bench): Depend on bench-build.
22045         (bench-build): New target.
22047 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22049         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
22050         profil_reply_port.
22051         (profile_waiter): Do not initialize profil_reply_port.
22052         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
22053         frequency instead of tick length in us.
22055 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
22057         [BZ #18712]
22058         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
22059         (__old_mempcpy_small): Likewise.
22060         (__old_strcpy_small): Likewise.
22061         (__old_stpcpy_small): Likewise.
22062         (__old_strpbrk_c2): Fix compat symbol name.
22063         (__old_strpbrk_c3): Likewise.
22064         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
22065         (__mempcpy_small): Remove.
22066         (__strcpy_small): Remove.
22067         (__stpcpy_small): Remove.
22069 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
22071         [BZ #19400]
22072         * locale/iso-639.def: Add the Talossan/tzl language.
22074 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22076         [BZ #16983]
22077         * locale/programs/ld-address.c (address_finish): Update postal_fmt
22078         comment.  Add "ln" to strchr check on postal_fmt.
22080 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
22082         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
22083         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
22084         tel_dom_fmt.
22086 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22088         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22089         (sysdep_routines): Added __strlen_power8.
22090         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
22091         __strlen_power8 entry.
22092         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
22093         Implementation for POWER8.
22094         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
22095         for __strlen_power8.
22096         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
22097         Implementation for POWER8.
22099 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
22101         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
22103 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
22105         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
22106         Goldmont and Airmont processors.
22108 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
22110         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
22111         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
22112         (__STRING2_SMALL_GET32): Remove.
22113         (memset): Remove.
22114         (__memset_1): Remove.
22115         (__memset_gc): Remove.
22116         (__mempcpy): Remove.
22117         (mempcpy): Remove.
22118         (__mempcpy_args): Remove.
22119         (strchr): Remove.
22120         (strcpy): Remove.
22121         (strcpy_args): Remove.
22122         (__stpcpy_args): Remove.
22123         (__strcmp_cc): Remove.
22124         (__strcmp_gc): Remove.
22125         (strstr): Remove.
22127 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
22129         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
22130         * nis/nis_call.c (nis_server_cache_add): Likewise.
22132 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22134         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
22136 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22138         * malloc/arena.c (__malloc_fork_lock_parent)
22139         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
22140         internal_function attribute.
22142 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
22144         * stdio-common/printf_fp.c (__printf_fp_l):
22145         Rename ___printf_fp_l to __printf_fp_l and
22146         remove strong alias. Use libc_hidden_def instead
22147         of ldbl_hidden_def macro.
22149 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22151         Remove malloc hooks from fork handler.  They are no longer needed
22152         because malloc runs right before fork, and no malloc calls from
22153         other fork handlers are not possible anymore.
22154         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
22155         declarations.
22156         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
22157         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
22158         (atfork_recursive_cntr): Remove.
22159         (__malloc_fork_lock_parent): Do not override malloc hooks and
22160         thread_arena.
22161         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
22162         thread_arena.
22163         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
22164         thread_arena instead of save_arena.
22166 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22168         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
22169         (thread_atfork, thread_atfork_static): Remove.
22170         * sysdeps/mach/hurd/malloc-machine.h:
22171         (thread_atfork, thread_atfork_static): Remove.
22173 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22175         [BZ #19431]
22176         Run the malloc fork handler as late as possible to avoid deadlocks.
22177         * malloc/malloc-internal.h: New file.
22178         * malloc/malloc.c: Include it.
22179         * malloc/arena.c (ATFORK_MEM): Remove.
22180         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
22181         Update comment.
22182         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
22183         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
22184         Remove outdated comment.
22185         (ptmalloc_init): Do not call thread_atfork.  Remove
22186         thread_atfork_static.
22187         * malloc/tst-malloc-fork-deadlock.c: New file.
22188         * Makefile (tests): Add tst-malloc-fork-deadlock.
22189         (tst-malloc-fork-deadlock): Link against libpthread.
22190         * manual/memory.texi (Aligned Memory Blocks): Update safety
22191         annotation comments.
22192         * sysdeps/nptl/fork.c (__libc_fork): Call
22193         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
22194         __malloc_fork_unlock_child.
22195         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
22197 2016-04-14  Florian Weimer  <fweimer@redhat.com>
22199         [BZ #19613]
22200         Remove union wait.
22201         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
22202         (w_stopsig, w_stopval): Remove.
22203         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
22204         stat_loc argument.
22205         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
22206         (__WAIT_STATUS_DEFN): Remove.
22207         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22208         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
22209         (wait, wait3, wait4): Use int * for the stat_loc argument.
22210         * posix/wait.c (__wait): Likewise.
22211         * posix/wait3.c (__wait3): Likewise.
22212         * posix/wait4.c (__wait4): Likewise.
22213         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
22214         (__WAIT_STATUS_DEFN): Remove.
22215         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
22216         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
22217         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
22218         argument.
22219         * sysdeps/posix/wait.c (__libc_wait): Likewise.
22220         * sysdeps/posix/wait3.c (__wait3): Likewise.
22221         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
22222         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
22223         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
22224         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
22225         stat_loc argument.
22226         * manual/process.texi (BSD Wait Functions): Remove union wait.
22228 2016-04-13  Andreas Schwab  <schwab@suse.de>
22230         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
22231         (test-extras): Add tst-tlsalign-vars.
22232         * math/Makefile: Wrap long lines.
22233         (libm-vec-test-wrappers): Define.
22234         (test-extras): Add $(libm-vec-test-wrappers).
22235         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
22236         * nss/Makefile (extra-test-objs): Add nss_test1.os.
22237         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
22238         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
22239         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
22240         (extra-test-objs): Add corresponding objects.
22242 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
22244         [BZ #19928]
22245         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
22246         New.
22247         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
22248         times of shared cache size.
22249         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
22250         (VMOVNT): New.
22251         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
22252         (VMOVNT): Likewise.
22253         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
22254         (VMOVNT): Likewise.
22255         (VMOVU): Changed to movups for smaller code sizes.
22256         (VMOVA): Changed to movaps for smaller code sizes.
22257         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
22258         comments.
22259         (PREFETCH): New.
22260         (PREFETCH_SIZE): Likewise.
22261         (PREFETCHED_LOAD_SIZE): Likewise.
22262         (PREFETCH_ONE_SET): Likewise.
22263         Rewrite to use forward and backward loops, which move 4 vector
22264         registers at a time, to support overlapping addresses and use
22265         non temporal store if size is above the threshold and there is
22266         no overlap between destination and source.
22268 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
22270         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
22271         Include dl-vdso.
22272         * sysdeps/unix/sysv/linux/mips/Versions: Add
22273         __vdso_clock_gettime.
22274         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
22275         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
22276         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
22277         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
22278         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
22279         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
22280         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22281         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
22282         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
22284 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22286         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
22287         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
22288         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
22289         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
22290         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
22291         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
22292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
22293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
22294         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
22295         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
22296         syscalls generation.
22297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22298         [__NR_pwrite64] (__NR_write): Remove define.
22299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22300         [__NR_pwrite64] (__NR_write): Remove define.
22301         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
22302         Remove define.
22303         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
22304         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
22305         Remove define.
22306         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
22307         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
22308         Linux implementation as base.
22309         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
22311         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
22312         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
22313         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
22314         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
22315         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
22316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
22317         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
22318         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
22319         syscall generation.
22320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22321         [__NR_pread64] (__NR_pread): Remove define.
22322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
22323         [__NR_pread64] (__NR_pread): Likewise.
22324         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
22325         define.
22326         (__libc_pread): Use SYSCALL_LL macro on offset argument.
22327         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
22328         Remove define.
22329         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
22330         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
22331         Linux implementation as base.
22332         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
22333         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
22334         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
22336         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
22337         definition.
22338         (__ALIGNMENT_COUNT): Likewise.
22339         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
22340         (__ALIGNMENT_COUNT): Likewise.
22341         (SYSCALL_LL): New define.
22342         (SYSCALL_LL64): Likewise.
22343         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
22344         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
22345         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
22346         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
22348         * sysdeps/unix/sysv/linux/arm/kernel-features.h
22349         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
22350         * sysdeps/unix/sysv/linux/mips/kernel-features.h
22351         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22352         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22353         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
22355 2016-04-11  Florian Weimer  <fweimer@redhat.com>
22357         [BZ #19865]
22358         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
22359         original buffer before retry.
22361 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22363         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
22364         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
22365         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
22366         GLRO(dl_auxv) list.
22367         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
22368         including <ldsodefs.h>.
22369         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
22371 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
22373         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
22374         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
22375         $(CPPFLAGS).
22377 2016-04-09  Khem Raj  <raj.khem@gmail.com>
22379         [BZ #17950]
22380         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
22381         Add -mfpmath=387.
22383 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
22385         * sysdeps/i386/configure.ac: Change == to = when calling test.
22386         * sysdeps/x86_64/configure.ac: Likewise.
22387         * sysdeps/i386/configure: Regenerated.
22388         * sysdeps/x86_64/configure: Likewise.
22390 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
22392         [BZ #16137]
22393         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
22394         * benchtests/bench-strcoll.c (input_files): Likewise.
22395         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
22396         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
22397         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
22399 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
22401         [BZ #19929]
22402         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
22403         [__USE_XOPEN2K8 && !__USE_GNU].
22404         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
22405         variable.
22407         [BZ #19925]
22408         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
22409         define if [!__USE_MISC && __USE_XOPEN2K].
22410         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
22411         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
22412         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
22413         Likewise.
22414         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
22415         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
22416         variable.
22417         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
22419 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22421         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
22422         (sysdep_routines): Add new strspn targets.
22423         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
22424         (__libc_ifunc_impl_list): Add strspn.
22425         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
22426         New file.
22427         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
22428         Likewise.
22429         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
22430         Likewise.
22431         * sysdeps/powerpc/powerpc64/power8/strspn.S:
22432         Likewise.
22434 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22436         * misc/hsearch_r.c: Include <limits.h>.
22438 2016-04-07  Florian Weimer  <fweimer@redhat.com>
22440         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
22442 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22444         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
22445         (MEMCPY_SYMBOL): New.
22446         (MEMPCPY_SYMBOL): Likewise.
22447         (MEMMOVE_CHK_SYMBOL): Likewise.
22448         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
22449         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
22450         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
22451         Provide alias for memcpy in libc.a and ld.so.
22453 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22455         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
22456         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
22457         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
22458         Disabled fro now.
22459         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
22460         symbols.  Properly check USE_MULTIARCH on __memset symbols.
22462 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
22464         * benchtests/Makefile (string-benchset): Add memcpy-large,
22465         memmove-large and memset-large.
22466         * benchtests/bench-memcpy-large.c: New file.
22467         * benchtests/bench-memmove-large.c: Likewise.
22468         * benchtests/bench-memmove-large.c: Likewise.
22469         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
22471 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22473         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
22474         32-bit displacement to avoid long nop between instructions.
22476 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
22478         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
22479         a comment on VMOVU and VMOVA.
22481 2016-04-04  Florian Weimer  <fweimer@redhat.com>
22483         [BZ #19633]
22484         Use specified locale for number formatting in strfmon_l.
22485         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
22486         (__nl_lookup_word): New inline functions.
22487         * include/printf.h (__print_fp_l): Declare.
22488         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
22489         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
22490         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
22491         (___printf_fp): New function.
22492         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
22493         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
22494         * stdlib/tst-strfmon_l.c (do_test): New test.
22495         * stdlib/Makefile (tests): Add kt.
22496         (LOCALES): Build additional locales.
22497         (tst-strfmon_l.out): Require locales.
22499 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22501         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
22502         if not in libc.
22503         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22504         Likewise.
22505         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
22506         Likewise.
22507         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22508         Likewise.
22510 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
22512         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22513         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
22514         with unaligned_erms.
22515         (__memmove_erms): Skip if source == destination.
22516         (__memmove_unaligned_erms): Don't check source == destination
22517         first.
22519 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22521         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
22522         bit_arch_Fast_Copy_Backward for Intel Core proessors.
22524 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22526         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
22527         * string/strspn.c (strspn): Likewise.
22529 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22531         * benchtests/bench-memset.c (do_test): Support 64-byte
22532         alignment.
22533         (test_main): Test 64-byte alignment.
22535 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22537         * benchtests/bench-memmove.c (test_main): Test 64-byte
22538         alignment.
22540 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
22542         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
22544 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22546         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
22547         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
22548         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
22550         * string/strpbrk.c (strpbrk): Rewrite function.
22551         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
22552         (__strpbrk_c2): Likewise.
22553         (__strpbrk_c3): Likewise.
22554         * string/string-inlines.c
22555         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
22556         Likewise.
22557         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
22558         Likewise.
22560         * string/strspn.c (strcspn): Rewrite function.
22561         * string/bits/string2.h (strspn): Use __builtin_strcspn.
22562         (__strspn_c1): Remove inline function.
22563         (__strspn_c2): Likewise.
22564         (__strspn_c3): Likewise.
22565         * string/string-inlines.c
22566         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
22567         compatibility symbol.
22568         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
22569         Likewise.
22570         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
22571         Likewise.
22572         * string/string-inlines.c: Include generic version.
22574 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
22575             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22577         * string/Version (libc): Add GLIBC_2.24.
22578         * string/strcspn.c (strcspn): Rewrite function.
22579         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
22580         (__strcspn_c1): Remove inline function.
22581         (__strcspn_c2): Likewise.
22582         (__strcspn_c3): Likewise.
22583         * string/string-inline.c
22584         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
22585         compatibility symbol.
22586         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
22587         Likewise.
22588         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
22589         Likewise.
22590         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
22592 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
22594         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
22595         Use ahi instead of aghi to adjust stack pointer.
22597 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
22599         [BZ #19853]
22600         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
22601         TEST to take significant digits as second parameter.
22602         [TEST]: Redefine in terms of TEST_N taking 30
22603         significant digits.
22604         (do_test): Add test case to demonstrate precision
22605         failure in the ldbl-128ibm printf.
22606         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
22607         (__mpn_extract_long_double): Carry 7 extra intermediate
22608         bits of precision to aide computing difference when
22609         signs differ.
22611 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22613         [BZ #19881]
22614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22615         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
22616         memset-avx512-unaligned-erms.
22617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22618         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
22619         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
22620         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
22621         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
22622         __memset_sse2_unaligned_erms, __memset_erms,
22623         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
22624         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
22625         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
22626         file.
22627         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
22628         Likewise.
22629         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
22630         Likewise.
22631         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
22632         Likewise.
22634 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
22636         [BZ #19776]
22637         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
22638         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
22639         memmove-avx512-unaligned-erms.
22640         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
22641         (__libc_ifunc_impl_list): Test
22642         __memmove_chk_avx512_unaligned_2,
22643         __memmove_chk_avx512_unaligned_erms,
22644         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
22645         __memmove_chk_sse2_unaligned_2,
22646         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
22647         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
22648         __memmove_avx512_unaligned_erms, __memmove_erms,
22649         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
22650         __memcpy_chk_avx512_unaligned_2,
22651         __memcpy_chk_avx512_unaligned_erms,
22652         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
22653         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
22654         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
22655         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
22656         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
22657         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
22658         __mempcpy_chk_avx512_unaligned_erms,
22659         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
22660         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
22661         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
22662         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
22663         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
22664         __mempcpy_erms.
22665         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
22666         file.
22667         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
22668         Likewise.
22669         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
22670         Likewise.
22671         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
22672         Likewise.
22674 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22676         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
22677         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
22678         (La_s390_64_regs): Likewise.
22679         (La_s390_32_retval): Append vector register lrv_v24.
22680         (La_s390_64_retval): Likeweise.
22681         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
22682         Handle extended structs La_s390_32_regs and La_s390_32_retval.
22683         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
22684         Handle extended structs La_s390_64_regs and La_s390_64_retval.
22686 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
22688         [BZ #19916]
22689         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
22690         to create a non-vector/vector version for _dl_runtime_resolve and
22691         _dl_runtime_profile. Move implementation to ...
22692         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
22693         (_dl_runtime_resolve) Save and restore fpr/vrs.
22694         (_dl_runtime_profile) Save and restore vrs and fix some issues
22695         if _dl_call_pltexit is called.
22696         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
22697         Choose the correct resolver function if running on a machine with vx.
22698         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
22699         to create a non-vector/vector version for _dl_runtime_resolve and
22700         _dl_runtime_profile. Move implementation to ...
22701         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
22702         (_dl_runtime_resolve) Save and restore fpr/vrs.
22703         (_dl_runtime_profile) Save and restore vrs and fix some issues
22704         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
22705         Choose the correct resolver function if running on a machine with vx.
22707 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22709         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
22711 2016-03-31  Florian Weimer  <fweimer@redhat.com>
22713         [BZ #19509]
22714         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
22715         skip_map != NULL.
22716         * elf/tst-dlsym-error.c: New file.
22717         * elf/Makefile (tests): Add tst-dlsym-error.
22718         (tst-dlsym-error): Link against libdl.
22720 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
22722         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22723         (__ASSUME_FUTIMESAT): Remove macro.
22724         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
22726 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22728         [BZ #19879]
22729         CVE-2016-3075
22730         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
22731         copy name.
22733 2016-03-29  Florian Weimer  <fweimer@redhat.com>
22735         [BZ #19837]
22736         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
22737         error if parse_line fails.
22739 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22741         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
22742         (index_cpu_ERMS): Likewise.
22743         (reg_ERMS): Likewise.
22745 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
22747         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
22748         PER_LINUX_FDPIC): Add.
22750 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22752         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22753         memcpy-avx512-no-vzeroupper.
22754         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
22755         to ...
22756         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
22757         (MEMCPY): Don't define.
22758         (MEMCPY_CHK): Likewise.
22759         (MEMPCPY): Likewise.
22760         (MEMPCPY_CHK): Likewise.
22761         (MEMPCPY_CHK): Renamed to ...
22762         (__mempcpy_chk_avx512_no_vzeroupper): This.
22763         (MEMPCPY_CHK): Renamed to ...
22764         (__mempcpy_chk_avx512_no_vzeroupper): This.
22765         (MEMCPY_CHK): Renamed to ...
22766         (__memmove_chk_avx512_no_vzeroupper): This.
22767         (MEMCPY): Renamed to ...
22768         (__memmove_avx512_no_vzeroupper): This.
22769         (__memcpy_avx512_no_vzeroupper): New alias.
22770         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
22772 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22774         [BZ #18858]
22775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
22776         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
22777         and mempcpy-avx512-no-vzeroupper.
22778         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
22779         New.
22780         (MEMPCPY): Likewise.
22781         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
22782         (MEMPCPY_CHK): New.
22783         (MEMPCPY): Likewise.
22784         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
22785         (MEMPCPY): Likewise.
22786         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
22787         (MEMPCPY): Likewise.
22788         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
22789         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
22790         Likewise.
22791         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
22792         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
22794 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
22795              Amit Pawar  <Amit.Pawar@amd.com>
22797         [BZ #19583]
22798         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
22799         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
22800         processors.  Set Fast_Copy_Backward for AMD Excavator
22801         processors.
22802         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
22803         New.
22804         (index_arch_Fast_Unaligned_Copy): Likewise.
22805         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
22806         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
22808 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22810         [BZ #19791]
22811         * resolv/res_send.c (close_and_return_error): New function.
22812         (send_dg): Initialize *resplen2 after reopen failure.  Call
22813         close_and_return_error for error returns.  On error paths without
22814         __res_iclose, initialze *resplen2 explicitly.  Update comment for
22815         successful return.
22817 2016-03-25  Florian Weimer  <fweimer@redhat.com>
22819         [BZ #19860]
22820         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
22821         zero if the compiler does not provide the AVX512F bit.
22823 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
22825         [BZ #19848]
22826         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
22827         from 8 to 4.
22828         (__ieee754_powl): Compare integer exponent against 4 not 8.
22829         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
22830         from 8 to 4.
22831         (__ieee754_powl): Compare integer exponent against 4 not 8.
22832         * math/auto-libm-test-in: Add more tests of pow.
22833         * math/auto-libm-test-out: Regenerated.
22834         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
22835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22837 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22839         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
22840         Make code unconditional.
22841         [!__NR_utimensat]: Remove conditional code.
22842         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
22843         Make code unconditional.
22844         [!__NR_utimensat]: Remove conditional code.
22845         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
22846         Make code unconditional.
22847         [!__NR_utimensat]: Remove conditional code.
22849 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
22851         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
22852         Make code unconditional.
22854 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
22856         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
22857         call-clobbered %eax on retry path.
22858         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
22860 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22862         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
22863         Don't set %rcx twice before "rep movsb".
22865 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
22867         [BZ #19583]
22868         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
22869         inline.  Check family before setting family, model and
22870         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
22871         bits here.
22872         (init_cpu_features): Replace HAS_CPU_FEATURE and
22873         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
22874         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
22875         for Intel processors with usable AVX2.  Call get_common_indeces
22876         for other processors with family == NULL.
22877         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
22878         (CPU_FEATURES_ARCH_P): Likewise.
22879         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
22880         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
22882 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22884         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
22885         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
22886         $(shared-thread-library) instead of hardcoding the path to libpthread.
22888 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
22890         * sysdeps/unix/sysv/linux/kernel-features.h
22891         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
22892         * sysdeps/unix/sysv/linux/getdents.c
22893         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
22894         [!have_no_getdents64_defined]: Likewise.
22895         (__GETDENTS): Remove __have_no_getdents64 conditional.
22897 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
22899         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
22900         Remove macro.
22901         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
22902         <kernel-features.h>.
22903         (signalfd) [__NR_signalfd4]: Make code unconditional.
22904         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
22906 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22908         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
22909         style.
22911 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
22913         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
22914         (__pthread_enable_asynccancel): Use JUMPTARGET to call
22915         __pthread_unwind.
22916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
22917         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
22918         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
22919         (__condvar_cleanup1): Likewise.
22921 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
22923         [BZ #19822]
22924         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
22925         move it to the final $@ location.
22927 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22929         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
22930         access where posix_spawn success and pid argument is null.
22931         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
22932         success case.
22934 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
22936         * sysdeps/mach/hurd/i386/c++-types.data: New file.
22938         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
22940         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
22941         and __fcntl.
22942         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
22943         __fcntl only.
22944         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
22945         adding attribute_hidden to __open and __fcntl.
22947         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
22948         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
22949         depend on libc-modules.h,
22950         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
22952 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
22954         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
22955         Remove macro.
22956         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
22957         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
22958         entry.
22960         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
22961         Remove macro.
22962         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
22963         include <kernel-features.h>.
22964         [!__ASSUME_FALLOCATE]: Remove conditional code.
22965         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
22967 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
22969         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
22970         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
22971         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
22972         (_ZGVdN4v_cos_avx2): Likewise.
22973         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
22974         (_ZGVdN4v_cos): Likewise.
22975         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
22976         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
22977         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
22978         (_ZGVdN4v_exp_avx2): Likewise.
22979         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
22980         (_ZGVdN4v_exp): Likewise.
22981         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
22982         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
22983         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
22984         (_ZGVdN4v_log_avx2): Likewise.
22985         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
22986         (_ZGVdN4v_log): Likewise.
22987         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
22988         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
22989         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
22990         (_ZGVdN4vv_pow_avx2): Likewise.
22991         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
22992         (_ZGVdN4vv_pow): Likewise.
22993         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
22994         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
22995         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
22996         (_ZGVdN4v_sin_avx2): Likewise.
22997         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
22998         (_ZGVdN4v_sin): Likewise.
22999         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
23000         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
23001         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
23002         (_ZGVdN4vvv_sincos_avx2): Likewise.
23003         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
23004         (_ZGVdN4vvv_sincos): Likewise.
23005         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
23006         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
23007         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
23008         (_ZGVbN4v_cosf_sse4): Likewise.
23009         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
23010         (_ZGVdN8v_cosf_avx2): Likewise.
23011         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
23012         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
23013         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
23014         (_ZGVbN4v_expf_sse4): Likewise.
23015         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
23016         (_ZGVdN8v_expf_avx2): Likewise.
23017         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
23018         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
23019         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
23020         (_ZGVbN4v_logf_sse4): Likewise.
23021         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
23022         (_ZGVdN8v_logf_avx2): Likewise.
23023         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
23024         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
23025         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
23026         (_ZGVbN4vv_powf_sse4): Likewise.
23027         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
23028         (_ZGVdN8vv_powf_avx2): Likewise.
23029         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
23030         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
23031         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
23032         (_ZGVbN4vvv_sincosf_sse4): Likewise.
23033         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
23034         (_ZGVdN8vvv_sincosf_avx2): Likewise.
23035         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
23036         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
23037         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
23038         (_ZGVbN4v_sinf_sse4): Likewise.
23039         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
23040         (_ZGVdN8v_sinf_avx2): Likewise.
23041         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23042         Use JUMPTARGET to call callee.
23043         (WRAPPER_IMPL_SSE2_ff): Likewise.
23044         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23045         (WRAPPER_IMPL_AVX): Likewise.
23046         (WRAPPER_IMPL_AVX_ff): Likewise.
23047         (WRAPPER_IMPL_AVX_fFF): Likewise.
23048         (WRAPPER_IMPL_AVX512): Likewise.
23049         (WRAPPER_IMPL_AVX512_ff): Likewise.
23050         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
23051         Likewise.
23052         (WRAPPER_IMPL_SSE2_ff): Likewise.
23053         (WRAPPER_IMPL_SSE2_fFF): Likewise.
23054         (WRAPPER_IMPL_AVX): Likewise.
23055         (WRAPPER_IMPL_AVX_ff): Likewise.
23056         (WRAPPER_IMPL_AVX_fFF): Likewise.
23057         (WRAPPER_IMPL_AVX512): Likewise.
23058         (WRAPPER_IMPL_AVX512_ff): Likewise.
23059         (WRAPPER_IMPL_AVX512_fFF): Likewise.
23061 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23063         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
23064         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
23065         qualifier.
23066         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
23067         internal_function qualifiers.
23069 2016-03-15  Carlos O'Donell <carlos@redhat.com>
23071         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
23072         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
23073         * math/atest-exp.c (exp_mpn): Mark chk unused.
23074         * math/atest-exp2.c (exp_mpn): Likewise.
23075         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
23076         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
23078 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
23080         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
23081         Remove macro.
23082         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
23083         <kernel-features.h>.
23084         [__NR_ppoll]: Make code unconditional.
23085         [!__ASSUME_PPOLL]: Remove conditional code.
23087         * sysdeps/unix/sysv/linux/kernel-features.h
23088         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
23089         (__ASSUME_ACCEPT4): Likewise.
23090         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23091         Define.
23092         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
23093         Likewise.
23094         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23095         Likewise.
23096         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
23097         Likewise.
23098         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
23099         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
23100         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23101         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23102         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23103         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23104         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23105         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23106         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23107         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23108         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23109         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23110         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23111         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23112         * sysdeps/unix/sysv/linux/i386/kernel-features.h
23113         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23114         Likewise.
23115         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23116         Likewise.
23117         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23118         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23119         0x040300].
23120         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23121         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
23122         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23123         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23124         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23125         0x030300].
23126         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
23127         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23128         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23129         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23130         0x040300].
23131         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23132         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23133         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23134         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23135         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23136         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23137         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
23138         0x030300].
23139         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23140         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23141         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23142         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23143         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23144         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23145         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23146         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23147         * sysdeps/unix/sysv/linux/s390/kernel-features.h
23148         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
23149         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
23150         0x040300].
23151         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23152         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23153         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23154         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
23155         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23156         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23157         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23158         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23159         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23160         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23161         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23162         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23163         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
23164         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
23165         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
23166         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
23167         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
23168         Likewise.
23169         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
23170         Likewise.
23172 2016-03-15  Andreas Schwab  <schwab@suse.de>
23174         [BZ #19257]
23175         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
23176         statp->_u._ext.nscount as loop count.
23178 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23180         * math/test-signgam-finite-c99.c: Also #undef
23181         __LIBC_INTERNAL_MATH_INLINES.
23182         * math/test-signgam-main.c: Likewise.
23184 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
23186         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
23187         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
23188         (MADV_FREE): Likewise.
23189         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
23190         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
23191         EPOLLEXCLUSIVE.
23193 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
23195         * timezone/README: Remove mention of checktab.awk. Mention wiki
23196         SharedSourceFiles.
23198 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
23200         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
23201         WUNTRACED.
23203 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23205         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
23206         order to match the type of p when calling atomic_exchange_acq().
23208 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23210         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
23211         cfi_offset calls.
23212         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
23213         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
23214         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
23215         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
23216         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
23218 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
23220         * timezone/checktab.awk: Removed.
23222 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
23224         * manual/math.texi (Errors in Math Functions): Document relaxed
23225         accuracy goals for IBM long double.
23226         * math/libm-test.inc (test_exceptions): Always allow spurious
23227         "underflow" and "inexact" exceptions for IBM long double.
23229 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
23231         [BZ #19762]
23232         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23233         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
23234         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
23235         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
23236         (bit_arch_*): This for feature array.
23237         (bit_*): Renamed to ...
23238         (bit_cpu_*): This for cpu array.
23239         (index_*): Renamed to ...
23240         (index_arch_*): This for feature array.
23241         (index_*): Renamed to ...
23242         (index_cpu_*): This for cpu array.
23243         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
23244         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
23245         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
23246         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
23247         bit_##name with index_cpu_##name and bit_cpu_##name.
23248         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
23249         bit_##name with index_arch_##name and bit_arch_##name.
23251 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
23253         [BZ #19792]
23254         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
23255         Terminate FDE before return label.
23257 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
23259         [BZ #19790]
23260         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
23261         (rintl): Define as macro.
23262         [USE_AS_NEARBYINTL] (__rintl): Likewise.
23263         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
23264         of fesetround.  Ensure results are evaluated before end of scope.
23265         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
23266         USE_AS_NEARBYINTL and include s_rintl.c.
23267         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
23268         Disable exception traps in new environment.
23269         (libc_feholdsetround_ppc_ctx): Likewise.
23271 2016-03-08  Roland McGrath  <roland@hack.frob.com>
23273         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
23274         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
23275         (tst_audit10_aux) [__AVX512F__]: ... here.
23277 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
23279         * include/sys/auxv.h: New file.
23281 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23283         [BZ #19759]
23284         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
23286 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
23288         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
23289         operand modifier.
23290         (feclearexcept): Likewise.
23292 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
23294         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
23295         to reflect the entire 32-bit HWCAP.
23296         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
23297         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
23299 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
23301         [BZ #19783]
23302         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
23303         $(test-via-rtld-prefix).
23304         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
23306 2016-03-08  Florian Weimer  <fweimer@redhat.com>
23308         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
23309         union wait.  Report any non-zero exit status as error.
23311 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23313         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
23314         configured with --enable-hardcoded-path-in-tests.
23316 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
23318         [BZ #19677]
23319         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23320         (__ieee754_remainderl): Put zero low parts in canonical form.
23321         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
23322         file.  Based on
23323         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
23324         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
23325         with wrapper round test-fmodrem-ldbl-128ibm.c.
23326         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
23327         file.
23328         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
23329         Likewise.
23330         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
23331         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
23333 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23335         [BZ #19610]
23336         * elf/ldconfig.c (opt_link): Update comment.
23337         (options): Update help string for option -X.
23338         (search_dir): Unlink stale symbolic link only if updating symbolic
23339         links.
23340         * elf/tst-ldconfig-X.sh: New file.
23341         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
23342         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
23344 2016-03-07  Andreas Schwab  <schwab@suse.de>
23346         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
23347         needed arguments.
23349 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
23351         [BZ #15333]
23352         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
23353         to lstat64.
23355 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23357         * libio/filedoalloc.c (isatty): Remove.
23358         (local_isatty): Add comment.  Call __isatty directly.
23359         (_IO_file_doallocate): Update comment.  Assume _LIBC.
23360         * libio/wfiledoalloc.c (isatty): Remove.
23361         (_IO_wfile_doallocate): Update comment.
23363 2016-03-07  Florian Weimer  <fweimer@redhat.com>
23365         [BZ #19269]
23366         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
23367         tst-audit4-aux.o.
23368         (tst-audit10): Depend on tst-audit10-aux.o.
23369         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
23370         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
23371         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
23372         instead of inline AVX code.
23373         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
23374         instead of inline AVX512 code.
23375         * sysdeps/x86_64/tst-audit4-aux.c: New file
23376         * sysdeps/x86_64/tst-audit10-aux.c: New file
23378         [BZ #19648]
23379         * test-skeleton.c (main): Do not set RLIMIT_DATA.
23381 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23383         [BZ #14750]
23384         [BZ #10354]
23385         [BZ #18433]
23386         * include/sched.h (__clone): Add hidden prototype.
23387         (__clone2): Likewise.
23388         * include/unistd.h (__dup): Likewise.
23389         * posix/Makefile (tests): Add tst-spawn2.
23390         * posix/tst-spawn2.c: New file.
23391         * sysdeps/posix/dup.c (__dup): Add hidden definition.
23392         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
23393         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
23394         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
23395         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
23396         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
23397         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
23398         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
23399         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
23400         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
23401         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
23402         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
23403         Likewise.
23404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
23405         Likewise.
23406         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
23407         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
23408         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
23409         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
23410         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
23411         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
23412         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
23413         * sysdeps/unix/sysv/linux/nptl-signals.h
23414         (____nptl_is_internal_signal): New function.
23415         * sysdeps/unix/sysv/linux/spawni.c: New file.
23417         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
23418         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
23419         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
23420         * posix/tst-execvp2.c (do_test): Likewise.
23421         * posix/tst-execvp3.c (do_test): Likewise.
23422         * posix/tst-execvp4.c (do_test): Likewise.
23423         * posix/tst-execvpe1.c: New file.
23424         * posix/tst-execvpe2.c: Likewise.
23425         * posix/tst-execvpe3.c: Likewise.
23426         * posix/tst-execvpe4.c: Likewise.
23427         * posix/tst-execvpe5.c: Likewise.
23428         * posix/tst-execvpe6.c: Likewise.
23430         [BZ #19534]
23431         * posix/execl.c (execl): Remove dynamic memory allocation.
23432         * posix/execle.c (execle): Likewise.
23433         * posix/execlp.c (execlp): Likewise.
23435 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23437         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
23438         Replace .text with .text.avx512.
23439         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
23440         Likewise.
23442 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
23444         * sysdeps/generic/libnsl.abilist: New file.
23445         * sysdeps/generic/libutil.abilist: New file.
23447 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
23449         [BZ #19762]
23450         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
23451         HAS_ARCH_FEATURE with Fast_Rep_String.
23452         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
23453         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
23454         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
23455         Likewise.
23456         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
23457         Likewise.
23458         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
23459         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
23460         Likewise.
23461         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
23462         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
23463         Likewise.
23465 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23467         [BZ #19745]
23468         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
23469         with *%rax in call.
23471 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23473         [BZ #19745]
23474         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
23475         with *__libc_start_main@GOTPCREL(%rip) in call.
23477 2016-03-04  Roland McGrath  <roland@hack.frob.com>
23479         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
23480         inside conditional for nonempty $(CXX).
23482         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
23483         nonempty.
23485         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
23486         to test for empty $(CXX) rather than $(CXX) of "no".
23488 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
23490         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
23492 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
23493             H.J. Lu  <hongjiu.lu@intel.com>
23495         [BZ #18880]
23496         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
23497         instead of Slow_BSF, and also check for Fast_Copy_Backward to
23498         enable __memcpy_ssse3_back.
23500 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23502         [BZ #19758]
23503         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
23504         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
23506 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
23508         [BZ #19490]
23509         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
23510         (__fentry__): Likewise.
23512 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
23514         * gmon/Makefile (noprof): Add $(sysdep_noprof).
23515         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
23517 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23519         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
23520         __mcount_internal directly.
23521         (C_LABEL(__fentry__)): Likewise.
23522         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
23523         directly.
23525 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
23527         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23528         (__start_context): Call __setcontext directly.
23530 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
23532         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
23533         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23534         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
23535         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23536         * sysdeps/unix/sysv/linux/arm/kernel-features.h
23537         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23538         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
23539         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23540         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
23541         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
23542         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23543         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23544         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
23545         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23546         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23547         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
23548         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
23549         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
23550         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23551         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
23552         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
23553         * sysdeps/unix/sysv/linux/mips/kernel-features.h
23554         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23555         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
23556         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
23557         Remove conditional code.
23558         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
23559         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
23560         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23561         * sysdeps/unix/sysv/linux/sh/kernel-features.h
23562         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
23563         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23564         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
23565         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
23566         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
23567         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23568         * sysdeps/unix/sysv/linux/tile/kernel-features.h
23569         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
23571 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
23573         * NEWS (2.23): Fix typo in bug 19048 text.
23575 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
23577         [BZ #14259]
23578         * Makeconfig: Rename msgcatdir to localedir.
23579         Rename inst_msgcatdir to inst_localedir.
23580         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
23581         * config.make.in: Add localedir.
23582         * elf/Makefile ($(objpfx)sotruss): Use localedir.
23583         (ldd-rewrite): Likewise.
23584         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
23585         (install-others): Use inst_localedir.
23586         (CPPFLAGS): Use localedir.
23587         * locale/Makefile (locale-CPPFLAGS): Likewise.
23588         * po/Makefile (mo-installed): Use inst_localedir.
23590         [BZ #19575]
23591         * localedata/charmaps/GB18030: Update comments regarding PAU to
23592         non-PUA mappings.
23594 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
23596         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
23597         test for header.
23598         * sysdeps/unix/sysv/linux/configure: Regenerated.
23599         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
23600         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
23601         Remove conditional code.
23602         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
23604         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
23605         Define to 3.2.0.
23606         (arch_minimum_kernel): Likewise.
23607         * sysdeps/unix/sysv/linux/configure: Regenerated.
23608         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
23609         Define to 2.6.32.
23610         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
23611         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
23612         (arch_minimum_kernel): Define to 2.6.32.
23613         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
23614         * README: Document Linux 3.2 requirement.
23615         * manual/install.texi (Linux): Document Linux 3.2 headers
23616         requirement.
23617         * INSTALL: Regenerated.
23619 2016-02-24  Andreas Schwab  <schwab@suse.de>
23621         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
23622         if !NO_LONG_DOUBLE.
23624 2016-02-22  Roland McGrath  <roland@hack.frob.com>
23626         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
23627         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
23629 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
23631         [BZ #19512]
23632         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
23634 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
23636         * posix/tst-dir.c: Include libc-internal.h.
23638 2016-02-20  Florian Weimer  <fweimer@redhat.com>
23640         [BZ #19056]
23641         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
23642         * manual/filesys.texi (Reading/Closing Directory): Mention
23643         deprecaion.
23644         * posix/tst-dir.c (main): Disable deprecation warning in test.
23646 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
23648         [BZ #19679]
23649         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
23650         Renamed to ...
23651         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
23652         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23653         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
23654         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23655         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23656         * sysdeps/x86_64/dl-trampoline.h
23657         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
23658         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
23660 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23662         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
23664 2016-02-19  Mark Wielaard  <mjw@redhat.com>
23666         * elf/elf.h (R_386_GOT32X): New.
23667         (R_386_NUM): Update.
23668         (R_X86_64_GOTPCRELX: New.
23669         (R_X86_64_REX_GOTPCRELX): New.
23670         (R_X86_64_NUM): Update.
23672 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
23674         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
23676 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
23678         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
23679         assign attr->stackaddr to it, and adjust it down when
23680         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
23681         [_STACK_GROWS_UP]: Delete assert.
23682         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
23683         Implement stack grows up logic.
23684         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
23685         stack grows up logic.
23687 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23689         * NEWS: Update with 2.24 template.
23691 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23693         [BZ #19678]
23694         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
23695         Ensure +0.0 is returned when taking the next value below the least
23696         positive value.
23698 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23700         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
23701         available.  Do not define NO_THREADS.
23702         * malloc/malloc.c: Do not check NO_THREADS.
23703         * malloc/arena.c: Likewise.
23705 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23707         * malloc/malloc.c (__libc_mallinfo): Update comment.
23708         (struct malloc_par): Remove max_total_mem member, it was always 0.
23709         (int_mallinfo): Store 0 into usmblks (no functional change).
23710         * malloc/hooks.c (struct malloc_state): Document that
23711         max_total_mem is always 0.
23712         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
23713         always 0.
23714         * manual/memory.texi (Statistics of Malloc): Likewise.
23716 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23718         * malloc/malloc.c (sysmalloc): Do not update arena_max.
23719         * malloc/arena.c (arena_max): Remove.
23720         (heap_trim, _int_new_arena): Do not update arena_max.
23722 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23724         * resolv/res_init.c (res_ninit): Update comment.
23726 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23728         [BZ #19505]
23729         * posix/spawn_int.h: Add headers and include guard.
23730         (__spawn_valid_fd): New function.
23731         * posix/spawn_faction_addopen.c
23732         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
23733         * posix/spawn_faction_addclose.c
23734         (posix_spawn_file_actions_addclose): Likewise.
23735         * posix/spawn_faction_adddup2.c
23736         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
23737         second file descriptor.
23738         * posix/spawn_valid_fd.c: New file.
23739         * posix/tst-posix_spawn-fd.c: New file.
23740         * posix/Makefile (routines): Add spawn_valid_fd.
23741         (tests): Add tst-posix_spawn-fd.
23743 2016-02-19  Florian Weimer  <fweimer@redhat.com>
23745         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
23746         (do_test): Limit the number of arenas, so that we can use fewer
23747         outer threads.  Limit timeout to 3 seconds, in preparation for a
23748         larger TIMEOUT value.
23750 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
23752         [BZ #19674]
23753         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
23754         sign in overflowing and underflowing results when overflow or
23755         underflow is detected early.  Include sign in result before rather
23756         than after scaling.
23758         [BZ #19603]
23759         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
23760         (__ieee754_remainderl): Adjust sign of integer version of low part
23761         when taking absolute value of high part.
23762         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23763         * math/libm-test.inc (remainder_test_data): Add another test.
23764         (remquo_test_data): Likewise.
23766 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
23768         [BZ #19602]
23769         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
23770         equal high parts and both low parts zero specially.
23771         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
23772         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
23773         Add test-fmodl-ldbl-128ibm.
23775         [BZ #19595]
23776         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
23777         common logic for all cases of shifting subnormal results.  Do not
23778         insert sign bit in shifted mantissa.  Always pass -1023 as biased
23779         exponent to ldbl_insert_mantissa in subnormal case.
23781         [BZ #19594]
23782         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
23783         on high and low parts then adjust result and use
23784         ldbl_canonicalize_int if needed.
23786         [BZ #19593]
23787         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
23788         on high part and __floor or __ceil on low part then use
23789         ldbl_canonicalize_int if needed.
23791         [BZ #19592]
23792         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
23793         high and low parts then use ldbl_canonicalize_int if needed.
23795         [BZ #17899]
23796         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
23797         New function.
23798         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
23799         on high and low parts then use ldbl_canonicalize_int if needed.
23801 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23803         * configure: Regenerated.
23805         * po/libc.pot: Regenerated.
23807         * po/be.po: Updated translation.
23808         * po/bg.po: Likewise.
23809         * po/ca.po: Likewise.
23810         * po/cs.po: Likewise.
23811         * po/da.po: Likewise.
23812         * po/el.po: Likewise.
23813         * po/eo.po: Likewise.
23814         * po/es.po: Likewise.
23815         * po/fi.po: Likewise.
23816         * po/fr.po: Likewise.
23817         * po/gl.po: Likewise.
23818         * po/hr.po: Likewise.
23819         * po/hu.po: Likewise.
23820         * po/ia.po: Likewise.
23821         * po/id.po: Likewise.
23822         * po/it.po: Likewise.
23823         * po/ja.po: Likewise.
23824         * po/lt.po: Likewise.
23825         * po/nb.po: Likewise.
23826         * po/nl.po: Likewise.
23827         * po/pt_BR.po: Likewise.
23828         * po/rw.po: Likewise.
23829         * po/sk.po: Likewise.
23830         * po/sl.po: Likewise.
23831         * po/sv.po: Likewise.
23832         * po/tr.po: Likewise.
23833         * po/zh_CN.po: Likewise.
23834         * po/zh_TW.po: Likewise.
23836         * version.h (RELEAES): Set to "development".
23837         (VERSION): Set to 2.23.90.
23839         * version.h (RELEASE): Set to "stable".
23840         (VERSION): Set to 2.23.
23841         * include/feature.h (__GLIBC_MINOR__): Set to 23.
23843         * NEWS: Updated fixed bugs.
23845 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
23846             Wilco Dijkstra  <wdijkstr@arm.com>
23848         [BZ #19462]
23849         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
23850         (_STRING_INLINE_unaligned): This.
23851         * include/string.h: Include <string_private.h>.
23852         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
23853         _STRING_INLINE_unaligned.
23854         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
23855         (_STRING_INLINE_unaligned): New.
23856         * sysdeps/aarch64/string_private.h: New file.
23857         * sysdeps/generic/string_private.h: Likewise.
23858         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
23859         * sysdeps/s390/string_private.h: Likewise.
23860         * sysdeps/x86/string_private.h: Likewise.
23861         * sysdeps/m68k/m680x0/m68020/bits/string.h
23862         (_STRING_ARCH_unaligned): Renamed to ...
23863         (_STRING_INLINE_unaligned): This.
23864         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
23865         to ...
23866         (_STRING_INLINE_unaligned): This.
23867         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
23868         to ...
23869         (_STRING_INLINE_unaligned): This.
23870         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
23871         to ...
23872         (_STRING_INLINE_unaligned): This.
23874 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
23875             H.J. Lu  <hongjiu.lu@intel.com>
23877         [BZ #19590]
23878         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
23879         relocation.
23881 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
23883         [BZ #18665]
23884         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
23885         *herrno_p.
23886         (gaih_getanswer): Document functional behviour. Return tryagain
23887         if any result is tryagain.
23888         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
23889         when freed.
23890         * resolv/res_send.c: Add copyright text.
23891         (__libc_res_nsend): Document that MAXPACKET is expected.
23892         (send_vc): Document. Remove buffer reuse.
23893         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
23894         size of the buffer. Add Dprint for truncated UDP buffer.
23896 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
23898         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
23899         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
23900         * INSTALL: Regenerate.
23902 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
23903             Jonathan Wakely  <jwakely@redhat.com>
23904             Carlos O'Donell  <carlos@redhat.com>
23906         [BZ 19439]
23907         * math/Makefile (tests): Add test-math-isinff.
23908         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
23909         * math/bits/mathcalls.h [__USE_MISC]: Use
23910         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
23911         functions not in C++11 and which don't conflict e.g. isinff,
23912         isinfl etc.
23913         * math/test-math-isinff.cc: New file.
23915 2016-02-12  Florian Weimer  <fweimer@redhat.com>
23917         * misc/bug18240.c (do_test): Set RLIMIT_AS.
23919 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23921         [BZ #19529]
23922         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
23924 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23926         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
23928 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
23930         [BZ #19550]
23931         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
23932         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
23933         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
23934         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
23935         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
23936         New syscall entry.
23937         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
23938         New syscall entry.
23939         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
23940         syscall entry.
23942 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
23944         [BZ #18240]
23945         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
23946         unsigned int wraparound.
23948 2016-01-27  Florian Weimer  <fweimer@redhat.com>
23950         [BZ #18240]
23951         * misc/bug18240.c: New test.
23952         * misc/Makefile (tests): Add it.
23954 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
23955             Joseph Myers  <joseph@codesourcery.com>
23957         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
23958         load in branch delay slot when less than a word of input left.
23960 2016-01-27  Andreas Schwab  <schwab@suse.de>
23962         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
23963         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
23964         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
23965         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
23967 2016-01-26  David S. Miller  <davem@davemloft.net>
23969         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
23971 2016-01-25  David S. Miller  <davem@davemloft.net>
23973         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
23974         __sqrtl_finite.
23975         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
23976         instead using versioned_symbol.
23977         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
23978         of entries.
23980         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
23981         __sqrtl_finite to GLIBC_2.23
23983 2016-01-25  Ricchard Henderson  <rth@redhat.com>
23985         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23987 2016-01-25  Andreas Schwab  <schwab@suse.de>
23989         [BZ #17514]
23990         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
23991         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
23992         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
23993         * nptl/tst-mutex-errorcheck.c: New file.
23995 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23997         [BZ #18560]
23998         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
23999         (IPCOP_semop): Likewise.
24000         (IPCOP_semget): Likewise.
24001         (IPCOP_semctl): Likewise.
24002         (IPCOP_msgsnd): Likewise.
24003         (IPCOP_msgrcv): Likewise.
24004         (IPCOP_msgget): Likewise.
24005         (IPCOP_msgctl): Likewise.
24006         (IPCOP_shmat): Likewise.
24007         (IPCOP_shmdt): Likewise.
24008         (IPCOP_shmget): Likewise.
24009         (IPCOP_shmctl): Likewise.
24011 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
24013         * string/tst-endian.c: Include <libc-internal.h>.
24014         (do_test): Ignore tautological-compare warnings around
24015         "htobeXX (beXXtoh (i)) != i" and
24016         "htoleXX (leXXtoh (i)) != i" if-statements.
24018 2016-01-24  David S. Miller  <davem@davemloft.net>
24020         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
24021         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
24022         alias.
24023         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
24024         __sqrtl_finite.
24026         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24028 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
24030         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
24031         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
24032         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24034 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24036         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
24037         (thread_func): Use new function to simplify barrier check.
24038         (do_test): Use new function to simplify checking barrier exit
24039         code, and actually join the child thread.
24041 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24043         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
24044         semicolon.
24045         (__libc_tend): Likewise.
24046         (__libc_tabort): Likewise.
24048 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
24050         * sysdeps/nios2/libm-test-ulps: Update.
24051         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
24052         (__gtsf2): Likewise.
24053         (__unorddf2): Likewise.
24054         (__unordsf2): Likewise.
24055         (__ledf2): Likewise.
24057 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
24059         * nis/nis_table.c (__follow_path): Disable diagnostic for
24060         uninitialized variable that is a false positive for gcc 4.7.
24061         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
24063 2016-01-20  Roland McGrath  <roland@hack.frob.com>
24065         * sysdeps/nacl/lowlevellock-futex.h
24066         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
24067         Always evaluate PRIVATE argument.
24069 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
24071         [BZ #19490]
24072         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
24073         (pthread_cond_broadcast): Use ENTRY/END
24074         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
24075         (pthread_cond_signal): Likewise.
24076         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
24077         Likewise.
24078         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
24079         Likewise.
24080         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
24081         Likewise.
24083 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
24085         * sysdeps/ieee754/dbl-64/s_finite.c
24086         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
24087         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
24088         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
24089         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
24090         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
24092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
24093         (__gtsf2): Add as optional for libc.so.
24094         (__unordsf2): Likewise.
24095         (__signbit): Remove for libc.so.
24096         (__signbitl): Likewise.
24098 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
24100         * iconvdata/bug-iconv11.c (test_ibm93x):
24101         Use %zu printf format specifier for size_t argument.
24103 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
24105         * math/gen-libm-test.pl (parse_ulps): Do not reduce
24106         already-recorded ulps.
24107         * sysdeps/arm/libm-test-ulps: Regenerated.
24108         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
24109         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24110         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
24112 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24113             Paul Pluzhnikov  <ppluzhnikov@google.com>
24115         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
24116         assembler not supporting AVX-512.
24118 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
24120         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24122 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
24124         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24125         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24127         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24129         * sysdeps/arm/libm-test-ulps: Regenerated.
24131 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
24133         [BZ #19451]
24134         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
24136 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
24138         [BZ #19486]
24139         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
24140         * sysdeps/generic/fix-fp-int-convert-overflow.h
24141         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
24142         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
24143         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
24144         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
24145         Likewise.
24146         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
24147         Avoid conversions to long int where inexact exceptions
24148         could be raised.
24149         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
24150         Likewise.
24151         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
24152         Avoid conversions to long long int where inexact exceptions
24153         could be raised.
24154         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
24155         Likewise.
24157 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
24159         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
24160         * configure: Regenerated.
24162 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24164         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
24166 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
24168         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
24169         outside of comment.
24171 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24173         * nptl/tst-barrier1.c: Add description on first line.
24174         * nptl/tst-barrier2.c: Likewise.
24175         * nptl/tst-barrier3.c: Likewise.
24176         * nptl/tst-barrier4.c: Likewise.
24177         * nptl/tst-barrier5.c: Likewise.
24179 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24181         [BZ #18868]
24182         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
24184 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
24186         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
24187         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24188         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
24189         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
24190         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
24191         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
24192         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24193         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24194         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24195         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24196         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24198 2016-01-15  Torvald Riegel  <triegel@redhat.com>
24200         [BZ #13065]
24201         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
24202         new implementation.
24203         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
24204         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
24205         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
24206         (BARRIER_IN_THRESHOLD): New macro.
24207         * nptl/pthread_barrierattr_setpshared.c
24208         (pthread_barrierattr_setpshared): Clean up.
24209         * nptl/tst-barrier4.c: Correct comment.
24210         * nptl/tst-barrier5.c: New file.
24211         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
24212         (gen-as-const-headers): Remove lowlevelbarrier.sym.
24213         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
24214         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
24215         * nptl/lowlevelbarrier.sym: Remove.
24216         * nptl/DESIGN-barrier.txt: Remove.
24217         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
24218         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
24219         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
24220         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
24221         error.
24222         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
24223         implementation.
24225 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24227         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
24228         (do_child): Mask SIGRTMIN while thr is running.
24230 2016-01-15  Martin Sebor  <msebor@redhat.com>
24232         [BZ #19432]
24233         * iconvdata/Makefile: Add bug-iconv11.
24234         * iconvdata/bug-iconv11.c: New test.
24235         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
24236         * iconvdata/ibm933.c: Same.
24237         * iconvdata/ibm935.c: Same.
24238         * iconvdata/ibm937.c: Same.
24239         * iconvdata/ibm939.c: Same.
24241 2016-01-15  Martin Sebor  <msebor@redhat.com>
24243         [BZ #19443]
24244         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
24245         [DEBUG] (_ufc_set_bits): Declare used.
24246         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
24247         [DEBUG] (print_all): Declare used.
24248         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
24249         operands of the ternary ?: expression to target type.
24250         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
24251         calling the undeclared abort.
24252         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
24254 2016-01-15  Martin Sebor  <msebor@redhat.com>
24256         [BZ #18755]
24257         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
24258         warnings.
24259         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
24260         (__gai_create_helper_thread): Same.
24261         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
24262         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
24263         to suppress -Wmaybe-uninitialized warnings.
24265 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
24267         [BZ #19465]
24268         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
24269         inside if.
24270         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24271         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24272         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24274 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
24276         [BZ #19466]
24277         * time/tst-mktime2.c (time_t_max): Removed.
24278         (time_t_min): Likewise.
24279         (TYPE_SIGNED): New.
24280         (TYPE_MINIMUM): Likewise.
24281         (TYPE_MAXIMUM): Likewise.
24282         (TIME_T_MIN): Likewise.
24283         (TIME_T_MAX): Likewise.
24284         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
24285         and TIME_T_MIN.
24286         (do_test): Likewise.
24288 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
24290         [BZ #19467]
24291         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
24292         index_Fast_Unaligned_Load flag for Excavator family CPUs.
24294 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
24296         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
24298 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
24300         * benchtests/Makefile (PYTHON): Define.
24301         (bench-func): Use $(PYTHON) to run python scripts.
24302         ($(objpfx)bench-%.c): Likewise.
24304 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
24306         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
24307         leading slash when `file_name' is "/".
24309 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
24311         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
24312         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
24313         Likewise.
24314         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
24315         Likewise.
24316         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
24317         Likewise.
24318         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
24319         enum constant and macro.
24320         (PTRACE_SETSIGMASK): Likewise.
24321         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24322         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
24323         (PTRACE_GETSIGMASK): Likewise.
24324         (PTRACE_SETSIGMASK): Likewise.
24325         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24326         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
24327         Likewise.
24328         (PTRACE_SETSIGMASK): Likewise.
24329         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24330         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
24331         (PTRACE_GETSIGMASK): Likewise.
24332         (PTRACE_SETSIGMASK): Likewise.
24333         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24334         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
24335         Likewise.
24336         (PTRACE_SETSIGMASK): Likewise.
24337         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24338         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
24339         Likewise.
24340         (PTRACE_SETSIGMASK): Likewise.
24341         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24342         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
24343         Likewise.
24344         (PTRACE_SETSIGMASK): Likewise.
24345         (PTRACE_SECCOMP_GET_FILTER): Likewise.
24347 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
24348             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24350         [BZ #19439]
24351         * math/bits/mathcalls.h
24352         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
24353         prototype.
24354         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
24356 2016-01-11  Andreas Schwab  <schwab@suse.de>
24358         [BZ #19253]
24359         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
24360         cache when TZDEFRULES was used.
24361         * time/tst-tzname.c: New file.
24362         * time/Makefile (test): Add tst-tzname.
24363         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
24364         * timezone/Makefile (test-zones): Add $(posixrules-file).
24365         ($(testdata)/$(posixrules-file)): New rule.
24367 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
24369         Fix doc quoting problems with Texinfo 5
24370         Without this change, in the info file output, Texinfo 5 quotes code
24371         in text with undirected single quotes 'like this' and generates
24372         code examples that with many PDF readers cannot be cut out of PDFs
24373         and pasted into code.
24374         * manual/libc.texinfo: Configure the libc manual like the GNU
24375         Emacs manual, by using @documentencoding and setting
24376         txicodequoteundirected and txicodequotebacktick.  This way,
24377         Texinfo 5 quotes code in text with directed single quotes ‘like
24378         this’ and produces examples that can be cut out of PDFs.  This
24379         change causes Texinfo 5 to generate info files that contain UTF-8
24380         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
24381         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
24383 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24385         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
24386         __libc_tabort, __libc_tend): New wrappers that enforce compiler
24387         barriers to their respective compiler built-ins.
24388         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
24389         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
24390         * sysdeps/powerpc/sysdep.h: Likewise.
24391         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
24392         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
24393         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
24395 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
24397         * scripts/config.guess: Revert previous shebang change.
24398         * scripts/config.sub: Likewise.
24399         * scripts/mkinstalldirs: Likewise.
24401 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24403         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
24404         PPC_FEATURE2_HAS_IEEE128.
24405         * sysdeps/powerpc/dl-procinfo.c:
24406         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
24408 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
24410         [BZ #19415]
24411         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
24412         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
24413         (_dl_lookup_address): Rewrite using function resolver trampoline.
24414         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
24415         two bits in address.
24417 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24419         * longlong.h: Change !__SHMEDIA__ to
24420         (!defined (__SHMEDIA__) || !__SHMEDIA__).
24421         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
24423 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
24424             Joseph Myers  <joseph@codesourcery.com>
24425             Mark Shinwell  <shinwell@codesourcery.com>
24426             Andrew Stubbs  <ams@codesourcery.com>
24427             Rich Felker <dalias@libc.org>
24429         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
24431 2016-01-07  Richard Henderson  <rth@redhat.com>
24433         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
24435 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
24437         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
24438         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
24439         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
24440         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
24441         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
24443 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
24444             Joseph Myers  <joseph@codesourcery.com>
24446         * timezone/private.h: Update from tzcode 2015g.
24447         * timezone/tzfile.h: Likewise.
24448         * timezone/tzselect.ksh: Likewise.
24449         * timezone/zdump.c: Likewise.
24450         * timezone/zic.c: Likewise.
24451         * timezone/ialloc.c: Remove file.
24452         * timezone/scheck.c: Likewise.
24453         * timezone/Makefile (extra-objs): Remove variable.
24454         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
24455         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
24456         -Wno-maybe-uninitialized.
24457         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
24458         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
24459         (CFLAGS-ialloc.c): Remove variable.
24460         (CFLAGS-scheck.c): Likewise.
24461         * timezone/README: Update list of files from tzcode.
24463 2016-01-07  Khem Raj  <raj.khem@gmail.com>
24465         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
24466         instead of __fxprintf when _LIBC is undefined.
24468 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
24470         * catgets/test-gencat.sh: Remove space after shebang.
24471         * conform/GlibcConform.pm: Likewise.
24472         * conform/check-header-lists.sh: Likewise.
24473         * conform/conformtest.pl: Likewise.
24474         * conform/linknamespace.pl: Likewise.
24475         * conform/list-header-symbols.pl: Likewise.
24476         * debug/catchsegv.sh: Likewise.
24477         * elf/genrtldtbl.awk: Likewise.
24478         * elf/tst-pathopt.sh: Likewise.
24479         * elf/tst-rtld-load-self.sh: Likewise.
24480         * grp/tst_fgetgrent.sh: Likewise.
24481         * iconvdata/gen-8bit-gap-1.sh: Likewise.
24482         * iconvdata/gen-8bit-gap.sh: Likewise.
24483         * iconvdata/gen-8bit.sh: Likewise.
24484         * iconvdata/run-iconv-test.sh: Likewise.
24485         * intl/tst-gettext.sh: Likewise.
24486         * intl/tst-gettext2.sh: Likewise.
24487         * intl/tst-gettext4.sh: Likewise.
24488         * intl/tst-gettext6.sh: Likewise.
24489         * intl/tst-translit.sh: Likewise.
24490         * io/ftwtest-sh: Likewise.
24491         * libio/test-freopen.sh: Likewise.
24492         * locale/gen-translit.pl: Likewise.
24493         * malloc/tst-mtrace.sh: Likewise.
24494         * manual/check-safety.sh: Likewise.
24495         * manual/libc-texinfo.sh: Likewise.
24496         * manual/tsort.awk: Likewise.
24497         * manual/xtract-typefun.awk: Likewise.
24498         * nptl/tst-cancel-wrappers.sh: Likewise.
24499         * nptl/tst-tls6.sh: Likewise.
24500         * posix/globtest.sh: Likewise.
24501         * posix/tst-getconf.sh: Likewise.
24502         * posix/wordexp-tst.sh: Likewise.
24503         * scripts/check-c++-types.sh: Likewise.
24504         * scripts/check-local-headers.sh: Likewise.
24505         * scripts/config.guess: Likewise.
24506         * scripts/config.sub: Likewise.
24507         * scripts/cpp: Likewise.
24508         * scripts/cross-test-ssh.sh: Likewise.
24509         * scripts/documented.sh: Likewise.
24510         * scripts/evaluate-test.sh: Likewise.
24511         * scripts/gen-libc-abis: Likewise.
24512         * scripts/gen-sorted.awk: Likewise.
24513         * scripts/list-fixed-bugs.py: Likewise.
24514         * scripts/merge-test-results.sh: Likewise.
24515         * scripts/mkinstalldirs: Likewise.
24516         * scripts/rellns-sh: Likewise.
24517         * scripts/test-installation.pl: Likewise.
24518         * scripts/update-copyrights: Likewise.
24519         * stdio-common/tst-printf.sh: Likewise.
24520         * stdio-common/tst-unbputc.sh: Likewise.
24521         * stdlib/tst-fmtmsg.sh: Likewise.
24522         * stdlib/tst-setcontext3.sh: Likewise.
24523         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
24524         * sysdeps/unix/make-syscalls.sh: Likewise.
24526 2016-01-06  John David Anglin  <dave.anglin@bell.net>
24528         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
24529         asm stw with atomic_exchange_rel.  Add explanatory comment.
24530         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
24531         Likewise.
24533 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24535         [BZ #19122]
24536         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
24537         * sysdeps/generic/dl-unistd.h: New file.
24538         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
24540 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
24542          [BZ #19122]
24543          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
24544          * sysdeps/generic/dl-mman.h: New file.
24545          * sysdeps/mach/hurd/dl-mman.h: Likewise.
24547 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
24549         * manual/texinfo.tex: Update to version 2016-01-04.21 with
24550         trailing whitespace removed.
24551         * scripts/config.guess: Update to version 2016-01-01.
24552         * scripts/config.sub: Update to version 2016-01-01.
24553         * scripts/move-if-change: Update from gnulib.
24555 2016-01-04  Anton Blanchard  <anton@samba.org>
24557         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
24558         for array indices.
24559         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
24561 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
24563         * NEWS: Update copyright dates.
24564         * catgets/gencat.c (print_version): Likewise.
24565         * csu/version.c (banner): Likewise.
24566         * debug/catchsegv.sh: Likewise.
24567         * debug/pcprofiledump.c (print_version): Likewise.
24568         * debug/xtrace.sh (do_version): Likewise.
24569         * elf/ldconfig.c (print_version): Likewise.
24570         * elf/ldd.bash.in: Likewise.
24571         * elf/pldd.c (print_version): Likewise.
24572         * elf/sotruss.sh: Likewise.
24573         * elf/sprof.c (print_version): Likewise.
24574         * iconv/iconv_prog.c (print_version): Likewise.
24575         * iconv/iconvconfig.c (print_version): Likewise.
24576         * locale/programs/locale.c (print_version): Likewise.
24577         * locale/programs/localedef.c (print_version): Likewise.
24578         * login/programs/pt_chown.c (print_version): Likewise.
24579         * malloc/memusage.sh (do_version): Likewise.
24580         * malloc/memusagestat.c (print_version): Likewise.
24581         * malloc/mtrace.pl: Likewise.
24582         * manual/libc.texinfo: Likewise.
24583         * nptl/version.c (banner): Likewise.
24584         * nscd/nscd.c (print_version): Likewise.
24585         * nss/getent.c (print_version): Likewise.
24586         * nss/makedb.c (print_version): Likewise.
24587         * posix/getconf.c (main): Likewise.
24588         * scripts/test-installation.pl: Likewise.
24589         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24591         * All files with FSF copyright notices: Update copyright dates
24592         using scripts/update-copyrights.
24593         * intl/plural.c: Regenerated.
24594         * locale/programs/charmap-kw.h: Likewise.
24595         * locale/programs/locfile-kw.h: Likewise.
24597 2016-01-02  Helge Deller  <deller@gmx.de>
24599         [BZ #19285]
24600         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
24601         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
24602         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
24603         (MADV_xxK_PAGES): Remove.
24605 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
24607         [BZ #15421]
24608         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
24609         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
24610         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
24611         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
24613 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
24615         [BZ #19408]
24616         * sysdeps/unix/sysv/linux/personality.c: New file.
24617         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
24618         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
24619         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
24620         (sysdep_routines): Add personality.
24621         (tests): Add tst-personality.
24622         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
24623         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
24624         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
24625         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
24626         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
24627         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
24628         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
24629         Likewise.
24630         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
24631         Likewise.
24632         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
24633         Likewise.
24634         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
24635         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
24636         Likewise.
24638 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
24640         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
24641         (PATH_ARM_SYSTYPE): Remove.
24642         (PATH_CPUINFO): Likewise.
24643         (IO_BASE_FOOTBRIDGE): Likewise.
24644         (IO_SHIFT_FOOTBRIDGE): Likewise.
24645         (struct platform): Likewise.
24646         (init_iosys): Remove compatibility code for 2.4 kernels.
24647         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
24649 2015-12-29  Florian Weimer  <fweimer@redhat.com>
24651         * malloc/tst-malloc-thread-fail.c: New file.
24652         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
24653         (tst-malloc-thread-fail): Link against libpthread.
24655 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
24657         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
24658         (get_parser): New function.
24659         (main): New function.
24661 2015-12-29  Rob Wu  <rob@robwu.nl>
24663         [BZ #19369]
24664         * resolv/res_init.c (__res_vinit): Reset defdname before use.
24666 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
24668         [BZ #19270]
24669         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
24671 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
24673         [BZ #15421]
24674         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
24676 2015-12-23  Torvald Riegel  <triegel@redhat.com>
24678         [BZ #13690]
24679         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
24680         after releasing it.
24681         (__lll_robust_unlock): Likewise.
24682         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
24683         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
24684         (lll_robust_unlock): Likewise.
24685         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
24686         Prevent warnings in callers.
24688 2015-12-23  Florian Weimer  <fweimer@redhat.com>
24690         * malloc/arena.c (list_lock): Update comment.
24692 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24694         * sysdeps/powerpc/hwcapinfo.c: Export symbol
24695         __parse_hwcap_and_convert_at_platform to libc.a.
24697 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24699         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
24700         platform and feature support for POWER9.
24701         * sysdeps/powerpc/dl-procinfo.h: Likewise.
24702         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
24703         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
24704         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
24705         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
24706         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
24707         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
24708         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
24710 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24712         Harmonize generic stdio-lock support with nptl
24714         This fixes build when _IO_funlockfile is a macro, fixes build where
24715         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
24716         stack unwind.
24718         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
24719         _IO_release_lock ): Use cleanup attribute on new
24720         _IO_acquire_lock_file variable instead of assuming that
24721         _IO_release_lock will be called.
24722         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
24723         _IO_acquire_lock_needs_exceptions_enabled.
24724         (_IO_acquire_lock_clear_flags2): New macro.
24726 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24728         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
24730 2015-12-21  Florian Weimer  <fweimer@redhat.com>
24732         [BZ #19182]
24733         * malloc/arena.c (list_lock): Document lock ordering requirements.
24734         (free_list_lock): New lock.
24735         (ptmalloc_lock_all): Comment on free_list_lock.
24736         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
24737         (detach_arena): Update comment.  free_list_lock is now needed.
24738         (_int_new_arena): Use free_list_lock around detach_arena call.
24739         Acquire arena lock after list_lock.  Add comment, including FIXME
24740         about incorrect synchronization.
24741         (get_free_list): Switch to free_list_lock.
24742         (reused_arena): Acquire free_list_lock around detach_arena call
24743         and attached threads counter update.  Add two FIXMEs about
24744         incorrect synchronization.
24745         (arena_thread_freeres): Switch to free_list_lock.
24746         * malloc/malloc.c (struct malloc_state): Update comments to
24747         mention free_list_lock.
24749 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
24751         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
24752         Remove functions.
24753         (sloww, sloww1): Accept argument to offset quadrant.
24754         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
24755         quadrant.
24756         (__sin, __cos): Consolidate common code into new functions.
24757         (reduce_sincos_1, do_sincos_1): New functions.
24758         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
24761         code to new functions.
24762         (reduce_sincos_2, do_sincos_2): New functions.
24763         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
24765         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
24766         common code for sincos.
24767         (__cos) [!IN_SINCOS]: Likewise.
24768         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
24769         New function.
24770         (__sincos): Use it.
24772 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
24774         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
24775         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
24776         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
24778 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
24780         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
24781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
24782         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
24783         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
24784         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24785         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
24786         index_Prefer_No_VZEROUPPER): New feature.
24787         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
24788         Prefer_No_VZEROUPPER for Knights Landing.
24790 015-12-18  Torvald Riegel  <triegel@redhat.com>
24792         * math/atest-exp2.c (mp_exp_m1): Remove.
24794 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24796         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
24797         syscalls.
24798         (__SYSCALL0): New macro.
24799         (__SYSCALL1): Likewise.
24800         (__SYSCALL2): Likewise.
24801         (__SYSCALL3): Likewise.
24802         (__SYSCALL4): Likewise.
24803         (__SYSCALL5): Likewise.
24804         (__SYSCALL6): Likewise.
24805         (__SYSCALL_CONCAT_X): Likewise.
24806         (__SYSCALL_CONCAT): Likewise.
24807         (__SYSCALL_DIST): Likewise.
24808         (__SYSCALL_CALL): Likewise.
24810 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
24812         [BZ #19363]
24813         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
24815 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24817         [BZ #19375]
24818         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
24819         negative subnormals.
24821 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
24823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
24824         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
24825         (INTERNAL_SYSCALL_NCS): Use it.
24826         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
24828 2015-12-16  Florian Weimer  <fweimer@redhat.com>
24830         [BZ #19243]
24831         * malloc/arena.c (get_free_list): Remove assert and adjust
24832         reference count handling.  Add comment about reused_arena
24833         interaction.
24834         (reused_arena): Add comments abount get_free_list interaction.
24835         * malloc/tst-malloc-thread-exit.c: New file.
24836         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
24837         (tst-malloc-thread-exit): Link against libpthread.
24839 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24841         [BZ #19367]
24842         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
24843         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
24844         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
24845         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
24846         (index_Prefer_MAP_32BIT_EXEC): Likewise.
24848 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
24850         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
24851         Silvermont optimizations for Knights Landing.
24853 2015-12-15  Andreas Schwab  <schwab@suse.de>
24855         [BZ #17197]
24856         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
24857         immediately after emitting SI.
24858         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
24859         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
24860         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
24861         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
24862         * iconvdata/bug-iconv10.c: New file.
24863         * iconvdata/Makefile (tests): Add bug-iconv10.
24864         ($(objpfx)bug-iconv10.out): New rule.
24866 2015-12-15  Florian Weimer  <fweimer@redhat.com>
24868         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
24869         aliasing violation.
24871 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
24873         [BZ #18472]
24874         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
24875         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
24876         conditionals for them.
24877         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
24878         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
24879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
24880         sys/kdaemon.h.
24881         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
24882         compat-only syscall, obsoleted in glibc 2.23.
24883         (create_module): Likewise.
24884         (get_kernel_syms): Likewise.
24885         (query_module): Likewise.
24886         (uselib): Likewise.
24887         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
24889 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
24891         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
24892         <linux/version.h>.
24893         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
24894         conditional code.
24895         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
24896         and ioshift_name initialization.
24898 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24900         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
24901         Fix indentation.
24903 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24905         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
24907 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
24909         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
24911 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
24912             Jakub Wilk  <jwilk@debian.org>
24914         [BZ #19347]
24915         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
24916         to change the group of the device to the tty group.
24918 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
24920         Split large string section; add truncation advice
24921         * manual/examples/strncat.c: Remove.
24922         This example was misleading, as the code would have undefined
24923         behavior if "hello" was longer than SIZE.  Anyway, the manual
24924         shouldn't encourage strncpy+strncat for this sort of thing.
24925         * manual/string.texi (Copying Strings and Arrays): Split into
24926         three sections Copying Strings and Arrays, Concatenating Strings,
24927         and Truncating Strings, as this section was way too long.  All
24928         cross-referenced changed.  Add advice about string-truncation
24929         functions.  Remove misleading strncat example.
24931 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
24933         * manual/nss.texi (NSS Modules Interface): Document
24934         NSS_STATUS_NOTFOUND and SUCCESS.
24936 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24938         [BZ 18568]
24939         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24940         201505L, for Unicode 8.
24942 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
24944         * locale/C-translit.h: Regenerate.
24946 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
24948         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
24949         and U+0153.
24951 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
24953         [BZ #19351]
24954         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
24955         expanding log(1+z), compare z rather than its square with epsilon
24956         to determine when to avoid evaluating the expansion.
24958         [BZ #19350]
24959         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
24960         Increase overflow threshold.
24962         [BZ #19349]
24963         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
24964         when small.
24966         * sysdeps/unix/sysv/linux/i386/kernel-features.h
24967         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
24968         New macro.
24969         [__LINUX_KERNEL_VERSION >= 0x040300]
24970         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
24971         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
24972         Likewise.
24973         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
24974         Likewise.
24975         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
24976         Likewise.
24977         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
24978         Likewise.
24979         [__LINUX_KERNEL_VERSION >= 0x040300]
24980         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
24981         [__LINUX_KERNEL_VERSION >= 0x040300]
24982         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
24983         [__LINUX_KERNEL_VERSION >= 0x040300]
24984         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
24985         [__LINUX_KERNEL_VERSION >= 0x040300]
24986         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
24987         [__LINUX_KERNEL_VERSION >= 0x040300]
24988         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
24989         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
24990         Likewise.
24991         [__LINUX_KERNEL_VERSION >= 0x040300]
24992         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
24993         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
24994         Likewise.
24995         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
24996         Likewise.
24997         [__LINUX_KERNEL_VERSION >= 0x040300]
24998         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
24999         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25000         Likewise.
25001         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25002         Likewise.
25003         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
25004         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
25005         Likewise.
25006         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
25007         Likewise.
25008         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
25009         Likewise.
25010         [__LINUX_KERNEL_VERSION >= 0x040300]
25011         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25012         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
25013         Likewise.
25014         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
25015         Likewise.
25016         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
25017         Likewise.
25018         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
25019         Likewise.
25020         [__LINUX_KERNEL_VERSION >= 0x040300]
25021         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
25022         [__LINUX_KERNEL_VERSION >= 0x040300]
25023         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25024         [__LINUX_KERNEL_VERSION >= 0x040300]
25025         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25026         [__LINUX_KERNEL_VERSION >= 0x040300]
25027         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25028         [__LINUX_KERNEL_VERSION >= 0x040300]
25029         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25030         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
25031         Likewise.
25032         [__LINUX_KERNEL_VERSION >= 0x040300]
25033         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
25034         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
25035         Likewise.
25036         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
25037         Likewise.
25038         [__LINUX_KERNEL_VERSION >= 0x040300]
25039         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
25040         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
25041         Likewise.
25042         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
25043         Likewise.
25044         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
25045         (__ASSUME_SOCKET_SYSCALL): Likewise.
25046         (__ASSUME_BIND_SYSCALL): Likewise.
25047         (__ASSUME_CONNECT_SYSCALL): Likewise.
25048         (__ASSUME_LISTEN_SYSCALL): Likewise.
25049         (__ASSUME_ACCEPT_SYSCALL): Likewise.
25050         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25051         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25052         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25053         (__ASSUME_SEND_SYSCALL): Likewise.
25054         (__ASSUME_SENDTO_SYSCALL): Likewise.
25055         (__ASSUME_RECV_SYSCALL): Likewise.
25056         (__ASSUME_RECVFROM_SYSCALL): Likewise.
25057         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
25058         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25059         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25060         (__ASSUME_SENDMSG_SYSCALL): Likewise.
25061         (__ASSUME_RECVMSG_SYSCALL): Likewise.
25062         * sysdeps/unix/sysv/linux/sh/kernel-features.h
25063         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
25064         Likewise.
25065         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
25066         Likewise.
25067         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
25068         Likewise.
25069         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
25070         Likewise.
25071         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
25072         Likewise.
25073         [__LINUX_KERNEL_VERSION >= 0x020625]
25074         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
25075         [__LINUX_KERNEL_VERSION >= 0x020625]
25076         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
25077         [__LINUX_KERNEL_VERSION >= 0x020625]
25078         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
25079         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
25080         Likewise.
25081         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
25082         Likewise.
25083         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
25084         Likewise.
25085         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
25086         Likewise.
25087         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
25088         Likewise.
25089         [__LINUX_KERNEL_VERSION >= 0x020625]
25090         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
25091         [__LINUX_KERNEL_VERSION >= 0x020625]
25092         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
25093         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
25094         Likewise.
25095         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
25096         Likewise.
25098 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25100         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
25101         record the current if the current ABI and CPU support the FP64
25102         extension.
25103         (has-modd-spreg): Define to record the current if the current ABI and
25104         CPU support 32-bit floating point values in odd FPU registers.
25105         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25106         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
25107         $(has-modd-spreg) equals yes.
25108         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
25109         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
25110         $(has-modd-spreg) equal yes.
25112 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
25114         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
25115         basename.
25117 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
25119         * benchtests/Makefile (bench-math): Move ffs and ffsll...
25120         (bench-string): ... here.
25121         (bench): Add bench-string.
25122         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
25123         to *-benchset to reflect what they are.
25124         (benchset): Adjust.
25126         * benchtests/sincos-inputs: Add inputs from sin-inputs and
25127         cos-inputs.
25129 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
25131         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
25132         __attribute__ ((__simd__)) for vector math function declarations.
25134 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25136         Fix typo in strncat, wcsncat manual entries
25137         * manual/string.texi (Copying and Concatenation): Fix typos in
25138         sample implementations of strncat and wcsncat, by having them use
25139         the old value of the destination length, not the new one.
25141 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
25143         [BZ #16961]
25144         [BZ #16962]
25145         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
25146         string on the stack for strtod.
25147         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
25148         a string on the stack for strtof.
25149         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
25150         constructing a string on the stack for strtold.
25151         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
25152         __strtold_nan to GLIBC_PRIVATE.
25153         * math/test-nan-overflow.c: New file.
25154         * math/test-nan-payload.c: Likewise.
25155         * math/Makefile (tests): Add test-nan-overflow and
25156         test-nan-payload.
25158 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
25160         Consistency about byte vs character in string.texi
25161         * manual/string.texi (String and Array Utilities):
25162         Distinguish more carefully among bytes, multibyte characters,
25163         and wide characters.  Use "byte" when talking about C 'char',
25164         to distinguish it more clearly from multibyte characters.
25165         Say "wide character" or "multibyte character" instead of
25166         "character", when a wide or multibyte character is intended.
25167         Similarly for "multibyte string" versus "string".
25168         Define these terms more carefully.
25170 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
25172         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
25173         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
25174         Likewise.
25175         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25176         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
25177         * sysdeps/sh/math_private.h: New file.
25178         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
25179         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
25180         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
25181         long double function name.
25182         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
25183         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
25184         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25185         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
25186         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
25188         Remove __finitel, __isinfl, and __isnanl.
25189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25190         Likewise.
25191         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25192         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25193         Remove __finitel.
25194         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25195         Likewise.
25196         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25198 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
25200         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
25201         installed libmvec_nonshared.a.
25203 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
25205         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
25206         (sysdep_routines): Likewise.
25207         (sysdep-rtld-routines): Likewise.
25208         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
25209         [$(subdir) = nptl](tests-static): test-get_hwcap-static
25210         * sysdeps/powerpc/Versions: Added new
25211         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
25212         * sysdeps/powerpc/hwcapinfo.c: New file.
25213         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
25214         and parse hwcap, hwcap2 and platform number information.
25215         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
25216         to store HWCAP+HWCAP2 and platform number.
25217         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
25218         for HWCAP+HWCAP2 and platform number in the TCB.
25219         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
25220         the HWCAP, HWCAP2 and platform number in the TCB.
25221         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
25222         (TLS_INIT_TP): Included calls to add the hwcap and
25223         at_platform values in the TCB in TP initialization.
25224         (TLS_DEFINE_INIT_TP): Likewise.
25225         (THREAD_GET_HWCAP): New macro.
25226         (THREAD_SET_HWCAP): Likewise.
25227         (THREAD_GET_AT_PLATFORM): Likewise.
25228         (THREAD_SET_AT_PLATFORM): Likewise.
25229         * sysdeps/powerpc/powerpc32/dl-machine.h:
25230         (dl_platform_init): New function that calls
25231         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
25232         powerpc32.
25233         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
25234         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
25235         this functionality, static linking case.
25236         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
25237         linking case.
25238         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
25239         __parse_hwcap_and_convert_at_platform for the static linking case.
25240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
25241         Included the new __parse_hwcap_and_convert_at_platform symbol in the
25242         ABI list for GLIBC 2.23.
25243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
25244         Likewise.
25245         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
25246         Likewise.
25248 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
25250         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
25251         * configure: Regenerate.
25252         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
25253         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
25255 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
25257         * iconvdata/ibm930.c: Add comment explaining encoding uses.
25258         * iconvdata/ibm933.c: Likewise.
25259         * iconvdata/ibm935.c: Likewise.
25260         * iconvdata/ibm937.c: Likewise.
25261         * iconvdata/ibm939.c: Likewise.
25263 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25265         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
25266         pthread_join.
25267         * nptl/tst-cancel21.c (tf): Likewise.
25269 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
25271         [BZ #19313]
25272         * bits/typesizes.h (__CPU_MASK_TYPE): New.
25273         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25274         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
25275         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
25276         Likewise.
25277         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
25278         Likewise.
25279         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
25280         Likewise.
25281         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
25282         Likewise.
25283         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
25284         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
25285         unsigned long int with __CPU_MASK_TYPE.
25287 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
25289         * sysdeps/aarch64/libm-test-ulps: Regenerated.
25291 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
25293         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
25294         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
25295         t512.x.
25296         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
25298 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
25300         [BZ #19214]
25301         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
25302         argument to return extended model.  Update family and model
25303         with extended family and model when family == 0x0f.
25304         (init_cpu_features): Updated.
25306 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25308         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
25309         signed off_t, so 32bit bigger than 2GiB values are fine actually.
25311         * sysdeps/mach/hurd/mmap64.c: New file.
25313 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
25315         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
25316         rights for its main user thread in NEWTASK.
25318 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
25320         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
25321         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
25323 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
25325         [BZ #14259]
25326         * Makeconfig: Rename localedir to complocaledir.
25327         Rename inst_localedir to inst_complocaledir.
25328         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
25329         * config.make.in: Use complocaledir and libc_cv_complocaledir.
25330         * configure.ac: Use libc_cv_complocaledir.
25331         * configure: Regenerate.
25332         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
25333         -DCOMPLOCALEDIR.
25334         * locale/findlocale.c: Use COMPLOCALEDIR.
25335         * locale/loadarchive.c: Likewise.
25336         * locale/programs/locale.c: Likewise.
25337         * locale/programs/localedef.c: Likewise.
25338         * locale/programs/locarchive.c: Likewise.
25339         * localedata/Makefile: Use inst_complocaledir.
25340         * sysdeps/gnu/configure: Regenerate.
25341         * sysdeps/hppa/configure: Regenerate.
25342         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
25343         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
25344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
25345         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
25346         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
25347         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
25348         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
25350 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
25352         [BZ #19058]
25353         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
25354         AS_NEEDED.
25355         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
25356         workaround.
25357         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
25358         libmvec-static-only-routines): Added new file.
25359         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
25361 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25363         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
25364         of interrupted RPC instead of restoring it.
25366         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
25367         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
25368         libc_hidden_def.
25369         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
25370         into initialized data instead of common. Define rtld_hidden_data_def.
25371         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
25372         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
25373         libc_hidden_def.
25374         (if_freenameindex): Add libc_hidden_weak.
25375         (if_nameindex): Add libc_hidden_weak.
25376         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
25377         __open64.
25378         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
25379         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
25380         * sysdeps/mach/nanosleep.c: Include <time.h>
25381         (__nanosleep): Rename to __libc_nanosleep.
25382         (__nanosleep): Add weak_alias.
25383         (nanosleep): Update alias.
25385 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
25387         * stdlib/strtod_nan.c: New file.
25388         * stdlib/strtod_nan_double.h: Likewise.
25389         * stdlib/strtod_nan_float.h: Likewise.
25390         * stdlib/strtod_nan_main.c: Likewise.
25391         * stdlib/strtod_nan_narrow.h: Likewise.
25392         * stdlib/strtod_nan_wide.h: Likewise.
25393         * stdlib/strtof_nan.c: Likewise.
25394         * stdlib/strtold_nan.c: Likewise.
25395         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
25396         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
25397         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
25398         * wcsmbs/wcstod_nan.c: Likewise.
25399         * wcsmbs/wcstof_nan.c: Likewise.
25400         * wcsmbs/wcstold_nan.c: Likewise.
25401         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
25402         strtold_nan.
25403         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
25404         wcstof_nan.
25405         * include/stdlib.h (__strtof_nan): Declare and use
25406         libc_hidden_proto.
25407         (__strtod_nan): Likewise.
25408         (__strtold_nan): Likewise.
25409         (__wcstof_nan): Likewise.
25410         (__wcstod_nan): Likewise.
25411         (__wcstold_nan): Likewise.
25412         * include/wchar.h (____wcstoull_l_internal): Declare.
25413         * stdlib/strtod_l.c: Do not include <ieee754.h>.
25414         (____strtoull_l_internal): Remove declaration.
25415         (STRTOF_NAN): Define macro.
25416         (SET_MANTISSA): Remove macro.
25417         (STRTOULL): Likewise.
25418         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
25419         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
25420         (STRTOF_NAN): Define macro.
25421         (SET_MANTISSA): Remove macro.
25422         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
25423         (SET_MANTISSA): Remove macro.
25424         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
25425         macro.
25426         (SET_MANTISSA): Remove macro.
25427         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
25428         macro.
25429         (SET_MANTISSA): Remove macro.
25430         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
25431         (SET_MANTISSA): Remove macro.
25432         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
25433         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
25434         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
25436         [BZ #19266]
25437         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
25438         upper case and lower case letters inside NAN(), not using TOLOWER.
25439         * stdlib/tst-strtod-nan-locale-main.c: New file.
25440         * stdlib/tst-strtod-nan-locale.c: Likewise.
25441         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
25442         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
25443         Depend on $(gen-locales).
25444         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
25445         * wcsmbs/tst-wcstod-nan-locale.c: New file.
25446         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
25447         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
25448         Depend on $(gen-locales).
25449         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
25451 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
25453         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
25455         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
25456         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
25457         __finitel, __isinfl, and __isnanl.
25458         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
25459         Likewise.
25460         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
25461         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
25462         __finitel.
25463         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25464         Likewise.
25465         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25467 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
25469         * malloc/memusage.c (me): Remove redundant getenv call.
25471 2015-10-24  Florian Weimer  <fweimer@redhat.com>
25473         [BZ #19143]
25474         [BZ #19164]
25475         * nptl/check-cpuset.h: Remove.
25476         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
25477         Remove CPU set size check.
25478         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
25479         Likewise.
25480         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
25481         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
25482         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
25483         (__pthread_setaffinity_new): Remove CPU set size check.
25484         * sysdeps/unix/sysv/linux/sched_setaffinity.c
25485         (__kernel_cpumask_size): Remove.
25486         (__sched_setaffinity_new): Remove CPU set size check.
25487         * manual/threads.texi (Default Thread Attributes): Remove stale
25488         reference to check_cpuset_attr, determine_cpumask_size in comment.
25489         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
25490         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
25491         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
25492         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
25493         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
25494         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
25495         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
25496         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
25497         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
25498         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
25499         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
25500         skeleton test file.
25501         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
25502         tst-affinity-pid.
25504 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25506         * scripts/update-abilist.sh: New file.
25507         * Makefile (+subdir_targets): Add subdir_update-all-abi.
25508         * Makerules (update-all-abi-%, update-all-abi)
25509         (subdir_update-all-abi): New targets.
25510         * elf/Makefile (update-all-abi): New target.
25512 2015-11-24  Florian Weimer  <fweimer@redhat.com>
25514         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
25515         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
25516         (__libc_lock_define_initialized): Use it.
25517         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
25518         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
25519         * malloc/malloc.c (main_arena): Likewise.
25520         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25521         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
25523 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
25525         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
25526         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
25527         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25528         (PTRACE_O_MASK): Update value.
25529         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
25530         New value in enum __ptrace_setoptions.
25531         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25532         (PTRACE_O_MASK): Update value.
25533         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
25534         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25535         (PTRACE_O_MASK): Update value.
25536         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
25537         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25538         (PTRACE_O_MASK): Update value.
25539         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
25540         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
25541         (PTRACE_O_MASK): Update value.
25542         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
25543         New value in enum __ptrace_setoptions.
25544         (PTRACE_O_MASK): Update value.
25545         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
25546         New value in enum __ptrace_setoptions.
25547         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
25548         (PTRACE_O_MASK): Update value.
25550         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
25551         New macro.
25552         (PACKET_AUXDATA): Likewise.
25553         (PACKET_ORIGDEV): Likewise.
25554         (PACKET_VERSION): Likewise.
25555         (PACKET_HDRLEN): Likewise.
25556         (PACKET_RESERVE): Likewise.
25557         (PACKET_TX_RING): Likewise.
25558         (PACKET_LOSS): Likewise.
25559         (PACKET_VNET_HDR): Likewise.
25560         (PACKET_TX_TIMESTAMP): Likewise.
25561         (PACKET_TIMESTAMP): Likewise.
25562         (PACKET_FANOUT): Likewise.
25563         (PACKET_TX_HAS_OFF): Likewise.
25564         (PACKET_QDISC_BYPASS): Likewise.
25565         (PACKET_ROLLOVER_STATS): Likewise.
25566         (PACKET_FANOUT_DATA): Likewise.
25567         (PACKET_MR_UNICAST): Likewise.
25569         [BZ #19242]
25570         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
25571         (TOUPPER): Likewise.
25572         * stdlib/tst-strtol-locale-main.c: New file.
25573         * stdlib/tst-strtol-locale.c: Likewise.
25574         * stdlib/Makefile (tests): Add tst-strtol-locale.
25575         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
25576         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
25577         Depend on $(gen-locales).
25578         * wcsmbs/tst-wcstol-locale.c: New file.
25579         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
25580         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
25581         tr_TR.ISO-8859-9.
25582         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
25583         Depend on $(gen-locales).
25585 2015-11-20  Roland McGrath  <roland@hack.frob.com>
25587         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
25588         __glibc_likely instead of __builtin_expect.  After falling back to
25589         dyncode_create in a non-ET_DYN case, use the allocate_code_data
25590         system interface to register the code pages as occupied.
25592 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
25594         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25595         [!ARM_MATH_PRIVATE_H].
25596         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
25597         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25598         [!HPPA_MATH_PRIVATE_H].
25599         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
25600         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
25601         to [!I386_MATH_PRIVATE_H].
25602         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
25603         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
25604         Change guard to [!M68K_MATH_PRIVATE_H].
25605         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
25606         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
25607         guard to [!MICROBLAZE_MATH_PRIVATE_H].
25608         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
25609         macro.
25610         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25611         [!MIPS_MATH_PRIVATE_H].
25612         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
25613         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25614         [!NIO2_MATH_PRIVATE_H].
25615         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
25616         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
25617         [!TILE_MATH_PRIVATE_H].
25618         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
25620         [BZ #15421]
25621         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
25622         initialize with 0 and define as weak alias of __signgam.
25623         * include/math.h [!_ISOMAC] (__signgam): Declare.
25624         * math/Makefile (libm-calls): Add w_lgamma_compat.
25625         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
25626         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
25627         test-signgam-ullong-init.
25628         (tests-static): Add test-signgam-uchar-static,
25629         test-signgam-uchar-init-static, test-signgam-uint-static,
25630         test-signgam-uint-init-static, test-signgam-ullong-static and
25631         test-signgam-ullong-init-static.
25632         (CFLAGS-test-signgam-uchar.c): New variable.
25633         (CFLAGS-test-signgam-uchar-init.c): Likewise.
25634         (CFLAGS-test-signgam-uchar-static.c): Likewise.
25635         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
25636         (CFLAGS-test-signgam-uint.c): Likewise.
25637         (CFLAGS-test-signgam-uint-init.c): Likewise.
25638         (CFLAGS-test-signgam-uint-static.c): Likewise.
25639         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
25640         (CFLAGS-test-signgam-ullong.c): Likewise.
25641         (CFLAGS-test-signgam-ullong-init.c): Likewise.
25642         (CFLAGS-test-signgam-ullong-static.c): Likewise.
25643         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
25644         * math/Versions (libm): Add GLIBC_2.23.
25645         * math/lgamma-compat.h: New file.
25646         * math/test-signgam-main.c: Likewise.
25647         * math/test-signgam-uchar-init-static.c: Likewise.
25648         * math/test-signgam-uchar-init.c: Likewise.
25649         * math/test-signgam-uchar-static.c: Likewise.
25650         * math/test-signgam-uchar.c: Likewise.
25651         * math/test-signgam-uint-init-static.c: Likewise.
25652         * math/test-signgam-uint-init.c: Likewise.
25653         * math/test-signgam-uint-static.c: Likewise.
25654         * math/test-signgam-uint.c: Likewise.
25655         * math/test-signgam-ullong-init-static.c: Likewise.
25656         * math/test-signgam-ullong-init.c: Likewise.
25657         * math/test-signgam-ullong-static.c: Likewise.
25658         * math/test-signgam-ullong.c: Likewise.
25659         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
25660         wrapper of w_lgamma_main.c.
25661         * math/w_lgamma_compat.c: New file.
25662         * math/w_lgamma_compatf.c: Likewise.
25663         * math/w_lgamma_compatl.c: Likewise.
25664         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
25665         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25666         defining compatibility symbols.
25667         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
25668         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
25669         wrapper of w_lgammaf_main.c.
25670         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
25671         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25672         defining compatibility symbols.
25673         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
25674         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
25675         wrapper of w_lgammal_main.c.
25676         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
25677         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
25678         defining compatibility symbols.
25679         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
25680         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
25681         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
25682         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
25683         <lgamma-compat.h>.
25684         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
25685         (__ieee754_gamma): Define as alias.
25686         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
25687         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
25688         <lgamma-compat.h>.
25689         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
25690         (__ieee754_gammaf): Define as alias.
25691         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
25692         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
25693         <lgamma-compat.h>.
25694         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
25695         (__ieee754_gammal): Define as alias.
25696         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
25697         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
25698         <math/w_lgamma_compat.c>.
25699         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
25700         Define as alias of __lgamma_compat and use in defining lgammal.
25701         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
25702         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
25703         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
25704         (USE_AS_COMPAT): New macro.
25705         (LGAMMA_OLD_VER): Undefine and redefine.
25706         (lgammal): Do not define here.
25707         (gammal): Only define here if [GAMMA_ALIAS].
25708         * conform/linknamespace.pl (@whitelist): Remove signgam.
25709         * sysdeps/nacl/libm.abilist: Update.
25710         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
25711         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
25712         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
25713         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
25714         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
25715         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
25716         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
25717         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
25718         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
25719         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
25720         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
25721         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
25722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
25723         Likewise.
25724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
25725         Likewise.
25726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
25727         Likewise.
25728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
25729         Likewise.
25730         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
25731         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
25732         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
25733         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
25734         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
25735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
25736         Likewise.
25737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
25738         Likewise.
25739         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
25740         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
25741         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
25743 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25745         [BZ #16364]
25746         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
25747         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
25749 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
25751         * sysdeps/s390/fpu/bits/mathinline.h:
25752         Use __asm__ [__volatile__] instead of asm [volatile].
25753         * sysdeps/s390/abort-instr.h: Likewise.
25754         * sysdeps/s390/atomic-machine.h: Likewise.
25755         * sysdeps/s390/bits/string.h: Likewise.
25756         * sysdeps/s390/dl-tls.h: Likewise.
25757         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
25758         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
25759         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
25760         * sysdeps/s390/fpu/fesetround.c: Likewise.
25761         * sysdeps/s390/fpu/fpu_control.h: Likewise.
25762         * sysdeps/s390/fpu/s_fma.c: Likewise.
25763         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
25764         * sysdeps/s390/memusage.h: Likewise.
25765         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
25766         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
25767         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
25768         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
25769         * sysdeps/s390/nptl/tls.h: Likewise.
25770         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
25771         * sysdeps/s390/s390-32/backtrace.c: Likewise.
25772         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
25773         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
25774         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
25775         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
25776         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
25777         * sysdeps/s390/s390-64/backtrace.c: Likewise.
25778         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
25779         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
25780         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
25781         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
25782         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
25783         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
25784         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
25785         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
25786         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
25787         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
25788         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
25789         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
25790         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
25791         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
25792         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
25794 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25795             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25797         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25798         Add lwarx hint, and use macro for acquire instruction.
25799         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25800         Likewise.
25801         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
25802         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
25803         update to use new atomic macros.
25805 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25807         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
25808         (__lll_trylock_elision): Fix setting of adapt_count.
25809         * sysdeps/unix/sysv/linux/powerpc/htm.h
25810         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
25811         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
25812         (_ABORT_SYSCALL): Renumber, and clarify definition.
25813         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
25815 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
25817         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
25818         after system headers to prevent MIN/MAX redefinition.  Define
25819         HAVE_ALLOCA to preserve builtin alloca usage.
25821 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
25823         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
25824         static and don't set or restore rounding.
25825         (__cos)[IN_SINCOS]: Likewise.
25826         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
25827         (__sincos): Set and restore rounding mode.  Remove check for infinite
25828         or NaN input.
25830         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
25832         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
25833         as used.
25835 2015-11-16  Florian Weimer  <fweimer@redhat.com>
25837         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
25839 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
25841         * config.make.in (have-glob-dat-reloc): New.
25842         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
25843         target supports GLOB_DAT relocaton. AC_SUBST.
25844         * configure: Regenerated.
25845         * elf/Makefile (tests): Add tst-prelink.
25846         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25847         (tst-prelink-ENV): New.
25848         ($(objpfx)tst-prelink-conflict.out): Likewise.
25849         ($(objpfx)tst-prelink-cmp.out): Likewise.
25850         * sysdeps/x86/tst-prelink.c: Moved to ...
25851         * elf/tst-prelink.c: Here.
25852         * sysdeps/x86/tst-prelink.exp: Moved to ...
25853         * elf/tst-prelink.exp: Here.
25854         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
25855         (tst-prelink-ENV): Removed.
25856         ($(objpfx)tst-prelink-conflict.out): Likewise.
25857         ($(objpfx)tst-prelink-cmp.out): Likewise.
25858         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
25860 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
25862         [BZ #14551]
25863         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
25864         (__mpn_construct_long_double): If high part overflows to infinity,
25865         set errno and recompute overflowed result of the correct sign.
25866         * sysdeps/ieee754/ldbl-128ibm/Makefile
25867         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
25868         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
25869         $(libm).
25870         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
25872 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
25874         [BZ #15479]
25875         [BZ #19238]
25876         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
25877         floating-point state after first operation on input.  Restore full
25878         state rather than just rounding mode.
25879         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
25880         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
25881         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
25883         [BZ #19235]
25884         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
25885         add 0.5 to integer arguments.
25886         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
25887         Likewise.
25888         (.LC2): New object.
25890 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
25892         * scripts/pylintrc (reports): Set to no.
25894 2015-11-10  Roland McGrath  <roland@hack.frob.com>
25896         * elf/dl-load.c (open_verify): Take new argument FD.
25897         Skip __open call if passed FD is not -1.
25898         (_dl_map_object, open_path): Update callers.
25899         * elf/dl-sysdep-open.h: New file.
25900         * elf/dl-load.c: Include it.
25901         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
25902         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
25903         * sysdeps/nacl/dl-sysdep-open.h: New file.
25904         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
25905         from libc to rtld.
25907 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25909         [BZ #19228]
25910         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
25911         and restore full floating-point state.
25912         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
25913         Likewise.
25914         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
25915         Likewise.
25916         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
25917         Likewise.
25918         * math/test-nearbyint-except-2.c: New file.
25919         * math/Makefile (tests): Add test-nearbyint-except-2.
25921 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
25923         [BZ #19178]
25924         * sysdeps/x86/Makefile (tests): Add tst-prelink.
25925         (tst-prelink-ENV): New.
25926         ($(objpfx)tst-prelink-conflict.out): Likewise.
25927         ($(objpfx)tst-prelink-cmp.out): Likewise.
25928         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
25929         * sysdeps/x86/tst-prelink.c: New file.
25930         * sysdeps/x86/tst-prelink.exp: Likewise.
25932 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
25934         * math/auto-libm-test-in: Add another test of pow.
25935         * math/auto-libm-test-out: Regenerated.
25936         * math/libm-test.inc (pow_test_data): Add another test.
25938 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
25940         [BZ #19219]
25941         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
25942         weak_alias to nearbyintl.
25944 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25946         * sysdeps/aarch64/bits/string.h: New file.
25947         (_STRING_ARCH_unaligned): Define.
25949 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
25951         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
25952         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
25953         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
25954         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
25955         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
25957 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
25959         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
25960         for original name of the DSO.  Add it to the name list of the DSO
25961         if it is actually given.
25962         (_dl_map_object): Keep track of whether an audit module rewrote
25963         the file name.  If yes, pass the original name to
25964         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
25965         debugging is enabled, log the change of the file name.
25966         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
25967         _dl_map_object_from_fd.
25968         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
25969         * elf/tst-audit11.c: New file
25970         * elf/tst-auditmod11.c: New file.
25971         * elf/tst-audit11mod1.c: New file.
25972         * elf/tst-audit11mod2.c: New file.
25973         * elf/tst-audit11mod2.map: New file.
25974         * elf/tst-audit12.c: New file
25975         * elf/tst-auditmod12.c: New file.
25976         * elf/tst-audit12mod1.c: New file.
25977         * elf/tst-audit12mod2.c: New file.
25978         * elf/tst-audit12mod2.map: New file.
25979         * elf/tst-audit12mod3.c: New file.
25981 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25983         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
25984         Don't create weak aliases,
25985         because versioned symbols are created later.
25986         * sysdeps/s390/s390-32/setjmp.S
25987         (setjmp, _setjmp): Remove weak and rename to an unique name
25988         in SHARED case due to existing versioned symbols.
25989         * sysdeps/s390/s390-64/setjmp.S: Likewise.
25990         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
25991         (getcontext): Create weak alias only in non SHARED case.
25992         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
25994 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
25996         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
25997         (__ASSUME_*_SYSCALL) Define new macros.
25998         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
25999         Remove socketcall syscalls.
26000         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
26001         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
26002         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
26003         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
26004         * sysdeps/unix/sysv/linux/send.c (__libc_send):
26005         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
26007 2015-11-09  Florian Weimer  <fweimer@redhat.com>
26009         [BZ #12926]
26010         Terminate process on invalid netlink response.
26011         * sysdeps/unix/sysv/linux/netlinkaccess.h
26012         (__netlink_assert_response): Declare.
26013         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
26014         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
26015         (sysdep_routines): Add netlink_assert_response.
26016         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
26017         __netlink_assert_response.
26018         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
26019         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
26020         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
26021         __netlink_assert_response.
26023 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
26025         [BZ #19178]
26026         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
26027         (RTYPE_CLASS_PLT): Likewise.
26028         (RTYPE_CLASS_COPY): Likewise.
26029         (RTYPE_CLASS_TLS): Likewise.
26030         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
26031         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
26032         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
26033         DL_DEBUG_PRELINK.
26035 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
26037         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
26038         calls with argument -0.5.
26039         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
26041         * configure.ac (libc_cv_z_nodelete): Remove configure test.
26042         (libc_cv_z_nodlopen): Likewise.
26043         (libc_cv_z_initfirst): Likewise.
26044         * configure: Regenerated.
26046 2015-11-06  Florian Weimer  <fweimer@redhat.com>
26048         Simplify abilist format to be line-based.
26049         * scripts/abilist.awk: Collect descriptors in the descs variable.
26050         (emit): Write descs variable and sort it
26051         externally, with sort.
26052         * sysdeps/**/*.abilist: Convert to new format.
26054 2015-11-06  Mark Wielaard  <mjw@redhat.com>
26056         [BZ #11460]
26057         * io/Makefile (routines): Add fts64.
26058         (tests): Add tst-fts and tst-fts-lfs.
26059         (CFLAGS-fts64.c): New.
26060         * io/Versions (GLIBC_2.23): New.
26061         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
26062         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
26063         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
26064         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
26065         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
26066         (FTSENT64): Likewise.
26067         (fts64_children): Likewise.
26068         (fts64_close): Likewise.
26069         (fts64_open): Likewise.
26070         (fts64_read): Likewise.
26071         (fts64_set): Likewise.
26072         * io/fts64.c: New file.
26073         * io/tst-fts.c: New test.
26074         * io/tst-fts-lfs.c: Likewise.
26075         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
26076         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
26077         fts64_set.
26078         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
26079         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
26080         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
26081         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
26082         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
26083         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
26084         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
26085         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
26086         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
26087         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
26088         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
26089         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
26090         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
26091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
26092         Likewise.
26093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
26094         Likewise.
26095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
26096         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
26097         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
26098         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
26099         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
26100         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
26101         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
26102         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
26103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
26104         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
26105         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
26106         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
26107         * sysdeps/wordsize-64/fts.c: New file.
26108         * sysdeps/wordsize-64/fts64.c: Likewise.
26109         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
26110         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
26111         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
26112         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
26114 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26116         * math/libm-test.inc (NON_FINITE): New macro.
26117         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
26118         * math/gen-libm-test.pl (show_exceptions): Add argument
26119         $non_finite.
26120         (parse_args): Update call to show_exceptions.
26121         * math/test-math-finite.h: New file.
26122         * math/test-math-no-finite.h: Likewise.
26123         * math/test-double-finite.c: Likewise.
26124         * math/test-float-finite.c: Likewise.
26125         * math/test-ldouble-finite.c: Likewise.
26126         * math/test-double.c: Include "test-math-no-finite.h".
26127         * math/test-float.c: Include "test-math-no-finite.h".
26128         * math/test-ldouble.c: Include "test-math-no-finite.h".
26129         * math/test-math-inline.h (TEST_FINITE): New macro.
26130         * math/test-math-vector.h (TEST_FINITE): Likewise.
26131         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
26132         (libm-tests): Add test-float-finite and test-double-finite.
26133         ($(objpfx)test-float-finite.o): New dependency on
26134         $(objpfx)libm-test.stmp.
26135         ($(objpfx)test-double-finite.o): Likewise.
26136         ($(objpfx)test-ldouble-finite.o): Likewise.
26137         (libm-test-no-inline-cflags): New variable.
26138         (libm-test-finite-cflags): Likewise.
26139         (CFLAGS-test-float-finite.c): Likewise.
26140         (CFLAGS-test-double-finite.c): Likewise.
26141         (CFLAGS-test-ldouble-finite.c): Likewise.
26142         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
26143         (CFLAGS-test-double.c): Likewise.
26144         (CFLAGS-test-ldouble.c): Likewise.
26146 2015-11-05  Roland McGrath  <roland@hack.frob.com>
26148         * io/fcntl.c (__fcntl): Add ... to prototype.
26149         * misc/ioctl.c (__ioctl): Likewise.
26150         * misc/syscall.c (syscall): Likewise.
26152 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
26154         * scripts/list-fixed-bugs.py: New file.
26156         [BZ #19213]
26157         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
26158         returned for argument 1.
26159         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
26160         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
26161         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
26162         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
26163         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
26164         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
26166         [BZ #19211]
26167         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
26168         __USE_XOPEN], not if [!__USE_ISOC99].
26169         (lgammaf): Likewise.
26170         (lgammal): Likewise.
26171         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
26172         (gammaf): Likewise.
26173         (gammal): Likewise.
26174         * math/test-signgam-finite-c11.c: New file.
26175         * math/test-signgam-finite-c99.c: Likewise.
26176         * math/test-signgam-finite.c: Likewise.
26177         * math/Makefile (tests): Add test-signgam-finite,
26178         test-signgam-finite-c99 and test-signgam-finite-c11.
26179         (CFLAGS-test-signgam-finite.c): New variable.
26180         (CFLAGS-test-signgam-finite-c99.c): Likewise.
26181         (CFLAGS-test-signgam-finite-c11.c): Likewise.
26183         [BZ #19212]
26184         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
26185         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
26186         500].
26187         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
26188         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
26189         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
26190         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
26191         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
26192         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
26193         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
26194         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
26195         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
26196         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
26198         [BZ #19209]
26199         * math/bits/math-finite.h (ldexp): Remove declaration.
26200         (ldexpf): Likewise.
26201         (ldexpl): Likewise.
26203         [BZ #19205]
26204         * math/bits/math-finite.h (acosf): Condition declaration on
26205         [__USE_ISOC99].
26206         (acosl): Likewise.
26207         (acoshf): Likewise.
26208         (acoshl): Likewise.
26209         (asinf): Likewise.
26210         (asinl): Likewise.
26211         (atan2f): Likewise.
26212         (atan2l): Likewise.
26213         (atanhf): Likewise.
26214         (atanhl): Likewise.
26215         (coshf): Likewise.
26216         (coshl): Likewise.
26217         (expf): Likewise.
26218         (expl): Likewise.
26219         (fmodf): Likewise.
26220         (fmodl): Likewise.
26221         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
26222         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
26223         (j0l): Likewise.
26224         (y0f): Likewise.
26225         (y0l): Likewise.
26226         (j1f): Likewise.
26227         (j1l): Likewise.
26228         (y1f): Likewise.
26229         (y1l): Likewise.
26230         (jnf): Likewise.
26231         (jnl): Likewise.
26232         (ynf): Likewise.
26233         (ynl): Likewise.
26234         (lgammaf_r): Condition declaration on [__USE_ISOC99].
26235         (lgammal_r): Likewise.
26236         (__lgamma_r_finite): New declaration.
26237         (__lgammaf_r_finite): Likewise.
26238         (__lgammal_r_finite): Likewise.
26239         (lgamma): Use __lgamma_r_finite.
26240         (lgammaf): Condition definition on [__USE_ISOC99].  Use
26241         __lgammaf_r_finite.
26242         (lgammal): Condition definition on [__USE_ISOC99].  Use
26243         __lgammal_r_finite.
26244         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
26245         __lgamma_r_finite.
26246         (gammaf): Condition definition on [__USE_ISOC99].  Use
26247         __lgammaf_r_finite.
26248         (gammal): Condition definition on [__USE_ISOC99].  Use
26249         __lgammal_r_finite.
26250         (logf): Condition declaration on [__USE_ISOC99].
26251         (logl): Likewise.
26252         (log10f): Likewise.
26253         (log10l): Likewise.
26254         (ldexpf): Likewise.
26255         (ldexpl): Likewise.
26256         (powf): Likewise.
26257         (powl): Likewise.
26258         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
26259         __USE_ISOC99].
26260         (remainderf): Condition declaration on [__USE_ISOC99].
26261         (remainderl): Likewise.
26262         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
26263         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
26264         (scalbl): Likewise.
26265         (sinhf): Condition declaration on [__USE_ISOC99].
26266         (sinhl): Likewise.
26267         (sqrtf): Likewise.
26268         (sqrtl): Likewise.
26270 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26272         * sysdeps/arm/atomic-machine.h
26273         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26274         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26275         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
26276         Remove conditional code.
26277         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
26278         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
26279         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
26280         Change conditional to [__ASSEMBLER__].
26281         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26282         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
26283         [!__ASSEMBLER__].
26284         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
26285         code.
26286         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
26287         conditional macro definitions.
26288         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
26289         (__arch_compare_and_exchange_val_16_acq): Likewise.
26290         (__arch_compare_and_exchange_val_32_acq): Likewise.
26291         (atomic_exchange_and_add): Likewise.
26292         (atomic_add): Likewise.
26293         (atomic_add_negative): Likewise.
26294         (atomic_add_zero): Likewise.
26295         (atomic_bit_set): Likewise.
26296         (atomic_bit_test_set): Likewise.
26297         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
26298         code unconditional.
26299         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26301         * math/test-math-errno.h: New file.
26302         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
26303         empty.
26304         (TEST_ERRNO): New macro.
26305         (TEST_EXCEPTIONS): Likewise.
26306         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
26307         (TEST_EXCEPTIONS): Likewise.
26308         * math/test-math-vector.h (TEST_ERRNO): Likewise.
26309         * math/test-double.c: Include "test-math-errno.h".
26310         * math/test-float.c: Likewise.
26311         * math/test-ldouble.c: Likewise.
26312         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
26313         code unconditional.
26314         (test_exceptions): Only run code if TEST_EXCEPTIONS.
26315         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
26316         unconditional.
26317         (test_errno): Only run code if TEST_ERRNO.
26318         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
26320 2015-11-04  Florian Weimer  <fweimer@redhat.com>
26322         * nptl/tst-once5.cc: Remove attribution.
26324 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
26326         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
26327         sqrt, tan, tanh, y0, y1 and yn.
26328         * math/auto-libm-test-out: Regenerated.
26329         * math/libm-test.inc (scalb_test_data): Add more tests.
26330         (scalbn_test_data): Likewise.
26331         (scalbln_test_data): Likewise.
26332         (signbit_test_data): Likewise.
26333         (sin_test_data): Likewise.
26334         (sincos_test_data): Likewise.
26335         (sinh_test_data): Likewise.
26336         (sqrt_test_data): Likewise.
26337         (tan_test_data): Likewise.
26338         (tanh_test_data): Likewise.
26339         (tgamma_test_data): Likewise.
26340         (y0_test_data): Likewise.
26341         (y1_test_data): Likewise.
26342         (yn_test_data): Likewise.
26343         (significand_test_data): Likewise.
26344         * sysdeps/i386/fpu/libm-test-ulps: Update.
26346 2015-11-03  David Kastrup  <dak@gnu.org>
26348         [BZ #18604]
26349         * assert/assert.h (assert): Don't macro-expand failed assertion
26350         expression in error message.
26351         * malloc/malloc.c (assert): Likewise.
26353 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
26355         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
26356         test.
26357         * configure: Regenerated.
26359 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
26361         * math/libm-test.inc (modf_test_data): Add more tests.
26362         (nearbyint_test_data): Likewise.
26363         (nextafter_test_data): Likewise.
26364         (nexttoward_test_data): Likewise.
26365         (pow_test_data): Likewise.
26366         (remainder_test_data): Likewise.
26367         (remquo_test_data): Likewise.
26368         (rint_test_data): Likewise.
26370         [BZ #19201]
26371         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
26372         Check for zero remainder in case of large exponents and ensure
26373         correct sign of result in that case.
26374         * math/libm-test.inc (remainder_test_data): Add more tests.
26376         [BZ #6799]
26377         * math/s_nextafter.c: Include <errno.h>.
26378         (__nextafter): Set errno on overflow and underflow.
26379         * math/s_nexttowardf.c: Include <errno.h>.
26380         (__nexttowardf): Set errno on overflow and underflow.
26381         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
26382         (__nextafterl): Set errno on overflow and underflow.
26383         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
26384         (__nexttoward): Set errno on overflow and underflow.
26385         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
26386         (__nexttowardf): Set errno on overflow and underflow.
26387         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
26388         (__nextafterf): Set errno on overflow and underflow.
26389         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
26390         (__nextafterl): Set errno on overflow and underflow.
26391         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
26392         (__nexttoward): Set errno on overflow and underflow.
26393         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
26394         (__nexttowardf): Set errno on overflow and underflow.
26395         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
26396         (__nextafterl): Set errno on overflow and underflow.
26397         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
26398         (__nexttoward): Set errno on overflow and underflow.
26399         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
26400         (__nexttowardf): Set errno on overflow and underflow.
26401         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
26402         (__nexttoward): Set errno on overflow and underflow.
26403         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
26404         (__nexttowardf): Set errno on overflow and underflow.
26405         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
26406         (__nldbl_nexttowardf): Set errno on overflow and underflow.
26407         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
26408         (__nextafterl): Set errno on overflow and underflow.
26409         * math/libm-test.inc (nextafter_test_data): Do not allow errno
26410         setting to be missing on overflow.  Add more tests.
26411         (nexttoward_test_data): Likewise.
26413         * configure.ac (libc_cv_initfini_array): Remove configure test.
26414         * configure: Regenerated.
26416 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
26418         [BZ #19189]
26419         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
26420         non-finite argument handle arguments with negative sign.
26422         * math/libm-test.inc (j0_test_data): Do not test sign of zero
26423         result from infinite argument.
26424         (j1_test_data): Likewise.
26425         (jn_test_data): Likewise.
26426         (y0_test_data): Likewise.
26427         (y1_test_data): Likewise.
26428         (yn_test_data): Likewise.
26430         [BZ #16171]
26431         * math/w_remainder.c (drem): Define as weak alias of __remainder.
26432         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
26433         * math/w_remainderf.c (dremf): Define as weak alias of
26434         __remainderf.
26435         * math/w_remainderl.c (dreml): Define as weak alias of
26436         __remainderl.
26437         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
26438         __remainder.
26439         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
26440         __remainderf.
26441         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
26442         __remainderl.
26443         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
26444         weak alias of remainderl.
26445         * sysdeps/ieee754/ldbl-opt/w_remainder.c
26446         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
26447         alias of __remainder.
26448         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
26449         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
26450         strong alias of __remainderl.
26451         (dreml): Use long_double_symbol.
26452         * math/Makefile (libm-calls): Remove w_drem.
26453         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
26454         (CFLAGS-nldbl-drem.c): Remove variable.
26455         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
26456         * math/w_drem.c: Remove file.
26457         * math/w_dremf.c: Likewise.
26458         * math/w_dreml.c: Likewise.
26459         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
26460         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
26461         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
26463         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
26464         * sysdeps/i386/configure: Regenerated.
26465         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
26466         * sysdeps/x86_64/configure: Regenerated.
26468         * configure.ac (libc_cv_asm_protected_directive): Remove configure
26469         test.
26470         (libc_cv_visibility_attribute): Likewise.
26471         (libc_cv_protected_data): Test unconditionally.
26472         (libc_cv_broken_visibility_attribute): Remove configure test.
26473         (libc_cv_have_sdata_section): Test unconditionally.
26474         * configure: Regenerated.
26476         * include/libc-internal.h (libc_max_align_t): Remove typedef.
26477         * include/scratch_buffer.h: Include <stddef.h> instead of
26478         <libc-internal.h>.
26479         (struct scratch_buffer): Use max_align_t instead of
26480         libc_max_align_t.
26482 2015-10-29  Florian Weimer  <fweimer@redhat.com>
26484         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
26485         instead of extend_alloca.  Change control flow to avoid a goto.
26486         Remove assert which is trivially always true.
26488 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26490         [BZ #16068]
26491         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
26492         (FE_ALL_EXCEPT_X86): New macro.
26493         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26494         FE_ALL_EXCEPT.  Ensure precision control is included in
26495         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26496         handle "denormal operand exception" and clear FZ and DAZ bits.
26497         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
26498         (FE_ALL_EXCEPT_X86): New macro.
26499         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
26500         FE_ALL_EXCEPT.  Ensure precision control is included in
26501         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
26502         handle "denormal operand exception" and clear FZ and DAZ bits.
26503         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
26504         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
26505         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26506         test-fenv-x87 and test-fenv-sse-2.
26507         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
26509         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
26510         * math/test-double.h (BUILD_COMPLEX): New macro.
26511         * math/test-float.h (BUILD_COMPLEX): Likewise.
26512         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
26514         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
26515         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
26516         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
26517         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
26518         instead of DBL_DENORM_MIN in comment.
26519         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
26520         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26521         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
26522         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
26523         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
26524         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
26526 2015-10-28  Florian Weimer  <fweimer@redhat.com>
26528         [BZ #19048]
26529         * malloc/malloc.c (struct malloc_state): Update comment.  Add
26530         attached_threads member.
26531         (main_arena): Initialize attached_threads.
26532         * malloc/arena.c (list_lock): Update comment.
26533         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
26534         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
26535         (deattach_arena): New function.
26536         (_int_new_arena): Initialize arena reference count and deattach
26537         replaced arena.
26538         (get_free_list, reused_arena): Update reference count and deattach
26539         replaced arena.
26540         (arena_thread_freeres): Update arena reference count and only put
26541         unreferenced arenas on the free list.
26543 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26545         [BZ #19181]
26546         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
26547         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
26548         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
26549         * math/test-fenv-clear-main.c: New file.
26550         * math/test-fenv-clear.c: Likewise.
26551         * math/Makefile (tests): Add test-fenv-clear.
26552         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
26553         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
26554         test-fenv-clear-sse.
26555         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
26557         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
26558         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
26559         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
26561 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26563         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
26564         static libc.
26566 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
26568         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
26569         test.
26570         * sysdeps/i386/configure: Regenerated.
26571         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
26572         test.
26573         * sysdeps/x86_64/configure: Regenerated.
26574         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
26575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26576         memset-avx2 unconditionally instead of conditionally on
26577         [$(config-cflags-avx2) = yes].
26578         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
26579         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
26580         unconditional.
26581         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
26582         * sysdeps/x86_64/multiarch/memset_chk.S
26583         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
26584         to [IS_IN (libc) && SHARED].
26586 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26588         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
26589         configure test.
26590         * sysdeps/arm/configure: Regenerated.
26591         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
26592         Define variable if not already defined.
26594         [BZ #17404]
26595         * sysdeps/mips/atomic-machine.h
26596         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
26597         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
26598         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
26600         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
26601         unconditional.
26602         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
26603         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26604         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
26605         unconditional.
26606         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26607         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
26608         unconditional.
26609         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26610         * stdlib/setenv.c
26611         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
26612         code unconditional.
26613         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
26614         Remove conditional code.
26615         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
26616         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
26617         unconditional.
26618         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26619         code.
26620         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
26621         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
26622         unconditional.
26623         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26624         code.
26625         * sysdeps/ieee754/ldbl-128/k_tanl.c
26626         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26627         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26628         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
26629         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26630         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26631         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
26632         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
26633         unconditional.
26634         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
26635         code.
26636         * sysdeps/ieee754/ldbl-96/k_tanl.c
26637         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
26638         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
26640         * nptl/tst-initializers1-c11.c: New file.
26641         * nptl/tst-initializers1-gnu11.c: Likewise.
26642         * nptl/Makefile (tests): Add these new tests.
26643         (CFLAGS-tst-initializers1-c11.c): New variable.
26644         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
26646         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
26647         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
26648         instead of -std=gnu99.
26649         * configure.ac (systemtap): Test with -std=gnu11 instead of
26650         -std=gnu99.
26651         * configure: Regenerated.
26652         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
26653         in compilation command in comment.
26655         * sysdeps/nptl/configure.ac: Remove file.
26656         * sysdeps/nptl/configure: Remove generated file.
26657         * configure.ac (libc_cv_forced_unwind): Do not substitute.
26658         * configure: Regenerated.
26659         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
26660         * config.make.in (have-forced-unwind): Remove variable.
26661         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26662         unconditional.
26663         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
26664         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
26665         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
26666         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
26667         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
26668         unconditional.
26670 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26672         [BZ #19174]
26673         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
26674         .skip_lock_out_of_tbegin_retries.
26675         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26676         (__lll_lock_elision): Likewise, and respect a value of
26677         try_tbegin <= 0.
26679 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
26681         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
26682         statement.
26684 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26686         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
26687         variable.
26688         (test-xfail-ISO11/stdalign.h/conform): Likewise.
26689         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
26691         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
26692         of -std=c1x -D_ISOC11_SOURCE.
26694         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
26695         * configure: Regenerated.
26696         * manual/install.texi (Tools for Compilation): Document
26697         requirement for GCC 4.7 or later.
26698         * INSTALL: Regenerated.
26700 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
26702         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
26703         on CNT to a conditional jump to 'puntdata'.
26705 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
26707         * configure.ac (libc_cv_gcc___thread): Remove configure test.
26708         (libc_cv_gcc_tls_model_attr): Likewise.
26709         * configure: Regenerated.
26711         * configure.ac (libc_cv_need_minus_P): Remove configure test.
26712         * configure: Regenerated.
26713         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
26715 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
26717         * configure.ac (old_glibc_headers): Remove configure test.
26718         * configure: Regenerated.
26719         * config.make.in (old-glibc-headers): Remove variable.
26720         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
26721         (install): Remove dependency on remove-old-headers.
26722         (headers2_0): Remove variable.
26723         (remove-old-headers): Remove rule.
26725         * configure.ac (libc_cv_dot_text): Remove configure test.
26726         (libc_cv_asm_set_directive): Use .text instead of
26727         ${libc_cv_dot_text} in configure test.
26728         * configure: Regenerated.
26730 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26732         [BZ #19168]
26733         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26735 2015-10-26  Florian Weimer  <fweimer@redhat.com>
26737         * configure.ac (CXX): Clear the variable if the C++ toolchain does
26738         not support static linking.
26739         * configure: Regenerate.
26741 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
26743         * math/libm-test.inc (check_float_internal): Do not special-case
26744         errors up to 0.5 ulp.
26746         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
26747         log2.
26748         * math/auto-libm-test-out: Regenerated.
26749         * math/libm-test.inc (MAX_EXP): New macro.
26750         (ilogb_test_data): Add more tests.
26751         (isfinite_test_data): Likewise.
26752         (isgreater_test_data): Likewise.
26753         (isgreaterequal_test_data): Likewise.
26754         (isinf_test_data): Likewise.
26755         (isless_test_data): Likewise.
26756         (islessequal_test_data): Likewise.
26757         (islessgreater_test_data): Likewise.
26758         (isnan_test_data): Likewise.
26759         (isnormal_test_data): Likewise.
26760         (issignaling_test_data): Likewise.
26761         (isunordered_test_data): Likewise.
26762         (j0_test_data): Likewise.
26763         (j1_test_data): Likewise.
26764         (jn_test_data): Likewise.
26765         (lgamma_test_data): Likewise.
26766         (log_test_data): Likewise.
26767         (log10_test_data): Likewise.
26768         (log1p_test_data): Likewise.
26769         (log2_test_data): Likewise.
26770         (logb_test_data): Likewise.
26771         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26773         [BZ #18611]
26774         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
26775         avoid excess range and precision on underflow.
26776         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
26777         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
26778         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
26779         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
26780         underflow.
26781         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
26782         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
26783         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
26784         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
26785         * math/auto-libm-test-in: Do not allow missing errno setting for
26786         tests of j1 and jn.
26787         * math/auto-libm-test-out: Regenerated.
26789 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
26791         [BZ #15491]
26792         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
26793         floating-point environment instead of clearing all exceptions.
26794         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
26795         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
26796         merging in "invalid" exceptions from frndint.
26797         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
26798         * math/test-nearbyint-except.c: New file.
26799         * math/Makefile (tests): Add test-nearbyint-except.
26801 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
26803         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
26805         * sysdeps/tile/libm-test-ulps: Regenerated.
26807 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
26810         (__NR_sync_file_range2): Assume it is always defined.
26811         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26812         (__NR_sync_file_range): Assume it is always defined.
26814 2015-10-22  Andreas Schwab  <schwab@suse.de>
26816         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26817         INTERNAL_SYSCALL_ERRNO.
26818         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
26819         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26820         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26821         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26822         Likewise.
26823         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26825 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26827         * io/tst-fcntl.c (fd): New static variable.
26828         (do_prepare): Open temporary file here....
26829         (do_test): ...not here.
26831         * io/ftwtest-sh: Also trap on exit to remove temporary files.
26833 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26835         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
26836         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26837         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26838         Moved before "#ifdef __ASSEMBLER__".
26840 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26842         [BZ #19156]
26843         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
26844         arguments very close to 0.
26846 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
26848         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
26849         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
26851 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
26853         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
26854         New.  Defined for GCC 5 and above when not compiling for
26855         profiling.
26856         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
26858         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26859         Renamed to ...
26860         (CFLAGS-epoll_pwait.o): This.
26861         (CFLAGS-mmap.c): Renamed to ...
26862         (CFLAGS-mmap.o): This.
26863         (CFLAGS-mmap64.c): Renamed to ...
26864         (CFLAGS-mmap64.o): This.
26865         (CFLAGS-epoll_pwait.os): New.
26866         (CFLAGS-mmap.os): Likewise.
26867         (CFLAGS-mmap64.os): Likewise.
26868         (CFLAGS-semtimedop.os): Likewise.
26869         (CFLAGS-semtimedop.c): Renamed to ...
26870         (CFLAGS-semtimedop.o): This.
26872 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
26874         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
26875         warning message.
26877 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
26879         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
26880         * Makefile ($(objpfx)c++-types-check.out): Filter out
26881         $(+gccwarn-c) instead of -Wstrict-prototypes.
26883         * io/fts.c (fts_open): Convert to prototype-style function
26884         definition.
26885         * malloc/mcheck.c (mcheck): Likewise.
26886         (mcheck_pedantic): Likewise.
26887         * posix/regexec.c (re_search_2_stub): Likewise.  Use
26888         internal_function.
26889         (re_search_internal): Likewise.
26890         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
26891         prototype-style function definition.
26892         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
26893         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
26894         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
26895         (xdr_utmpptr): Likewise.
26896         (xdr_utmparr): Likewise.
26897         (xdr_utmpidle): Likewise.
26898         (xdr_utmpidleptr): Likewise.
26899         (xdr_utmpidlearr): Likewise.
26901         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
26902         log, log10 and log2.
26903         * math/auto-libm-test-out: Regenerated.
26904         * math/libm-test.inc (fmod_test_data): Add more tests.
26905         (fpclassify_test_data): Likewise.
26906         (frexp_test_data): Likewise.
26907         (hypot_test_data): Likewise.
26908         (ilogb_test_data): Likewise.
26910 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
26912         * debug/fortify_fail.c (__fortify_fail): Convert to
26913         prototype-style function definition.  Use internal_function.
26914         * libio/genops.c (save_for_backup): Convert to prototype-style
26915         function definition.
26916         * libio/wgenops.c (save_for_wbackup): Likewise.
26917         * login/grantpt.c (grantpt): Likewise.
26918         * login/ptsname.c (ptsname): Likewise.
26919         (__ptsname_r): Likewise.
26920         * login/unlockpt.c (unlockpt): Likewise.
26921         * mach/msgserver.c (__mach_msg_server): Likewise.
26922         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
26923         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
26924         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
26925         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
26926         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
26927         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
26928         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
26929         Likewise.
26930         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
26931         internal_function.
26932         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
26933         prototype-style function definition.
26934         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
26935         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
26936         (__pthread_create_2_0): Likewise.
26937         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
26938         * nptl/register-atfork.c (__register_atfork): Likewise.
26939         * posix/glob.c (glob): Likewise.
26940         * posix/regcomp.c (re_comp): Likewise.
26941         * posix/regexec.c (re_exec): Likewise.
26942         * stdlib/add_n.c [__STDC__]: Make code unconditional.
26943         [!__STDC__]: Remove conditional code.
26944         * stdlib/cmp.c [__STDC__]: Make code unconditional.
26945         [!__STDC__]: Remove conditional code.
26946         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
26947         [!__STDC__]: Remove conditional code.
26948         * stdlib/divrem.c [__STDC__]: Make code unconditional.
26949         [!__STDC__]: Remove conditional code.
26950         * stdlib/lshift.c [__STDC__]: Make code unconditional.
26951         [!__STDC__]: Remove conditional code.
26952         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
26953         [!__STDC__]: Remove conditional code.
26954         * stdlib/mul.c [__STDC__]: Make code unconditional.
26955         [!__STDC__]: Remove conditional code.
26956         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
26957         [!__STDC__]: Remove conditional code.
26958         * stdlib/rshift.c [__STDC__]: Make code unconditional.
26959         [!__STDC__]: Remove conditional code.
26960         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
26961         function definition.
26962         (STRTOF): Likewise.
26963         * stdlib/strtod_l.c (__STRTOF): Likewise.
26964         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
26965         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
26966         (__strtol_l): Likewise.
26967         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
26968         [!__STDC__]: Remove conditional code.
26969         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
26970         definition.
26971         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
26972         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26973         type.
26974         (__strcasecmp): Convert to prototype-style function definition.
26975         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
26976         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
26977         type.
26978         (__strncasecmp): Convert to prototype-style function definition.
26979         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
26980         * sunrpc/xdr.c (xdr_union): Likewise.
26981         * sunrpc/xdr_array.c (xdr_array): Likewise.
26982         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
26983         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
26984         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
26985         Likewise.
26986         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
26987         Likewise.
26988         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
26989         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
26990         Likewise.
26991         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
26992         (LOCALE_PARAM_PROTO): Likewise.
26993         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
26994         argument type.
26995         (ut_argument_spec): Remove macro.
26996         (ut_argument_spec_iso): Rename to ut_argument_spec.
26997         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
26998         prototype-style function definition.
26999         (memcpy_uppcase): Likewise.
27000         (__strftime_internal): Likewise.
27001         (my_strftime): Likewise.
27002         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
27003         (LOCALE_PARAM_DECL): Likewise.
27004         [_LIBC] (LOCALE_PARAM): Include argument type.
27005         (__strptime_internal): Convert to prototype-style function
27006         definition.
27007         (strptime): Likewise.
27008         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
27009         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27010         type.
27011         (__wcscasecmp): Convert to prototype-style function definition.
27012         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
27013         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
27014         type.
27015         (__wcsncasecmp): Convert to prototype-style function definition.
27017         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
27018         function definition.
27019         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
27020         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
27021         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
27022         * elf/dl-minimal.c (_itoa): Likewise.
27023         * hurd/hurdmalloc.c (malloc): Likewise.
27024         (free): Likewise.
27025         (realloc): Likewise.
27026         * inet/inet6_option.c (inet6_option_space): Likewise.
27027         (inet6_option_init): Likewise.
27028         (inet6_option_append): Likewise.
27029         (inet6_option_alloc): Likewise.
27030         (inet6_option_next): Likewise.
27031         (inet6_option_find): Likewise.
27032         * io/ftw.c (FTW_NAME): Likewise.
27033         (NFTW_NAME): Likewise.
27034         (NFTW_NEW_NAME): Likewise.
27035         (NFTW_OLD_NAME): Likewise.
27036         * libio/iofwide.c (_IO_fwide): Likewise.
27037         * libio/strops.c (_IO_str_init_static_internal): Likewise.
27038         (_IO_str_init_static): Likewise.
27039         (_IO_str_init_readonly): Likewise.
27040         (_IO_str_overflow): Likewise.
27041         (_IO_str_underflow): Likewise.
27042         (_IO_str_count): Likewise.
27043         (_IO_str_seekoff): Likewise.
27044         (_IO_str_pbackfail): Likewise.
27045         (_IO_str_finish): Likewise.
27046         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
27047         (_IO_wstr_overflow): Likewise.
27048         (_IO_wstr_underflow): Likewise.
27049         (_IO_wstr_count): Likewise.
27050         (_IO_wstr_seekoff): Likewise.
27051         (_IO_wstr_pbackfail): Likewise.
27052         (_IO_wstr_finish): Likewise.
27053         * locale/programs/localedef.c (normalize_codeset): Likewise.
27054         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
27055         (add_locales_to_archive): Likewise.
27056         (delete_locales_from_archive): Likewise.
27057         * malloc/malloc.c (__libc_mallinfo): Likewise.
27058         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
27059         * misc/tsearch.c (__tfind): Likewise.
27060         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
27061         * nptl/pthread_attr_getdetachstate.c
27062         (__pthread_attr_getdetachstate): Likewise.
27063         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
27064         Likewise.
27065         * nptl/pthread_attr_getinheritsched.c
27066         (__pthread_attr_getinheritsched): Likewise.
27067         * nptl/pthread_attr_getschedparam.c
27068         (__pthread_attr_getschedparam): Likewise.
27069         * nptl/pthread_attr_getschedpolicy.c
27070         (__pthread_attr_getschedpolicy): Likewise.
27071         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
27072         Likewise.
27073         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
27074         Likewise.
27075         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
27076         Likewise.
27077         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
27078         Likewise.
27079         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
27080         (__pthread_attr_init_2_0): Likewise.
27081         * nptl/pthread_attr_setdetachstate.c
27082         (__pthread_attr_setdetachstate): Likewise.
27083         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
27084         Likewise.
27085         * nptl/pthread_attr_setinheritsched.c
27086         (__pthread_attr_setinheritsched): Likewise.
27087         * nptl/pthread_attr_setschedparam.c
27088         (__pthread_attr_setschedparam): Likewise.
27089         * nptl/pthread_attr_setschedpolicy.c
27090         (__pthread_attr_setschedpolicy): Likewise.
27091         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
27092         Likewise.
27093         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
27094         Likewise.
27095         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
27096         Likewise.
27097         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
27098         Likewise.
27099         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
27100         Likewise.
27101         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
27102         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
27103         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
27104         use internal_function.
27105         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
27106         prototype-style function definition.
27107         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
27108         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
27109         internal_function.
27110         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
27111         Convert to prototype-style function definition.
27112         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
27113         Likewise.
27114         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
27115         Likewise.
27116         (__pthread_mutex_unlock): Likewise.
27117         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
27118         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
27119         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
27120         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
27121         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
27122         * nss/makedb.c (process_input): Likewise.
27123         * posix/fnmatch.c (__strchrnul): Likewise.
27124         (__wcschrnul): Likewise.
27125         (fnmatch): Likewise.
27126         * posix/fnmatch_loop.c (FCT): Likewise.
27127         * posix/glob.c (globfree): Likewise.
27128         (__glob_pattern_type): Likewise.
27129         (__glob_pattern_p): Likewise.
27130         * posix/regcomp.c (re_compile_pattern): Likewise.
27131         (re_set_syntax): Likewise.
27132         (re_compile_fastmap): Likewise.
27133         (regcomp): Likewise.
27134         (regerror): Likewise.
27135         (regfree): Likewise.
27136         * posix/regexec.c (regexec): Likewise.
27137         (re_match): Likewise.
27138         (re_search): Likewise.
27139         (re_match_2): Likewise.
27140         (re_search_2): Likewise.
27141         (re_search_stub): Likewise.  Use internal_function
27142         (re_copy_regs): Likewise.
27143         (re_set_registers): Convert to prototype-style function
27144         definition.
27145         (prune_impossible_nodes): Likewise.  Use internal_function.
27146         * resolv/inet_net_pton.c (inet_net_pton): Convert to
27147         prototype-style function definition.
27148         (inet_net_pton_ipv4): Likewise.
27149         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
27150         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
27151         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
27152         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
27153         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
27154         Make variadic.
27155         * time/strptime_l.c (localtime_r): Convert to prototype-style
27156         function definition.
27157         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
27158         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
27159         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
27160         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
27162         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
27163         definition.
27164         (_ufc_doit_r): Likewise.
27165         * crypt/crypt_util.c (_ufc_copymem): Likewise.
27166         (_ufc_output_conversion_r): Likewise.
27167         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
27168         * inet/rcmd.c (rcmd_af): Likewise.
27169         (rcmd): Likewise.
27170         (ruserok_af): Likewise.
27171         (ruserok): Likewise.
27172         (ruserok2_sa): Likewise.
27173         (ruserok_sa): Likewise.
27174         (iruserok_af): Likewise.
27175         (iruserok): Likewise.
27176         (__ivaliduser): Likewise.
27177         (__validuser2_sa): Likewise.
27178         * inet/rexec.c (rexec_af): Likewise.
27179         (rexec): Likewise.
27180         * inet/ruserpass.c (ruserpass): Likewise.
27181         * locale/programs/xmalloc.c (xcalloc): Likewise.
27182         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
27183         * math/w_drem.c (__drem): Likewise.
27184         * math/w_dremf.c (__dremf): Likewise.
27185         * math/w_dreml.c (__dreml): Likewise.
27186         * misc/daemon.c (daemon): Likewise.
27187         * resolv/res_debug.c (p_fqnname): Likewise.
27188         * stdlib/div.c (div): Likewise.
27189         * string/memcmp.c (memcmp_bytes): Likewise.
27190         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
27191         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
27193         * crypt/cert.c (main): Convert to prototype-style function
27194         definition.
27195         * io/pipe.c (__pipe): Likewise.
27196         * io/pipe2.c (__pipe2): Likewise.
27197         * misc/futimesat.c (futimesat): Likewise.
27198         * misc/utimes.c (__utimes): Likewise.
27199         * posix/execve.c (__execve): Likewise.
27200         * posix/execvp.c (execvp): Likewise.
27201         * posix/execvpe.c (__execvpe): Likewise.
27202         * posix/fexecve.c (fexecve): Likewise.
27203         * socket/socketpair.c (socketpair): Likewise.
27204         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
27205         * stdlib/erand48.c (erand48): Likewise.
27206         * stdlib/erand48_r.c (__erand48_r): Likewise.
27207         * stdlib/jrand48.c (jrand48): Likewise.
27208         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
27209         * stdlib/lcong48.c (lcong48): Likewise.
27210         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
27211         * stdlib/nrand48.c (nrand48): Likewise.
27212         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
27213         * stdlib/seed48.c (seed48): Likewise.
27214         * stdlib/seed48_r.c (__seed48_r): Likewise.
27215         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
27216         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
27217         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
27219 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27221         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
27222         * configure: Regenerated.
27223         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
27224         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
27225         unconditional.
27226         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27227         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27228         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27229         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
27230         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
27231         unconditional.
27232         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
27234         * posix/Makefile (CFLAGS-regex.c): Remove variable.
27235         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
27237         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
27238         function definition.
27239         * crypt/crypt_util.c (__encrypt_r): Likewise.
27240         * libio/genops.c (_IO_no_init): Likewise.
27241         * libio/iofopncook.c (_IO_fopencookie): Likewise.
27242         (_IO_old_fopencookie): Likewise.
27243         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
27244         * libio/iogetline.c (_IO_getline): Likewise.
27245         (_IO_getline_info): Likewise.
27246         * libio/iogetwline.c (_IO_getwline): Likewise.
27247         (_IO_getwline_info): Likewise.
27248         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
27249         * libio/vswprintf.c (_IO_vswprintf): Likewise.
27250         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
27251         (find_entry): Likewise.
27252         (iterate_table): Likewise.
27253         (lookup): Likewise.
27254         * login/forkpty.c (forkpty): Likewise.
27255         * misc/hsearch_r.c (__hsearch_r): Likewise.
27256         * misc/select.c (__select): Likewise.
27257         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
27258         Likewise.
27259         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
27260         Likewise.
27261         * nptl/old_pthread_cond_timedwait.c
27262         (__pthread_cond_timedwait_2_0): Likewise.
27263         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
27264         * nptl/pthread_barrierattr_getpshared.c
27265         (pthread_barrierattr_getpshared): Likewise.
27266         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
27267         Likewise.
27268         * nptl/pthread_mutex_setprioceiling.c
27269         (pthread_mutex_setprioceiling): Likewise.
27270         * nptl/pthread_mutexattr_getprioceiling.c
27271         (pthread_mutexattr_getprioceiling): Likewise.
27272         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
27273         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
27274         Likewise.
27275         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
27276         Likewise.
27277         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
27278         Likewise.
27279         * socket/recvfrom.c (__recvfrom): Likewise.
27280         * socket/sendto.c (__sendto): Likewise.
27281         * socket/setsockopt.c (__setsockopt): Likewise.
27282         * stdio-common/_itoa.c (_itoa): Likewise.
27283         * stdio-common/_itowa.c (_itowa): Likewise.
27284         * stdio-common/reg-printf.c (__register_printf_specifier):
27285         Likewise.
27286         (__register_printf_function): Likewise.
27287         * stdio-common/tempname.c (__path_search): Likewise.
27288         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
27289         * stdlib/mul_1.c (mpn_mul_1): Likewise.
27290         * stdlib/random_r.c (__initstate_r): Likewise.
27291         * stdlib/setenv.c (__add_to_environ): Likewise.
27292         * stdlib/submul_1.c (mpn_submul_1): Likewise.
27293         * streams/getpmsg.c (getpmsg): Likewise.
27294         * streams/putmsg.c (putmsg): Likewise.
27295         * streams/putpmsg.c (putpmsg): Likewise.
27296         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
27297         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
27298         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
27299         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
27300         * sunrpc/pm_getport.c (pmap_getport): Likewise.
27301         * sunrpc/svc_udp.c (cache_get): Likewise.
27302         * sunrpc/xdr_array.c (xdr_vector): Likewise.
27303         * sysdeps/mach/hurd/getcwd.c
27304         (__canonicalize_directory_name_internal): Likewise.
27305         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
27306         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
27307         * sysdeps/mach/hurd/select.c (__select): Likewise.
27308         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
27309         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
27310         * sysdeps/sparc/nptl/pthread_barrier_init.c
27311         (__pthread_barrier_init): Likewise.
27312         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
27313         (__pthread_cond_timedwait): Likewise.
27314         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
27315         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
27316         Likewise.
27317         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
27318         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
27319         Likewise.
27320         * sysvipc/semtimedop.c (semtimedop): Likewise.
27321         * time/setitimer.c (__setitimer): Likewise.
27322         * time/strftime_l.c (emacs_strftime): Likewise.
27324 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27326         * config.make.in (have-ssp): Delete.
27327         (stack-protector): New variable.
27328         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
27329         cache test for -fstack-protector-strong.  Export stack_protector to
27330         the best ssp flag.
27331         * configure: Regenerated.
27332         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
27333         * nscd/Makefile (CFLAGS-nscd): Likewise.
27334         * resolv/Makefile (CFLAGS-libresolv): Likewise.
27336 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
27338         [BZ #19122]
27339         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
27340         attribute_hidden.
27342 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27344         [BZ #18743]
27345         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
27346         code to...
27347         (ELIDE_LOCK): ...here.
27348         (__get_new_count): New function with part of the code from
27349         __elide_lock that updates the value of adapt_count after a
27350         transaction abort.
27351         (__elided_trylock): Moved this code to...
27352         (ELIDE_TRYLOCK): ...here.
27354 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
27356         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
27357         * configure: Regenerate.
27358         * INSTALL: Regenerate.
27359         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
27360         and tweak grammar.
27362 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
27364         * login/programs/pt_chown.c: Include signal.h
27365         (main): Clear any signal mask from the parent process.
27367 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
27369         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
27370         * configure: Regenerated.
27371         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
27372         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
27373         $(gnu89-inline-CFLAGS).
27375         * configure.ac (libc_cv_asm_weak_directive): Remove configure
27376         test.
27377         (libc_cv_asm_weakext_directive): Likewise.
27378         * configure: Regenerated.
27379         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
27380         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
27381         * include/libc-symbols.h
27382         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
27383         #error.
27384         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
27385         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
27387         * sysdeps/arm/backtrace.c (__backtrace): Convert to
27388         prototype-style function definition.
27389         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
27390         * sysdeps/i386/ffs.c (__ffs): Likewise.
27391         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
27392         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
27393         Likewise.
27394         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27395         Likewise.
27396         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
27397         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
27398         Likewise.
27399         * sysdeps/m68k/ffs.c (__ffs): Likewise.
27400         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
27401         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
27402         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
27403         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
27404         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
27405         * sysdeps/mach/hurd/access.c (__access): Likewise.
27406         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
27407         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
27408         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
27409         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
27410         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
27411         (cthread_getspecific): Likewise.
27412         (cthread_setspecific): Likewise.
27413         (__libc_getspecific): Likewise.
27414         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
27415         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
27416         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
27417         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
27418         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
27419         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
27420         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
27421         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
27422         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
27423         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
27424         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
27425         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
27426         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
27427         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
27428         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
27429         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
27430         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
27431         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
27432         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
27433         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
27434         * sysdeps/mach/hurd/link.c (__link): Likewise.
27435         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
27436         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
27437         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
27438         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
27439         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
27440         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
27441         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
27442         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
27443         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
27444         * sysdeps/mach/hurd/rename.c (rename): Likewise.
27445         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
27446         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
27447         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
27448         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
27449         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
27450         * sysdeps/mach/hurd/send.c (__send): Likewise.
27451         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
27452         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
27453         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
27454         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
27455         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
27456         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
27457         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
27458         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
27459         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
27460         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
27461         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
27462         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
27463         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
27464         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
27465         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
27466         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
27467         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
27468         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
27469         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
27470         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
27471         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
27472         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
27473         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
27474         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
27475         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
27476         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
27477         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
27478         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
27479         * sysdeps/posix/alarm.c (alarm): Likewise.
27480         * sysdeps/posix/cuserid.c (cuserid): Likewise.
27481         * sysdeps/posix/dirfd.c (dirfd): Likewise.
27482         * sysdeps/posix/dup.c (__dup): Likewise.
27483         * sysdeps/posix/dup2.c (__dup2): Likewise.
27484         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
27485         (main): Likewise.
27486         * sysdeps/posix/flock.c (__flock): Likewise.
27487         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
27488         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
27489         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
27490         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
27491         * sysdeps/posix/isatty.c (__isatty): Likewise.
27492         * sysdeps/posix/killpg.c (killpg): Likewise.
27493         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27494         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
27495         * sysdeps/posix/raise.c (raise): Likewise.
27496         * sysdeps/posix/remove.c (remove): Likewise.
27497         * sysdeps/posix/rename.c (rename): Likewise.
27498         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
27499         * sysdeps/posix/seekdir.c (seekdir): Likewise.
27500         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
27501         * sysdeps/posix/sigignore.c (sigignore): Likewise.
27502         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
27503         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
27504         * sysdeps/posix/sigset.c (sigset): Likewise.
27505         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
27506         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
27507         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
27508         * sysdeps/posix/time.c (time): Likewise.
27509         * sysdeps/posix/ttyname.c (getttyname): Likewise.
27510         (ttyname): Likewise.
27511         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
27512         * sysdeps/posix/utime.c (utime): Likewise.
27513         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
27514         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
27515         Likewise.
27516         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
27517         (pthread_spin_trylock): Likewise.
27518         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
27519         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
27520         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
27521         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
27522         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
27523         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
27524         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
27525         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
27526         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
27527         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
27528         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
27529         * sysdeps/s390/ffs.c (__ffs): Likewise.
27530         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
27531         Likewise.
27532         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
27533         Likewise.
27534         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
27535         Likewise.
27536         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
27537         (pthread_barrier_destroy): Likewise.
27538         * sysdeps/sparc/nptl/pthread_barrier_wait.c
27539         (__pthread_barrier_wait): Likewise.
27540         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
27541         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
27542         (__pthread_barrier_wait): Likewise.
27543         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
27544         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
27545         (memcmp_not_common_alignment): Likewise.
27546         (MEMCMP): Likewise.
27547         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
27548         (_wordcopy_fwd_dest_aligned): Likewise.
27549         (_wordcopy_bwd_aligned): Likewise.
27550         (_wordcopy_bwd_dest_aligned): Likewise.
27551         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
27552         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
27553         * sysdeps/unix/bsd/stty.c (stty): Likewise.
27554         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
27555         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
27556         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
27557         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
27558         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
27559         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
27560         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
27561         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
27562         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
27563         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
27564         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
27565         * sysdeps/unix/stime.c (stime): Likewise.
27566         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
27567         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
27568         Likewise.  Use internal_function.
27569         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
27570         Convert to prototype-style function definition.
27571         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
27572         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
27573         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
27574         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
27575         Likewise.  Use internal_function.
27576         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
27577         prototype-style function definition
27578         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
27579         Likewise.
27580         (__getlogin_r): Likewise.
27581         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
27582         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
27583         (__pthread_cond_broadcast): Likewise.
27584         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
27585         (__pthread_cond_destroy): Likewise.
27586         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
27587         (__pthread_cond_init): Likewise.
27588         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
27589         (__pthread_cond_signal): Likewise.
27590         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
27591         (__pthread_cond_wait): Likewise.
27592         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
27593         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
27594         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
27595         Likewise.
27596         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
27597         Likewise.
27598         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
27599         Likewise.
27600         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
27601         Likewise.
27602         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
27603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
27604         (__ftruncate64): Likewise.
27605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
27606         (truncate64): Likewise.
27607         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
27608         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
27609         (pthread_getcpuclockid): Likewise.
27610         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
27611         Likewise.
27612         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
27613         Likewise.
27614         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
27615         Likewise.
27616         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
27617         Likewise.
27618         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
27619         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
27620         (__libc_sigaction): Likewise.
27621         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
27622         Likewise.
27623         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
27624         (__sigprocmask): Likewise.
27625         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
27626         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
27627         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
27628         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
27629         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
27630         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
27631         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
27632         Likewise.
27633         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
27634         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
27635         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
27636         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
27637         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
27638         Likewise.
27639         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
27640         (__sigprocmask): Likewise.
27641         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
27642         (cfgetispeed): Likewise.
27643         (cfsetospeed): Likewise.
27644         (cfsetispeed): Likewise.
27645         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
27646         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
27647         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
27648         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
27649         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
27650         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
27651         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
27652         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
27653         Likewise.
27654         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
27655         Likewise.
27656         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
27657         Likewise.
27658         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
27659         Likewise.
27660         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
27662 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27664         sunrpc: Rewrite with explicit TLS access using __thread.
27665         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
27666         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
27667         directly.
27668         (__rpc_thread_variables): Access thread_rpc_vars directly.
27669         Eliminate redundant assignment of the tvp variable.
27671 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27673         malloc: Rewrite with explicit TLS access using __thread.
27674         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
27675         (tsd_setspecific, tsd_getspecific): Remove.
27676         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
27677         (tsd_setspecific, tsd_getspecific): Likewise.
27678         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
27679         (tsd_setspecific, tsd_getspecific): Likewise.
27680         * malloc/arena.c (thread_arena): New TLS variable.
27681         (arena_key): Remove variable.
27682         (arena_get): Use thread_arena.
27683         (arena_lookup): Remove macro.
27684         (malloc_atfork, free_atfork, ptmalloc_lock_all)
27685         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
27686         (_int_new_arena, get_free_list, reused_arena)
27687         (arena_thread_freeres): Use thread_arena.
27688         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
27689         tsd_getspecific, tsd_setspecific from safety annotations.
27690         (Allocating Cleared Space): Remove arena_lookup from safety
27691         annotations.
27693 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27695         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
27696         struct scratch_buffer instead of extend_alloca.
27698 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27700         * sysdeps/unix/sysv/linux/kernel-features.h
27701         (__ASSUME_SOCK_CLOEXEC): Remove.
27702         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
27703         (__have_paccept): Remove unused macro.
27704         * include/unistd.h (__have_sock_cloexec): Remove declaration.
27705         * misc/syslog.c (openlog_internal): Remove fallback code for
27706         !__ASSUME_SOCK_CLOEXEC.
27707         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
27708         missing SOCK_CLOEXEC.
27709         * nscd/connections.c (have_sock_cloexec): Remove definition.
27710         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27711         * nscd/nscd_helper.c (open_socket): Remove fallback code for
27712         !__ASSUME_SOCK_CLOEXEC.
27713         * resolv/res_send.c (__have_o_nonblock): Remove definition.
27714         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
27715         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
27716         definition.
27717         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
27718         code for !__ASSUME_SOCK_CLOEXEC.
27720 2015-10-17  Florian Weimer  <fweimer@redhat.com>
27722         [BZ #18982]
27723         * manual/stdio.texi (Variable Arguments Output): Add portability
27724         note, explaining that vfprintf clobbers the va_list pointer.
27726 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27728         * math/libm-test.inc (fabs_test_data): Add more tests.
27729         (fdim_test_data): Likewise.
27730         (fma_test_data): Likewise.
27731         (fmax_test_data): Likewise.
27732         (fmin_test_data): Likewise.
27733         (fmod_test_data): Likewise.
27735 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
27737         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
27738         data.
27740 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
27742         * math/libm-test.inc (ceil_test_data): Add more tests and more
27743         expectations for "inexact".
27744         (floor_test_data): Add more tests.
27745         (round_test_data): Likewise.
27746         (trunc_test_data): Likewise.
27748         * crypt/cert.c (good_bye): Convert to prototype-style function
27749         definition.
27750         (get8): Likewise.
27751         (put8): Likewise.
27752         * crypt/crypt-entry.c (crypt): Likewise.
27753         (__fcrypt): Likewise.
27754         * crypt/crypt_util.c (_ufc_prbits): Likewise.
27755         (_ufc_set_bits): Likewise.
27756         (_ufc_clearmem): Likewise.
27757         (__init_des_r): Likewise.
27758         (shuffle_sb): Likewise.
27759         (shuffle_sb): Likewise.
27760         (_ufc_setup_salt_r): Likewise.
27761         (_ufc_mk_keytab_r): Likewise.
27762         (_ufc_dofinalperm_r): Likewise.
27763         (encrypt): Likewise.
27764         (__setkey_r): Likewise.
27765         (setkey): Likewise.
27766         * crypt/md5.c (md5_init_ctx): Likewise.
27767         (md5_read_ctx): Likewise.
27768         (md5_finish_ctx): Likewise.
27769         (md5_stream): Likewise.
27770         (md5_buffer): Likewise.
27771         (md5_process_bytes): Likewise.
27772         * crypt/sha256.c (__sha256_init_ctx): Likewise.
27773         (__sha256_finish_ctx): Likewise.
27774         (__sha256_process_bytes): Likewise.
27775         * crypt/sha512.c (__sha512_init_ctx): Likewise.
27776         (__sha512_finish_ctx): Likewise.
27777         (__sha512_process_bytes): Likewise.
27778         * ctype/isctype.c (__isctype): Likewise.
27779         * debug/backtrace.c (__backtrace): Likewise.
27780         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
27781         * debug/fgets_chk.c (__fgets_chk): Likewise.
27782         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
27783         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
27784         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
27785         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
27786         * debug/memset_chk.c (__memset_chk): Likewise.
27787         * debug/strcat_chk.c (__strcat_chk): Likewise.
27788         * debug/strncat_chk.c (__strncat_chk): Likewise.
27789         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
27790         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
27791         * dirent/dirfd.c (dirfd): Likewise.
27792         * dirent/getdents.c (__getdirentries): Likewise.
27793         * dirent/getdents64.c (getdirentries64): Likewise.
27794         * dirent/rewinddir.c (__rewinddir): Likewise.
27795         * dirent/seekdir.c (seekdir): Likewise.
27796         * dirent/telldir.c (telldir): Likewise.
27797         * elf/sln.c (makesymlinks): Likewise.
27798         (makesymlink): Likewise.
27799         * gmon/gmon.c (__moncontrol): Likewise.
27800         (__monstartup): Likewise.
27801         (write_hist): Likewise.
27802         (write_call_graph): Likewise.
27803         (write_bb_counts): Likewise.
27804         * grp/setgroups.c (setgroups): Likewise.
27805         * inet/inet_lnaof.c (inet_lnaof): Likewise.
27806         * inet/inet_net.c (inet_network): Likewise.
27807         * inet/inet_netof.c (inet_netof): Likewise.
27808         * inet/rcmd.c (rresvport_af): Likewise.
27809         (rresvport): Likewise.
27810         * io/access.c (__access): Likewise.
27811         * io/chdir.c (__chdir): Likewise.
27812         * io/chmod.c (__chmod): Likewise.
27813         * io/chown.c (__chown): Likewise.
27814         * io/close.c (__close): Likewise.
27815         * io/creat.c (creat): Likewise.
27816         * io/creat64.c (creat64): Likewise.
27817         * io/dup.c (__dup): Likewise.
27818         * io/dup2.c (__dup2): Likewise.
27819         * io/dup3.c (__dup3): Likewise.
27820         * io/euidaccess.c (__euidaccess): Likewise.
27821         * io/faccessat.c (faccessat): Likewise.
27822         * io/fchmod.c (__fchmod): Likewise.
27823         * io/fchmodat.c (fchmodat): Likewise.
27824         * io/fchown.c (__fchown): Likewise.
27825         * io/fchownat.c (fchownat): Likewise.
27826         * io/fcntl.c (__fcntl): Likewise.
27827         * io/flock.c (__flock): Likewise.
27828         * io/fts.c (fts_load): Likewise.
27829         (fts_close): Likewise.
27830         (fts_read): Likewise.
27831         (fts_set): Likewise.
27832         (fts_children): Likewise.
27833         (fts_build): Likewise.
27834         (fts_stat): Likewise.
27835         (fts_sort): Likewise.
27836         (fts_alloc): Likewise.
27837         (fts_lfree): Likewise.
27838         (fts_palloc): Likewise.
27839         (fts_padjust): Likewise.
27840         (fts_maxarglen): Likewise.
27841         (fts_safe_changedir): Likewise.
27842         * io/getwd.c (getwd): Likewise.
27843         * io/isatty.c (__isatty): Likewise.
27844         * io/lchown.c (__lchown): Likewise.
27845         * io/link.c (__link): Likewise.
27846         * io/linkat.c (linkat): Likewise.
27847         * io/lseek.c (__libc_lseek): Likewise.
27848         * io/mkdir.c (__mkdir): Likewise.
27849         * io/mkdirat.c (mkdirat): Likewise.
27850         * io/mkfifo.c (mkfifo): Likewise.
27851         * io/mkfifoat.c (mkfifoat): Likewise.
27852         * io/open.c (__libc_open): Likewise.
27853         * io/open64.c (__libc_open64): Likewise.
27854         * io/readlink.c (__readlink): Likewise.
27855         * io/readlinkat.c (readlinkat): Likewise.
27856         * io/rmdir.c (__rmdir): Likewise.
27857         * io/symlink.c (__symlink): Likewise.
27858         * io/symlinkat.c (symlinkat): Likewise.
27859         * io/ttyname.c (ttyname): Likewise.
27860         * io/ttyname_r.c (__ttyname_r): Likewise.
27861         * io/umask.c (__umask): Likewise.
27862         * io/unlink.c (__unlink): Likewise.
27863         * io/unlinkat.c (unlinkat): Likewise.
27864         * io/utime.c (utime): Likewise.
27865         * libio/clearerr.c (clearerr): Likewise.
27866         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
27867         * libio/feof.c (_IO_feof): Likewise.
27868         * libio/feof_u.c (feof_unlocked): Likewise.
27869         * libio/ferror.c (_IO_ferror): Likewise.
27870         * libio/ferror_u.c (ferror_unlocked): Likewise.
27871         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
27872         * libio/fileno.c (__fileno): Likewise.
27873         * libio/fputc.c (fputc): Likewise.
27874         * libio/fputc_u.c (fputc_unlocked): Likewise.
27875         * libio/fputwc.c (fputwc): Likewise.
27876         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
27877         * libio/freopen.c (freopen): Likewise.
27878         * libio/freopen64.c (freopen64): Likewise.
27879         * libio/fseek.c (fseek): Likewise.
27880         * libio/fseeko.c (fseeko): Likewise.
27881         * libio/fseeko64.c (fseeko64): Likewise.
27882         * libio/ftello.c (__ftello): Likewise.
27883         * libio/ftello64.c (ftello64): Likewise.
27884         * libio/fwide.c (fwide): Likewise.
27885         * libio/genops.c (_IO_un_link): Likewise.
27886         (_IO_link_in): Likewise.
27887         (_IO_least_marker): Likewise.
27888         (_IO_switch_to_main_get_area): Likewise.
27889         (_IO_switch_to_backup_area): Likewise.
27890         (_IO_switch_to_get_mode): Likewise.
27891         (_IO_free_backup_area): Likewise.
27892         (_IO_switch_to_put_mode): Likewise.
27893         (__overflow): Likewise.
27894         (__underflow): Likewise.
27895         (__uflow): Likewise.
27896         (_IO_setb): Likewise.
27897         (_IO_doallocbuf): Likewise.
27898         (_IO_default_underflow): Likewise.
27899         (_IO_default_uflow): Likewise.
27900         (_IO_default_xsputn): Likewise.
27901         (_IO_sgetn): Likewise.
27902         (_IO_default_xsgetn): Likewise.
27903         (_IO_sync): Likewise.
27904         (_IO_default_setbuf): Likewise.
27905         (_IO_default_seekpos): Likewise.
27906         (_IO_default_doallocate): Likewise.
27907         (_IO_init): Likewise.
27908         (_IO_old_init): Likewise.
27909         (_IO_default_sync): Likewise.
27910         (_IO_default_finish): Likewise.
27911         (_IO_default_seekoff): Likewise.
27912         (_IO_sputbackc): Likewise.
27913         (_IO_sungetc): Likewise.
27914         (_IO_set_column): Likewise.
27915         (_IO_set_column): Likewise.
27916         (_IO_adjust_column): Likewise.
27917         (_IO_get_column): Likewise.
27918         (_IO_init_marker): Likewise.
27919         (_IO_remove_marker): Likewise.
27920         (_IO_marker_difference): Likewise.
27921         (_IO_marker_delta): Likewise.
27922         (_IO_seekmark): Likewise.
27923         (_IO_unsave_markers): Likewise.
27924         (_IO_nobackup_pbackfail): Likewise.
27925         (_IO_default_pbackfail): Likewise.
27926         (_IO_default_seek): Likewise.
27927         (_IO_default_stat): Likewise.
27928         (_IO_default_read): Likewise.
27929         (_IO_default_write): Likewise.
27930         (_IO_default_showmanyc): Likewise.
27931         (_IO_default_imbue): Likewise.
27932         (_IO_iter_next): Likewise.
27933         (_IO_iter_file): Likewise.
27934         * libio/getc.c (_IO_getc): Likewise.
27935         * libio/getwc.c (_IO_getwc): Likewise.
27936         * libio/iofclose.c (_IO_new_fclose): Likewise.
27937         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
27938         * libio/iofflush.c (_IO_fflush): Likewise.
27939         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
27940         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
27941         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
27942         * libio/iofgets.c (_IO_fgets): Likewise.
27943         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
27944         * libio/iofgetws.c (fgetws): Likewise.
27945         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
27946         * libio/iofopen64.c (_IO_fopen64): Likewise.
27947         * libio/iofopncook.c (_IO_cookie_read): Likewise.
27948         (_IO_cookie_write): Likewise.
27949         (_IO_cookie_seek): Likewise.
27950         (_IO_cookie_close): Likewise.
27951         (_IO_cookie_seekoff): Likewise.
27952         (_IO_old_cookie_seek): Likewise.
27953         * libio/iofputs.c (_IO_fputs): Likewise.
27954         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
27955         * libio/iofputws.c (fputws): Likewise.
27956         * libio/iofputws_u.c (fputws_unlocked): Likewise.
27957         * libio/iofread.c (_IO_fread): Likewise.
27958         * libio/iofread_u.c (__fread_unlocked): Likewise.
27959         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
27960         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
27961         * libio/ioftell.c (_IO_ftell): Likewise.
27962         * libio/iofwrite.c (_IO_fwrite): Likewise.
27963         * libio/iogetdelim.c (_IO_getdelim): Likewise.
27964         * libio/iogets.c (_IO_gets): Likewise.
27965         * libio/iopadn.c (_IO_padn): Likewise.
27966         * libio/iopopen.c (_IO_new_proc_open): Likewise.
27967         (_IO_new_popen): Likewise.
27968         (_IO_new_proc_close): Likewise.
27969         * libio/ioputs.c (_IO_puts): Likewise.
27970         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
27971         (_IO_seekoff): Likewise.
27972         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
27973         (_IO_seekpos): Likewise.
27974         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
27975         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
27976         * libio/ioungetc.c (_IO_ungetc): Likewise.
27977         * libio/ioungetwc.c (ungetwc): Likewise.
27978         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
27979         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
27980         * libio/iowpadn.c (_IO_wpadn): Likewise.
27981         * libio/libc_fatal.c (__libc_fatal): Likewise.
27982         * libio/memstream.c (__open_memstream): Likewise.
27983         (_IO_mem_sync): Likewise.
27984         (_IO_mem_finish): Likewise.
27985         * libio/oldfileops.c (_IO_old_file_init): Likewise.
27986         (_IO_old_file_close_it): Likewise.
27987         (_IO_old_file_finish): Likewise.
27988         (_IO_old_file_fopen): Likewise.
27989         (_IO_old_file_attach): Likewise.
27990         (_IO_old_file_setbuf): Likewise.
27991         (_IO_old_do_write): Likewise.
27992         (old_do_write): Likewise.
27993         (_IO_old_file_underflow): Likewise.
27994         (_IO_old_file_overflow): Likewise.
27995         (_IO_old_file_sync): Likewise.
27996         (_IO_old_file_seekoff): Likewise.
27997         (_IO_old_file_write): Likewise.
27998         (_IO_old_file_xsputn): Likewise.
27999         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
28000         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
28001         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
28002         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
28003         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
28004         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
28005         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
28006         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
28007         (_IO_old_popen): Likewise.
28008         (_IO_old_proc_close): Likewise.
28009         * libio/oldpclose.c (__old_pclose): Likewise.
28010         * libio/pclose.c (__new_pclose): Likewise.
28011         * libio/peekc.c (_IO_peekc_locked): Likewise.
28012         * libio/putc.c (_IO_putc): Likewise.
28013         * libio/putc_u.c (putc_unlocked): Likewise.
28014         * libio/putchar.c (putchar): Likewise.
28015         * libio/putchar_u.c (putchar_unlocked): Likewise.
28016         * libio/putwc.c (putwc): Likewise.
28017         * libio/putwc_u.c (putwc_unlocked): Likewise.
28018         * libio/putwchar.c (putwchar): Likewise.
28019         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
28020         * libio/rewind.c (rewind): Likewise.
28021         * libio/setbuf.c (setbuf): Likewise.
28022         * libio/setlinebuf.c (setlinebuf): Likewise.
28023         * libio/vasprintf.c (_IO_vasprintf): Likewise.
28024         * libio/vscanf.c (_IO_vscanf): Likewise.
28025         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
28026         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
28027         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
28028         * libio/wgenops.c (_IO_least_wmarker): Likewise.
28029         (_IO_switch_to_main_wget_area): Likewise.
28030         (_IO_switch_to_wbackup_area): Likewise.
28031         (_IO_wsetb): Likewise.
28032         (_IO_wdefault_pbackfail): Likewise.
28033         (_IO_wdefault_finish): Likewise.
28034         (_IO_wdefault_uflow): Likewise.
28035         (__woverflow): Likewise.
28036         (__wuflow): Likewise.
28037         (__wunderflow): Likewise.
28038         (_IO_wdefault_xsputn): Likewise.
28039         (_IO_wdefault_xsgetn): Likewise.
28040         (_IO_wdoallocbuf): Likewise.
28041         (_IO_wdefault_doallocate): Likewise.
28042         (_IO_switch_to_wget_mode): Likewise.
28043         (_IO_free_wbackup_area): Likewise.
28044         (_IO_switch_to_wput_mode): Likewise.
28045         (_IO_sputbackwc): Likewise.
28046         (_IO_sungetwc): Likewise.
28047         (_IO_adjust_wcolumn): Likewise.
28048         (_IO_init_wmarker): Likewise.
28049         (_IO_wmarker_delta): Likewise.
28050         (_IO_seekwmark): Likewise.
28051         (_IO_unsave_wmarkers): Likewise.
28052         * libio/wmemstream.c (open_wmemstream): Likewise.
28053         (_IO_wmem_sync): Likewise.
28054         (_IO_wmem_finish): Likewise.
28055         * locale/nl_langinfo.c (nl_langinfo): Likewise.
28056         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
28057         * locale/programs/simple-hash.c (init_hash): Likewise.
28058         (delete_hash): Likewise.
28059         (insert_entry): Likewise.
28060         (set_entry): Likewise.
28061         (next_prime): Likewise.
28062         (is_prime): Likewise.
28063         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
28064         (xmalloc): Likewise.
28065         (xrealloc): Likewise.
28066         * locale/programs/xstrdup.c (xstrdup): Likewise.
28067         * localedata/collate-test.c (xstrcoll): Likewise.
28068         * localedata/xfrm-test.c (xstrcmp): Likewise.
28069         * login/getlogin_r.c (__getlogin_r): Likewise.
28070         * login/getpt.c (__posix_openpt): Likewise.
28071         * login/login_tty.c (login_tty): Likewise.
28072         * login/setlogin.c (setlogin): Likewise.
28073         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
28074         (mach_msg_destroy_port): Likewise.
28075         (mach_msg_destroy_memory): Likewise.
28076         * malloc/mcheck.c (flood): Likewise.
28077         * misc/acct.c (acct): Likewise.
28078         * misc/brk.c (__brk): Likewise.
28079         * misc/chflags.c (chflags): Likewise.
28080         * misc/chroot.c (chroot): Likewise.
28081         * misc/fchflags.c (fchflags): Likewise.
28082         * misc/fstab.c (getfsspec): Likewise.
28083         (getfsfile): Likewise.
28084         * misc/fsync.c (fsync): Likewise.
28085         * misc/ftruncate.c (__ftruncate): Likewise.
28086         * misc/ftruncate64.c (__ftruncate64): Likewise.
28087         * misc/getdomain.c (getdomainname): Likewise.
28088         (getdomainname): Likewise.
28089         * misc/gethostname.c (__gethostname): Likewise.
28090         * misc/getpass.c (getpass): Likewise.
28091         * misc/getttyent.c (skip): Likewise.
28092         (value): Likewise.
28093         * misc/gtty.c (gtty): Likewise.
28094         * misc/hsearch.c (hsearch): Likewise.
28095         (hcreate): Likewise.
28096         * misc/hsearch_r.c (__hcreate_r): Likewise.
28097         (__hdestroy_r): Likewise.
28098         * misc/ioctl.c (__ioctl): Likewise.
28099         * misc/mkdtemp.c (mkdtemp): Likewise.
28100         * misc/mkostemp.c (mkostemp): Likewise.
28101         * misc/mkostemp64.c (mkostemp64): Likewise.
28102         * misc/mkostemps.c (mkostemps): Likewise.
28103         * misc/mkostemps64.c (mkostemps64): Likewise.
28104         * misc/mkstemp.c (mkstemp): Likewise.
28105         * misc/mkstemp64.c (mkstemp64): Likewise.
28106         * misc/mkstemps.c (mkstemps): Likewise.
28107         * misc/mkstemps64.c (mkstemps64): Likewise.
28108         * misc/mktemp.c (__mktemp): Likewise.
28109         * misc/preadv.c (preadv): Likewise.
28110         * misc/preadv64.c (preadv64): Likewise.
28111         * misc/pwritev.c (pwritev): Likewise.
28112         * misc/pwritev64.c (pwritev64): Likewise.
28113         * misc/readv.c (__readv): Likewise.
28114         * misc/revoke.c (revoke): Likewise.
28115         * misc/setdomain.c (setdomainname): Likewise.
28116         * misc/setegid.c (setegid): Likewise.
28117         * misc/seteuid.c (seteuid): Likewise.
28118         * misc/sethostid.c (sethostid): Likewise.
28119         * misc/sethostname.c (sethostname): Likewise.
28120         * misc/setregid.c (__setregid): Likewise.
28121         * misc/setreuid.c (__setreuid): Likewise.
28122         * misc/sstk.c (sstk): Likewise.
28123         * misc/stty.c (stty): Likewise.
28124         * misc/syscall.c (syscall): Likewise.
28125         * misc/syslog.c (setlogmask): Likewise.
28126         * misc/truncate.c (__truncate): Likewise.
28127         * misc/truncate64.c (truncate64): Likewise.
28128         * misc/ualarm.c (ualarm): Likewise.
28129         * misc/usleep.c (usleep): Likewise.
28130         * misc/ustat.c (ustat): Likewise.
28131         * misc/writev.c (__writev): Likewise.
28132         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
28133         * nptl/old_pthread_cond_broadcast.c
28134         (__pthread_cond_broadcast_2_0): Likewise.
28135         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
28136         Likewise.
28137         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
28138         Likewise.
28139         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
28140         Likewise.
28141         * nptl/pt-raise.c (raise): Likewise.
28142         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
28143         Likewise.
28144         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
28145         * nptl/pthread_barrierattr_destroy.c
28146         (pthread_barrierattr_destroy): Likewise.
28147         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
28148         Likewise.
28149         * nptl/pthread_barrierattr_setpshared.c
28150         (pthread_barrierattr_setpshared): Likewise.
28151         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
28152         Likewise.
28153         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
28154         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
28155         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
28156         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
28157         Likewise.
28158         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
28159         Likewise.
28160         * nptl/pthread_condattr_getpshared.c
28161         (pthread_condattr_getpshared): Likewise.
28162         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
28163         Likewise.
28164         * nptl/pthread_condattr_setpshared.c
28165         (pthread_condattr_setpshared): Likewise.
28166         * nptl/pthread_detach.c (pthread_detach): Likewise.
28167         * nptl/pthread_equal.c (__pthread_equal): Likewise.
28168         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
28169         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
28170         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
28171         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
28172         Likewise.
28173         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
28174         Likewise.
28175         * nptl/pthread_mutex_getprioceiling.c
28176         (pthread_mutex_getprioceiling): Likewise.
28177         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
28178         Likewise.
28179         * nptl/pthread_mutexattr_getprotocol.c
28180         (pthread_mutexattr_getprotocol): Likewise.
28181         * nptl/pthread_mutexattr_getpshared.c
28182         (pthread_mutexattr_getpshared): Likewise.
28183         * nptl/pthread_mutexattr_getrobust.c
28184         (pthread_mutexattr_getrobust): Likewise.
28185         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
28186         Likewise.
28187         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
28188         Likewise.
28189         * nptl/pthread_mutexattr_setprioceiling.c
28190         (pthread_mutexattr_setprioceiling): Likewise.
28191         * nptl/pthread_mutexattr_setprotocol.c
28192         (pthread_mutexattr_setprotocol): Likewise.
28193         * nptl/pthread_mutexattr_setpshared.c
28194         (pthread_mutexattr_setpshared): Likewise.
28195         * nptl/pthread_mutexattr_setrobust.c
28196         (pthread_mutexattr_setrobust): Likewise.
28197         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
28198         Likewise.
28199         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
28200         Likewise.
28201         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
28202         Likewise.
28203         * nptl/pthread_rwlockattr_getkind_np.c
28204         (pthread_rwlockattr_getkind_np): Likewise.
28205         * nptl/pthread_rwlockattr_getpshared.c
28206         (pthread_rwlockattr_getpshared): Likewise.
28207         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
28208         Likewise.
28209         * nptl/pthread_rwlockattr_setkind_np.c
28210         (pthread_rwlockattr_setkind_np): Likewise.
28211         * nptl/pthread_rwlockattr_setpshared.c
28212         (pthread_rwlockattr_setpshared): Likewise.
28213         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
28214         Likewise.
28215         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
28216         Likewise.
28217         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
28218         Likewise.
28219         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
28220         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
28221         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
28222         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
28223         * nptl/sem_close.c (sem_close): Likewise.
28224         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
28225         * nptl/sem_init.c (__old_sem_init): Likewise.
28226         * nptl/sigaction.c (__sigaction): Likewise.
28227         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
28228         * posix/_exit.c (_exit): Likewise.
28229         * posix/alarm.c (alarm): Likewise.
28230         * posix/confstr.c (confstr): Likewise.
28231         * posix/fpathconf.c (__fpathconf): Likewise.
28232         * posix/getgroups.c (__getgroups): Likewise.
28233         * posix/getpgid.c (__getpgid): Likewise.
28234         * posix/group_member.c (__group_member): Likewise.
28235         * posix/pathconf.c (__pathconf): Likewise.
28236         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
28237         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
28238         * posix/setgid.c (__setgid): Likewise.
28239         * posix/setpgid.c (__setpgid): Likewise.
28240         * posix/setuid.c (__setuid): Likewise.
28241         * posix/sleep.c (__sleep): Likewise.
28242         * posix/sysconf.c (__sysconf): Likewise.
28243         * posix/times.c (__times): Likewise.
28244         * posix/uname.c (__uname): Likewise.
28245         * posix/waitid.c (__waitid): Likewise.
28246         * pwd/getpw.c (__getpw): Likewise.
28247         * resolv/base64.c (b64_pton): Likewise.
28248         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
28249         * resolv/gethnamaddr.c (Dprintf): Likewise.
28250         (gethostbyname): Likewise.
28251         (gethostbyname2): Likewise.
28252         (gethostbyaddr): Likewise.
28253         (_sethtent): Likewise.
28254         (_gethtbyname): Likewise.
28255         (_gethtbyname2): Likewise.
28256         (_gethtbyaddr): Likewise.
28257         (map_v4v6_address): Likewise.
28258         (map_v4v6_hostent): Likewise.
28259         (addrsort): Likewise.
28260         (ht_sethostent): Likewise.
28261         (ht_gethostbyname): Likewise.
28262         (ht_gethostbyaddr): Likewise.
28263         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
28264         (inet_net_ntop_ipv4): Likewise.
28265         * resolv/inet_neta.c (inet_neta): Likewise.
28266         * resolv/inet_ntop.c (inet_ntop): Likewise.
28267         (inet_ntop4): Likewise.
28268         (inet_ntop6): Likewise.
28269         * resolv/inet_pton.c (__inet_pton): Likewise.
28270         (inet_pton4): Likewise.
28271         (inet_pton6): Likewise.
28272         * resolv/res_debug.c (loc_aton): Likewise.
28273         (loc_ntoa): Likewise.
28274         * resource/getpriority.c (__getpriority): Likewise.
28275         * resource/getrusage.c (__getrusage): Likewise.
28276         * resource/nice.c (nice): Likewise.
28277         * resource/setpriority.c (__setpriority): Likewise.
28278         * resource/setrlimit64.c (setrlimit64): Likewise.
28279         * resource/vlimit.c (vlimit): Likewise.
28280         * resource/vtimes.c (vtimes): Likewise.
28281         * rt/aio_error.c (aio_error): Likewise.
28282         * rt/aio_return.c (aio_return): Likewise.
28283         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
28284         * signal/kill.c (__kill): Likewise.
28285         * signal/killpg.c (killpg): Likewise.
28286         * signal/raise.c (raise): Likewise.
28287         * signal/sigaction.c (__sigaction): Likewise.
28288         * signal/sigaddset.c (sigaddset): Likewise.
28289         * signal/sigaltstack.c (sigaltstack): Likewise.
28290         * signal/sigandset.c (sigandset): Likewise.
28291         * signal/sigblock.c (__sigblock): Likewise.
28292         * signal/sigdelset.c (sigdelset): Likewise.
28293         * signal/sigempty.c (sigemptyset): Likewise.
28294         * signal/sigfillset.c (sigfillset): Likewise.
28295         * signal/sighold.c (sighold): Likewise.
28296         * signal/sigignore.c (sigignore): Likewise.
28297         * signal/sigintr.c (siginterrupt): Likewise.
28298         * signal/sigisempty.c (sigisemptyset): Likewise.
28299         * signal/sigismem.c (sigismember): Likewise.
28300         * signal/signal.c (signal): Likewise.
28301         * signal/sigorset.c (sigorset): Likewise.
28302         * signal/sigpause.c (__sigpause): Likewise.
28303         * signal/sigpending.c (sigpending): Likewise.
28304         * signal/sigprocmask.c (__sigprocmask): Likewise.
28305         * signal/sigrelse.c (sigrelse): Likewise.
28306         * signal/sigreturn.c (__sigreturn): Likewise.
28307         * signal/sigset.c (sigset): Likewise.
28308         * signal/sigsetmask.c (__sigsetmask): Likewise.
28309         * signal/sigstack.c (sigstack): Likewise.
28310         * signal/sigsuspend.c (__sigsuspend): Likewise.
28311         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
28312         * signal/sysv_signal.c (__sysv_signal): Likewise.
28313         * socket/accept.c (accept): Likewise.
28314         * socket/accept4.c (__libc_accept4): Likewise.
28315         * socket/bind.c (__bind): Likewise.
28316         * socket/connect.c (__connect): Likewise.
28317         * socket/getpeername.c (getpeername): Likewise.
28318         * socket/getsockname.c (__getsockname): Likewise.
28319         * socket/getsockopt.c (getsockopt): Likewise.
28320         * socket/listen.c (__listen): Likewise.
28321         * socket/recv.c (__recv): Likewise.
28322         * socket/recvmsg.c (__recvmsg): Likewise.
28323         * socket/send.c (__send): Likewise.
28324         * socket/sendmsg.c (__sendmsg): Likewise.
28325         * socket/shutdown.c (shutdown): Likewise.
28326         * socket/sockatmark.c (sockatmark): Likewise.
28327         * socket/socket.c (__socket): Likewise.
28328         * stdio-common/ctermid.c (ctermid): Likewise.
28329         * stdio-common/cuserid.c (cuserid): Likewise.
28330         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
28331         * stdio-common/remove.c (remove): Likewise.
28332         * stdio-common/rename.c (rename): Likewise.
28333         * stdio-common/renameat.c (renameat): Likewise.
28334         * stdio-common/tempname.c (__gen_tempname): Likewise.
28335         * stdio-common/xbug.c (InitBuffer): Likewise.
28336         (AppendToBuffer): Likewise.
28337         (ReadFile): Likewise.
28338         * stdlib/a64l.c (a64l): Likewise.
28339         * stdlib/drand48_r.c (drand48_r): Likewise.
28340         * stdlib/getcontext.c (getcontext): Likewise.
28341         * stdlib/getenv.c (getenv): Likewise.
28342         * stdlib/l64a.c (l64a): Likewise.
28343         * stdlib/llabs.c (llabs): Likewise.
28344         * stdlib/lldiv.c (lldiv): Likewise.
28345         * stdlib/lrand48_r.c (lrand48_r): Likewise.
28346         * stdlib/mrand48_r.c (mrand48_r): Likewise.
28347         * stdlib/putenv.c (putenv): Likewise.
28348         * stdlib/random.c (__srandom): Likewise.
28349         (__initstate): Likewise.
28350         (__setstate): Likewise.
28351         * stdlib/random_r.c (__srandom_r): Likewise.
28352         (__setstate_r): Likewise.
28353         (__random_r): Likewise.
28354         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
28355         * stdlib/setcontext.c (setcontext): Likewise.
28356         * stdlib/setenv.c (setenv): Likewise.
28357         (unsetenv): Likewise.
28358         * stdlib/srand48.c (srand48): Likewise.
28359         * stdlib/srand48_r.c (__srand48_r): Likewise.
28360         * stdlib/swapcontext.c (swapcontext): Likewise.
28361         * stdlib/system.c (__libc_system): Likewise.
28362         * stdlib/tst-strtod.c (expand): Likewise.
28363         * stdlib/tst-strtol.c (expand): Likewise.
28364         * stdlib/tst-strtoll.c (expand): Likewise.
28365         * streams/fattach.c (fattach): Likewise.
28366         * streams/fdetach.c (fdetach): Likewise.
28367         * streams/getmsg.c (getmsg): Likewise.
28368         * streams/isastream.c (isastream): Likewise.
28369         * string/ffs.c (__ffs): Likewise.
28370         * string/ffsll.c (ffsll): Likewise.
28371         * string/memcmp.c (memcmp_common_alignment): Likewise.
28372         (memcmp_not_common_alignment): Likewise.
28373         (MEMCMP): Likewise.
28374         * string/memcpy.c (memcpy): Likewise.
28375         * string/memmove.c (MEMMOVE): Likewise.
28376         * string/memset.c (memset): Likewise.
28377         * string/rawmemchr.c (RAWMEMCHR): Likewise.
28378         * string/strchrnul.c (STRCHRNUL): Likewise.
28379         * string/strerror.c (strerror): Likewise.
28380         * string/strndup.c (__strndup): Likewise.
28381         * string/strverscmp.c (__strverscmp): Likewise.
28382         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
28383         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
28384         (clnttcp_freeres): Likewise.
28385         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
28386         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
28387         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
28388         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
28389         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
28390         (xdr_callhdr): Likewise.
28391         * sunrpc/rpcinfo.c (udpping): Likewise.
28392         (tcpping): Likewise.
28393         (pstatus): Likewise.
28394         (pmapdump): Likewise.
28395         (brdcst): Likewise.
28396         (deletereg): Likewise.
28397         (getprognum): Likewise.
28398         (getvers): Likewise.
28399         (get_inet_address): Likewise.
28400         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
28401         * sunrpc/svc_udp.c (svcudp_create): Likewise.
28402         (svcudp_stat): Likewise.
28403         (svcudp_recv): Likewise.
28404         (svcudp_reply): Likewise.
28405         (svcudp_getargs): Likewise.
28406         (svcudp_freeargs): Likewise.
28407         (svcudp_destroy): Likewise.
28408         * sunrpc/xdr.c (xdr_bytes): Likewise.
28409         (xdr_netobj): Likewise.
28410         (xdr_string): Likewise.
28411         (xdr_wrapstring): Likewise.
28412         * sunrpc/xdr_float.c (xdr_float): Likewise.
28413         (xdr_double): Likewise.
28414         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
28415         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
28416         * sysvipc/ftok.c (ftok): Likewise.
28417         * sysvipc/msgctl.c (msgctl): Likewise.
28418         * sysvipc/msgget.c (msgget): Likewise.
28419         * sysvipc/msgrcv.c (msgrcv): Likewise.
28420         * sysvipc/msgsnd.c (msgsnd): Likewise.
28421         * sysvipc/semget.c (semget): Likewise.
28422         * sysvipc/semop.c (semop): Likewise.
28423         * sysvipc/shmat.c (shmat): Likewise.
28424         * sysvipc/shmctl.c (shmctl): Likewise.
28425         * sysvipc/shmdt.c (shmdt): Likewise.
28426         * sysvipc/shmget.c (shmget): Likewise.
28427         * termios/cfmakeraw.c (cfmakeraw): Likewise.
28428         * termios/speed.c (cfgetospeed): Likewise.
28429         (cfgetispeed): Likewise.
28430         (cfsetospeed): Likewise.
28431         (cfsetispeed): Likewise.
28432         * termios/tcflow.c (tcflow): Likewise.
28433         * termios/tcflush.c (tcflush): Likewise.
28434         * termios/tcgetattr.c (__tcgetattr): Likewise.
28435         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
28436         * termios/tcgetsid.c (tcgetsid): Likewise.
28437         * termios/tcsendbrk.c (tcsendbreak): Likewise.
28438         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
28439         * time/adjtime.c (__adjtime): Likewise.
28440         * time/dysize.c (dysize): Likewise.
28441         * time/ftime.c (ftime): Likewise.
28442         * time/getitimer.c (__getitimer): Likewise.
28443         * time/gettimeofday.c (__gettimeofday): Likewise.
28444         * time/gmtime.c (__gmtime_r): Likewise.
28445         (gmtime): Likewise.
28446         * time/localtime.c (__localtime_r): Likewise.
28447         (localtime): Likewise.
28448         * time/offtime.c (__offtime): Likewise.
28449         * time/settimeofday.c (__settimeofday): Likewise.
28450         * time/stime.c (stime): Likewise.
28451         * time/strftime_l.c (tm_diff): Likewise.
28452         (iso_week_days): Likewise.
28453         * time/strptime.c (strptime): Likewise.
28454         * time/time.c (time): Likewise.
28455         * time/timespec_get.c (timespec_get): Likewise.
28456         * time/tzset.c (tzset_internal): Likewise.
28457         (compute_change): Likewise.
28458         (__tz_compute): Likewise.
28459         * wcsmbs/btowc.c (__btowc): Likewise.
28460         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
28461         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
28462         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
28463         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
28464         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
28465         * wcsmbs/wcscat.c (__wcscat): Likewise.
28466         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
28467         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
28468         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
28469         * wcsmbs/wcscspn.c (wcscspn): Likewise.
28470         * wcsmbs/wcsdup.c (wcsdup): Likewise.
28471         * wcsmbs/wcslen.c (__wcslen): Likewise.
28472         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
28473         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
28474         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
28475         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
28476         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
28477         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
28478         * wcsmbs/wcsspn.c (wcsspn): Likewise.
28479         * wcsmbs/wcsstr.c (wcsstr): Likewise.
28480         * wcsmbs/wcstok.c (wcstok): Likewise.
28481         * wcsmbs/wctob.c (wctob): Likewise.
28482         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
28483         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
28484         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
28485         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
28486         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
28487         * wcsmbs/wmemset.c (__wmemset): Likewise.
28488         * wctype/wcfuncs.c (__towlower): Likewise.
28489         (__towupper): Likewise.
28491         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
28492         (lll_unlock_elision): Add adapt_count parameter.
28494 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28496         * sysdeps/nptl/configure.ac: Do not give errors based on the
28497         results of top-level configure tests.
28498         * sysdeps/nptl/configure: Regenerated.
28500         * configure.ac (libc_cv_Bgroup): Remove configure test.
28501         * configure: Regenerated.
28502         * config.make.in (have-Bgroup): Remove variable.
28504         * configure.ac (sizeof_long_double): Remove configure test.
28505         * configure: Regenerated.
28506         * config.make.in (sizeof-long-double): Remove variable.
28508         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
28509         * configure: Regenerated.
28510         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
28511         variable.
28512         (exceptions): Likewise.
28513         * sysdeps/arm/configure: Regenerated.
28514         * config.make.in (exceptions): Remove variable.
28515         * Makeconfig (uses-callbacks): Use -fexceptions instead of
28516         $(exceptions).
28517         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
28518         (CFLAGS-vdprintf_chk.c): Likewise.
28519         (CFLAGS-printf_chk.c): Likewise.
28520         (CFLAGS-fprintf_chk.c): Likewise.
28521         (CFLAGS-vprintf_chk.c): Likewise.
28522         (CFLAGS-vfprintf_chk.c): Likewise.
28523         (CFLAGS-gets_chk.c): Likewise.
28524         (CFLAGS-fgets_chk.c): Likewise.
28525         (CFLAGS-fgets_u_chk.c): Likewise.
28526         (CFLAGS-fread_chk.c): Likewise.
28527         (CFLAGS-fread_u_chk.c): Likewise.
28528         (CFLAGS-wprintf_chk.c): Likewise.
28529         (CFLAGS-fwprintf_chk.c): Likewise.
28530         (CFLAGS-vwprintf_chk.c): Likewise.
28531         (CFLAGS-vfwprintf_chk.c): Likewise.
28532         (CFLAGS-fgetws_chk.c): Likewise.
28533         (CFLAGS-fgetws_u_chk.c): Likewise.
28534         * libio/Makefile (CFLAGS-fileops.c): Likewise.
28535         (CFLAGS-fputc.c): Likewise.
28536         (CFLAGS-fputwc.c): Likewise.
28537         (CFLAGS-freopen64.c): Likewise.
28538         (CFLAGS-freopen.c): Likewise.
28539         (CFLAGS-fseek.c): Likewise.
28540         (CFLAGS-fseeko64.c): Likewise.
28541         (CFLAGS-fseeko.c): Likewise.
28542         (CFLAGS-ftello64.c): Likewise.
28543         (CFLAGS-ftello.c): Likewise.
28544         (CFLAGS-fwide.c): Likewise.
28545         (CFLAGS-genops.c): Likewise.
28546         (CFLAGS-getc.c): Likewise.
28547         (CFLAGS-getchar.c): Likewise.
28548         (CFLAGS-getwc.c): Likewise.
28549         (CFLAGS-getwchar.c): Likewise.
28550         (CFLAGS-iofclose.c): Likewise.
28551         (CFLAGS-iofflush.c): Likewise.
28552         (CFLAGS-iofgetpos64.c): Likewise.
28553         (CFLAGS-iofgetpos.c): Likewise.
28554         (CFLAGS-iofgets.c): Likewise.
28555         (CFLAGS-iofgetws.c): Likewise.
28556         (CFLAGS-iofputs.c): Likewise.
28557         (CFLAGS-iofputws.c): Likewise.
28558         (CFLAGS-iofread.c): Likewise.
28559         (CFLAGS-iofsetpos64.c): Likewise.
28560         (CFLAGS-iofsetpos.c): Likewise.
28561         (CFLAGS-ioftell.c): Likewise.
28562         (CFLAGS-iofwrite.c): Likewise.
28563         (CFLAGS-iogetdelim.c): Likewise.
28564         (CFLAGS-iogetline.c): Likewise.
28565         (CFLAGS-iogets.c): Likewise.
28566         (CFLAGS-iogetwline.c): Likewise.
28567         (CFLAGS-ioputs.c): Likewise.
28568         (CFLAGS-ioseekoff.c): Likewise.
28569         (CFLAGS-ioseekpos.c): Likewise.
28570         (CFLAGS-iosetbuffer.c): Likewise.
28571         (CFLAGS-iosetvbuf.c): Likewise.
28572         (CFLAGS-ioungetc.c): Likewise.
28573         (CFLAGS-ioungetwc.c): Likewise.
28574         (CFLAGS-oldfileops.c): Likewise.
28575         (CFLAGS-oldiofclose.c): Likewise.
28576         (CFLAGS-oldiofgetpos64.c): Likewise.
28577         (CFLAGS-oldiofgetpos.c): Likewise.
28578         (CFLAGS-oldiofsetpos64.c): Likewise.
28579         (CFLAGS-oldiofsetpos.c): Likewise.
28580         (CFLAGS-peekc.c): Likewise.
28581         (CFLAGS-putc.c): Likewise.
28582         (CFLAGS-putchar.c): Likewise.
28583         (CFLAGS-putwc.c): Likewise.
28584         (CFLAGS-putwchar.c): Likewise.
28585         (CFLAGS-rewind.c): Likewise.
28586         (CFLAGS-wfileops.c): Likewise.
28587         (CFLAGS-wgenops.c): Likewise.
28588         (CFLAGS-oldiofopen.c): Likewise.
28589         (CFLAGS-iofopen.c): Likewise.
28590         (CFLAGS-iofopen64.c): Likewise.
28591         (CFLAGS-oldtmpfile.c): Likewise.
28592         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
28593         (CFLAGS-fprintf.c): Likewise.
28594         (CFLAGS-printf.c): Likewise.
28595         (CFLAGS-vfwprintf.c): Likewise.
28596         (CFLAGS-vfscanf.c): Likewise.
28597         (CFLAGS-vfwscanf.c): Likewise.
28598         (CFLAGS-fscanf.c): Likewise.
28599         (CFLAGS-scanf.c): Likewise.
28600         (CFLAGS-isoc99_vfscanf.c): Likewise.
28601         (CFLAGS-isoc99_vscanf.c): Likewise.
28602         (CFLAGS-isoc99_fscanf.c): Likewise.
28603         (CFLAGS-isoc99_scanf.c): Likewise.
28604         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
28605         (CFLAGS-isoc99_fwscanf.c): Likewise.
28606         (CFLAGS-isoc99_vwscanf.c): Likewise.
28607         (CFLAGS-isoc99_vfwscanf.c): Likewise.
28609         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
28610         after mkstemp64.
28611         * login/tst-utmp.c (do_prepare): Likewise.
28612         * rt/tst-aio.c (do_prepare): Likewise.
28613         * rt/tst-aio64.c (do_prepare): Likewise.
28615 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28617         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
28618         (__lll_lock_elision): Remove adapt_count decrement...
28619         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
28620         (__lll_trylock_elision): Likewise.
28621         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
28622         (__lll_unlock_elision): ... to here. And utilize
28623         new adapt_count parameter.
28624         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28625         (__lll_unlock_elision): Update to include adapt_count
28626         parameter.
28627         (lll_unlock_elision): Pass pointer to adapt_count
28628         variable.
28630 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
28632         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
28633         Add elision adapt_count parameter to list of arguments.
28634         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
28635         (lll_unlock_elision): Update with new parameter list
28636         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
28637         (lll_unlock_elision): Likewise.
28638         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
28639         (lll_unlock_elision): Likewise.
28641 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28643         [BZ #19122]
28644         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
28645         attribute_hidden.
28647         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
28648         attribute_hidden.
28649         [IS_IN (rtld)] (__strdup): Likewise.
28650         [IS_IN (rtld)] (__strerror_r): Likewise.
28651         [IS_IN (rtld)] (__strsep_g): Likewise.
28652         [IS_IN (rtld)] (memchr): Likewise.
28653         [IS_IN (rtld)] (memcmp): Likewise.
28654         [IS_IN (rtld)] (memcpy): Likewise.
28655         [IS_IN (rtld)] (memmove): Likewise.
28656         [IS_IN (rtld)] (memset): Likewise.
28657         [IS_IN (rtld)] (rawmemchr): Likewise.
28658         [IS_IN (rtld)] (stpcpy): Likewise.
28659         [IS_IN (rtld)] (strchr): Likewise.
28660         [IS_IN (rtld)] (strcmp): Likewise.
28661         [IS_IN (rtld)] (strlen): Likewise.
28662         [IS_IN (rtld)] (strnlen): Likewise.
28663         [IS_IN (rtld)] (strsep): Likewise.
28665         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
28666         attribute_hidden.
28667         [IS_IN (rtld)] (__strtoul_internal): Likewise.
28669         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
28670         attribute_hidden.
28671         [IS_IN (rtld)] (__libc_sigaction): Likewise.
28673         * include/setjmp.h (__longjmp): Add attribute_hidden.
28674         [IS_IN (rtld)] (__sigsetjmp): Likewise.
28676         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
28677         Add attribute_hidden.
28679         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
28680         [IS_IN (rtld)] (__open): Likewise.
28681         [IS_IN (rtld)] (__fcntl): Likewise.
28683         * include/dirent.h (__opendirat): Add attribute_hidden.
28684         (__getdents): Likewise.
28685         (__getdents64): Likewise.
28686         (__alloc_dir): Likewise.
28687         [IS_IN (rtld)] (__closedir): Likewise.
28688         [IS_IN (rtld)] (__fdopendir): Likewise.
28689         [IS_IN (rtld)] (__readdir): Likewise.
28690         [IS_IN (rtld)] (__readdir64): Likewise.
28691         [IS_IN (rtld)] (__rewinddir): Likewise.
28693         * include/dlfcn.h (_dl_catch_error): Moved to ...
28694         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
28695         attribute_hidden.
28697         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
28698         (_itoa_word): Likewise.
28700         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
28701         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
28702         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
28703         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
28704         (_dl_higher_prime_number): Likewise.
28705         (_dl_debug_printf_c): Likewise.
28706         (_dl_signal_cerror): Likewise.
28707         (_dl_receive_error): Likewise.
28708         (_dl_reloc_bad_type): Likewise.
28709         (_dl_resolve_conflicts): Likewise.
28710         (_dl_check_all_versions): Likewise.
28711         (_dl_check_map_versions): Likewise.
28712         (_dl_sort_fini): Likewise.
28713         (_dl_debug_initialize): Likewise.
28714         (_dl_init_paths): Likewise.
28715         (_dl_show_auxv): Likewise.
28716         (_dl_next_ld_env_entry): Likewise.
28717         (_dl_important_hwcaps): Likewise.
28718         (_dl_load_cache_lookup): Likewise.
28719         (_dl_update_slotinfo): Likewise.
28720         (_dl_show_scope): Likewise.
28722         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
28723         attribute_hidden.
28724         (_wordcopy_fwd_dest_aligned): Likewise.
28725         (_wordcopy_bwd_aligned): Likewise.
28726         (_wordcopy_bwd_dest_aligned): Likewise.
28728         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
28729         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28730         Likewise.
28731         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
28732         Likewise.
28733         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
28735 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28737         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
28738         GCC 5 requirement.
28740 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
28742         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
28743         test.
28744         * sysdeps/i386/configure: Regenerated.
28745         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
28746         code unconditional.
28748         * configure.ac (libc_cv_asm_previous_directive): Remove configure
28749         test.
28750         (libc_cv_asm_popsection_directive): Likewise.
28751         * configure: Regenerated.
28752         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
28753         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
28754         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
28755         (__make_section_unallocated): Make definition unconditional.
28756         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
28757         Remove conditional definition.
28758         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
28759         (__make_section_unallocated): Likewise.
28761         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
28762         * configure: Regenerated.
28763         * config.make.in (static-libgcc): Remove variable.
28764         * Makerules (build-shlib-helper): Use -static-libgcc instead of
28765         $(static-libgcc).
28766         (build-module-helper): Likewise.
28768         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
28769         * configure: Regenerated.
28771 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28773         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
28774         (struct char_buffer): New type.
28775         (char_buffer_start, char_buffer_size, char_buffer_error)
28776         (char_buffer_rewind, char_buffer_add): New functions.
28777         (ADDW): Remove macro, replaced by the char_buffer_add function.
28778         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
28779         of extend_alloca.  Make control flow more explicit.
28781 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28783         [BZ #19137]
28784         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
28785         Add -fomit-frame-pointer.
28786         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
28788 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28790         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
28791         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
28792         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
28793         only if !__GNUC_PREREQ (5,0).
28794         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
28795         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
28796         (INTERNAL_SYSCALL_NCS): Likewise.
28797         (LOADREGS_0): New macro for GCC 5.
28798         (ASMARGS_0): Likewise.
28799         (LOADREGS_1): Likewise.
28800         (ASMARGS_1): Likewise.
28801         (LOADREGS_2): Likewise.
28802         (ASMARGS_2): Likewise.
28803         (LOADREGS_3): Likewise.
28804         (ASMARGS_3): Likewise.
28805         (LOADREGS_4): Likewise.
28806         (ASMARGS_4): Likewise.
28807         (LOADREGS_5): Likewise.
28808         (ASMARGS_5): Likewise.
28809         (LOADREGS_6): Likewise.
28810         (ASMARGS_6): Likewise.
28812 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
28814         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
28815         -fomit-frame-pointer.
28816         (CFLAGS-mmap64.c): Likewise.
28817         (CFLAGS-semtimedop.c): Likewise.
28818         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
28819         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
28820         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
28821         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
28823 2015-10-15  Florian Weimer  <fweimer@redhat.com>
28825         [BZ #18928]
28826         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
28827         _dl_pointer_guard member.
28828         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
28829         initializer.
28830         (security_init): Always set up pointer guard.
28831         (process_envvars): Do not process LD_POINTER_GUARD.
28833 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
28835         [BZ #19134]
28836         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
28837         (.LC2): Likewise.
28838         (.LC3): Likewise.
28839         (__lround): Do not add 0.5 to integer or out-of-range arguments.
28841 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
28843         [BZ #19129]
28844         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
28845         r0 and r1.
28847 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
28849         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
28851 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
28853         * include/stap-probe.h: Fix macro definition formatting.
28855 2015-10-14  Florian Weimer  <fweimer@redhat.com>
28857         [BZ #19074]
28858         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
28859         load and store num_ifs.
28861 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28863         [BZ #18822]
28864         * sysdeps/unix/sysv/linux/sched_getaffinity.c
28865         (__sched_getaffinity_new): Add libc_hidden_proto and
28866         libc_hidden_def.
28868 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28870         [BZ #19007]
28871         * scripts/localplt.awk: Also allow GOT references.
28872         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
28873         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
28874         with "+ REL R_386_GLOB_DAT".
28875         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
28876         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
28878 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
28880         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
28881         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28882         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
28883         Likewise.
28884         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
28885         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
28886         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
28887         INTERNAL_SYSCALLINTERNAL_SYSCALL and
28888         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28889         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
28890         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
28891         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
28892         Likewise.
28893         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
28895 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28897         [BZ #19125]
28898         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
28899         <math_private.h> and <stdint.h>.
28900         (__llround): Avoid conversions to and from long long int, and
28901         subtractions, where those might raise spurious exceptions.
28902         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
28903         <math_private.h> and <stdint.h>.
28904         (__llroundf): Avoid conversions to and from long long int, and
28905         subtractions, where those might raise spurious exceptions.
28907 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28909         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
28910         INLINE_SYSCALL_ERROR_RETURN_VALUE.
28911         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
28912         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
28913         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
28914         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
28915         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
28916         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
28917         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
28918         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
28919         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
28920         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
28921         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
28922         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
28923         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
28924         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
28925         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
28926         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
28927         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
28928         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
28929         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
28930         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
28931         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
28932         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
28933         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
28934         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
28935         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
28936         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
28937         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
28938         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
28939         (__xstat64_conv): Likewise.
28940         (__xstat32_conv): Likewise.
28942 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28944         * sysdeps/unix/sysv/linux/sysdep.h: New file.
28945         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
28946         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
28947         <sysdeps/unix/sysv/linux/sysdep.h>.
28948         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28949         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
28950         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
28951         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28952         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28953         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
28954         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
28955         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
28956         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
28957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28959         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28960         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28961         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28962         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
28963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28964         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
28965         (sysdep-dl-routines): Add sysdep.
28966         [$(subdir) == nptl] (libpthread-routines): Likewise.
28967         [$(subdir) == rt] (librt-routines): Likewise.
28968         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
28969         PIC when branching to SYSCALL_ERROR_LABEL.
28970         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
28971         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
28972         <sysdeps/unix/sysv/linux/sysdep.h>.
28973         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
28974         (SYSCALL_ERROR_ERRNO): Removed.
28975         (SYSCALL_ERROR_HANDLER): Changed to empty.
28976         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
28977         (__syscall_error): New prototype.
28978         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
28979         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
28981 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
28983         [BZ #19124]
28984         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
28985         (_dl_runtime_resolve_avx512): Make it a hidden alias of
28986         _dl_runtime_resolve_avx.
28987         (_dl_runtime_profile_avx512): Make it a hidden alias of
28988         _dl_runtime_profile_avx.
28990 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
28992         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
28993         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
28994         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
28995         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
28997         [BZ #16422]
28998         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
28999         New configure test.
29000         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
29001         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
29002         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
29003         <math_private.h> and <stdint.h>.
29004         (__llrint): Avoid conversions to long long int where those might
29005         raise spurious exceptions.
29006         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
29007         <math_private.h> and <stdint.h>.
29008         (__llrintf): Avoid conversions to long long int where those might
29009         raise spurious exceptions.
29011 2015-10-12  Andreas Schwab  <schwab@suse.de>
29013         [BZ #18969]
29014         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
29015         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
29016         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
29017         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
29018         $(gen-locales).
29019         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
29020         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
29021         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
29022         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
29023         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
29024         $(gen-locales).
29025         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
29026         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
29027         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
29028         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
29029         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
29030         ($(objpfx)tst-ftell-active-handler.out)
29031         ($(objpfx)tst-ftell-append.out)
29032         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
29033         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
29034         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
29035         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
29036         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
29037         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
29038         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
29039         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
29040         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
29041         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
29042         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
29043         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
29044         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
29045         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
29046         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
29047         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
29048         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
29049         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
29050         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
29051         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
29052         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
29053         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
29054         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
29055         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
29056         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
29057         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
29058         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
29059         $(gen-locales).
29060         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
29061         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
29062         $(gen-locales).
29063         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
29064         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
29065         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
29066         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
29067         $(gen-locales).
29068         * libio/tst_wprintf2.c (main): Use explicit locale.
29069         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
29071 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29073         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
29074         __msg_sig_post.
29075         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
29077 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29079         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
29080         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
29082         * sysdeps/arm/libm-test-ulps: Regenerated.
29084         [BZ #15470]
29085         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
29087         [BZ #16399]
29088         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
29089         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
29090         and <fix-fp-int-convert-overflow.h>.
29091         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29092         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29093         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
29094         and <fix-fp-int-convert-overflow.h>.
29095         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
29096         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29097         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
29098         <fix-fp-int-convert-overflow.h>.
29099         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
29100         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29101         * sysdeps/ieee754/dbl-64/s_lround.c: Include
29102         <fix-fp-int-convert-overflow.h>.
29103         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
29104         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29105         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
29106         and <fix-fp-int-convert-overflow.h>.
29107         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29108         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29109         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
29110         <limits.h> and <fix-fp-int-convert-overflow.h>.
29111         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29112         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29113         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
29114         and <fix-fp-int-convert-overflow.h>.
29115         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
29116         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29117         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
29118         and <fix-fp-int-convert-overflow.h>.
29119         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
29120         FIX_DBL_LLONG_CONVERT_OVERFLOW.
29121         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
29123 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
29125         [BZ #18589]
29126         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
29127         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
29128         $(gen-locales).
29130 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29131             Phil Blundell <pb@pbcl.net>
29133         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
29134         * nptl/tst-cancel26.c: New file.
29135         * nptl/tst-cancel27.c: Likewise.
29137 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
29139         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
29140         __ILP32__ isn't defined.
29141         (lrint): Likewise.
29142         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
29143         (lrintf): Likewise.
29144         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
29145         (lrintl): Likewise.
29146         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
29147         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
29148         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
29150 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
29152         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
29153         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
29155         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
29156         file.
29157         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
29158         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
29160 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
29162         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
29163         configure test.
29164         * sysdeps/i386/configure: Regenerated.
29165         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
29166         configure test.
29167         * sysdeps/x86_64/configure: Regenerated.
29168         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
29169         Make code unconditional.
29171         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
29172         test.
29173         * sysdeps/i386/configure: Regenerated.
29174         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
29175         test.
29176         * sysdeps/x86_64/configure: Regenerated.
29177         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
29178         Make code unconditional.
29179         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29180         Likewise.
29181         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
29182         Likewise.
29183         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29184         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
29185         code unconditional.
29186         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29187         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
29188         code unconditional.
29189         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29190         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
29191         code unconditional.
29192         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
29193         code unconditional.
29194         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29195         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
29196         code unconditional.
29197         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29198         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
29199         code unconditional.
29200         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29201         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
29202         code unconditional.
29203         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29204         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
29205         code unconditional.
29206         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
29207         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
29209         [BZ #19095]
29210         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
29211         mantissa to long int before shifting left.
29213 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29215         [BZ #19094]
29216         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
29217         <limits.h>.
29218         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29219         when result overflows but exception would not result from cast.
29220         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
29221         <limits.h>.
29222         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29223         when result overflows but exception would not result from cast.
29224         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
29225         <limits.h>.
29226         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29227         when result overflows but exception would not result from cast.
29228         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
29229         <limits.h>.
29230         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29231         when result overflows but exception would not result from cast.
29232         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
29233         <limits.h>.
29234         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
29235         when result overflows but exception would not result from cast.
29236         * math/libm-test.inc (lrint_test_data): Add more tests.
29237         (llrint_test_data): Likewise.
29239 2015-10-08  Roland McGrath  <roland@hack.frob.com>
29241         [BZ #18872]
29242         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
29243         Move out from under [$(run-built-tests) = yes] conditional.
29244         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
29245         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
29247 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
29249         [BZ #18589]
29250         * string/Makefile (tests): Add bug-strcoll2.
29251         (LOCALES): Add cs_CZ.UTF-8.
29252         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
29254         [BZ #18589]
29255         * string/bug-strcoll2.c: New file.
29256         * locale/categories.def: Revert commit
29257         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
29258         * locale/langinfo.h: Likewise.
29259         * locale/localeinfo.h: Likewise.
29260         * locale/C-collate.c: Likewise.
29261         * locale/programs/ld-collate.c (collate_output): Likewise.
29262         * string/strcoll_l.c (STRDIFF): Likewise.
29263         (STRCOLL): Likewise.
29264         * wcsmbs/wcscoll_l.c: Likewise.
29266 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
29268         * math/libm-test.inc (lround_test_data): Do not expect the absence
29269         of "inexact" for some tests with non-integer arguments.
29270         (llround_test_data): Likewise.
29272         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
29273         test.
29274         (libc_cv_cc_sse2avx): Likewise.
29275         * sysdeps/i386/configure: Regenerated.
29276         * sysdeps/i386/i686/multiarch/Makefile
29277         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
29278         [$(subdir) = math].
29279         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
29280         code unconditional.
29281         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29282         Likewise.
29283         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
29284         Likewise.
29285         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29286         Likewise.
29287         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
29288         test.
29289         (libc_cv_cc_sse2avx): Likewise.
29290         * sysdeps/x86_64/configure: Regenerated.
29291         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
29292         unconditional.
29293         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
29294         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
29295         unconditional.
29296         (_dl_runtime_profile)
29297         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
29298         conditional code.
29299         * sysdeps/x86_64/fpu/multiarch/Makefile
29300         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
29301         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29302         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29303         * sysdeps/x86_64/fpu/multiarch/e_exp.c
29304         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29305         * sysdeps/x86_64/fpu/multiarch/e_log.c
29306         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29307         * sysdeps/x86_64/fpu/multiarch/s_atan.c
29308         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29309         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
29310         Likewise.
29311         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
29312         Likewise.
29313         * sysdeps/x86_64/fpu/multiarch/s_sin.c
29314         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29315         * sysdeps/x86_64/fpu/multiarch/s_tan.c
29316         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
29317         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
29318         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
29319         (HAVE_SSE2AVX_SUPPORT): Likewise.
29321 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
29323         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
29324         instead of #pragma optimize.
29326 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29328         [BZ #17195]
29329         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
29330         as is similarly done in systrim and _int_free already.
29332 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29334         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
29336 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29338         [BZ #19088]
29339         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
29340         <limits.h>.
29341         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29342         overflows but exception would not result from cast.
29343         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
29344         and <limits.h>.
29345         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
29346         overflows but exception would not result from cast.
29347         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
29348         <limits.h>.
29349         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29350         overflows but exception would not result from cast.
29351         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
29352         <limits.h>.
29353         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29354         overflows but exception would not result from cast.
29355         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
29356         <limits.h>.
29357         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
29358         overflows but exception would not result from cast.
29359         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
29360         <limits.h>.
29361         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
29362         overflows but exception would not result from cast.
29363         * math/libm-test.inc (lround_test_data): Add more tests.
29364         (llround_test_data): Likewise.
29366 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
29368         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
29369         (CFLAGS-ialloc.c): Ditto.
29370         (CFLAGS-scheck.c): Ditto.
29372 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
29374         [BZ #19086]
29375         * manual/filesys.texi (Storage Allocation): Fix argument order for
29376         posix_fallocate64.
29378 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29380         [BZ #19085]
29381         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
29382         exponent below 48 inside case for non-overflowing exponent.
29383         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
29385 2015-10-07  Florian Weimer  <fweimer@redhat.com>
29387         * iconvdata/cp737.h (from_idx): Add const.
29388         * iconvdata/cp775.h (from_idx): Likewise.
29390 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
29392         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
29393         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
29394         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
29396         [BZ #19079]
29397         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
29398         file, conditioned on [!_LP64].
29399         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
29400         [!_LP64] (__lround): Do not define as function or alias.
29401         [!_LP64] (lround): Likewise.
29402         [!_LP64] (__lroundl): Likewise.
29403         [!_LP64] (lroundl): Likewise.
29404         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
29405         macro.
29406         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
29407         Likewise.
29409 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29411         * math/libm-test.inc (lrint_test_data): Add more tests.
29412         (llrint_test_data): Likewise.
29413         (lround_test_data): Likewise.
29414         (llround_test_data): Likewise.
29416         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
29417         (llrint_test_data): Add tests used for lrint.
29419         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
29420         test.
29421         * sysdeps/i386/configure: Regenerated.
29422         * sysdeps/i386/i686/multiarch/Makefile
29423         [$(config-cflags-sse4) = yes]: Make code unconditional.
29424         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29425         Likewise.
29426         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
29427         Likewise.
29428         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
29429         test.
29430         * sysdeps/x86_64/configure: Regenerated.
29431         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
29432         Make code unconditional.
29433         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
29434         Likewise.
29435         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
29436         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
29438         * scripts/rpm2dynsym.sh: Remove file.
29440 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29442         * configure.ac (libc_cv_cxx_thread_local): Define.
29443         * configure: Regenerate.
29444         * config.make.in (have-cxx-thread_local): Define.
29445         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
29446         (LDLIBS-tst-thread_local1): Define.
29447         (tests): Add tst-thread_local1.
29448         [have-cxx-thread_local != yes] (tests-unsupported): Add
29449         tst-thread_local1.
29450         * nptl/tst-thread_local1.cc: New file.
29452 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
29454         [BZ #19078]
29455         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
29456         (u_thres): Likewise.
29457         (__expl): Determine whether to call __kernel_standard_l based on
29458         value of result, not argument.
29460         * math/libm-test.inc (scalb_test_data): Add more expectations for
29461         the "inexact" exception.
29463         [BZ #19077]
29464         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
29465         0.0L for argument 1.0L.
29467         [BZ #19076]
29468         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
29469         constant 0.0L when computing infinite result.
29471 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29473         [BZ #10432]
29474         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
29475         malloc_usable_size.
29477 2015-10-06  Florian Weimer  <fweimer@redhat.com>
29479         [BZ #19018]
29480         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
29481         Mangle function pointer before storing it.
29482         (__call_tls_dtors): Demangle function pointer before calling it.
29484 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29486         [BZ #19012]
29487         * iconv/gconv_db.c (gen_steps): Check for additional errors.
29488         Clean up on failure.
29490 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
29492         [BZ #19071]
29493         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
29494         long int variable to store possibly incremented high part of
29495         mantissa.
29496         * math/libm-test.inc (lround_test_data): Add tests used for
29497         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
29498         for tests requiring 64-bit long.  Do not condition tests on
29499         [TEST_FLOAT] unnecessarily.
29500         (llround_test_data): Add tests used for lround.  Add another
29501         expectation for the "inexact" exception.  Do not condition tests
29502         on [TEST_FLOAT] unnecessarily.
29504         [BZ #887]
29505         [BZ #19049]
29506         [BZ #19050]
29507         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
29508         * sysdeps/ieee754/dbl-64/e_log10.c: Include
29509         <fix-int-fp-convert-zero.h>.
29510         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29511         * sysdeps/ieee754/dbl-64/e_log2.c: Include
29512         <fix-int-fp-convert-zero.h>.
29513         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29514         * sysdeps/ieee754/dbl-64/s_erf.c: Include
29515         <fix-int-fp-convert-zero.h>.
29516         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29517         * sysdeps/ieee754/dbl-64/s_logb.c: Include
29518         <fix-int-fp-convert-zero.h>.
29519         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29520         * sysdeps/ieee754/flt-32/e_log10f.c: Include
29521         <fix-int-fp-convert-zero.h>.
29522         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29523         * sysdeps/ieee754/flt-32/e_log2f.c: Include
29524         <fix-int-fp-convert-zero.h>.
29525         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29526         * sysdeps/ieee754/flt-32/s_erff.c: Include
29527         <fix-int-fp-convert-zero.h>.
29528         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29529         * sysdeps/ieee754/flt-32/s_logbf.c: Include
29530         <fix-int-fp-convert-zero.h>.
29531         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29532         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
29533         <fix-int-fp-convert-zero.h>.
29534         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29535         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
29536         <fix-int-fp-convert-zero.h>.
29537         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
29538         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
29539         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
29540         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
29541         file.
29542         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
29544 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
29546         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29548 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
29550         [BZ #19059]
29551         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
29552         overflowing computation.
29553         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
29554         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
29555         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
29556         Likewise.
29557         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
29558         Likewise.
29559         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
29560         Likewise.
29561         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
29562         Likewise.
29563         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
29564         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
29565         Likewise.
29566         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
29567         Likewise.
29568         * math/libm-test.inc (nexttoward_test_data): Add more tests.
29570         * nss/rewrite_field.c (__nss_rewrite_field): Use
29571         internal_function.
29572         * nss/valid_field.c (__nss_valid_field): Likewise.
29573         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
29575 2015-10-02  Florian Weimer  <fweimer@redhat.com>
29577         [BZ #18724]
29578         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
29579         (__nss_invalid_field_characters, __nss_valid_field)
29580         (__nss_valid_list_field, __nss_rewrite_field): Declare.
29581         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
29582         tst-field.c: New file.
29583         * nss/Makefile (routines): Add valid_field, rewrite_field.
29584         (tests-static): Define unconditionally.
29585         (tests): Include tests-static.
29586         [build-static-nss] (tests-static): Use append.
29587         [build-static-nss] (tests): Remove modification.
29588         * nss/getent.c (print_group): Call putgrent.  Report error.
29589         (print_gshadow): Call putsgent.  Report error.
29590         (print_passwd): Call putpwent.  Report error.
29591         (print_shadow): Call putspent.  Report error.
29592         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
29593         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
29594         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
29595         name, password, directory, shell fields for valid syntax.  Rewrite
29596         GECOS field to match syntax.
29597         * pwd/Makefile (tests): Add tst-putpwent.
29598         * pwd/tst-putpwent.c: New file.
29599         * grp/putgrent.c (putgrent): Convert to ISO function definition.
29600         Check grName, grpasswd, gr_mem fields for valid syntax.
29601         Change loop variable i to size_t.
29602         * grp/Makefile (tests): Add tst-putgrent.
29603         * grp/tst-putgrent.c: New file.
29604         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
29605         valid syntax.
29606         * shadow/Makefile (tests): Add tst-putspent.
29607         * shadow/tst-putspent.c: New file.
29608         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
29609         sg_mem fields for valid syntax.
29610         * gshadow/Makefile (tests): Add tst-putsgent.
29611         * gshadow/tst-putsgent.c: New file.
29613 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29615         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
29616         assembly instructions.
29618 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29620         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
29621         prefix from operands.
29623 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
29625         [BZ #16347]
29626         [BZ #19046]
29627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
29628         <libc-internal.h>.
29629         (MAXLGM): Do not use diagnostic control macros.
29630         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
29631         threshold for ldbl-128ibm.
29632         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
29633         instead of multiplying by log then subtracting.
29634         * math/auto-libm-test-in: Add more tests of lgamma.
29635         * math/auto-libm-test-out: Regenerated.
29637         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
29638         (TYPE_HEX_DIG): Likewise.
29639         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
29640         precisions when printing floating-point numbers.
29641         (check_float_internal): Likewise.
29643 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29645         [BZ #16620]
29646         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
29647         of log (10) rounded downward to 48 bits.
29648         (log10_low): Use corresponding low part of log (10).
29650         [BZ #19032]
29651         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
29652         compute result as (x - x) / (x - x) not as 0 / 0.
29653         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
29654         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
29656         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
29657         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
29658         and expm1.
29659         * math/auto-libm-test-out: Regenerated.
29660         * math/libm-test.inc (acos_test_data): Add more tests.
29661         (asin_test_data): Likewise.
29662         (asinh_test_data): Likewise.
29663         (atan_test_data): Likewise.
29664         (atanh_test_data): Likewise.
29665         (atan2_test_data): Likewise.
29666         (cbrt_test_data): Likewise.
29667         (ceil_test_data): Likewise.
29668         (copysign_test_data): Likewise.
29669         (cos_test_data): Likewise.
29670         (cosh_test_data): Likewise.
29671         (erf_test_data): Likewise.
29672         (erfc_test_data): Likewise.
29673         (exp_test_data): Likewise.
29674         (exp10_test_data): Likewise.
29675         (exp2_test_data): Likewise.
29676         (expm1_test_data): Likewise.
29677         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29679 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
29681         [BZ #19006]
29682         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
29683         to ...
29684         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
29685         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
29686         to ...
29687         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
29688         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
29689         to ...
29690         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
29691         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
29692         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
29693         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
29694         to ...
29695         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
29696         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
29697         Moved to ...
29698         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
29699         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
29700         Moved to ...
29701         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
29702         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
29703         to ...
29704         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
29705         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
29706         Moved to ...
29707         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
29708         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
29709         to ...
29710         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
29711         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
29712         Removed.
29713         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
29714         Likewise.
29715         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
29716         Likewise.
29717         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
29718         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
29719         Likewise.
29720         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
29721         Likewise.
29722         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
29723         Likewise.
29724         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
29725         Likewise.
29726         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
29727         Likewise.
29728         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
29729         Likewise.
29730         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
29731         Likewise.
29732         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
29733         Likewise.
29734         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
29735         Likewise.
29736         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
29737         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
29738         Likewise.
29739         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
29740         Likewise.
29741         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
29742         Likewise.
29743         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
29744         Likewise.
29745         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
29746         Likewise.
29747         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
29748         Replace ../i486/pthread_cond_timedwait.S with
29749         ../pthread_cond_timedwait.S.
29751 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
29753         * math/libm-test.inc (acos_test_data): Refine expectations for
29754         errno and "inexact" exceptions.
29755         (acosh_test_data): Likewise.
29756         (asin_test_data): Likewise.
29757         (asinh_test_data): Likewise.
29758         (atan_test_data): Likewise.
29759         (atanh_test_data): Likewise.
29760         (atan2_test_data): Likewise.
29761         (cbrt_test_data): Likewise.
29762         (ceil_test_data): Likewise.
29763         (copysign_test_data): Likewise.
29764         (cosh_test_data): Likewise.
29765         (erf_test_data): Likewise.
29766         (erfc_test_data): Likewise.
29767         (exp_test_data): Likewise.
29768         (exp10_test_data): Likewise.
29769         (exp2_test_data): Likewise.
29770         (expm1_test_data): Likewise.
29771         (fabs_test_data): Likewise.
29772         (floor_test_data): Likewise.
29773         (fma_test_data): Likewise.
29774         (fmax_test_data): Likewise.
29775         (fmin_test_data): Likewise.
29776         (fmod_test_data): Likewise.
29777         (fpclassify_test_data): Likewise.
29778         (frexp_test_data): Likewise.
29779         (hypot_test_data): Likewise.
29780         (ilogb_test_data): Likewise.
29781         (isgreater_test_data): Likewise.
29782         (isgreaterequal_test_data): Likewise.
29783         (isinf_test_data): Likewise.
29784         (isless_test_data): Likewise.
29785         (islessequal_test_data): Likewise.
29786         (islessgreater_test_data): Likewise.
29787         (isnan_test_data): Likewise.
29788         (isnormal_test_data): Likewise.
29789         (issignaling_test_data): Likewise.
29790         (isunordered_test_data): Likewise.
29791         (j0_test_data): Likewise.
29792         (j1_test_data): Likewise.
29793         (jn_test_data): Likewise.
29794         (lgamma_test_data): Likewise.
29795         (lrint_test_data): Likewise.
29796         (llrint_test_data): Likewise.
29797         (log_test_data): Likewise.
29798         (log10_test_data): Likewise.
29799         (log1p_test_data): Likewise.
29800         (log2_test_data): Likewise.
29801         (logb_test_data): Likewise.
29802         (lround_test_data): Likewise.
29803         (llround_test_data): Likewise.
29804         (modf_test_data): Likewise.
29805         (nearbyint_test_data): Likewise.
29806         (nextafter_test_data): Likewise.
29807         (nexttoward_test_data): Likewise.
29808         (pow_test_data): Likewise.
29809         (remainder_test_data): Likewise.
29810         (remquo_test_data): Likewise.
29811         (rint_test_data): Likewise.
29812         (round_test_data): Likewise.
29813         (signbit_test_data): Likewise.
29814         (sinh_test_data): Likewise.
29815         (sqrt_test_data): Likewise.
29816         (tanh_test_data): Likewise.
29817         (tgamma_test_data): Likewise.
29818         (trunc_test_data): Likewise.
29819         (y0_test_data): Likewise.
29820         (y1_test_data): Likewise.
29821         (yn_test_data): Likewise.
29822         (significand_test_data): Likewise.
29824 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
29826         * manual/filesys.texi (Storage Allocation): Document that
29827         posix_fallocate emulation fails when fd is open with O_WRONLY.
29829 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
29831         [BZ #19016]
29832         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
29833         allow more cases with X^2 + Y^2 >= 0.5.
29834         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
29835         normal element in sum instead of special-casing based on values of
29836         arguments.
29837         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
29838         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
29839         -1 as normal element in sum instead of special-casing based on
29840         values of arguments.
29841         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
29842         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
29843         (__x2y2m1): Update comment.
29844         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
29845         as normal element in sum instead of special-casing based on values
29846         of arguments.
29847         * math/s_clog.c (__clog): Handle more cases using log1p without
29848         hypot.
29849         * math/s_clog10.c (__clog10): Likewise.
29850         * math/s_clog10f.c (__clog10f): Likewise.
29851         * math/s_clog10l.c (__clog10l): Likewise.
29852         * math/s_clogf.c (__clogf): Likewise.
29853         * math/s_clogl.c (__clogl): Likewise.
29854         * math/auto-libm-test-in: Add more tests of clog and clog10.
29855         * math/auto-libm-test-out: Regenerated.
29856         * sysdeps/i386/fpu/libm-test-ulps: Update.
29857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29859 2015-09-28  Martin Sebor  <msebor@redhat.com>
29861         [BZ #18969]
29862         * string/Makefile (LOCALES): Define.
29863         (gen-locales.mk): Include.
29864         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
29865         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
29866         * string/tst-strxfrm2.c (do_test): Print the name of the locale
29867         on setlocale failure.
29869 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
29871         [BZ #18985]
29872         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
29873         (__strftime_internal): Likewise.
29874         * time/tst-strftime.c (do_bz18985): New test.
29875         (do_test): Call it.
29877 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
29879         [BZ #18956]
29880         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
29881         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
29882         extracting high part.
29883         * math/auto-libm-test-in: Add another test of pow.
29884         * math/auto-libm-test-out: Regenerated.
29885         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29887 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29889         [BZ #18825]
29890         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
29891         New macro.
29892         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
29893         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29894         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
29895         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
29896         DBL_NARROW_EVAL, reloading the PIC register as needed.
29897         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
29898         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
29899         FLT_NARROW_EVAL.  Use separate return path for case when first
29900         argument is NaN.
29901         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
29902         DEFINE_LDBL_MIN.
29903         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
29904         PIC register.
29905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
29906         math_check_force_underflow_nonneg.
29907         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
29908         underflow for subnormal result.
29909         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
29910         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
29911         math_check_force_underflow_nonneg.
29912         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
29913         math_check_force_underflow.
29914         * sysdeps/x86_64/fpu/x86_64-math-asm.h
29915         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
29916         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
29917         DEFINE_LDBL_MIN.
29918         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
29919         * math/auto-libm-test-in: Add more tests of pow.
29920         * math/auto-libm-test-out: Regenerated.
29922 2015-09-25  Florian Weimer  <fweimer@redhat.com>
29924         * nss/bug17079.c (init_test_items): Add diagnostic for
29925         inconsistent entries.
29926         (test_buffer_size): Skip inconsistent entries.
29928 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
29930         [BZ #13304]
29931         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
29932         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
29933         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
29935         [BZ #13304]
29936         * sysdeps/microblaze/s_fma.c: New file.
29937         * sysdeps/microblaze/s_fmaf.c: Likewise.
29938         * sysdeps/microblaze/sfp-machine.h: Likewise.
29940 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
29942         [BZ #17250]
29943         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
29944         member.
29946 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29948         [BZ #18803]
29949         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
29950         (MO): New macro.
29951         (__ieee754_hypot) [PIC]: Load PIC register.
29952         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
29953         DBL_NARROW_EVAL.
29954         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
29955         math_check_force_underflow_nonneg in case where result might be
29956         tiny.
29957         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
29958         Likewise.
29959         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
29960         Likewise.
29961         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
29962         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
29963         * math/auto-libm-test-in: Add more tests of hypot.
29964         * math/auto-libm-test-out: Regenerated.
29966 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
29968         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
29970 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
29972         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
29973         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
29974         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
29975         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
29976         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
29977         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
29978         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
29980         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
29981         LOAD_PIC_REG.
29983         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
29984         (FLT_CHECK_FORCE_UFLOW): Likewise.
29985         (DBL_CHECK_FORCE_UFLOW): Likewise.
29986         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
29987         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
29988         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
29989         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29990         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
29991         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29992         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29993         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
29994         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
29995         (dbl_min): Replace with use of DEFINE_DBL_MIN.
29996         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
29997         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
29998         (flt_min): Replace with use of DEFINE_FLT_MIN.
29999         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
30000         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
30001         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30002         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
30003         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
30004         (flt_min): Replace with use of DEFINE_FLT_MIN.
30005         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
30006         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
30007         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30008         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
30009         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
30010         (flt_min): Replace with use of DEFINE_FLT_MIN.
30011         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
30012         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
30013         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
30014         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
30015         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
30016         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
30017         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
30018         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
30019         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30020         (__atan): Use DBL_CHECK_FORCE_UFLOW.
30021         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
30022         (flt_min): Replace with use of DEFINE_FLT_MIN.
30023         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
30024         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
30025         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30026         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
30027         main computation.
30028         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
30029         (flt_min): Replace with use of DEFINE_FLT_MIN.
30030         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
30031         main computation.
30032         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
30033         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30034         (MO): New macro.
30035         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
30036         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
30037         (flt_min): Replace with use of DEFINE_FLT_MIN.
30038         (MO): New macro.
30039         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
30040         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
30041         (__log1pl): Use MO.
30043         [BZ #19003]
30044         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
30045         $(config-cflags-nofma).
30047 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30049         * sysdeps/aarch64/libm-test-ulps: Regenerated.
30051 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
30053         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
30054         (TWO127): Likewise.
30056         * sysdeps/generic/math_private.h (fabs_tg): New macro.
30057         (min_of_type): Likewise.
30058         (math_check_force_underflow): Likewise.
30059         (math_check_force_underflow_nonneg): Likewise.
30060         (math_check_force_underflow_complex): Likewise.
30061         * math/e_exp2l.c (__ieee754_exp2l): Use
30062         math_check_force_underflow_nonneg.
30063         * math/k_casinh.c (__kernel_casinh): Likewise.
30064         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30065         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30066         * math/s_catan.c (__catan): Use
30067         math_check_force_underflow_complex.
30068         * math/s_catanf.c (__catanf): Likewise.
30069         * math/s_catanh.c (__catanh): Likewise.
30070         * math/s_catanhf.c (__catanhf): Likewise.
30071         * math/s_catanhl.c (__catanhl): Likewise.
30072         * math/s_catanl.c (__catanl): Likewise.
30073         * math/s_ccosh.c (__ccosh): Likewise.
30074         * math/s_ccoshf.c (__ccoshf): Likewise.
30075         * math/s_ccoshl.c (__ccoshl): Likewise.
30076         * math/s_cexp.c (__cexp): Likewise.
30077         * math/s_cexpf.c (__cexpf): Likewise.
30078         * math/s_cexpl.c (__cexpl): Likewise.
30079         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
30080         * math/s_clog10.c (__clog10): Likewise.
30081         * math/s_clog10f.c (__clog10f): Likewise.
30082         * math/s_clog10l.c (__clog10l): Likewise.
30083         * math/s_clogf.c (__clogf): Likewise.
30084         * math/s_clogl.c (__clogl): Likewise.
30085         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
30086         * math/s_csinf.c (__csinf): Likewise.
30087         * math/s_csinh.c (__csinh): Likewise.
30088         * math/s_csinhf.c (__csinhf): Likewise.
30089         * math/s_csinhl.c (__csinhl): Likewise.
30090         * math/s_csinl.c (__csinl): Likewise.
30091         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
30092         * math/s_csqrtf.c (__csqrtf): Likewise.
30093         * math/s_csqrtl.c (__csqrtl): Likewise.
30094         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
30095         * math/s_ctanf.c (__ctanf): Likewise.
30096         * math/s_ctanh.c (__ctanh): Likewise.
30097         * math/s_ctanhf.c (__ctanhf): Likewise.
30098         * math/s_ctanhl.c (__ctanhl): Likewise.
30099         * math/s_ctanl.c (__ctanl): Likewise.
30100         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
30101         instead of volatile.
30102         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
30103         math_check_force_underflow.
30104         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
30105         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
30106         volatile when forcing underflow.
30107         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
30108         math_check_force_underflow_nonneg.
30109         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
30110         Likewise.
30111         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
30112         math_check_force_underflow.
30113         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
30114         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30115         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
30116         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
30117         math_check_force_underflow_nonneg.
30118         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
30119         math_check_force_underflow.
30120         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
30121         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
30122         instead of volatile.
30123         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
30124         math_check_force_underflow.
30125         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
30126         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
30127         math_check_force_underflow_nonneg.
30128         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
30129         math_check_force_underflow.
30130         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
30131         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
30132         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
30133         math_check_force_underflow_nonneg.
30134         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30135         Likewise.
30136         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
30137         math_check_force_underflow.
30138         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
30139         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30140         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
30141         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
30142         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
30143         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
30144         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
30145         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
30146         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
30147         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
30148         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
30149         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
30150         Likewise.
30151         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
30152         math_check_force_underflow_nonneg.
30153         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30154         Likewise.
30155         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
30156         math_check_force_underflow.
30157         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
30158         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
30159         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
30160         Likewise.
30161         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
30162         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
30163         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
30164         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
30165         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
30166         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
30167         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
30168         instead of volatile.
30169         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
30170         math_check_force_underflow.
30171         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
30172         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
30173         math_check_force_underflow.
30174         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
30175         Likewise.
30176         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30177         Use math_check_force_underflow_nonneg.
30178         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
30179         math_check_force_underflow.
30180         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
30181         Likewise.
30182         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
30183         Likewise.
30184         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
30185         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
30186         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
30187         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
30188         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
30189         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
30190         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
30191         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
30192         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
30193         math_check_force_underflow_nonneg.
30194         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
30195         math_check_force_underflow.
30196         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
30197         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
30198         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
30199         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
30200         math_check_force_underflow_nonneg.
30201         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
30202         math_check_force_underflow.
30203         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
30204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
30205         instead of volatile.
30206         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
30207         math_check_force_underflow.
30209         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
30210         * stdlib/strtod_l.c: Include <math_private.h>.
30211         (overflow_value): Use math_narrow_eval.
30212         (underflow_value): Likewise.
30213         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
30214         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
30215         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
30216         (__ieee754_gamma_r): Likewise.
30217         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
30218         Likewise.
30219         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
30220         Likewise.
30221         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
30222         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
30223         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
30224         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
30225         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
30226         (__ieee754_gammaf_r): Likewise.
30227         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
30228         Likewise.
30229         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
30230         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
30231         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
30232         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
30233         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
30234         volatile.
30235         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
30236         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
30237         math_narrow_eval.
30238         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
30239         Likewise.
30240         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
30241         Likewise.
30242         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
30243         Likewise.
30244         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
30245         volatile.
30246         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
30247         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
30248         math_narrow_eval.
30249         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
30250         Likewise.
30251         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
30252         Likewise.
30254 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
30256         * nptl/Versions: Remove ignored symbols.
30258 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30260         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
30261         * nss/Makefile (tests): Update.
30263 2015-09-22  Florian Weimer  <fweimer@redhat.com>
30265         * nss/bug18287.c: New file.
30266         * nss/Makefile (tests): Add bug18287.
30268 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30270         * mach/Versions (__mach_host_self_): Add symbol.
30272 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30274         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
30275         vm_page_size.
30277 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30279         Really fix sysdeps/i386/fpu/s_scalbn.S build
30281         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
30282         (libc: GLIBC_2_22): Remove unused version set.
30284 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30286         * config.make.in (enable-timezone-tools): New variable.
30287         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
30288         (enable_timezone_tools): Export to generated files.
30289         * configure: Regenerate.
30290         * INSTALL: Regenerate.
30291         * manual/install.texi (--disable-timezone-tools): Document new flag.
30292         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
30293         ifeq ($(enable-timezone-tools),yes) check.
30295 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30297         * timezone/Makefile: Revert previous change.
30299         [BZ #18980]
30300         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
30301         (DEFINE_DBL_MIN): Likewise.
30302         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30303         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
30304         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30305         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
30306         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
30307         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30308         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30309         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
30310         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
30311         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30312         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30313         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
30314         (flt_min): Replace with use of DEFINE_FLT_MIN.
30315         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30316         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
30317         (dbl_min): Replace with use of DEFINE_DBL_MIN.
30318         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
30319         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
30320         (flt_min): Replace with use of DEFINE_FLT_MIN.
30321         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30322         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
30323         (flt_min): Replace with use of DEFINE_FLT_MIN.
30324         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
30325         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
30326         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
30327         (__ieee754_hypot): Use DBL_NARROW_EVAL.
30328         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
30329         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
30330         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
30331         (__ieee754_pow): Use DBL_NARROW_EVAL.
30332         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
30333         (__ieee754_powf): Use FLT_NARROW_EVAL.
30334         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
30335         (__ieee754_expf_sse2): Convert double-precision result to single
30336         precision.
30337         * sysdeps/i386/fpu/libm-test-ulps: Update.
30339 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30341         * timezone/Makefile: Ignore unused variable errors due to private.h
30342         (time_t_min) and (time_t_max).
30343         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
30344         Likewise.
30346 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30348         [BZ #18981]
30349         * sysdeps/i386/fpu/i386-math-asm.h: New file.
30350         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
30351         (__ieee754_scalb): Use DBL_NARROW_EVAL.
30352         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
30353         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
30354         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
30355         (__scalbn): Use DBL_NARROW_EVAL.
30356         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
30357         (__scalbnf): Use FLT_NARROW_EVAL.
30359 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30361         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
30362         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
30363         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
30364         * stdio-common/printf_fp.c (___printf_fp):
30365         Use signbit to get the sign. Use isinf macro to allow inlining.
30366         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
30367         * stdio-common/printf_size.c (__printf_size): Likewise.
30369 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
30371         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
30373 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
30375         [BZ #18980]
30376         * sysdeps/generic/math_private.h: Include <float.h>.
30377         (math_narrow_eval): New macro.
30378         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
30379         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
30380         math_narrow_eval on overflowing return value.
30381         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
30382         Likewise.
30383         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
30384         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
30385         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
30386         Likewise.
30387         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
30389 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30391         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
30392         * math/Makefile: Remove isinf_ns.c.
30393         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
30394         * math/multc3.c (__multc3): Likewise.
30395         * math/s_casin.c (__casin): Likewise.
30396         * math/s_casinf.c (__casinf): Likewise.
30397         * math/s_casinl.c (__casinl): Likewise.
30398         * math/s_cproj.c (__cproj): Likewise.
30399         * math/s_cprojf.c (__cprojf): Likewise.
30400         * math/s_cprojl.c (__cprofl): Likewise.
30401         * math/s_ctan.c (__ctan): Likewise.
30402         * math/s_ctanf.c (__ctanf): Likewise.
30403         * math/s_ctanh.c (__ctanh): Likewise.
30404         * math/s_ctanhf.c (__ctanhf): Likewise.
30405         * math/s_ctanhl.c (__ctanhl): Likewise.
30406         * math/s_ctanl.c (__ctanl): Likewise.
30407         * math/w_fmod.c (__fmod): Likewise.
30408         * math/w_fmodf.c (__fmodf): Likewise.
30409         * math/w_fmodl.c (_fmodl): Likewise.
30410         * math/w_remainder.c (__remainder): Likewise.
30411         * math/w_remainderf.c (__remainderf): Likewise.
30412         * math/w_remainderl.c (__remainderl): Likewise.
30413         * math/w_scalb.c (__scalb): Likewise.
30414         * math/w_scalbf.c (__scalbf): Likewise.
30415         * math/w_scalbl.c (__scalbl): Likewise.
30416         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
30417         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
30418         with isinf.
30419         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
30420         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
30421         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
30422         __isinf_nsf with isinf.
30423         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
30424         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
30425         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
30426         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
30427         with isinf.
30428         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
30429         __isinf_nsl with isinf.
30430         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
30431         with isinf.
30432         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
30433         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
30434         __isinf_nsl with isinf.
30435         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
30436         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
30437         with isinf.
30439 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30441         * resolv/base64.c (rcsid): Remove unused static.
30442         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
30443         static.  (tqpi1): Likewise.
30444         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
30445         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
30446         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
30447         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
30448         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
30449         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
30450         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
30451         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
30452         Likewise.
30454 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
30456         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
30457         <nptl/pthreadP.h>.
30458         (_longjmp_unwind): Use __libc_ptf_call.
30459         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
30461 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
30463         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
30464         * sysdeps/arm/__longjmp.S: Likewise.
30466 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30468         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
30469         Use __builtin_signbit.
30470         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
30471         Use __builtin_signbitf.
30472         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
30473         Use __builtin_signbitl.
30474         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
30475         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
30477 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30479         [BZ #15367]
30480         [BZ #17441]
30482         * math/Makefile: Build test-snan.c with -fsignaling-nans.
30483         * math/math.h (fpclassify): Use __builtin_fpclassify when
30484         available.  (signbit): Use __builtin_signbit(f/l).
30485         (isfinite): Use__builtin_isfinite.  (isnormal): Use
30486         __builtin_isnormal.  (isnan): Use __builtin_isnan.
30487         (isinf): Use __builtin_isinf_sign.
30489 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
30491         * benchtests/Makefile: Add bench-math-inlines, link with libm.
30492         * benchtests/bench-math-inlines.c: New benchmark.
30493         * benchtests/bench-util.h: New file.
30494         * benchtests/bench-util.c: New file.
30495         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
30497 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
30499         * elf/tst-dlmopen1.c: Define TEST_SO.
30500         (do_test): Use TEST_SO.
30502         * elf/dl-load.c: Include libc-internal.h.
30503         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
30505 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30507         [BZ #17887]
30508         * time/strptime_l.c (__strptime_internal): Make %z accept
30509         [+-]HH:MM time zones.
30511 2015-09-18  Vincent Bernat  <vincent@bernat.im>
30513         [BZ #17886]
30514         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
30515         valid time zone.
30517 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
30519         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
30520         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
30521         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
30522         (__ASSUME_FDATASYNC): Delete.
30524 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30526         * conform/linknamespace.pl: Require weak undefined symbols to be
30527         in the standard namespace.
30528         (%strong_syms): Rename to %seen_syms.
30529         (%strong_seen): Rename to %seen_where.
30531 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
30533         [BZ #18970]
30534         * misc/error.c (error): Replace pthread_setcancelstate with
30535         __pthread_setcancelstate.
30536         (error_at_line): Likewise.
30537         * posix/wordexp.c (parse_comm): Likewise.
30538         * stdlib/fmtmsg.c (fmtmsg): Likewise.
30539         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
30540         (__pthread_setcancelstate): This.
30541         (pthread_setcancelstate): Add an alias.
30542         * nptl/nptl-init.c (pthread_functions): Replace
30543         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
30544         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
30545         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
30546         hidden_proto.
30547         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
30548         it with hidden_def.
30549         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
30550         (pthread_setcancelstate): Renamed to ...
30551         (__pthread_setcancelstate): This.
30552         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
30553         __libc_ptf_call with __pthread_setcancelstate.
30555 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30556             Andreas Schwab  <schwab@suse.de>
30558         [BZ #17118]
30559         * math/s_ctan.c (__ctan): Determine sign of zero real part of
30560         result when imaginary part of argument is infinite using sine and
30561         cosine.
30562         * math/s_ctanf.c (__ctanf): Likewise.
30563         * math/s_ctanl.c (__ctanl): Likewise.
30564         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
30565         of result when real part of argument is infinite using sine and
30566         cosine.
30567         * math/s_ctanhf.c (__ctanhf): Likewise.
30568         * math/s_ctanhl.c (__ctanhl): Likewise.
30569         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
30570         (ctanh_test_data): Add more tests of ctanh.
30572 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
30574         [BZ #15384]
30575         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
30576         bit-mask as in subtraction.
30577         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
30578         Likewise.
30579         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
30580         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
30581         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
30583         [BZ #18951]
30584         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
30585         underflow exception for small results.
30586         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
30587         Likewise.
30588         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
30589         Likewise.
30590         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
30591         Likewise.
30592         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
30593         Likewise.
30594         * math/auto-libm-test-in: Add more tests of tgamma.
30595         * math/auto-libm-test-out: Regenerated.
30597 2015-09-17  Andreas Schwab  <schwab@suse.de>
30599         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
30601 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30603         [BZ #18977]
30604         * math/bits/mathcalls.h
30605         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
30606         not declare.
30607         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
30608         Likewise.
30609         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
30610         Likewise.
30611         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
30612         Likewise.
30613         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
30614         Likewise.
30615         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
30616         Likewise.
30617         * conform/data/math.h-data
30618         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
30619         function.
30620         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
30621         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
30622         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
30623         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
30624         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
30625         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
30626         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
30627         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
30628         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
30629         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
30630         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
30632         [BZ #6803]
30633         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
30634         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
30635         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
30636         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
30637         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
30638         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
30639         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
30640         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
30641         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30642         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
30643         Likewise.
30644         [NO_LONG_DOUBLE] (scalbnl): Likewise.
30645         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
30646         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
30647         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
30648         long_double_symbol calls.
30649         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
30650         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
30651         strong alias of __ldexpl.
30652         (scalbnl): Define using long_double_symbol.
30653         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
30654         Remove alias.
30655         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
30656         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
30657         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
30658         (scalbln_test_data): Add more errno expectations.
30660 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
30662         Cache the host port like we cache the task port.  This way we do not
30663         need to call the kernel just to get the port.  Furthermore, we no
30664         longer increase the reference count on every invocation of
30665         `mach_host_self'.
30667         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
30668         Protect declarations against the macro expansion.
30669         * mach/mach_init.c (__mach_host_self_): New variable.
30670         (mach_init): Initialize `__mach_host_self_'.
30671         * mach/mach_init.h (__mach_host_self_): New declaration.
30672         (__mach_host_self, mach_host_self): New macros.
30673         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
30674         Release reference.
30676 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
30678         [BZ #4404]
30679         * po/de.po: Update from Translation Project.
30681         [BZ #16415]
30682         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
30683         (__expm1l): Remove code to handle positive infinity and overflow.
30684         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
30685         variable.
30686         (__expm1l): Remove code to handle positive infinity and overflow.
30688 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
30689             Paul Pluzhnikov  <ppluzhnikov@google.com>
30691         [BZ #18872]
30692         * stdio-common/Makefile (tst-printf-bz18872): New test.
30693         (tst-printf-bz18872-mem.out): Likewise.
30694         * stdio-common/tst-printf-bz18872.sh: Generate new test.
30695         * stdio-common/vfprintf.c: Fix memory leaks.
30697 2015-09-16  Andreas Schwab  <schwab@suse.de>
30699         [BZ #17244]
30700         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
30701         Remove extra va_start/va_end calls.
30703         [BZ #17243]
30704         * posix/execl.c (execl): Add missing va_end.
30705         * posix/execle.c (execle): Likewise.
30706         * posix/execlp.c (execlp): Likewise.
30708 2015-09-15  Roland McGrath  <roland@hack.frob.com>
30710         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
30711         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
30713 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
30715         [BZ #18967]
30716         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
30717         undefine around includes of <bits/mathcalls.h>.
30718         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
30719         not declare function.
30720         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
30721         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
30722         (scalb): Likewise.
30723         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
30724         not define macro.
30725         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
30726         variable.
30727         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
30728         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
30729         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
30731         [BZ #18857]
30732         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
30733         return non-finite argument without doing ordered comparisons on
30734         it.
30736         [BZ #16296]
30737         * math/fenv.h (fegetround): Use __attribute_pure__.
30738         * include/fenv.h (__fegetround): Likewise.
30740         [BZ #18595]
30741         * math/s_ctan.c (__ctan): Force underflow exception for results
30742         whose real or imaginary part has small absolute value.
30743         * math/s_ctanf.c (__ctanf): Likewise.
30744         * math/s_ctanh.c (__ctanh): Likewise.
30745         * math/s_ctanhf.c (__ctanhf): Likewise.
30746         * math/s_ctanhl.c (__ctanhl): Likewise.
30747         * math/s_ctanl.c (__ctanl): Likewise.
30748         * math/auto-libm-test-in: Do not allow missing underflow for ctan
30749         and ctanh.  Add more tests of ctan and ctanh.
30751         [BZ #15918]
30752         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
30753         handling of cases where one argument is an infinity.
30755         [BZ #18875]
30756         [BZ #18966]
30757         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
30758         (MO): New macro.
30759         (__ieee754_exp10): For small results, force underflow exception
30760         and remove excess range and precision from return value.
30761         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
30762         (MO): New macro.
30763         (__ieee754_exp10f): For small results, force underflow exception
30764         and remove excess range and precision from return value.
30765         * math/auto-libm-test-in: Add more tests of exp10.
30766         * math/auto-libm-test-out: Regenerated.
30768 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
30770         [BZ #18875]
30771         [BZ #18961]
30772         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
30773         (MO): New macro.
30774         (__ieee754_exp): For small results, force underflow exception and
30775         remove excess range and precision from return value.
30776         (__exp_finite): Likewise.
30777         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
30778         (MO): New macro.
30779         (__ieee754_expf): For small results, force underflow exception and
30780         remove excess range and precision from return value.
30781         (__expf_finite): Likewise.
30782         * math/auto-libm-test-in: Add more tests of exp.
30783         * math/auto-libm-test-out: Regenerated.
30785         [BZ #16521]
30786         [BZ #18875]
30787         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
30788         small results.
30789         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
30790         (MO): New macro.
30791         (__ieee754_exp2): For small results, force underflow exception and
30792         remove excess range and precision from return value.
30793         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
30794         (MO): New macro.
30795         (__ieee754_exp2f): For small results, force underflow exception
30796         and remove excess range and precision from return value.
30797         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
30798         (MO): New macro.
30799         (__ieee754_exp2l): Force underflow exception for small results.
30800         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
30801         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
30802         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
30803         (MO): New macro.
30804         (__ieee754_exp2l): Force underflow exception for small results.
30805         * math/auto-libm-test-in: Add more tests or exp2.
30806         * math/auto-libm-test-out: Regenerated.
30808 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
30810         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
30812         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
30813         /dev/null.
30815 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30817         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
30818         io fs process)): Drop spurious backslash.
30820 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
30822         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
30823         Use sysinfo system call instead of parsing /proc/meminfo.
30824         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
30825         Likewise.
30827 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
30829         [BZ #16985]
30830         * programs/localedef.c (main): Display argv[remaining] when
30831         output_path is NULL.
30833 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30835         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30836         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
30837         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
30838         tanh.
30839         * math/auto-libm-test-out: Regenerated.
30840         * sysdeps/i386/fpu/libm-test-ulps: Update.
30841         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
30842         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30845 2015-09-11  Roland McGrath  <roland@hack.frob.com>
30847         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
30848         Use 'override' keyword to freeze the value here, preventing
30849         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
30851 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
30853         [BZ #14912]
30854         * sysdeps/aarch64/bits/atomic.h: Move to ...
30855         * sysdeps/aarch64/atomic-machine.h: ...here.
30856         (_AARCH64_BITS_ATOMIC_H): Rename macro to
30857         _AARCH64_ATOMIC_MACHINE_H.
30858         * sysdeps/alpha/bits/atomic.h: Move to ...
30859         * sysdeps/alpha/atomic-machine.h: ...here.
30860         * sysdeps/arm/bits/atomic.h: Move to ...
30861         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
30862         * bits/atomic.h: Move to ...
30863         * sysdeps/generic/atomic-machine.h: ...here.
30864         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30865         * sysdeps/i386/bits/atomic.h: Move to ...
30866         * sysdeps/i386/atomic-machine.h: ...here.
30867         * sysdeps/ia64/bits/atomic.h: Move to ...
30868         * sysdeps/ia64/atomic-machine.h: ...here.
30869         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
30870         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
30871         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30872         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
30873         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
30874         * sysdeps/microblaze/bits/atomic.h: Move to ...
30875         * sysdeps/microblaze/atomic-machine.h: ...here.
30876         * sysdeps/mips/bits/atomic.h: Move to ...
30877         * sysdeps/mips/atomic-machine.h: ...here.
30878         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
30879         * sysdeps/powerpc/bits/atomic.h: Move to ...
30880         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
30881         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
30882         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
30883         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
30884         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
30885         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
30886         <atomic-machine.h> instead of <bits/atomic.h>.
30887         * sysdeps/s390/bits/atomic.h: Move to ...
30888         * sysdeps/s390/atomic-machine.h: ...here.
30889         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
30890         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
30891         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30892         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
30893         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
30894         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
30895         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
30896         * sysdeps/tile/bits/atomic.h: Move to ...
30897         * sysdeps/tile/atomic-machine.h: ...here.
30898         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
30899         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
30900         <sysdeps/tile/atomic-machine.h> instead of
30901         <sysdeps/tile/bits/atomic.h>.
30902         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30903         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
30904         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
30905         <sysdeps/tile/atomic-machine.h> instead of
30906         <sysdeps/tile/bits/atomic.h>.
30907         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30908         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
30909         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
30910         <sysdeps/arm/atomic-machine.h> instead of
30911         <sysdeps/arm/bits/atomic.h>.
30912         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
30913         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
30914         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30915         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
30916         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
30917         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
30918         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
30919         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
30920         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
30921         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
30922         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
30923         * sysdeps/x86_64/bits/atomic.h: Move to ...
30924         * sysdeps/x86_64/atomic-machine.h: ...here.
30925         * include/atomic.h: Include <atomic-machine.h> instead of
30926         <bits/atomic.h>.
30928         * sysdeps/mips/mips32/libm-test-ulps: Update.
30929         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
30931         [BZ #18952]
30932         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
30933         not convert non-integer negative arguments to int to determine the
30934         value of signgam.
30935         * math/auto-libm-test-in: Add more tests of lgamma.
30936         * math/auto-libm-test-out: Regenerated.
30938         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
30939         cosh, csqrt, erfc, expm1 and lgamma.
30940         * math/auto-libm-test-out: Regenerated.
30941         * sysdeps/i386/fpu/libm-test-ulps: Update.
30942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30944 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
30946         [BZ #2542]
30947         [BZ #2543]
30948         [BZ #2558]
30949         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
30950         __lgamma_neg for arguments from -28.0 to -2.0.
30951         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
30952         __lgamma_negf for arguments from -15.0 to -2.0.
30953         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
30954         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
30955         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
30956         Call __lgamma_negl for arguments from -33.0 to -2.0.
30957         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
30958         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
30959         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
30960         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
30961         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
30962         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
30963         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
30964         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
30965         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
30966         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
30967         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
30968         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
30969         (__lgamma_neg): Likewise.
30970         (__lgamma_negl): Likewise.
30971         (__lgamma_product): Likewise.
30972         (__lgamma_productl): Likewise.
30973         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
30974         * math/auto-libm-test-in: Add more tests of lgamma.
30975         * math/auto-libm-test-out: Regenerated.
30976         * sysdeps/i386/fpu/libm-test-ulps: Update.
30977         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30979 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
30981         [BZ #18675]
30982         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
30984 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
30986         [BZ #14912]
30987         * bits/libc-lock.h: Move to ...
30988         * sysdeps/generic/libc-lock.h: ...here.
30989         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30990         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
30991         * sysdeps/mach/hurd/libc-lock.h: ...here.
30992         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30993         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
30994         * sysdeps/mach/bits/libc-lock.h: Move to ...
30995         * sysdeps/mach/libc-lock.h: ...here.
30996         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
30997         * sysdeps/nptl/bits/libc-lock.h: Move to ...
30998         * sysdeps/nptl/libc-lock.h: ...here.
30999         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
31000         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
31001         * sysdeps/nptl/libc-lockP.h: ...here.
31002         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
31003         * crypt/crypt_util.c: Include <libc-lock.h> instead of
31004         <bits/libc-lock.h>.
31005         * dirent/scandir-tail.c: Likewise.
31006         * dlfcn/dlerror.c: Likewise.
31007         * elf/dl-close.c: Likewise.
31008         * elf/dl-iteratephdr.c: Likewise.
31009         * elf/dl-lookup.c: Likewise.
31010         * elf/dl-open.c: Likewise.
31011         * elf/dl-support.c: Likewise.
31012         * elf/dl-writev.h: Likewise.
31013         * elf/rtld.c: Likewise.
31014         * grp/fgetgrent.c: Likewise.
31015         * gshadow/fgetsgent.c: Likewise.
31016         * gshadow/sgetsgent.c: Likewise.
31017         * iconv/gconv_conf.c: Likewise.
31018         * iconv/gconv_db.c: Likewise.
31019         * iconv/gconv_dl.c: Likewise.
31020         * iconv/gconv_int.h: Likewise.
31021         * iconv/gconv_trans.c: Likewise.
31022         * include/link.h: Likewise.
31023         * inet/getnameinfo.c: Likewise.
31024         * inet/getnetgrent.c: Likewise.
31025         * inet/getnetgrent_r.c: Likewise.
31026         * intl/bindtextdom.c: Likewise.
31027         * intl/dcigettext.c: Likewise.
31028         * intl/finddomain.c: Likewise.
31029         * intl/gettextP.h: Likewise.
31030         * intl/loadmsgcat.c: Likewise.
31031         * intl/localealias.c: Likewise.
31032         * intl/textdomain.c: Likewise.
31033         * libidn/idn-stub.c: Likewise.
31034         * libio/libioP.h: Likewise.
31035         * locale/duplocale.c: Likewise.
31036         * locale/freelocale.c: Likewise.
31037         * locale/newlocale.c: Likewise.
31038         * locale/setlocale.c: Likewise.
31039         * login/getutent_r.c: Likewise.
31040         * login/getutid_r.c: Likewise.
31041         * login/getutline_r.c: Likewise.
31042         * login/utmp-private.h: Likewise.
31043         * login/utmpname.c: Likewise.
31044         * malloc/mtrace.c: Likewise.
31045         * misc/efgcvt.c: Likewise.
31046         * misc/error.c: Likewise.
31047         * misc/fstab.c: Likewise.
31048         * misc/getpass.c: Likewise.
31049         * misc/mntent.c: Likewise.
31050         * misc/syslog.c: Likewise.
31051         * nis/nis_call.c: Likewise.
31052         * nis/nis_callback.c: Likewise.
31053         * nis/nss-default.c: Likewise.
31054         * nis/nss_compat/compat-grp.c: Likewise.
31055         * nis/nss_compat/compat-initgroups.c: Likewise.
31056         * nis/nss_compat/compat-pwd.c: Likewise.
31057         * nis/nss_compat/compat-spwd.c: Likewise.
31058         * nis/nss_nis/nis-alias.c: Likewise.
31059         * nis/nss_nis/nis-ethers.c: Likewise.
31060         * nis/nss_nis/nis-grp.c: Likewise.
31061         * nis/nss_nis/nis-hosts.c: Likewise.
31062         * nis/nss_nis/nis-network.c: Likewise.
31063         * nis/nss_nis/nis-proto.c: Likewise.
31064         * nis/nss_nis/nis-pwd.c: Likewise.
31065         * nis/nss_nis/nis-rpc.c: Likewise.
31066         * nis/nss_nis/nis-service.c: Likewise.
31067         * nis/nss_nis/nis-spwd.c: Likewise.
31068         * nis/nss_nisplus/nisplus-alias.c: Likewise.
31069         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
31070         * nis/nss_nisplus/nisplus-grp.c: Likewise.
31071         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
31072         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
31073         * nis/nss_nisplus/nisplus-network.c: Likewise.
31074         * nis/nss_nisplus/nisplus-proto.c: Likewise.
31075         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
31076         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
31077         * nis/nss_nisplus/nisplus-service.c: Likewise.
31078         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
31079         * nis/ypclnt.c: Likewise.
31080         * nptl/libc_pthread_init.c: Likewise.
31081         * nss/getXXbyYY.c: Likewise.
31082         * nss/getXXent.c: Likewise.
31083         * nss/getXXent_r.c: Likewise.
31084         * nss/nss_db/db-XXX.c: Likewise.
31085         * nss/nss_db/db-netgrp.c: Likewise.
31086         * nss/nss_db/nss_db.h: Likewise.
31087         * nss/nss_files/files-XXX.c: Likewise.
31088         * nss/nss_files/files-alias.c: Likewise.
31089         * nss/nsswitch.c: Likewise.
31090         * posix/regex_internal.h: Likewise.
31091         * posix/wordexp.c: Likewise.
31092         * pwd/fgetpwent.c: Likewise.
31093         * resolv/res_hconf.c: Likewise.
31094         * resolv/res_libc.c: Likewise.
31095         * shadow/fgetspent.c: Likewise.
31096         * shadow/lckpwdf.c: Likewise.
31097         * shadow/sgetspent.c: Likewise.
31098         * socket/opensock.c: Likewise.
31099         * stdio-common/reg-modifier.c: Likewise.
31100         * stdio-common/reg-printf.c: Likewise.
31101         * stdio-common/reg-type.c: Likewise.
31102         * stdio-common/vfprintf.c: Likewise.
31103         * stdio-common/vfscanf.c: Likewise.
31104         * stdlib/abort.c: Likewise.
31105         * stdlib/cxa_atexit.c: Likewise.
31106         * stdlib/fmtmsg.c: Likewise.
31107         * stdlib/random.c: Likewise.
31108         * stdlib/setenv.c: Likewise.
31109         * string/strsignal.c: Likewise.
31110         * sunrpc/auth_none.c: Likewise.
31111         * sunrpc/bindrsvprt.c: Likewise.
31112         * sunrpc/create_xid.c: Likewise.
31113         * sunrpc/key_call.c: Likewise.
31114         * sunrpc/rpc_thread.c: Likewise.
31115         * sysdeps/arm/backtrace.c: Likewise.
31116         * sysdeps/generic/ldsodefs.h: Likewise.
31117         * sysdeps/generic/stdio-lock.h: Likewise.
31118         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
31119         * sysdeps/i386/backtrace.c: Likewise.
31120         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
31121         * sysdeps/m68k/backtrace.c: Likewise.
31122         * sysdeps/mach/hurd/cthreads.c: Likewise.
31123         * sysdeps/mach/hurd/dirstream.h: Likewise.
31124         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31125         * sysdeps/nptl/malloc-machine.h: Likewise.
31126         * sysdeps/nptl/stdio-lock.h: Likewise.
31127         * sysdeps/posix/dirstream.h: Likewise.
31128         * sysdeps/posix/getaddrinfo.c: Likewise.
31129         * sysdeps/posix/system.c: Likewise.
31130         * sysdeps/pthread/aio_suspend.c: Likewise.
31131         * sysdeps/s390/s390-32/backtrace.c: Likewise.
31132         * sysdeps/s390/s390-64/backtrace.c: Likewise.
31133         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31134         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31135         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
31136         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
31137         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
31138         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
31139         * sysdeps/unix/sysv/linux/system.c: Likewise.
31140         * sysdeps/x86_64/backtrace.c: Likewise.
31141         * time/alt_digit.c: Likewise.
31142         * time/era.c: Likewise.
31143         * time/tzset.c: Likewise.
31144         * wcsmbs/wcsmbsload.c: Likewise.
31145         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
31146         instead of <bits/libc-lock.h> in comment.
31148 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
31150         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
31151         Only use .set mips2 if the current ISA is below mips2.
31152         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
31153         Likewise.
31154         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
31155         mips32r2 if the current ISA is below mips32r2.
31156         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
31157         (TLS_IE): Updated to use the TLD_RDHWR macro.
31158         (TLS_LE): Likewise.
31159         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
31160         __ASSEMBLER__ condition.
31162 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31164         Fix parallel build of before-compile targets.
31166         * sysdeps/mach/Makefile ($(patsubst
31167         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
31168         mach-before-compile target.
31169         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31170         io fs process)): Move rule to dedicated hurd-before-compile target.
31172 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31174         Fix rules generating headers in hurd/ and mach/ when initial make call
31175         has subdir= explicitly set.
31177         * sysdeps/mach/Makefile ($(patsubst
31178         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
31179         calling $(MAKE).
31180         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
31181         io fs process)): Force subdir to hurd when calling $(MAKE).
31182         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
31183         subdir to mach when calling $(MAKE).
31185 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
31187         Check sysheaders when looking for Mach and Hurd headers
31189         * sysdeps/mach/configure.ac: Add sysheaders check.
31190         * sysdeps/mach/configure: Regenerate.
31191         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
31192         * sysdeps/mach/hurd/configure: Regenerate.
31194 2015-09-04  Roland McGrath  <roland@hack.frob.com>
31196         [BZ #18921]
31197         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
31198         Fix inverted sense of test of 'o_directory_works' value.
31199         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
31200         Bernhard Voelker <mail@bernhard-voelker.de>.
31202 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31204         [BZ #14912]
31205         * bits/linkmap.h: Move to ...
31206         * sysdeps/generic/linkmap.h: ...here.
31207         * sysdeps/aarch64/bits/linkmap.h: Move to ...
31208         * sysdeps/aarch64/linkmap.h: ...here.
31209         * sysdeps/arm/bits/linkmap.h: Move to ...
31210         * sysdeps/arm/linkmap.h: ...here.
31211         * sysdeps/hppa/bits/linkmap.h: Move to ...
31212         * sysdeps/hppa/linkmap.h: ...here.
31213         * sysdeps/ia64/bits/linkmap.h: Move to ...
31214         * sysdeps/ia64/linkmap.h: ...here.
31215         * sysdeps/mips/bits/linkmap.h: Move to ...
31216         * sysdeps/mips/linkmap.h: ...here.
31217         * sysdeps/s390/bits/linkmap.h: Move to ...
31218         * sysdeps/s390/linkmap.h: ...here.
31219         * sysdeps/sh/bits/linkmap.h: Move to ...
31220         * sysdeps/sh/linkmap.h: ...here.
31221         * sysdeps/x86/bits/linkmap.h: Move to ...
31222         * sysdeps/x86/linkmap.h: ...here.
31223         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
31225 2015-09-04  Andreas Schwab  <schwab@suse.de>
31227         [BZ #18635]
31228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
31229         (__makecontext): Terminate FDE before return label.
31230         (__novec_makecontext): Likewise.
31232 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31234         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
31235         first member of struct sv in syscall macro.
31237 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
31239         [BZ #14912]
31240         * bits/stdio-lock.h: Move to ...
31241         * sysdeps/generic/stdio-lock.h: ...here.
31242         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31243         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
31244         * sysdeps/nptl/stdio-lock.h: ...here.
31245         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
31246         * include/libio.h: Include <stdio-lock.h> instead of
31247         <bits/stdio-lock.h>.
31248         * sysdeps/nptl/fork.c: Likewise.
31249         * sysdeps/pthread/flockfile.c: Likewise.
31250         * sysdeps/pthread/ftrylockfile.c: Likewise.
31251         * sysdeps/pthread/funlockfile.c: Likewise.
31253         [BZ #14912]
31254         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
31255         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
31256         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
31257         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
31258         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
31259         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
31260         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
31262 2015-09-03  Roland McGrath  <roland@hack.frob.com>
31264         * elf/Makefile (test-xfail-tst-protected1a): New variable.
31265         (test-xfail-tst-protected1b): New variable.
31267 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
31269         [BZ #14912]
31270         * bits/libc-tsd.h: Move to ...
31271         * sysdeps/generic/libc-tsd.h: ...here.
31272         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
31273         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
31274         * sysdeps/mach/hurd/libc-tsd.h: ...here.
31275         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
31276         * include/ctype.h: Include <libc-tsd.h> instead of
31277         <bits/libc-tsd.h>.
31278         * include/rpc/rpc.h: Likewise.
31279         * locale/localeinfo.h: Likewise.
31280         * sunrpc/rpc_thread.c: Likewise.
31281         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
31282         * sysdeps/nptl/malloc-machine.h: Likewise.
31284         * Makefile (headers): Remove bits/libc-lock.h.
31285         * libio/Makefile (headers): Remove bits/stdio-lock.h.
31287         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
31288         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
31289         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
31290         <bits/stdio-lock.h>.
31291         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
31292         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
31294 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31296         [BZ #18757]
31297         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
31298         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
31299         BZ #18757.
31301 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
31303         * malloc/mtrace.pl: Filter out NULL entries.
31305 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
31307         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
31308         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
31309         macro.
31311         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
31312         (TCP_CC_INFO): Likewise.
31313         (TCP_SAVE_SYN): Likewise.
31314         (TCP_SAVED_SYN): Likewise.
31316 2015-08-31  Brett Neumeier <brett@neumeier.us>
31318         [BZ #18870]
31319         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
31321 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
31323         [BZ #18873]
31324         Fix broken overflow check in posix_fallocate
31325         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
31326         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
31327         Fix parenthesization typo.
31329 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
31331         [BZ #18887]
31332         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
31333         tst-mntent-blank-passno.
31334         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
31335         * misc/tst-mntent-blank-corrupt.c: New test.
31336         * misc/tst-mntent-blank-passno.c: New test ripped from ...
31337         * misc/tst-mntent.c (do_test): ... here.
31339 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
31341         [BZ #4404]
31342         * po/de.po: Fix SIGALRM typo.
31344 2015-08-28  James Perkins  <james@loowit.net>
31346         * time/tst-strptime2.c (tests): Replace short list of test
31347         strings for strptime %z specifier with code which exhaustively
31348         tests every combination of sign and 0 to 5 digits. Tests for
31349         rejection of invalid strings.
31351 2015-08-28  James Perkins  <james@loowit.net>
31353         [BZ #16141]
31354         * time/strptime_l.c (__strptime_internal): Fix %z minutes
31355         calculation, removing incorrect decimal time rounding, so that
31356         all minute values result in a valid seconds value.
31357         * time/strptime_l.c (__strptime_internal): Extend %z time zone
31358         offset range limits to UTC-99:59 through UTC+99:59 to parse
31359         current and historical use cases.
31360         * time/tst-strptime2.c (tests): Modify and add tests for the
31361         strptime %z input field descriptor, specifically conversion of
31362         minutes to seconds and validating an offset range of -9959 to
31363         +9959.
31365 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31366             Dmitry V. Levin  <ldv@altlinux.org>
31368         [BZ #18877]
31369         * posix/Makefile (tests): Add tst-mmap-offset.
31370         * posix/tst-mmap.c: New file.
31371         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
31372         offset calculation for negative values.
31374 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31376         * sysdeps/i386/init-arch.h: New file.
31377         * sysdeps/i386/i586/init-arch.h: Likewise.
31378         * sysdeps/i386/i686/init-arch.h: Likewise.
31379         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
31380         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
31381         * sysdeps/x86/cpu-features.h (bit_I586): New.
31382         (bit_I686): Likewise.
31383         (bit_CX8): Likewise.
31384         (bit_CMOV): Likewise.
31385         (index_CX8): Likewise.
31386         (index_CMOV): Likewise.
31387         (index_I586): Likewise.
31388         (index_I686): Likewise.
31389         (reg_CX8): Likewise.
31390         (reg_CMOV): Likewise.
31391         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
31392         available at compile-time.
31393         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
31394         available at compile-time.
31395         * sysdeps/x86/init-arch.h (USE_I586): New macro.
31396         (USE_I686): Likewise.
31398 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31400         * sysdeps/i386/bcopy.S: New file.
31401         * sysdeps/i386/bzero.S: Likewise.
31402         * sysdeps/i386/memcpy.S: Likewise.
31403         * sysdeps/i386/memmove.S: Likewise.
31404         * sysdeps/i386/mempcpy.S: Likewise.
31405         * sysdeps/i386/memset.S: Likewise.
31406         * sysdeps/i386/bzero.c: Removed.
31407         * sysdeps/i386/memset.c: Likewise.
31408         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
31409         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
31410         * sysdeps/i386/i586/memset_chk.S: Likewise.
31411         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
31412         * sysdeps/i386/memcpy_chk.S: Here.
31413         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
31414         * sysdeps/i386/memmove_chk.S: Here.
31415         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
31416         * sysdeps/i386/mempcpy_chk.S: Likewise.
31417         * sysdeps/i386/i686/memset_chk.S: Moved to ...
31418         * sysdeps/i386/memset_chk.S: Likewise.
31420 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
31422         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
31423         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
31424         file, move DIAG_POP_NEEDS_COMMENT to end of file.
31425         * soft-fp/fmadf4.c: Ditto.
31426         * soft-fp/fmatf4.c: Ditto.
31428 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31430         * sysdeps/i386/i586/Implies: Removed.
31431         * sysdeps/i386/i686/Implies: Likewise.
31433 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31435         * sysdeps/i386/i486/strlen.S: Moved to ...
31436         * sysdeps/i386/strlen.S: Here.
31438 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31440         * sysdeps/i386/i486/strcat.S: Moved to ...
31441         * sysdeps/i386/strcat.S: Here.
31443 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31445         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
31446         * sysdeps/i386/pthread_spin_trylock.S: Here.
31447         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
31448         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
31450 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31452         * sysdeps/i386/i486/string-inlines.c: Moved to ...
31453         * sysdeps/i386/string-inlines.c: Here.
31455 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31457         * sysdeps/i386/i486/htonl.S: Moved ...
31458         * sysdeps/i386/htonl.S: here.
31460 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31462         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
31463         * sysdeps/i386/bits/atomic.h: Here.
31465 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
31467         * sysdeps/i386/i486/Versions: Removed.
31469 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
31471         [BZ #2898]
31472         * misc/mktemp.c: Add mkdtemp to the link_warning message.
31473         Based on patch by Aurelien Jarno.
31475 2015-08-26  Stan Shebs  <stanshebs@google.com>
31477         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
31478         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
31480 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
31482         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
31483         * sysdeps/powerpc/dl-procinfo.c:
31484         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
31485         feature so it shows when LD_SHOW_AUXV=1.
31487 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31489         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
31490         (__arch_compare_and_exchange_val_32_acq): Remove and use common
31491         definition.  ISA 2.07B no longer requires full sync.
31493 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
31495         [BZ #18863]
31496         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
31497         (si_call_addr): Define.
31498         (si_syscall): Define.
31499         (si_arch): Define.
31501 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
31503         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
31504         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
31505         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
31506         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31507         (__memset_zero_constant_len_parameter): New.
31508         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
31509         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
31510         (__memset_zero_constant_len_parameter): Don't define if
31511         __memset_chk or USE_AS_BZERO are defined.
31513         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
31514         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
31515         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
31517         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
31518         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
31519         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
31520         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
31521         comments.
31522         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
31523         -mno-mmx for $(all-rtld-routines).
31524         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
31525         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
31526         i386.
31528 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
31530         * sysdeps/generic/unwind.h
31531         (_Unwind_Word): Use __mode__(__unwind_word__)
31532         instead of __mode__(__word__).
31533         (_Unwind_Sword): Likewise.
31535         * sysdeps/s390/s390-64/utf8-utf16-z9.c
31536         (MAX_NEEDED_INPUT): New define.
31537         (MAX_NEEDED_OUTPUT): New define.
31539         * NEWS: New item for IBM z13 string optimizations.
31541         * sysdeps/s390/multiarch/memrchr-c.c: New File.
31542         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
31543         * sysdeps/s390/multiarch/memrchr.c: Likewise.
31544         * sysdeps/s390/multiarch/Makefile
31545         (sysdep_routines): Add memrchr functions.
31546         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31547         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
31549         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
31550         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
31551         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
31552         * sysdeps/s390/multiarch/Makefile
31553         (sysdep_routines): Add wmemcmp functions.
31554         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31555         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
31556         * benchtests/bench-wmemcmp.c: New File.
31557         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
31559         * sysdeps/s390/multiarch/wmemset-c.c: New File.
31560         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
31561         * sysdeps/s390/multiarch/wmemset.c: Likewise.
31562         * sysdeps/s390/multiarch/Makefile
31563         (sysdep_routines): Add wmemset functions.
31564         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31565         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
31566         * wcsmbs/wmemset.c: Use WMEMSET if defined.
31567         * string/test-memset.c: Add wmemset support.
31568         * wcsmbs/test-wmemset.c: New File.
31569         * wcsmbs/Makefile (strop-tests): Add wmemset.
31570         * benchtests/bench-memset.c: Add wmemset support.
31571         * benchtests/bench-wmemset.c: New File.
31572         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
31574         * sysdeps/s390/multiarch/memccpy-c.c: New File.
31575         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
31576         * sysdeps/s390/multiarch/memccpy.c: Likewise.
31577         * sysdeps/s390/multiarch/Makefile
31578         (sysdep_routines): Add memccpy functions.
31579         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31580         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
31581         * string/memccpy.c: Use MEMCCPY if defined.
31583         * sysdeps/s390/multiarch/memchr-vx.S: New File.
31584         * sysdeps/s390/multiarch/memchr.c: Likewise.
31585         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
31586         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
31587         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
31588         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
31589         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
31590         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
31591         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
31592         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
31593         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
31594         and rawmemchr functions.
31595         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
31596         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
31597         and wmemchr.
31598         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
31599         * string/test-memchr.c: Add wmemchr support.
31600         * wcsmbs/test-wmemchr.c: New File.
31601         * wcsmbs/Makefile (strop-tests): Add wmemchr.
31602         * benchtests/bench-memchr.c: Add wmemchr support.
31603         * benchtests/bench-wmemchr.c: New File.
31604         * benchtests/Makefile (wcsmbs-bench): wmemchr.
31606         * sysdeps/s390/multiarch/strcspn-c.c: New File.
31607         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
31608         * sysdeps/s390/multiarch/strcspn.c: Likewise.
31609         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
31610         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
31611         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
31612         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
31613         wcscspn functions.
31614         * sysdeps/s390/multiarch/ifunc-impl-list.c
31615         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
31616         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
31617         * string/test-strcspn.c: Add wcscspn support.
31618         * wcsmbs/test-wcscspn.c: New File.
31619         * wcsmbs/Makefile (strop-tests): Add wcscspn.
31620         * benchtests/bench-strcspn.c: Add wcscspn support.
31621         * benchtests/bench-wcscspn.c: New File.
31622         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
31624         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
31625         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
31626         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
31627         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
31628         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
31629         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
31630         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
31631         wcspbrk functions.
31632         * sysdeps/s390/multiarch/ifunc-impl-list.c
31633         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
31634         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
31635         * string/test-strpbrk.c: Add wcspbrk support.
31636         * wcsmbs/test-wcspbrk.c: New File.
31637         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
31638         * benchtests/bench-strpbrk.c: Add wcspbrk support.
31639         * benchtests/bench-wcspbrk.c: New File.
31640         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
31642         * sysdeps/s390/multiarch/strspn-c.c: New File.
31643         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
31644         * sysdeps/s390/multiarch/strspn.c: Likewise.
31645         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
31646         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
31647         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
31648         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
31649         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
31650         wcsspn functions.
31651         * sysdeps/s390/multiarch/ifunc-impl-list.c
31652         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
31653         * string/test-strspn.c: Add wcsspn support.
31654         * wcsmbs/test-wcsspn.c: New File.
31655         * wcsmbs/Makefile (strop-tests): Add wcsspn.
31656         * benchtests/bench-strspn.c: Add wcsspn support.
31657         * benchtests/bench-wcsspn.c: New File.
31658         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
31660         * sysdeps/s390/multiarch/strrchr-c.c: New File.
31661         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
31662         * sysdeps/s390/multiarch/strrchr.c: Likewise.
31663         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
31664         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
31665         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
31666         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
31667         wcsrchr functions.
31668         * sysdeps/s390/multiarch/ifunc-impl-list.c
31669         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
31670         * benchtests/bench-wcsrchr.c: New File.
31671         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
31673         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
31674         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
31675         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
31676         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
31677         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
31678         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
31679         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
31680         wcschrnul functions.
31681         * sysdeps/s390/multiarch/ifunc-impl-list.c
31682         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
31683         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
31684         * string/test-strchr.c: Add wcschrnul support.
31685         * wcsmbs/test-wcschrnul.c: New File.
31686         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
31687         * benchtests/bench-strchr.c: Add wcschrnul support.
31688         * benchtests/bench-wcschrnul.c: New File.
31689         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
31691         * sysdeps/s390/multiarch/strchr-c.c: New File.
31692         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
31693         * sysdeps/s390/multiarch/strchr.c: Likewise.
31694         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
31695         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
31696         * sysdeps/s390/multiarch/wcschr.c: Likewise.
31697         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
31698         wcschr functions.
31699         * sysdeps/s390/multiarch/ifunc-impl-list.c
31700         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
31701         * string/strchr.c (STRCHR): Define and use macro.
31702         * benchtests/bench-wcschr.c: New File.
31703         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
31705         * sysdeps/s390/multiarch/strncmp-c.c: New File.
31706         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
31707         * sysdeps/s390/multiarch/strncmp.c: Likewise.
31708         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
31709         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
31710         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
31711         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
31712         wcsncmp functions.
31713         * sysdeps/s390/multiarch/ifunc-impl-list.c
31714         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
31715         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
31716         * benchtests/bench-strncmp.c: Add wcsncmp support.
31717         * benchtests/bench-wcsncmp.c: New File.
31718         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
31720         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
31721         * sysdeps/s390/multiarch/strcmp.c: Likewise.
31722         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
31723         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
31724         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
31725         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
31726         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
31727         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
31728         wcscmp functions.
31729         * sysdeps/s390/multiarch/ifunc-impl-list.c
31730         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
31731         * string/strcmp.c (STRCMP): Define and use macro.
31732         * benchtests/bench-wcscmp.c: New File.
31733         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
31734         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
31735         instead of _HAVE_STRING_ARCH_memchr.
31737         * sysdeps/s390/multiarch/strncat-c.c: New File.
31738         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
31739         * sysdeps/s390/multiarch/strncat.c: Likewise.
31740         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
31741         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
31742         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
31743         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
31744         wcsncat functions.
31745         * sysdeps/s390/multiarch/ifunc-impl-list.c
31746         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
31747         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
31748         * string/test-strncat.c: Add wcsncat support.
31749         * wcsmbs/test-wcsncat.c: New File.
31750         * wcsmbs/Makefile (strop-tests): Add wcsncat.
31751         * benchtests/bench-strncat.c: Add wcsncat support.
31752         * benchtests/bench-wcsncat.c: New File.
31753         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
31755         * sysdeps/s390/multiarch/strcat-c.c: New File.
31756         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
31757         * sysdeps/s390/multiarch/strcat.c: Likewise.
31758         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
31759         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
31760         * sysdeps/s390/multiarch/wcscat.c: Likewise.
31761         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
31762         wcscat functions.
31763         * sysdeps/s390/multiarch/ifunc-impl-list.c
31764         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
31765         * string/strcat.c (STRCAT): Define and use macro.
31766         * wcsmbs/wcscat.c: Use WCSCAT if defined.
31767         * string/test-strcat.c: Add wcscat support.
31768         * wcsmbs/test-wcscat.c: New File.
31769         * wcsmbs/Makefile (strop-tests): Add wcscat.
31770         * benchtests/bench-strcat.c: Add wcscat support.
31771         * benchtests/bench-wcscat.c: New File.
31772         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
31774         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
31775         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
31776         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
31777         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
31778         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
31779         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
31780         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
31781         wcpncpy functions.
31782         * sysdeps/s390/multiarch/ifunc-impl-list.c
31783         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
31784         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
31785         * string/test-stpncpy.c: Add wcpncpy support.
31786         * wcsmbs/test-wcpncpy.c: New File.
31787         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
31788         * benchtests/bench-stpncpy.c: Add wcpncpy support.
31789         * benchtests/bench-wcpncpy.c: New File.
31790         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
31792         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
31793         * sysdeps/s390/multiarch/strncpy.c: Likewise.
31794         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
31795         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
31796         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
31797         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
31798         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
31799         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
31800         wcsncpy functions.
31801         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
31802         * sysdeps/s390/multiarch/ifunc-impl-list.c
31803         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
31804         * string/test-strncpy.c: Add wcsncpy support.
31805         * wcsmbs/test-wcsncpy.c: New File.
31806         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
31807         * benchtests/bench-strncpy.c: Add wcsncpy support.
31808         * benchtests/bench-wcsncpy.c: New File.
31809         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
31811         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
31812         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
31813         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
31814         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
31815         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
31816         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
31817         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
31818         wcpcpy functions.
31819         * string/stpcpy.c: Use STPCPY if defined.
31820         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
31821         * sysdeps/s390/multiarch/ifunc-impl-list.c
31822         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
31823         * string/test-stpcpy.c: Add wcpcpy support.
31824         * wcsmbs/test-wcpcpy.c: New File.
31825         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
31826         * benchtests/bench-stpcpy.c: Add wcpcpy support.
31827         * benchtests/bench-wcpcpy.c: New File.
31828         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
31830         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
31831         * sysdeps/s390/multiarch/strcpy.c: Likewise.
31832         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
31833         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
31834         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
31835         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
31836         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
31837         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
31838         wcscpy functions.
31839         * sysdeps/s390/multiarch/ifunc-impl-list.c
31840         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
31841         * benchtests/bench-wcscpy.c: New File.
31842         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
31844         * sysdeps/s390/multiarch/strnlen-c.c: New File.
31845         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
31846         * sysdeps/s390/multiarch/strnlen.c: Likewise.
31847         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
31848         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
31849         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
31850         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
31851         wcsnlen functions.
31852         * sysdeps/s390/multiarch/ifunc-impl-list.c
31853         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
31854         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
31855         * string/test-strnlen.c: Add wcsnlen support.
31856         * wcsmbs/test-wcsnlen.c: New File.
31857         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
31858         * benchtests/bench-strnlen.c: Add wcsnlen support.
31859         * benchtests/bench-wcsnlen.c: New File.
31860         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
31862         * sysdeps/s390/multiarch/Makefile: New File.
31863         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
31864         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
31865         * sysdeps/s390/multiarch/strlen.c: Likewise.
31866         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
31867         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
31868         * sysdeps/s390/multiarch/wcslen.c: Likewise.
31869         * string/strlen.c (STRLEN): Define and use macro.
31870         * sysdeps/s390/multiarch/ifunc-impl-list.c
31871         (IFUNC_VX_IMPL): New macro function.
31872         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
31873         * benchtests/Makefile (wcsmbs-bench): New variable.
31874         (string-bench-all): Added wcsmbs-bench.
31875         * benchtests/bench-wcslen.c: New File.
31877         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
31878         s390_vx_libc_ifunc2): New macro function.
31880         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
31881         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
31882         assembler support.
31883         * sysdeps/s390/configure: Regenerated.
31885         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
31886         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
31888         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
31889         * sysdeps/s390/dl-procinfo.h: Add vector capability.
31890         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
31892         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
31893         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
31894         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
31895         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
31896         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
31897         (memcmp, bcmp): Use __memcmp_default as alias source.
31898         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
31899         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
31900         Rename to __memcmp_default.
31901         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
31902         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
31903         (memcpy): Use __memcpy_default as alias source.
31904         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
31905         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
31906         Rename to __memcpy_default.
31907         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
31908         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
31909         (memset): Use __memset_default as alias source.
31910         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
31911         * sysdeps/s390/s390-32/memset.S (__memset_g5):
31912         Rename to __memset_default.
31913         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
31914         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
31915         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
31916         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
31917         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
31918         (memcmp, bcmp): Use __memcmp_default as alias source.
31919         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
31920         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
31921         Rename to __memcmp_default.
31922         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
31923         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
31924         (memcpy): Use __memcpy_default as alias source.
31925         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
31926         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
31927         Rename to __memcpy_default.
31928         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
31929         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
31930         (memset): Use __memset_default as alias source.
31931         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
31932         * sysdeps/s390/s390-64/memset.S (__memset_z900):
31933         Rename to __memset_default.
31934         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
31935         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
31937         [BZ #18610]
31938         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
31939         __ieee_instruction_pointer to __unused.
31940         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
31941         __ieee_instruction_pointer.
31942         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
31943         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
31944         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
31945         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31946         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
31947         Mark dxc-field as reserved.
31949 2015-08-25  Roland McGrath  <roland@hack.frob.com>
31951         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
31952         if the weak reference is not null.
31954 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31956         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
31958         [BZ #11214]
31959         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
31961 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31963         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
31964         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
31965         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
31966         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
31967         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
31968         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
31969         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
31970         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
31971         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
31972         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
31973         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
31974         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
31975         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
31976         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
31977         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
31978         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
31979         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
31980         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
31982 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
31984         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
31985         register other than r0 for tabort, it has special meaning.
31986         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
31987         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
31988         transaction before starting syscall.
31990 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31992         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
31994 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
31996         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
31998         * sysdeps/x86_64/rtld-memcmp.c: Removed.
31999         * sysdeps/x86_64/rtld-memset.S: Likewise.
32000         * sysdeps/x86_64/rtld-strchr.S: Likewise.
32001         * sysdeps/x86_64/rtld-strlen.S: Likewise.
32002         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
32003         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
32005         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
32007 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
32009         * debug/strcpy_chk.c: Improve performance.
32010         * debug/stpcpy_chk.c: Likewise.
32011         * sysdeps/x86_64/strcpy_chk.S: Remove.
32012         * sysdeps/x86_64/stpcpy_chk.S: Remove.
32014         [BZ #18240]
32015         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
32017 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
32019         [BZ #15128]
32020         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
32021         ifuncmain8.
32022         (modules-names): Add ifuncmod8.
32023         ($(objpfx)ifuncmain8): New rule.
32024         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
32025         <cpuid.h>.
32026         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
32027         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
32028         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
32029         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
32030         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
32031         * sysdeps/x86_64/dl-trampoline.h: Likewise.
32032         * sysdeps/x86_64/ifuncmain8.c: New file.
32033         * sysdeps/x86_64/ifuncmod8.c: Likewise.
32034         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
32035         Removed.
32036         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
32037         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
32038         Change rtld_savespace_sse to __glibc_unused2.
32039         (RTLD_CHECK_FOREIGN_CALL): Removed.
32040         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
32041         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
32042         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
32044 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32046         * sysdeps/aarch64/bzero.S (__bzero): Remove.
32048 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
32050         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
32051         Unconditionally set __fpcr to avoid uninialized warning.
32052         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
32054 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32056         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
32057         is corrupt.
32059         * malloc/arena.c (arena_get2): Drop unused argument.
32060         (arena_lock): Adjust.
32061         (arena_get_retry): Likewise.
32063 2015-08-24  Andreas Schwab  <schwab@suse.de>
32065         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
32066         Don't define.
32067         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
32068         (__ASSUME_IPC64): Don't undef.
32069         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
32070         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
32071         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
32072         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
32073         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
32074         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
32075         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
32076         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
32077         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
32078         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
32079         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
32080         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
32081         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
32082         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
32083         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
32084         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
32085         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
32086         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
32087         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
32088         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
32089         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
32091 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
32093         * manual/Makefile (install): Only build manual when perl is available.
32095 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32097         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
32098         '#undef memcpy' by '#undef memchr'.
32100 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32102         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
32103         memchr not point to the internal __GI_memchr implementation.
32105 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32107         * timezone/Makefile (CFLAGS-zdump.c): Remove
32108         -Wno-strict-prototypes.
32109         (CFLAGS-zic.c): Likewise.
32110         (CFLAGS-ialloc.c): Likewise.
32111         (CFLAGS-scheck.c): Likewise.
32113         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
32114         -Wno-error=undef.
32116 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32118         * i386/i686/multiarch/strcasestr-c.c: Removed.
32119         * x86_64/multiarch/strcasestr.c: Likewise.
32120         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32121         Remove strcasestr.
32123 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
32125         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
32127         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
32128         variables for high and low parts before possibly modifying them.
32130 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32132         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
32133         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
32134         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
32135         of "multiarch/init-arch.h".
32136         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
32137         * sysdeps/x86/init-arch.h: This.
32139 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
32141         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
32142         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
32144 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
32146         [BZ #17787]
32147         * manual/macros.texi: Add twoexp macro.
32148         * manual/filesys.texi: Fix exponents.
32149         * manual/llio.texi: Likewise.
32150         * manual/stdio.texi: Likewise.
32152 2015-08-20  Florian Weimer  <fweimer@redhat.com>
32154         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
32155         incorrect use.
32157 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32159         [BZ #18370]
32160         * math/s_csqrt.c (__csqrt): Force underflow exception for results
32161         whose real or imaginary part has small absolute value.
32162         * math/s_csqrtf.c (__csqrtf): Likewise.
32163         * math/s_csqrtl.c (__csqrtl): Likewise.
32164         * math/auto-libm-test-in: Add more tests of csqrt.
32165         * math/auto-libm-test-out: Regenerated.
32166         * sysdeps/i386/fpu/libm-test-ulps: Update.
32168 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
32170         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
32171         __ppc_set_ppr_very_low): New functions.
32172         * manual/platform.texi: Add documentation about
32173         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
32175 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
32177         * string/stpncpy.c (stpncpy): Improve performance using
32178         __strnlen/memcpy/memset.
32180 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32182         [BZ #18796]
32183         * scripts/test-installation.pl: Don't add -lmvec to build options if
32184         libmvec wasn't built.
32186 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
32188         [BZ #14341]
32189         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
32190         case when there is a gap between DT_REL and DT_JMPREL sections.
32191         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
32192         (LDFLAGS-tst-split-dynreloc): New.
32193         (tst-split-dynreloc-ENV): Likewise.
32194         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
32195         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
32197 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32199         [BZ #18822]
32200         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
32201         attribute_hidden.
32202         (__xstat64_conv): Likewise.
32203         (__xstat32_conv): Likewise.
32205 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32207         [BZ #18822]
32208         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
32209         Don't load %ebx when calling __setcontext.  Call __setcontext
32210         with HIDDEN_JUMPTARGET.
32211         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
32212         libc_hidden_def.
32214 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32216         * sysdeps/i386/i686/Makefile
32217         [$(subdir) == string] (sysdep_routines): Moved to ...
32218         * sysdeps/i386/Makefile: Here.
32219         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
32220         * sysdeps/i386/cacheinfo.c: Here.
32221         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
32222         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
32223         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
32224         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
32226 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
32228         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
32229         __i586__ is defined.
32230         (HAS_I686): Defined to 1 if __i686__ is defined.
32232 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
32234         * elf/Makefile [$(have-z-execstack) = yes]
32235         (CPPFLAGS-tst-execstack.c): New variable.
32237         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
32238         conditional to [defined UTMPX || _HAVE_UT_TYPE].
32239         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
32240         UTMPX || _HAVE_UT_TV].
32241         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
32242         UTMPX || _HAVE_UT_TV - 0].
32244 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
32246         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
32247         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
32248         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
32250 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
32252         * sysdeps/powerpc/dl-procinfo.c:
32253         (_dl_powerpc_cap_flags): Added missing strings for some
32254         hwcap features.
32255         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
32257 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
32259         Port the 0x7efe...feff pattern to GCC 6.
32260         See Steve Ellcey's bug report in:
32261         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
32262         * string/memrchr.c (MEMRCHR):
32263         * string/rawmemchr.c (RAWMEMCHR):
32264         * string/strchr.c (strchr):
32265         * string/strchrnul.c (STRCHRNUL):
32266         Rewrite code to avoid issues with signed shift overflow.
32268 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
32270         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
32271         whether cpuid is available only if HAS_CPUID is 0.
32272         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
32273         (HAS_I586): Likewise.
32274         (HAS_I686): Likewise.
32276 2015-08-18  Zack Weinberg  <zackw@panix.com>
32278         * misc/Versions (libc): Add GLIBC_2.23.
32280 2015-08-18  Alan Modra  <amodra@gmail.com>
32282         [BZ #18421]
32283         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
32284         .Lp__global.
32285         (_start): Load %dp via .Lp__global.
32286         [!SHARED]: Use .section .rodata.
32288 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32290         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
32291         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
32293 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32295         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
32296         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
32298 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32300         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
32301         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
32303 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32305         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
32306         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
32308 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32310         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
32311         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
32313 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32315         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
32316         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
32318 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32320         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
32322 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32324         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
32325         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
32326         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
32327         (__ASSUME_LWS_CAS): Delete.
32329 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
32331         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
32332         * sysdeps/hppa/configure: Regenerated.
32333         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
32334         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
32335         * sysdeps/hppa/nptl/tls.h: Likewise.
32337 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
32339         [BZ #18823]
32340         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
32341         for scaling up small arguments.
32342         * math/s_csqrtf.c (__csqrtf): Likewise.
32343         * math/s_csqrtl.c (__csqrtl): Likewise.
32344         * math/auto-libm-test-in: Add more tests of csqrt.
32345         * math/auto-libm-test-out: Regenerated.
32347 2015-08-17  Andreas Schwab  <schwab@suse.de>
32349         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
32350         version set GLIBC_2.19.
32352 2015-08-16  Zack Weinberg  <zackw@panix.com>
32354         [BZ #18681]
32355         * misc/regexp.h: This interface is no longer supported.
32356         Remove all contents, leaving only an #error directive.
32357         * misc/regexp.c (loc1, loc2, locs, step, advance):
32358         Demote to compatibility symbols.
32360 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
32362         [BZ #18084]
32363         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
32364         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
32365         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
32366         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
32367         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
32368         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
32369         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
32370         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
32371         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
32373 2015-08-15  Zack Weinberg  <zackw@panix.com>
32375         [BZ #18795]
32376         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
32377         buffer length is known to be too large, not if it's known to be
32378         small enough.
32379         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
32380         overflow at runtime, involving a length parameter, twice: once
32381         with a compile-time constant length parameter, once without.
32383 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
32385         [BZ #18824]
32386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
32387         scaling x * y up instead of down.
32388         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32389         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32390         * math/auto-libm-test-in: Add more tests of fma.
32391         * math/auto-libm-test-out: Regenerated.
32393 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
32395         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32397 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32399         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
32400         unnecessary movq.
32401         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
32402         Likewise.
32404 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
32406         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
32407         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
32408         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
32409         and tgamma.
32410         * math/auto-libm-test-out: Regenerated.
32411         * sysdeps/i386/fpu/libm-test-ulps: Update.
32412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32414         [BZ #16520]
32415         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
32416         (__tanh): Force underflow exception for arguments with small
32417         absolute value.
32418         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
32419         (__tanhf): Force underflow exception for arguments with small
32420         absolute value.
32421         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
32422         (__tanhl): Force underflow exception for arguments with small
32423         absolute value.
32424         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
32425         (__tanhl): Force underflow exception for arguments with small
32426         absolute value.
32427         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
32428         (__tanhl): Force underflow exception for arguments with small
32429         absolute value.
32430         * math/auto-libm-test-in: Add more tests of tanh.
32431         * math/auto-libm-test-out: Regenerated.
32432         * sysdeps/i386/fpu/libm-test-ulps: Update.
32434 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32436         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
32437         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
32439 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32441         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
32442         <cpuid.h>.
32444 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32446         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
32447         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
32449 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32451         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
32452         Remove $(objpfx)init-arch.o.
32453         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
32454         init-arch.
32455         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
32456         (INIT_ARCH_EXT): Defined as empty.
32457         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
32458         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
32459         __init_cpu_features call.  Replace HAS_XXX with
32460         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32461         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
32462         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
32463         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
32464         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
32465         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
32466         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
32467         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
32468         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
32469         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
32470         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
32471         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
32472         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
32473         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
32474         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
32475         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
32476         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
32477         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
32478         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
32479         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
32480         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
32481         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
32482         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
32483         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
32484         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
32485         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
32486         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
32487         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
32488         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
32489         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
32490         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
32491         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
32492         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
32493         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
32494         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
32495         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
32497 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32499         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
32500         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32501         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32502         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
32503         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
32504         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
32505         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
32506         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
32507         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
32508         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
32509         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
32510         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
32511         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32512         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
32513         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
32514         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
32515         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
32516         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
32517         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
32518         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
32519         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
32520         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
32521         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
32522         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
32523         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
32524         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
32525         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
32526         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
32527         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
32528         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
32529         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
32530         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
32531         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
32532         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
32533         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
32534         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
32535         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
32536         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
32537         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
32538         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
32539         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
32540         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
32541         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
32543 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32545         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
32546         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32547         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
32548         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
32549         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
32550         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
32551         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
32552         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
32553         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
32554         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
32555         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
32556         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
32557         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
32558         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
32559         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
32560         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
32561         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
32562         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
32563         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
32564         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
32565         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
32566         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
32567         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
32568         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
32569         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
32570         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
32571         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
32572         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
32573         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
32574         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
32575         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
32576         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
32577         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
32578         * sysdeps/x86_64/multiarch/memset.S: Likewise.
32579         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32580         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
32581         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
32582         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
32583         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
32584         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
32585         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
32586         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
32587         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
32589 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
32591         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
32592         (dl_platform_init): Call init_cpu_features.
32593         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
32594         * sysdeps/i386/i686/cacheinfo.c
32595         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
32596         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
32597         * sysdeps/i386/i686/multiarch/Versions: Removed.
32598         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
32599         Removed.
32600         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
32601         * sysdeps/unix/sysv/linux/x86/Makefile
32602         (libpthread-sysdep_routines): Remove init-arch.
32603         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
32604         <sysdeps/x86_64/dl-procinfo.c> instead of
32605         sysdeps/generic/dl-procinfo.c>.
32606         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
32607         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
32608         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
32609         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
32610         [$(subdir) == elf] (tests-static): Add
32611         tst-get-cpu-features-static.
32612         * sysdeps/x86/Versions: New file.
32613         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
32614         * sysdeps/x86/cpu-features.c: Likewise.
32615         * sysdeps/x86/cpu-features.h: Likewise.
32616         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
32617         * sysdeps/x86/libc-start.c: Likewise.
32618         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
32619         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
32620         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
32621         * sysdeps/x86_64/dl-procinfo.c: Likewise.
32622         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
32623         Assume USE_MULTIARCH is defined and don't check it.
32624         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
32625         (is_amd): Likewise.
32626         (max_cpuid): Likewise.
32627         (intel_check_word): Likewise.
32628         (__cache_sysconf): Don't call __init_cpu_features.
32629         (__x86_preferred_memory_instruction): Removed.
32630         (init_cacheinfo): Don't call __init_cpu_features. Replace
32631         __cpu_features with GLRO(dl_x86_cpu_features).
32632         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
32633         (dl_platform_init): Call init_cpu_features.
32634         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
32635         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
32636         * sysdeps/x86_64/multiarch/Versions: Removed.
32637         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
32638         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
32639         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
32640         Removed.
32641         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
32643 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32645         [BZ #18820]
32646         * libio/Makefile (test-fmemopen-mem): New test.
32647         * libio/test-fmemopen.c (do_bz18820): New test.
32648         * libio/fmemopen.c (__fmemopen): Fix memory leak.
32649         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
32651 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
32653         [BZ #16734]
32654         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
32655         (FREE_BUF): Delete.
32656         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
32657         * libio/genops.c (_IO_setb): Use malloc and free directly.
32658         (_IO_default_doallocate, _IO_default_finish): Likewise.
32659         ( _IO_unbuffer_all): Likewise.
32660         ( libc_freeres_fn): Likewise.
32661         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
32662         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
32663         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
32664         (_IO_wdefault_doallocate): Likewise.
32666 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
32668         [BZ #18086]
32669         * sysdeps/posix/nice.c (nice): Restore old errno.
32670         * posix/tst-nice.c (do_test): Add test for BZ #18086.
32672 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
32674         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
32676 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
32678         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
32679         __bcopy and add a weak_alias to bcopy.
32680         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
32681         for static build.
32683         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
32684         cleanup macro usage.
32685         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
32686         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
32687         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
32688         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
32689         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
32690         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
32691         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
32692         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32693         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
32694         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
32695         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32696         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
32697         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
32698         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
32699         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
32700         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
32701         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
32702         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
32703         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
32705         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
32706         libc_hidden_def.
32707         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
32709         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
32710         (sysdep_routines): Add strstr-ppc64.
32711         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
32713 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
32715         [BZ #18778]
32716         * elf/Makefile (tests): Add Add tst-nodelete2.
32717         (modules-names): Add tst-nodelete2mod.
32718         (tst-nodelete2mod.so-no-z-defs): New.
32719         ($(objpfx)tst-nodelete2): Likewise.
32720         ($(objpfx)tst-nodelete2.out): Likewise.
32721         (LDFLAGS-tst-nodelete2): Likewise.
32722         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
32723         out of loop through all loaded libraries.
32724         * elf/tst-nodelete2.c: New file.
32725         * elf/tst-nodelete2mod.c: Likewise.
32726         * elf/tst-znodelete-zlib.cc: Delete.
32728 2015-08-11  Andreas Schwab  <schwab@suse.de>
32730         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
32731         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
32732         (__openat64_nocancel): Likewise.
32734 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
32736         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
32737         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
32738         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
32739         * math/auto-libm-test-out: Regenerated.
32740         * sysdeps/i386/fpu/libm-test-ulps: Update.
32741         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32743 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32745         [BZ #18790]
32746         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
32747         threshold for returning +/- 1.
32748         * math/auto-libm-test-in: Add more tests of tanh.
32749         * math/auto-libm-test-out: Regenerated.
32750         * sysdeps/i386/fpu/libm-test-ulps: Update.
32752 2015-08-10  Andreas Schwab  <schwab@suse.de>
32754         [BZ #18781]
32755         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
32756         MORE_OFLAGS to oflag.
32757         * io/test-lfs.c (do_test): Test openat64.
32759 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
32761         [BZ #18789]
32762         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
32763         smaller threshold for returning the argument.
32764         * math/auto-libm-test-in: Add more tests of sinh.
32765         * math/auto-libm-test-out: Regenerated.
32766         * sysdeps/i386/fpu/libm-test-ulps: Update.
32768 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
32770         [BZ #18674]
32771         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
32772         break.
32774 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
32776         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
32777         (generated): Don't add $(addprefix z.,$(tzfiles)).
32779 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32781         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
32782         * scripts/sysd-rules.awk: Likewise.
32784 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32786         * iconvdata/tst-tables.sh: Change echo -n to printf.
32787         * nss/db-Makefile: Likewise.
32788         * posix/tst-getconf.sh: Likewise.
32789         * stdio-common/tst-unbputc.sh: Likewise.
32791 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
32793         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
32794         MADV_*_PAGES defines behind this feature check.
32796 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
32798         [BZ #18480]
32799         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
32800         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
32801         Define.
32802         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
32803         LOAD_REGS_5, LOAD_REGS_6): Update.
32804         (INTERNAL_SYSCALL): Update using new LOAD defines.
32805         (INTERNAL_SYSCALL_NCS): Likewise.
32806         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
32808 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32810         [BZ #16734]
32811         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
32813 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
32815         [BZ #17905]
32816         * catgets/Makefile (tst-catgets-mem): New test.
32817         * catgets/catgets.c (catopen): Don't use unbounded alloca.
32818         * catgets/open_catalog.c (__open_catalog): Likewise.
32819         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
32821 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
32823         [BZ #18787]
32824         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
32825         clobber registers.
32826         (atomic_compare_and_exchange_val_acq): Use register asms to assign
32827         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
32828         Cast return to __typeof (oldval).
32830 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
32832         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
32833         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
32834         and delete sys/syscall.h include.
32836 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
32838         [BZ #16517]
32839         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
32840         (tan): Force underflow exception for arguments with small absolute
32841         value.
32842         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
32843         (__kernel_tanf): Force underflow exception for arguments with
32844         small absolute value.
32845         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
32846         (__kernel_tanl): Force underflow exception for arguments with
32847         small absolute value.
32848         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
32849         (__kernel_tanl): Force underflow exception for arguments with
32850         small absolute value.
32851         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
32852         (__kernel_tanl): Force underflow exception for arguments with
32853         small absolute value.
32854         * math/auto-libm-test-in: Add more tests of tan.
32855         * math/auto-libm-test-out: Regenerated.
32857 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32859         Fix sysdeps/i386/fpu/s_scalbn.S build
32861         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
32863 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
32865         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
32867 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32869         Fix gcrt0.o compilation
32871         When static-start-installed-name is different from
32872         start-installed-name, we must not use the shared objects.
32874         * csu/Makefile
32875         (extra-objs): Add gmon-start.o when building shared library and
32876         $(static-start-installed-name) is different from
32877         $(start-installed-name).
32878         $(objpfx)g$(static-start-installed-name): When building shared
32879         library and $(static-start-installed-name) is different from
32880         $(static-start-installed-name), revert to non-shared rule,
32881         i.e. using $(objpfx)% and gmon-start.o.
32883 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
32885         [BZ #16519]
32886         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
32887         (__ieee754_sinh): Force underflow exception for arguments with
32888         small absolute value.
32889         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
32890         (__ieee754_sinhf): Force underflow exception for arguments with
32891         small absolute value.
32892         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
32893         (__ieee754_sinhl): Force underflow exception for arguments with
32894         small absolute value.
32895         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
32896         (__ieee754_sinhl): Force underflow exception for arguments with
32897         small absolute value.
32898         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
32899         (__ieee754_sinhl): Force underflow exception for arguments with
32900         small absolute value.
32901         * math/auto-libm-test-in: Add more tests of sinh.
32902         * math/auto-libm-test-out: Regenerated.
32903         * sysdeps/i386/fpu/libm-test-ulps: Update.
32905 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
32907         * libio/oldfileops.c: Include unistd.h.
32909 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
32911         * stdlib/isomac.c: Include ctype.h.
32913 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
32915         * dirent/tst-seekdir.c (main): Converted to ...
32916         (do_test): ... this.
32917         (TEST_FUNCTION): New macro.
32918         Include test-skeleton.c.
32919         * elf/tst-dlmodcount.c (main): Converted to ...
32920         (do_test): ... this.
32921         (TEST_FUNCTION): New macro.
32922         Include test-skeleton.c.
32923         * elf/tst-order-main.c (main): Converted to ...
32924         (do_test): ... this.
32925         (TEST_FUNCTION): New macro.
32926         Include test-skeleton.c.
32927         * elf/tst-pie2.c (main): Converted to ...
32928         (do_test): ... this.
32929         (TEST_FUNCTION): New macro.
32930         Include test-skeleton.c.
32931         * inet/tst-ether_aton.c (main): Converted to ...
32932         (do_test): ... this.
32933         (TEST_FUNCTION): New macro.
32934         Include test-skeleton.c.
32935         * misc/tst-mntent.c (main): Converted to ...
32936         (do_test): ... this.
32937         (TEST_FUNCTION): New macro.
32938         Include test-skeleton.c.
32939         * misc/tst-tsearch.c (main): Converted to ...
32940         (do_test): ... this.
32941         (TEST_FUNCTION): New macro.
32942         Include test-skeleton.c.
32943         * posix/tst-regexloc.c (main): Converted to ...
32944         (do_test): ... this.
32945         (TEST_FUNCTION): New macro.
32946         Include test-skeleton.c.
32947         * resolv/tst-aton.c (main): Converted to ...
32948         (do_test): ... this.
32949         (TEST_FUNCTION): New macro.
32950         Include test-skeleton.c.
32951         * stdio-common/test-fwrite.c (main): Converted to ...
32952         (do_test): ... this.
32953         (TEST_FUNCTION): New macro.
32954         Include test-skeleton.c.
32955         * stdio-common/tst-ferror.c (main): Converted to ...
32956         (do_test): ... this.
32957         (TEST_FUNCTION): New macro.
32958         Include test-skeleton.c.
32959         * stdio-common/tst-printf.c (main): Converted to ...
32960         (do_test): ... this.
32961         (TEST_FUNCTION): New macro.
32962         Include test-skeleton.c.
32963         * stdio-common/tst-printfsz.c (main): Converted to ...
32964         (do_test): ... this.
32965         (TEST_FUNCTION): New macro.
32966         Include test-skeleton.c.
32967         * stdlib/tst-strtod.c (main): Converted to ...
32968         (do_test): ... this.
32969         (TEST_FUNCTION): New macro.
32970         Include test-skeleton.c.
32971         * string/tst-strlen.c (main): Converted to ...
32972         (do_test): ... this.
32973         (TEST_FUNCTION): New macro.
32974         Include test-skeleton.c.
32975         * string/tst-svc.c (main): Converted to ...
32976         (do_test): ... this.
32977         (TEST_FUNCTION): New macro.
32978         Include test-skeleton.c.
32979         * time/tst-strptime.c (main): Converted to ...
32980         (do_test): ... this.
32981         (TEST_FUNCTION): New macro.
32982         Include test-skeleton.c.
32983         * timezone/tst-timezone.c (main): Converted to ...
32984         (do_test): ... this.
32985         (TEST_FUNCTION): New macro.
32986         Include test-skeleton.c.
32988 2015-08-05  Zack Weinberg  <zackw@panix.com>
32990         * misc/regexp.h: Update comments.
32992 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
32994         [BZ #18635]
32995         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
32996         before return label.
32998 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33000         [BZ #18661]
33001         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
33002         when calling __errno_location.
33003         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
33004         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
33006 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33008         [BZ #18661]
33009         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
33010         (__lll_timedwait_tid): Align stack to 16 bytes when calling
33011         __gettimeofday.
33013 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33015         [BZ #18661]
33016         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
33017         (__start_context): Don't use pop to restore %rdi so that stack
33018         is aligned to 16 bytes when calling __setcontext.
33020 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33022         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
33023         only for libc.
33024         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
33026 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33028         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
33029         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
33030         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
33032 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33034         * string/memccpy.c (memccpy):
33035         Improve performance by using memchr/memcpy/__mempcpy.
33037 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33039         * string/strncpy.c (strncpy):
33040         Improve performance by using __strnlen/memcpy.
33042 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33044         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
33045         Optimize to avoid an unnecessary FPCR read.
33047 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
33049         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
33050         Optimize to reduce FPCR/FPSR accesses.
33052 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
33054         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
33055         dead->data[category] != NULL.
33057 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
33059         [BZ #18647]
33060         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
33061         and |x| close to 1, use absolute value of x when computing log.
33062         * math/auto-libm-test-in: Add more tests of pow.
33063         * math/auto-libm-test-out: Regenerated.
33065 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33067         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
33068         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
33069         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
33071 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
33073         [BZ #18525]
33074         * locales/km_KH: Remove timezone definition.
33075         * locales/lo_LA: Likewise.
33076         * locales/my_MM: Likewise.
33077         * locales/nan_TW@latin: Likewise.
33078         * locales/th_TH: Likewise.
33079         * locales/uk_UA: Likewise.
33081 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
33083         [BZ #18265]
33084         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
33085         (wcsncat): Likewise.
33086         (wcscmp): Likewise.
33087         (wcsncmp): Likewise.
33089 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33091         * test-skeleton.c (usage): New function.
33092         (main): Call usage when opt is '?'.
33094 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33096         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
33097         before first use.
33099 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
33101         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
33102         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
33103         in there too.
33105 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
33107         * version.h (RELEASE): Set to "development".
33108         (VERSION): Set to "2.22.90"
33110         * version.h (RELEASE): Set to "stable".
33111         (VERSION): Set to "2.22"
33112         * include/features.h (__GLIBC_MINOR__): Set to 22.
33114 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
33116         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
33117         Restructure macro to avoid "value computed is not used" warning.
33118         (atomic_compare_and_exchange_val_acq): Likewise.
33120 2015-08-04  Andreas Schwab  <schwab@suse.de>
33122         [BZ #18635]
33123         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
33124         ret.
33125         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
33127 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
33129         * po/pl.po: Updated translation.
33130         * po/uk.po: Likewise.
33131         * po/fi.po: Likewise.
33132         * po/ko.po: Likewise.
33133         * po/ru.po: Likewise.
33134         * po/vi.po: Likewise.
33136 2015-07-31  Zack Weinberg  <zackw@panix.com>
33138         [BZ #18681]
33139         * regexp.h: Add unconditional #warning stating that this header
33140         will be removed soon.  Revise banner comment to match.
33141         (compile): Consistently use ERROR instead of RETURN to report
33142         errors (partial fix for BZ #18681).
33143         * regexp.c: Don't include regexp.h. Remove some unnecessary
33144         declarations.
33146 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
33148         * po/libc.pot: Regenerated.
33150 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
33152         [BZ #18740]
33153         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
33154         float-vlen4-arch-ext-cflags): Removed.
33155         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
33156         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
33158 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33160         [BZ #14113]
33161         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
33162         aligned to __aligned__.
33163         (pthread_cond_t, pthread_rwlock_t): Likewise.
33165 2015-07-30  Torvald Riegel  <triegel@redhat.com>
33167         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
33169 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33171         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
33172         (struct sigaction): Change sa_flags from a long to an int, and add
33173         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
33175 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33177         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
33178         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
33179         sysdeps/generic/sysdep.h include.
33180         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
33181         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
33182         sysdeps/hppa/sysdep.h.
33183         (ENTRY, PSEUDO): Undefine before defining.
33185 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
33187         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
33188         from scratch to use INTERNAL_SYSCALL.
33190 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
33192         [BZ #18078]
33193         * scripts/check-localplt.awk: Support alternate relocations.
33194         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
33195         sections.
33196         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
33197         malloc entries with + REL R_386_GLOB_DAT.
33198         * sysdeps/x86_64/localplt.data: New file.
33200 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
33202         [BZ #18731]
33203         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
33204         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33205         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33207 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33209         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
33211 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33213         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
33214         directly in terms of __sync_fetch_and_add and delete (int) cast.
33216 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33218         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
33219         the -D_ASM_IA64_CURRENT_H flag.
33221 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
33223         [BZ #18641]
33224         * pwd/pwd.h (putpwent): Delete __nonnull markings.
33226 2015-07-27  Andreas Schwab  <schwab@suse.de>
33228         * conform/conformtest.pl (checknamespace): Filter out string
33229         literals while tokenizing.
33231 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33233         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33234         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
33235         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33237 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
33239         * nptl/tst-join7mod.c: Add #include <string.h>.
33241 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33243         * sysdeps/nios2/libm-test-ulps: Update.
33245 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
33247         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
33248         Fix order of arguments to the rt_sigprocmask syscall.
33249         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
33250         Likewise.
33252 2015-07-24  Roland McGrath  <roland@hack.frob.com>
33254         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
33256 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33258         [BZ #18457]
33259         * nptl/Makefile (tests): New test case tst-join7.
33260         (modules-names): New test case module tst-join7mod.
33261         * nptl/tst-join7.c: New file.
33262         * nptl/tst-join7mod.c: New file.
33263         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
33264         all translation units in libc.so, libpthread.so and rtld.
33266 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33268         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33270 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
33272         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
33273         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
33274         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
33275         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
33276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
33277         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
33278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
33279         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
33280         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
33281         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
33282         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
33283         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
33284         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
33285         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
33286         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
33287         implementation.
33289 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33291         [BZ #17711]
33292         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33293         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
33294         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33295         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
33296         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
33297         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
33299 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
33301         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
33302         instead of just saying load lock in the comments.
33304 2015-07-23  Roland McGrath  <roland@hack.frob.com>
33306         * sysdeps/unix/Subdirs: Moved ...
33307         * sysdeps/posix/Subdirs: ... here.
33308         * login/pty.h (struct termios, struct winsize): Add forward decls.
33309         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
33310         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
33311         * sysdeps/arm/nacl/libc.abilist: Updated.
33312         * sysdeps/nacl/libutil.abilist: New file.
33314         * bits/signum.h: Update comments to mention 1003.1-2013 too.
33315         (SIGWINCH): New macro.
33317         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
33318         * sysdeps/arm/nacl/libc.abilist: Add it.
33320 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33322         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
33324 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
33326         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33327         Swap __glibc_reserved0 and sa_flags order.
33329 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
33331         [BZ #18657]
33332         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
33333         are pending TLS destructor calls.
33334         * include/link.h (struct link_map): Add concurrency note for
33335         L_TLS_DTOR_COUNT.
33336         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
33337         Don't touch the link map flag.  Atomically increment
33338         l_tls_dtor_count.
33339         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
33340         Avoid taking the load lock and don't touch the link map flag.
33341         * stdlib/tst-tls-atexit-nodelete.c: New test case.
33342         * stdlib/Makefile (tests): Use it.
33343         * stdlib/tst-tls-atexit.c (do_test): dlopen
33344         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
33345         to allow tst-tls-atexit-nodelete test case to use it.
33347 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33349         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
33350         to bits/types.h.
33351         (msgqnum_t): New typedef.
33352         (msglen_t): Likewise.
33353         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
33354         and msg_qbytes type to msglen_t.
33356 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33358         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
33359         pad0 to __glibc_reserved0.
33360         (struct stat64): Likewise.
33362 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33364         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
33365         Change sa_flags from a long to an int and add __glibc_reserved0 before
33366         it for padding.
33368 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
33370         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
33371         anonymous by deleting "siginfo" name.
33373 2015-07-21  Roland McGrath  <roland@hack.frob.com>
33375         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
33376         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
33377         rather than __nacl_irt_filename.
33378         * sysdeps/nacl/xstat.c (__xstat): Likewise.
33380         * NEWS: New item for arm-nacl port.
33381         * sysdeps/arm/nacl/libc.abilist: New file.
33382         * sysdeps/nacl/ld.abilist: New file.
33383         * sysdeps/nacl/libBrokenLocale.abilist: New file.
33384         * sysdeps/nacl/libanl.abilist: New file.
33385         * sysdeps/nacl/libcrypt.abilist: New file.
33386         * sysdeps/nacl/libdl.abilist: New file.
33387         * sysdeps/nacl/libm.abilist: New file.
33388         * sysdeps/nacl/libpthread.abilist: New file.
33389         * sysdeps/nacl/libresolv.abilist: New file.
33390         * sysdeps/nacl/librt.abilist: New file.
33392 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
33394         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
33395         __startcontext to initialize the new context.
33396         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
33397         up CFI directive to forbid further backtracing.
33399 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
33401         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
33402         reference.
33403         * charmaps/ANSI_X3.4-1968: Likewise.
33404         * charmaps/BS_4730: Likewise.
33405         * charmaps/BS_VIEWDATA: Likewise.
33406         * charmaps/CP1250: Likewise.
33407         * charmaps/CP1251: Likewise.
33408         * charmaps/CP1252: Likewise.
33409         * charmaps/CP1253: Likewise.
33410         * charmaps/CP1254: Likewise.
33411         * charmaps/CP1255: Likewise.
33412         * charmaps/CP1256: Likewise.
33413         * charmaps/CSN_369103: Likewise.
33414         * charmaps/EBCDIC-DK-NO: Likewise.
33415         * charmaps/GB_1988-80: Likewise.
33416         * charmaps/GREEK-CCITT: Likewise.
33417         * charmaps/GREEK7: Likewise.
33418         * charmaps/INIS-8: Likewise.
33419         * charmaps/ISIRI-3342: Likewise.
33420         * charmaps/ISO_2033-1983: Likewise.
33421         * charmaps/ISO_5427-EXT: Likewise.
33422         * locales/POSIX: Likewise.
33423         * locales/ar_SA: Likewise.
33424         * locales/be_BY: Likewise.
33425         * locales/be_BY@latin: Likewise.
33426         * locales/ca_ES: Likewise.
33427         * locales/cs_CZ: Likewise.
33428         * locales/da_DK: Likewise.
33429         * locales/de_BE: Likewise.
33430         * locales/de_CH: Likewise.
33431         * locales/de_LU: Likewise.
33432         * locales/en_AU: Likewise.
33433         * locales/en_BW: Likewise.
33434         * locales/en_CA: Likewise.
33435         * locales/en_DK: Likewise.
33436         * locales/en_GB: Likewise.
33437         * locales/en_IE: Likewise.
33438         * locales/en_NZ: Likewise.
33439         * locales/en_ZA: Likewise.
33440         * locales/en_ZW: Likewise.
33441         * locales/es_AR: Likewise.
33442         * locales/es_BO: Likewise.
33443         * locales/es_CL: Likewise.
33444         * locales/es_CO: Likewise.
33445         * locales/es_DO: Likewise.
33446         * locales/es_EC: Likewise.
33447         * locales/es_ES: Likewise.
33448         * locales/es_HN: Likewise.
33449         * locales/es_MX: Likewise.
33450         * locales/es_PA: Likewise.
33451         * locales/es_PE: Likewise.
33452         * locales/es_PY: Likewise.
33453         * locales/es_SV: Likewise.
33454         * locales/es_US: Likewise.
33455         * locales/es_UY: Likewise.
33456         * locales/es_VE: Likewise.
33457         * locales/et_EE: Likewise.
33458         * locales/fa_IR: Likewise.
33459         * locales/fo_FO: Likewise.
33460         * locales/fr_CA: Likewise.
33461         * locales/fr_CH: Likewise.
33462         * locales/gv_GB: Likewise.
33463         * locales/he_IL: Likewise.
33464         * locales/hr_HR: Likewise.
33465         * locales/id_ID: Likewise.
33466         * locales/is_IS: Likewise.
33467         * locales/it_CH: Likewise.
33468         * locales/iw_IL: Likewise.
33469         * locales/kl_GL: Likewise.
33470         * locales/ko_KR: Likewise.
33471         * locales/kw_GB: Likewise.
33472         * locales/lg_UG: Likewise.
33473         * locales/lt_LT: Likewise.
33474         * locales/lv_LV: Likewise.
33475         * locales/mi_NZ: Likewise.
33476         * locales/nhn_MX: Likewise.
33477         * locales/nl_BE: Likewise.
33478         * locales/pl_PL: Likewise.
33479         * locales/sk_SK: Likewise.
33480         * locales/sl_SI: Likewise.
33481         * locales/sv_FI: Likewise.
33482         * locales/tl_PH: Likewise.
33483         * locales/tr_TR: Likewise.
33484         * locales/vi_VN: Likewise.
33486 2015-07-21  Khem Raj  <raj.khem@gmail.com>
33488         [BZ #17475]
33489         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
33490         of tu_IN and bh_IN.
33492 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
33494         [BZ #18694]
33495         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
33496         bits/wordsize.h.
33497         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
33499 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
33501         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
33502         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
33503         (spawn_thread): New function.
33504         (load): Rename to reg_dtor_and_close.  Move dlopen to...
33505         (do_test): ... here.  Use IS_LOADED to test for its
33506         availability.
33508 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
33510         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33512 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
33514         [BZ #18696]
33515         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
33516         si_addr_bnd.
33517         (si_lower): New.
33518         (si_upper): Likewise.
33520 2015-07-16  David S. Miller  <davem@davemloft.net>
33522         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
33524 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33526         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
33527         buffer.
33528         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
33529         fail output information.
33531 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
33533         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
33534         and strstr-ppc64..
33535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
33536         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
33537         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
33538         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
33539         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
33541 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33543         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33544         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33545         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
33546         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
33548 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
33550         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
33551         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
33552         rtld_hidden_proto.
33553         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
33555 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
33557         * tst-nodelete-opened.c (do_test): Add comment to clarify how
33558         the test can fail.
33560         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
33562         [BZ #18676]
33563         * elf/tst-nodelete-opened.c: New test case.
33564         * elf/tst-nodelete-opened-lib.c: New test case module.
33565         * elf/Makefile (tests, modules-names): Use them.
33566         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
33567         early.
33569 2015-07-15  David S. Miller  <davem@davemloft.net>
33571         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
33572         futex-intenal.h
33573         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
33574         * sysdeps/sparc/sparc64/Makefile: Likewise.
33575         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
33576         Remove space from macro define.
33577         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
33579 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
33581         [BZ #17475]
33582         * locale/iso-639.def: Update Bhili and Tulu language codes as
33583         per iso639-3.
33585 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
33587         * elf/tst-leaks1.c (main): Converted to ...
33588         (do_test): ... this.
33589         (TEST_FUNCTION): New macro.
33590         Include test-skeleton.c.
33591         * localedata/tst-langinfo.c (main): Converted to ...
33592         (do_test): ... this.
33593         (TEST_FUNCTION): New macro.
33594         Include test-skeleton.c.
33595         * math/test-fpucw.c (main): Converted to ...
33596         (do_test): ... this.
33597         (TEST_FUNCTION): New macro.
33598         Include test-skeleton.c.
33599         * math/test-tgmath.c (main): Converted to ...
33600         (do_test): ... this.
33601         (TEST_FUNCTION): New macro.
33602         Include test-skeleton.c.
33603         * math/test-tgmath2.c (main): Converted to ...
33604         (do_test): ... this.
33605         (TEST_FUNCTION): New macro.
33606         Include test-skeleton.c.
33607         * setjmp/tst-setjmp.c (main): Converted to ...
33608         (do_test): ... this.
33609         (TEST_FUNCTION): New macro.
33610         Include test-skeleton.c.
33611         * stdio-common/tst-sscanf.c (main): Converted to ...
33612         (do_test): ... this.
33613         (TEST_FUNCTION): New macro.
33614         Include test-skeleton.c.
33615         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
33616         (do_test): ... this.
33617         (TEST_FUNCTION): New macro.
33618         Include test-skeleton.c.
33620         * elf/tst-audit9.c (main): Converted to ...
33621         (do_test): ... this.
33622         (TEST_FUNCTION): New macro.
33623         Include test-skeleton.c.
33625 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
33627         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
33629 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33631         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
33632         New variable.
33634 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
33636         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
33638 2015-07-14  Roland McGrath  <roland@hack.frob.com>
33640         * sysdeps/generic/dl-fileid.h: New file.
33641         * sysdeps/posix/dl-fileid.h: New file.
33642         * sysdeps/nacl/dl-fileid.h: New file.
33643         * include/link.h: Include <dl-fileid.h>.
33644         (struct link_map): Replace l_dev and l_ino with l_file_id.
33645         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
33646         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
33647         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
33649 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33651         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
33653 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33655         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
33656         Add iff $CXX is set.
33657         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
33658         Likewise.
33659         (tst-nodelete-zmodiff): Likewise.
33660         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
33662 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33664         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
33666 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33668         * sysdeps/aarch64/fpu/math_private.h
33669         (define math_opt_barrier): Add AArch64 version.
33670         (math_force_eval): Likewise.
33672 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
33674         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
33676 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
33678         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
33679         %ld with %jd and cast to intmax_t.
33680         (do_test_length_zero): Likewise.
33682 2015-07-10  Roland McGrath  <roland@hack.frob.com>
33684         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
33686 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
33688         * sysdeps/tile/libm-test-ulps: Regenerated.
33690         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
33691         Comment out the whole function, not just its body.
33693 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33695         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
33696         locks.
33698         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
33700 2015-07-10  Torvald Riegel  <triegel@redhat.com>
33702         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
33703         (sem_assume_only_signals_cause_futex_EINTR): Remove.
33705 2015-07-10  Torvald Riegel  <triegel@redhat.com>
33707         * sysdeps/nptl/futex-internal.h: New file.
33708         * sysdeps/nacl/futex-internal.h: New file.
33709         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
33710         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
33711         error checking.
33712         (setxid_unmark_thread): Likewise.
33713         (__nptl_setxid): Likewise.
33714         (__wait_lookup_done): Likewise.
33715         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
33716         * nptl/nptl-init.c (sighandler_setxid): Likewise.
33717         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
33718         * nptl/pthread_once.c (clear_once_control): Likewise.
33719         (__pthread_once_slow): Likewise.
33720         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
33721         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
33722         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
33723         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
33724         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
33725         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
33726         Likewise.
33727         (__pthread_rwlock_rdlock): Likewise.
33728         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33729         Likewise.
33730         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
33731         Likewise.
33732         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33733         Likewise.
33734         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
33735         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
33736         Likewise.
33737         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
33738         __ASSUME_PRIVATE_FUTEX check.
33739         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
33740         Check that shared futexes are supported.
33741         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
33742         wrappers with error checking.
33743         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
33744         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
33745         * nptl/pthread_barrierattr_setpshared.c
33746         (pthread_barrierattr_setpshared): Check that shared futexes are
33747         supported.
33748         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
33749         Likewise.
33750         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
33751         Likewise.
33752         * nptl/sem_init.c (futex_private_if_supported): Remove.
33753         (__new_sem_init): Adapt and check that shared futexes are supported.
33754         * nptl/sem_open.c (sem_open): Likewise.
33755         * nptl/sem_post.c (futex_wake): Remove.
33756         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
33757         (do_futex_wait): Use futex wrappers with error checking.
33758         * nptl/sem_wait.c: Include lowlevellock.h.
33759         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
33760         Use futex_supports_pshared.
33761         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
33762         Use futex wrappers with error checking.
33763         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
33764         Likewise.
33765         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
33766         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
33767         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
33768         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
33769         (futex_wake): Likewise.
33770         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
33771         (do_futex_wait): Use futex wrappers with error checking.
33772         (__new_sem_wait_slow): Update EINTR handling.
33773         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
33775 2015-07-09  Martin Sebor  <msebor@redhat.com>
33777         [BZ #18435]
33778         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
33779         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
33780         * nptl/Makefile (test-xfail-tst-once5): Define.
33782 2015-07-09  Roland McGrath  <roland@hack.frob.com>
33784         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
33785         * elf/dl-minimal.c: For readability, reorder some definitions and
33786         introduce more page breaks.  Include <stdio.h>.
33787         (__libc_fatal): New function.
33789         * include/unistd.h: Add rtld_hidden_proto for _exit.
33790         * posix/_exit.c: Add rtld_hidden_def.
33791         * sysdeps/mach/hurd/_exit.c: Likewise.
33792         * sysdeps/nacl/_exit.c: Likewise.
33793         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
33794         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
33796 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
33798         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
33799         bndmov encoding with zero displacement.
33801 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
33802             H.J. Lu  <hongjiu.lu@intel.com>
33804         [BZ #18134]
33805         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
33806         * sysdeps/i386/configure: Regenerated.
33807         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
33808         (_dl_runtime_profile): Save and restore Intel MPX return bound
33809         registers when calling _dl_call_pltexit.  Add
33810         PRESERVE_BND_REGS_PREFIX before return.
33811         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
33812         (LRV_BND1_OFFSET): Likewise.
33813         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
33814         lrv_bnd1.
33815         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
33816         typo in bndmov encoding.
33817         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
33818         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
33819         branch instructions to preserve bounds.
33821 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
33824         [GLIBC_2.22]: Add fmemopen.
33826 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33828         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
33829         returns an error, also try to use host port from __mach_host_self for
33830         the __vm_wire call.
33831         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
33833 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33835         [BZ #18400]
33836         [BZ #18648]
33837         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
33838         Fix pr_uid and pr_gid members.
33839         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
33840         definition to elf_greg_t.
33842 2015-07-08  Roland McGrath  <roland@hack.frob.com>
33844         [BZ #18383]
33845         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
33846         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
33847         * sysdeps/arm/configure: Regenerated.
33848         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
33849         (test-xfail-tst-tlsalign-static): Variable removed.
33851         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
33852         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
33853         rather than explicit 'ln -s'.
33855         * resolv/rpc/netdb.h: New file.
33856         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
33858 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33860         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
33861         length buffers.
33862         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
33863         test-skeleton.c.
33865         [BZ #6544]
33866         [BZ #11216]
33867         [BZ #12836]
33868         [BZ #13151]
33869         [BZ #13152]
33870         [BZ #14292]
33871         * include/stdio.h (fmemopen): Remove hidden prototype.
33872         (__fmemopen): Add new hidden prototype.
33873         * libio/Makefile: Add oldfmemopen object.
33874         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
33875         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
33876         compliance.
33877         * libio/oldfmemopen.c: New file: old fmemopen implementation for
33878         symbol compatibility.
33879         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
33880         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
33881         fmemopen.
33882         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
33883         on append and read mode.
33884         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
33885         fmemopen.
33886         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
33887         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
33888         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
33889         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
33890         Likewise.
33891         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
33892         [GLIBC_2.22]: Likewise.
33893         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
33894         Likewise.
33895         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
33896         Likewise.
33897         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
33898         [GLIBC_2.22]: Likewise.
33899         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
33900         [GLIBC_2.22]: Likewise.
33901         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
33902         [GLIBC_2.22]: Likewise.
33903         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
33904         [GLIBC_2.22]: Likewise.
33905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
33906         [GLIBC_2.22]: Likewise.
33907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
33908         [GLIBC_2.22]: Likewise.
33909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
33910         [GLIBC_2.22]: Likewise.
33911         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
33912         Likewise.
33913         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
33914         Likewise.
33915         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
33916         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
33917         [GLIBC_2.22]: Likewise.
33918         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
33919         [GLIBC_2.22]: Likewise.
33920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
33921         [GLIBC_2.22]: Likewise.
33922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
33923         [GLIBC_2.22]: Likewise.
33924         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
33925         Likewise.
33926         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
33927         Likewise.
33928         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
33929         Likewise.
33930         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
33931         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
33933 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33935         [BZ #18643]
33936         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
33937         IPV6_PATHMTU, and IPV6_DONTFRAG.
33939 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
33941         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
33942         and _IO_UNBUFFERED.
33943         * libio/oldfileops.c: Likewise.
33944         * libio/wfileops.c: Likewise.
33946 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33948         * nscd/selinux.c: Delete selinux/flask.h include.
33950 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
33952         [BZ #18641]
33953         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
33954         (putpwent): Likewise.
33955         (getpwnam): Likewise.
33956         (getpwent_r): Likewise.
33957         (getpwuid_r): Likewise.
33958         (getpwnam_r): Likewise.
33959         (fgetpwent_r): Likewise.
33961 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
33963         [BZ #18557]
33964         * inet/rcmd.c (__validuser2_sa): Check user first to
33965         short-circuit host check.
33967 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
33968             Mikhail Ilin  <m.ilin@samsung.com>
33970         [BZ #17833]
33971         * elf/Makefile (tests): Add tst-nodelete.
33972         (modules-names): Add tst-nodelete-uniquemod.
33973         (tst-nodelete-uniquemod.so-no-z-defs): New.
33974         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
33975         (tst-nodelete-zmod.so-no-z-defs): Likewise.
33976         ($(objpfx)tst-nodelete): Likewise.
33977         ($(objpfx)tst-nodelete.out): Likewise.
33978         (LDFLAGS-tst-nodelete): Likewise.
33979         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
33980         * elf/dl-close.c (_dl_close_worker): Add a parameter to
33981         implement forced object deletion.
33982         (_dl_close): Pass false to _dl_close_worker.
33983         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
33984         * elf/tst-nodelete.cc: New file.
33985         * elf/tst-nodeletelib.cc: Likewise.
33986         * elf/tst-znodeletelib.cc: Likewise.
33987         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
33989 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
33991         [BZ #18508]
33992         * stdlib/Makefile ($(objpfx)tst-makecontext3):
33993         Depend on $(libdl).
33994         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
33995         is not called infinitely times.
33996         (backtrace_helper): New function.
33997         (trace_arg): New struct.
33998         (st1): Enlarge stack size.
33999         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
34000         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
34001         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
34002         Likewise.
34004 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34006         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34008 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
34010         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
34011         Include sys/types.h instead of bits/types.h.
34012         Remove inclusion of bits/wordsize.h.
34014 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34016         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
34017         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
34018         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
34019         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
34020         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
34021         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
34023 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34025         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
34026         link-defines.sym.
34027         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
34028         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
34029         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
34030         and LR_SIZE.
34031         * sysdeps/i386/link-defines.sym: New file.
34033 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
34035         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
34036         (modules-names): Add tst-auditmod3a tst-auditmod3b.
34037         ($(objpfx)tst-audit3): New rule.
34038         ($(objpfx)tst-audit3.out): Likewise.
34039         * sysdeps/i386/tst-audit3.c: New file.
34040         * sysdeps/i386/tst-audit3.h: Likewise.
34041         * sysdeps/i386/tst-auditmod3a.c: Likewise.
34042         * sysdeps/i386/tst-auditmod3b.c: Likewise.
34044 2015-07-07  Torvald Riegel  <triegel@redhat.com>
34046         [BZ #18633]
34047         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
34048         pointer in C code.
34049         (__strcat_c): Likewise.
34050         (__strcat_g): Likewise.
34052 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
34054         [BZ #18592]
34055         * misc/sbrk.c: Set errno to ENOMEM on overflow.
34057 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34059         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
34060         New function.  (__ieee754_sqrtf): New function.
34061         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
34062         New function.
34063         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
34064         New function.
34066 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
34068         * sysdeps/ieee754/support.c: Remove unused file.
34070 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34072         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
34073         registers instead of d ones so the layout is kernel abi compatible.
34074         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
34075         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
34076         Likewise.
34078 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34080         * sysdeps/aarch64/libm-test-ulps: Regenerated.
34082 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34084         [BZ #18619]
34085         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
34086         and return argument in case of subnormal argument.
34088 2015-07-01  Martin Sebor  <msebor@redhat.com>
34090         [BZ #18435]
34091         * nptl/Makefile: Add tst-once5.cc.
34092         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
34093         Remove macro redefinitions.
34094         * nptl/tst-once5.cc: New test.
34096 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
34098         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
34100         * sysdeps/arm/libm-test-ulps: Regenerated.
34102         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
34103         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
34105 2015-06-30  Torvald Riegel  <triegel@redhat.com>
34107         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
34108         lll_lock_wait_private and lll_futex_wake probes.
34110         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34111         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
34112         Likewise.
34113         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
34114         atomic_spin_nop.
34115         * sysdeps/x86_64/bits/atomic.h: Likewise.
34116         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
34117         to atomic_spin_nop and move ...
34118         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
34119         ... here and ...
34120         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
34121         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
34122         atomic_spin_nop instead of BUSY_WAIT_NOP.
34123         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
34124         Likewise.
34125         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
34126         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
34127         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
34128         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
34129         instead of atomic_delay.
34131 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
34133         [BZ #18613]
34134         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
34135         X_ADJ not X when adjusting exponent.
34136         (__ieee754_gamma_r): Do intermediate computations in
34137         round-to-nearest then adjust overflowing and underflowing results
34138         as needed.
34139         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
34140         of X_ADJ not X when adjusting exponent.
34141         (__ieee754_gammaf_r): Do intermediate computations in
34142         round-to-nearest then adjust overflowing and underflowing results
34143         as needed.
34144         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
34145         log of X_ADJ not X when adjusting exponent.
34146         (__ieee754_gammal_r): Do intermediate computations in
34147         round-to-nearest then adjust overflowing and underflowing results
34148         as needed.  Use 1.0L not 1.0f as numerator of division.
34149         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
34150         log of X_ADJ not X when adjusting exponent.
34151         (__ieee754_gammal_r): Do intermediate computations in
34152         round-to-nearest then adjust overflowing and underflowing results
34153         as needed.  Use 1.0L not 1.0f as numerator of division.
34154         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
34155         of X_ADJ not X when adjusting exponent.
34156         (__ieee754_gammal_r): Do intermediate computations in
34157         round-to-nearest then adjust overflowing and underflowing results
34158         as needed.  Use 1.0L not 1.0f as numerator of division.
34159         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
34160         to auto-libm-test-in.
34161         (tgamma_test): Use ALL_RM_TEST.
34162         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
34163         tests of tgamma with spurious-overflow.
34164         * math/auto-libm-test-out: Regenerated.
34165         * math/gen-libm-have-vector-test.sh: Do not check for START.
34166         * sysdeps/i386/fpu/libm-test-ulps: Update.
34167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34169         [BZ #18612]
34170         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
34171         arguments, just return 0.5 times the argument, with underflow
34172         forced as needed.
34173         * math/auto-libm-test-in: Add more tests of j1.
34174         * math/auto-libm-test-out: Regenerated.
34176         [BZ #16559]
34177         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
34178         (__ieee754_j1): Force underflow exception for small results.
34179         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
34180         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
34181         (__ieee754_j1f): Force underflow exception for small results.
34182         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34183         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34184         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34185         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
34186         (__ieee754_j1l): Force underflow exception for small results.
34187         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34188         * math/auto-libm-test-in: Add more tests of j1 and jn.
34189         * math/auto-libm-test-out: Regenerated.
34191         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
34192         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
34193         (PF_MPLS): Likewise.
34194         (AF_IB): Likewise.
34195         (AF_MPLS): Likewise.
34196         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
34197         value and macro.
34198         (MS_RMT_MASK): Include MS_LAZYTIME.
34200 2015-06-26  Mel Gorman  <mgorman@suse.de>
34202         [BZ #18502]
34203         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
34204         already minimal.
34206 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
34208         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
34209         (DT_MIPS_NUM): Update.
34210         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
34211         DT_MIPS_RLD_MAP_REL.
34213 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
34215         [BZ #16559]
34216         [BZ #18602]
34217         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
34218         round-to-nearest internally then recompute results that
34219         underflowed to zero in the original rounding mode.
34220         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
34221         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
34222         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
34223         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
34224         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
34225         * sysdeps/i386/fpu/libm-test-ulps: Update.
34226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34228 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34230         * NEWS: Fixed description of link with vector math library.
34232 2015-06-25  Andreas Schwab  <schwab@suse.de>
34234         [BZ #18549]
34235         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
34236         * libio/test-fmemopen.c (do_test): Add test for it.
34238 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
34240         [BZ #17841]
34241         * Makeconfig (no-pie-ldflag): New.
34242         (+link): Set to $(+link-pie) if default to PIE.
34243         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
34244         * config.make.in (build-pie-default): New.
34245         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
34246         is default.  AC_SUBST.
34247         * configure: Regenerated.
34248         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
34250 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34252         * nptl/descr.h (struct pthread): Change type of field setxid_futex
34253         to 'unsigned int'.
34255         * resolv/gai_misc.h (struct waitlist): Change type of field
34256         counterp to 'volatile unsigned int *'.
34257         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
34258         FUTEXADDR and OLDVAL.
34259         * resolv/getaddrinfo_a.c (getaddrinfo_a):
34260         Give local variable TOTAL type 'volatile unsigned int'.
34261         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34262         * resolv/gai_suspend.c (gai_suspend):
34263         Give local variable CNTR type 'unsigned int'.
34265         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
34266         counterp to 'volatile unsigned int *'.
34267         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
34268         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
34269         (aio_suspend): Give local variable CNTR type 'unsigned int'.
34270         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
34271         Give local variable TOTAL type 'volatile unsigned int'.
34272         (struct async_waitlist): Change type of field counter to 'unsigned int'.
34274 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34276         [BZ #18383]
34277         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
34278         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
34279         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
34280         comment for i386/x86-64.
34281         (test-xfail-tst-tlsalign-extern-static): Removed.
34283 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34285         * math/test-double.h: New file.
34286         * math/test-float.h: Likewise.
34287         * math/test-ldouble.h: Likewise.
34288         * math/test-math-inline.h: Likewise.
34289         * math/test-math-no-inline.h: Likewise.
34290         * math/test-math-scalar.h: Likewise.
34291         * math/test-math-vector.h: Likewise.
34292         * math/test-vec-loop.h: Remove file.  Contents moved into
34293         test-math-vector.h.
34294         * math/libm-test.inc (MATHCONST): Do not document macro.
34295         * math/test-double.c: Include test-double.h, test-math-no-inline.h
34296         and test-math-scalar.h.
34297         (FUNC): Remove macro.
34298         (FUNC_TEST): Likewise.
34299         (FLOAT): Likewise.
34300         (MATHCONST): Likewise.
34301         (PRINTF_EXPR): Likewise.
34302         (PRINTF_XEXPR): Likewise.
34303         (PRINTF_NEXPR): Likewise.
34304         (TEST_DOUBLE): Likewise.
34305         (TEST_MATHVEC): Likewise.
34306         (__NO_MATH_INLINES): Likewise.
34307         * math/test-float.c: Include test-float.h, test-math-no-inline.h
34308         and test-math-scalar.h.
34309         (FUNC): Remove macro.
34310         (FUNC_TEST): Likewise.
34311         (FLOAT): Likewise.
34312         (MATHCONST): Likewise.
34313         (PRINTF_EXPR): Likewise.
34314         (PRINTF_XEXPR): Likewise.
34315         (PRINTF_NEXPR): Likewise.
34316         (TEST_FLOAT): Likewise.
34317         (TEST_MATHVEC): Likewise.
34318         (__NO_MATH_INLINES): Likewise.
34319         * math/test-idouble.c: Include test-double.h, test-math-inline.h
34320         and test-math-scalar.h.
34321         (FUNC): Remove macro.
34322         (FUNC_TEST): Likewise.
34323         (FLOAT): Likewise.
34324         (MATHCONST): Likewise.
34325         (PRINTF_EXPR): Likewise.
34326         (PRINTF_XEXPR): Likewise.
34327         (PRINTF_NEXPR): Likewise.
34328         (TEST_DOUBLE): Likewise.
34329         (TEST_MATHVEC): Likewise.
34330         (TEST_INLINE): Likewise.
34331         (__NO_MATH_INLINES): Likewise.
34332         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
34333         test-math-scalar.h.
34334         (FUNC): Remove macro.
34335         (FUNC_TEST): Likewise.
34336         (FLOAT): Likewise.
34337         (MATHCONST): Likewise.
34338         (PRINTF_EXPR): Likewise.
34339         (PRINTF_XEXPR): Likewise.
34340         (PRINTF_NEXPR): Likewise.
34341         (TEST_FLOAT): Likewise.
34342         (TEST_MATHVEC): Likewise.
34343         (TEST_INLINE): Likewise.
34344         (__NO_MATH_INLINES): Likewise.
34345         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
34346         and test-math-scalar.h.
34347         (FUNC): Remove macro.
34348         (FUNC_TEST): Likewise.
34349         (FLOAT): Likewise.
34350         (MATHCONST): Likewise.
34351         (PRINTF_EXPR): Likewise.
34352         (PRINTF_XEXPR): Likewise.
34353         (PRINTF_NEXPR): Likewise.
34354         (TEST_LDOUBLE): Likewise.
34355         (TEST_MATHVEC): Likewise.
34356         (TEST_INLINE): Likewise.
34357         (__NO_MATH_INLINES): Likewise.
34358         * math/test-ldouble.c: Include test-ldouble.h,
34359         test-math-no-inline.h and test-math-scalar.h.
34360         (FUNC): Remove macro.
34361         (FUNC_TEST): Likewise.
34362         (FLOAT): Likewise.
34363         (MATHCONST): Likewise.
34364         (PRINTF_EXPR): Likewise.
34365         (PRINTF_XEXPR): Likewise.
34366         (PRINTF_NEXPR): Likewise.
34367         (TEST_LDOUBLE): Likewise.
34368         (TEST_MATHVEC): Likewise.
34369         (__NO_MATH_INLINES): Likewise.
34370         * math/test-double-vlen2.h: Include test-double.h,
34371         test-math-no-inline.h and test-math-vector.h.
34372         (FLOAT): Remove macro.
34373         (FUNC): Likewise.
34374         (MATHCONST): Likewise.
34375         (PRINTF_EXPR): Likewise.
34376         (PRINTF_XEXPR): Likewise.
34377         (PRINTF_NEXPR): Likewise.
34378         (TEST_DOUBLE): Likewise.
34379         (TEST_MATHVEC): Likewise.
34380         (__NO_MATH_INLINES): Likewise.
34381         (CNCT): Likewise.
34382         (CONCAT): Likewise.
34383         (WRAPPER_NAME): Likewise.
34384         (WRAPPER_DECL): Likewise.
34385         (WRAPPER_DECL_ff): Likewise.
34386         (WRAPPER_DECL_fFF): Likewise.
34387         (VECTOR_WRAPPER): Likewise.
34388         (VECTOR_WRAPPER_ff): Likewise.
34389         (VECTOR_WRAPPER_fFF): Likewise.
34390         (VEC_LEN): New macro.
34391         * math/test-double-vlen4.h: Include test-double.h,
34392         test-math-no-inline.h and test-math-vector.h.
34393         (FLOAT): Remove macro.
34394         (FUNC): Likewise.
34395         (MATHCONST): Likewise.
34396         (PRINTF_EXPR): Likewise.
34397         (PRINTF_XEXPR): Likewise.
34398         (PRINTF_NEXPR): Likewise.
34399         (TEST_DOUBLE): Likewise.
34400         (TEST_MATHVEC): Likewise.
34401         (__NO_MATH_INLINES): Likewise.
34402         (CNCT): Likewise.
34403         (CONCAT): Likewise.
34404         (WRAPPER_NAME): Likewise.
34405         (WRAPPER_DECL): Likewise.
34406         (WRAPPER_DECL_ff): Likewise.
34407         (WRAPPER_DECL_fFF): Likewise.
34408         (VECTOR_WRAPPER): Likewise.
34409         (VECTOR_WRAPPER_ff): Likewise.
34410         (VECTOR_WRAPPER_fFF): Likewise.
34411         (VEC_LEN): New macro.
34412         * math/test-double-vlen8.h: Include test-double.h,
34413         test-math-no-inline.h and test-math-vector.h.
34414         (FLOAT): Remove macro.
34415         (FUNC): Likewise.
34416         (MATHCONST): Likewise.
34417         (PRINTF_EXPR): Likewise.
34418         (PRINTF_XEXPR): Likewise.
34419         (PRINTF_NEXPR): Likewise.
34420         (TEST_DOUBLE): Likewise.
34421         (TEST_MATHVEC): Likewise.
34422         (__NO_MATH_INLINES): Likewise.
34423         (CNCT): Likewise.
34424         (CONCAT): Likewise.
34425         (WRAPPER_NAME): Likewise.
34426         (WRAPPER_DECL): Likewise.
34427         (WRAPPER_DECL_ff): Likewise.
34428         (WRAPPER_DECL_fFF): Likewise.
34429         (VECTOR_WRAPPER): Likewise.
34430         (VECTOR_WRAPPER_ff): Likewise.
34431         (VECTOR_WRAPPER_fFF): Likewise.
34432         (VEC_LEN): New macro.
34433         * math/test-float-vlen4.h: Include test-float.h,
34434         test-math-no-inline.h and test-math-vector.h.
34435         (FLOAT): Remove macro.
34436         (FUNC): Likewise.
34437         (MATHCONST): Likewise.
34438         (PRINTF_EXPR): Likewise.
34439         (PRINTF_XEXPR): Likewise.
34440         (PRINTF_NEXPR): Likewise.
34441         (TEST_FLOAT): Likewise.
34442         (TEST_MATHVEC): Likewise.
34443         (__NO_MATH_INLINES): Likewise.
34444         (CNCT): Likewise.
34445         (CONCAT): Likewise.
34446         (WRAPPER_NAME): Likewise.
34447         (WRAPPER_DECL): Likewise.
34448         (WRAPPER_DECL_ff): Likewise.
34449         (WRAPPER_DECL_fFF): Likewise.
34450         (VECTOR_WRAPPER): Likewise.
34451         (VECTOR_WRAPPER_ff): Likewise.
34452         (VECTOR_WRAPPER_fFF): Likewise.
34453         (VEC_LEN): New macro.
34454         * math/test-float-vlen8.h: Include test-float.h,
34455         test-math-no-inline.h and test-math-vector.h.
34456         (FLOAT): Remove macro.
34457         (FUNC): Likewise.
34458         (MATHCONST): Likewise.
34459         (PRINTF_EXPR): Likewise.
34460         (PRINTF_XEXPR): Likewise.
34461         (PRINTF_NEXPR): Likewise.
34462         (TEST_FLOAT): Likewise.
34463         (TEST_MATHVEC): Likewise.
34464         (__NO_MATH_INLINES): Likewise.
34465         (CNCT): Likewise.
34466         (CONCAT): Likewise.
34467         (WRAPPER_NAME): Likewise.
34468         (WRAPPER_DECL): Likewise.
34469         (WRAPPER_DECL_ff): Likewise.
34470         (WRAPPER_DECL_fFF): Likewise.
34471         (VECTOR_WRAPPER): Likewise.
34472         (VECTOR_WRAPPER_ff): Likewise.
34473         (VECTOR_WRAPPER_fFF): Likewise.
34474         (VEC_LEN): New macro.
34475         * math/test-float-vlen16.h: Include test-float.h,
34476         test-math-no-inline.h and test-math-vector.h.
34477         (FLOAT): Remove macro.
34478         (FUNC): Likewise.
34479         (MATHCONST): Likewise.
34480         (PRINTF_EXPR): Likewise.
34481         (PRINTF_XEXPR): Likewise.
34482         (PRINTF_NEXPR): Likewise.
34483         (TEST_FLOAT): Likewise.
34484         (TEST_MATHVEC): Likewise.
34485         (__NO_MATH_INLINES): Likewise.
34486         (CNCT): Likewise.
34487         (CONCAT): Likewise.
34488         (WRAPPER_NAME): Likewise.
34489         (WRAPPER_DECL): Likewise.
34490         (WRAPPER_DECL_ff): Likewise.
34491         (WRAPPER_DECL_fFF): Likewise.
34492         (VECTOR_WRAPPER): Likewise.
34493         (VECTOR_WRAPPER_ff): Likewise.
34494         (VECTOR_WRAPPER_fFF): Likewise.
34495         (VEC_LEN): New macro.
34496         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
34497         test-vec-loop.h.
34498         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34499         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34500         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34501         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34502         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34503         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34504         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34506 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34508         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
34509         (__getlogin_r): ... this.
34511 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34513         [BZ #18594]
34514         * math/s_ccosh.c (__ccosh): Compare with least normal value
34515         instead of comparing class with FP_SUBNORMAL.
34516         * math/s_ccoshf.c (__ccoshf): Likewise.
34517         * math/s_ccoshl.c (__ccoshl): Likewise.
34518         * math/s_cexp.c (__cexp): Likewise.
34519         * math/s_cexpf.c (__cexpf): Likewise.
34520         * math/s_cexpl.c (__cexpl): Likewise.
34521         * math/s_csin.c (__csin): Likewise.
34522         * math/s_csinf.c (__csinf): Likewise.
34523         * math/s_csinh.c (__csinh): Likewise.
34524         * math/s_csinhf.c (__csinhf): Likewise.
34525         * math/s_csinhl.c (__csinhl): Likewise.
34526         * math/s_csinl.c (__csinl): Likewise.
34527         * math/s_ctan.c (__ctan): Likewise.
34528         * math/s_ctanf.c (__ctanf): Likewise.
34529         * math/s_ctanh.c (__ctanh): Likewise.
34530         * math/s_ctanhf.c (__ctanhf): Likewise.
34531         * math/s_ctanhl.c (__ctanhl): Likewise.
34532         * math/s_ctanl.c (__ctanl): Likewise.
34533         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
34534         csin, csinh, ctan and ctanh.
34535         * math/auto-libm-test-out: Regenerated.
34536         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
34537         * sysdeps/i386/fpu/libm-test-ulps: Update.
34538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34540 2015-06-24  Roland McGrath  <roland@hack.frob.com>
34542         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
34543         return value is wrong, print the expected value too.
34545 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
34547         [BZ #18585]
34548         * elf/readlib.c (is_gdb_python_file): New.
34549         (process_file): Don't issue errors on filenames with -gdb.py
34550         suffix.
34552 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
34554         * math/auto-libm-test-in: Add more tests of csin and csinh.
34555         * math/auto-libm-test-out: Regenerated.
34556         * math/libm-test.inc (csin_test_data): Remove tests moved to
34557         auto-libm-test-in.
34558         (csinh_test_data): Likewise.
34560         [BZ #18593]
34561         * math/s_csin.c (__csin): Negate before rather than after possibly
34562         overflowing multiplication.
34563         * math/s_csinf.c (__csinf): Likewise.
34564         * math/s_csinh.c (__csinh): Likewise.
34565         * math/s_csinhf.c (__csinhf): Likewise.
34566         * math/s_csinhl.c (__csinhl): Likewise.
34567         * math/s_csinl.c (__csinl): Likewise.
34568         * math/auto-libm-test-in: Add some tests of csin and csinh.
34569         * math/auto-libm-test-out: Regenerated.
34570         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
34571         (csinh_test_data): Likewise.
34572         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34574         [BZ #18586]
34575         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
34576         underflow exception for small results.
34578 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
34580         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34581         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
34582         variable and included header.
34583         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
34584         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
34585         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
34586         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
34587         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
34588         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
34589         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
34590         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
34591         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
34592         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
34593         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
34594         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
34595         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
34596         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
34597         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
34598         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
34600 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34602         [BZ #16526]
34603         [BZ #16538]
34604         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
34605         (__sin): Force underflow exception for arguments with small
34606         absolute value.
34607         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
34608         (__kernel_sinf): Force underflow exception for arguments with
34609         small absolute value.
34610         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
34611         (__kernel_sincosl): Force underflow exception for arguments with
34612         small absolute value.
34613         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
34614         (__kernel_sinl): Force underflow exception for arguments with
34615         small absolute value.
34616         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
34617         (__kernel_sincosl): Force underflow exception for arguments with
34618         small absolute value.
34619         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
34620         (__kernel_sinl): Force underflow exception for arguments with
34621         small absolute value.
34622         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
34623         (__kernel_sinl): Force underflow exception for arguments with
34624         small absolute value.
34625         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
34626         (__kernel_sinf): Force underflow exception for arguments with
34627         small absolute value.
34628         * math/auto-libm-test-in: Add more tests of sin and sincos.
34629         * math/auto-libm-test-out: Regenerated.
34631         [BZ #18245]
34632         [BZ #18583]
34633         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
34634         (__kernel_standard_l): Use feholdexcept and fesetenv around
34635         conversion to double instead of special-casing overflow and
34636         underflow.
34637         * math/libm-test.inc (fmod_test_data): Add more tests.
34638         (remainder_test_data): Likewise.
34639         (sqrt_test_data): Likewise.
34641 2015-06-23  Torvald Riegel  <triegel@redhat.com>
34643         [BZ #17403]
34644         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
34645         atomic_read_barrier, atomic_write_barrier): Define.
34646         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
34647         atomic_read_barrier, atomic_write_barrier): Define.
34649 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34651         * math/Makefile [$(PERL) != no]
34652         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
34653         dependency on libm-test.stmp below the inclusion of Rules.
34655 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
34657         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
34658         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
34659         and included header.
34660         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
34661         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
34662         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
34663         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
34664         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
34665         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
34666         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
34667         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
34668         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
34669         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
34670         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
34671         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
34672         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
34673         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
34674         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
34675         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
34676         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
34677         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
34678         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
34680 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
34682         [BZ #18371]
34683         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
34684         intermediate but not final result might underflow.
34685         * math/s_csqrtf.c (__csqrtf): Likewise.
34686         * math/s_csqrtl.c (__csqrtl): Likewise.
34687         * math/auto-libm-test-in: Add more tests of csqrt.
34688         * math/auto-libm-test-out: Regenerated.
34689         * sysdeps/i386/fpu/libm-test-ulps: Update.
34691         [BZ #18219]
34692         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
34693         threshold on absolute value of exponent for which scaling is used.
34694         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
34695         * math/auto-libm-test-in: Add more tests of exp2.
34696         * math/auto-libm-test-out: Regenerated.
34698 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
34700         [BZ #17977]
34701         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
34702         when initializing interface list, based on the bug analysis
34703         and the patch proposed by Eric Newton.
34704         * resolv/tst-res_hconf_reorder.c: New test.
34705         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
34706         tst-res_hconf_reorder.
34707         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
34708         and $(shared-thread-library).
34709         (tst-res_hconf_reorder-ENV): New variable.
34711         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
34712         in comment.
34714 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
34716         [BZ #16353]
34717         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
34718         (__expm1): Force underflow exception for arguments with small
34719         absolute value.
34720         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
34721         (__expm1f): Force underflow exception for arguments with small
34722         absolute value.
34723         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
34724         (__expm1): Force underflow exception for arguments with small
34725         absolute value.
34726         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
34727         (__expm1f): Force underflow exception for arguments with small
34728         absolute value.
34729         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
34730         Check for small arguments before calling __expm1.
34731         * math/auto-libm-test-in: Do not mark underflow exceptions as
34732         possibly missing for bug 16353.
34733         * math/auto-libm-test-out: Regenerated.
34735 2015-06-22  Andreas Schwab  <schwab@suse.de>
34737         [BZ #18513]
34738         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
34739         PTR queries.
34741 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
34743         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
34745         * string/strcoll_l.c: Remove unused struct element idxnow.
34747 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
34749         [BZ #18569]
34750         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
34751         underflow and return argument in case of subnormal argument.
34752         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34753         Likewise.
34754         * math/auto-libm-test-in: Add more tests of expm1.
34755         * math/auto-libm-test-out: Regenerated.
34757         [BZ #16361]
34758         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34759         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34760         tiny results.
34761         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
34762         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
34763         tiny results.
34764         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
34765         mark underflow exceptions as possibly missing for bug 16361.
34766         * math/auto-libm-test-out: Regenerated.
34768 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
34770         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
34771         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
34772         Remove variable.
34773         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
34774         (test-xfail-XOPEN2K8/utmpx.h/conform).
34776         * conform/conformtest.pl ($xerrors): New variable.
34777         (note_error): New function.
34778         (compiletest): New argument $xfail.  Use not_error.
34779         (runtest): Likewise.
34780         (top level): Handle xfail- lines.  Update calls to compiletest and
34781         runtest.  Handle xfail- and optional- in headers listed with
34782         allow-header.
34783         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
34784         (O_EXEC): Likewise.
34785         (O_SEARCH): Likewise.
34786         * conform/data/stropts.h-data (ioctl): Likewise.
34787         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
34788         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
34789         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
34790         (msghdr.msg_controllen): Likewise.
34791         (cmsghdr.cmsg_len): Likewise.
34792         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
34793         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
34794         variable.
34795         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
34796         (test-xfail-XPG4/stropts.h/conform): Likewise.
34797         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
34798         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
34799         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
34800         (test-xfail-UNIX98/stropts.h/conform): Likewise.
34801         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
34802         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
34803         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
34804         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
34805         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
34806         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
34807         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
34808         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
34809         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
34810         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
34811         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
34812         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
34813         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
34814         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
34815         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
34817 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
34819         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
34820         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
34821         definitions for proper unfolding of __MATHDECL_VEC.
34823 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34825         * benchtests/bench-strcoll.c:
34826         Include string.h.
34827         (main): Remove unused variable res.
34829 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34831         * timezone/Makefile (%/UTC %/Universal):
34832         Generate test-result files for UTC and Universal.
34834 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
34836         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
34838 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
34840         [BZ #16350]
34841         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
34842         for arguments with small absolute value.
34843         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
34844         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
34845         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
34846         (__asinh): Force underflow exception for arguments with small
34847         absolute value.
34848         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
34849         (__asinhf): Force underflow exception for arguments with small
34850         absolute value.
34851         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
34852         (__asinhl): Force underflow exception for arguments with small
34853         absolute value.
34854         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
34855         (__asinhl): Force underflow exception for arguments with small
34856         absolute value.
34857         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
34858         (__asinhl): Force underflow exception for arguments with small
34859         absolute value.
34860         * math/auto-libm-test-in: Do not mark underflow exceptions as
34861         possibly missing for bug 16350.
34862         * math/auto-libm-test-out: Regenerated.
34864         * include/bits/ipc.h: Remove file.
34865         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
34866         variable.
34867         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
34868         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
34869         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
34870         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
34871         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
34872         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
34873         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
34874         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
34875         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
34877         * math/auto-libm-test-in: Remove spurious underflow allowance for
34878         tests of cexp.
34879         * math/auto-libm-test-out: Regenerated.
34881         [BZ #18558]
34882         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
34883         unconditional definition.
34884         (MCAST_BLOCK_SOURCE): Likewise.
34885         (MCAST_UNBLOCK_SOURCE): Likewise.
34886         (MCAST_LEAVE_GROUP): Likewise.
34887         (MCAST_JOIN_SOURCE_GROUP): Likewise.
34888         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
34889         (MCAST_MSFILTER): Likewise.
34890         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
34891         Remove variable.
34892         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
34893         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
34894         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
34895         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
34896         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
34898 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
34900         * NEWS: Mention addition of x86_64 vector sincosf.
34901         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
34902         * math/test-float-vlen4.h: Likewise.
34903         * math/test-float-vlen8.h: Likewise.
34904         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34905         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
34906         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34907         * sysdeps/x86_64/fpu/Versions: New versions added.
34908         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34909         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34910         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34911         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
34912         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
34913         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
34914         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
34915         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
34916         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
34917         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
34918         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
34919         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
34920         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
34921         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
34922         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
34923         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
34924         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
34925         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
34926         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
34927         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
34928         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
34929         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
34930         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
34931         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
34933         * NEWS: Mention addition of x86_64 vector sincos.
34934         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
34935         * math/math.h (__MATHDECL_VEC): New macro.
34936         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
34937         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
34938         declaration under condition.
34939         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
34940         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
34941         TEST_VEC_LOOP change.
34942         * math/test-double-vlen4.h: Likewise.
34943         * math/test-double-vlen8.h: Likewise.
34944         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
34945         * math/test-float-vlen4.h: Likewise.
34946         * math/test-float-vlen8.h: Likewise.
34947         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34948         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
34949         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34950         * sysdeps/x86_64/fpu/Versions: New versions added.
34951         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34952         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34953         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34954         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
34955         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
34956         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
34957         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
34958         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
34959         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
34960         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
34961         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
34962         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
34963         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
34964         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
34965         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
34966         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
34967         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
34968         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
34969         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
34970         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
34971         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
34972         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
34973         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
34974         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
34976         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
34977         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
34978         redirections for powf.
34979         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
34980         * sysdeps/x86_64/fpu/Versions: New versions added.
34981         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
34982         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
34983         Added build of SSE, AVX2 and AVX512 IFUNC versions.
34984         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
34985         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
34986         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
34987         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
34988         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
34989         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
34990         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
34991         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
34992         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
34993         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
34994         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
34995         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
34996         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
34997         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
34998         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
34999         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35000         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35001         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35002         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35003         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35004         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35005         * math/test-float-vlen16.h: Fixed 2 argument macro.
35006         * math/test-float-vlen4.h: Likewise.
35007         * math/test-float-vlen8.h: Likewise.
35008         * NEWS: Mention addition of x86_64 vector powf.
35010 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
35012         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35013         and redefine.
35014         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
35015         and redefine.
35016         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
35017         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35018         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35020         [BZ #18553]
35021         * resource/getpriority.c (getpriority): Rename to __getpriority
35022         and define as weak alias of __getpriority.
35023         * resource/setpriority.c (setpriority): Rename to __setpriority
35024         and define as weak alias of __setpriority.
35025         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
35026         __getpriority and define as weak alias of __getpriority.
35027         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
35028         __setpriority and define as weak alias of __setpriority.
35029         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
35030         strong name.
35031         (setpriority): Use __setpriority as strong name.
35032         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
35033         __getpriority and define as weak alias of __getpriority.
35034         * include/sys/resource.h (__getpriority): Declare.  Use
35035         libc_hidden_proto.
35036         (__setpriority): Likewise.
35037         (getpriority): Don't use libc_hidden_proto.
35038         (setpriority): Likewise.
35039         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
35040         getpriority.  Call __setpriority instead of setpriority.
35041         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
35042         Remove variable.
35044         [BZ #18547]
35045         * misc/getttyent.c (getttynam): Rename to __getttynam and define
35046         as weak alias of __getttynam.  Use prototype function definition.
35047         Call __setttyent, __getttyent and __endttyent instead of
35048         setttyent, getttyent and endttyent.
35049         (getttyent): Rename to __getttyent and define as weak alias of
35050         __getttyent.  Call __setttyent instead of setttyent.  Call
35051         __fgets_unlocked instead of fgets_unlocked.
35052         (setttyent): Rename to __setttyent and define as weak alias of
35053         __setttyent.
35054         (endttyent): Rename to __endttyent and define as weak alias of
35055         __endttyent.
35056         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
35057         (__setttyent): Likewise.
35058         (__endttyent): Likewise.
35059         (getttyent): Don't use libc_hidden_proto.
35060         (setttyent): Likewise.
35061         (endttyent): Likewise.
35062         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
35063         __endttyent instead of setttyent, getttyent and endttyent.
35064         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
35065         Remove variable.
35067         [BZ #18546]
35068         * socket/recv.c (__recv): Use libc_hidden_def.
35069         * socket/socket.c (__socket): Likewise.
35070         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
35071         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
35072         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
35073         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
35074         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
35075         libc_hidden_def.
35076         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
35077         libc_hidden_weak.
35078         * include/sys/socket.h (__socket): Do not use attribute_hidden.
35079         Use libc_hidden_proto.
35080         (__recv): Likewise.
35081         * socket/Versions (libc): Export __recv and __socket at version
35082         GLIBC_PRIVATE.
35083         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
35084         instead of recv.
35085         (init_mq_netlink): Call __socket instead of socket.
35086         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
35087         Remove variable.
35089         [BZ #18545]
35090         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
35091         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
35092         hidden_weak.
35093         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
35094         define as alias of __mq_timedsend.  Use hidden_weak.
35095         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
35096         __mq_timedsend as strong name.
35097         (mq_timedreceive): Use __mq_timedreceive as strong name.
35098         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
35099         (__mq_timedreceive): Likewise.
35100         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
35101         __mq_timedreceive instead of mq_timedreceive.
35102         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
35103         instead of mq_timedsend.
35104         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
35105         Remove variable.
35107         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
35108         hidden_def and hidden_weak instead of libc_hidden_def and
35109         libc_hidden_weak.
35110         (top level): Refer to hidden_def in comment.
35111         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
35112         macro.  Use it instead of libc_hidden_def.
35113         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
35114         specify __GI_* name explicitly.
35115         (mq_timedreceive): Likewise.
35116         (mq_setattr): Likewise.
35118         [BZ #18544]
35119         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
35120         __pthread_barrier_init and define as weak alias of
35121         __pthread_barrier_init.
35122         * sysdeps/sparc/nptl/pthread_barrier_init.c
35123         (pthread_barrier_init): Likewise.
35124         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
35125         __pthread_barrier_wait and define as weak alias of
35126         __pthread_barrier_wait.
35127         * sysdeps/sparc/nptl/pthread_barrier_wait.c
35128         (pthread_barrier_wait): Likewise.
35129         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
35130         (pthread_barrier_wait): Likewise.
35131         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
35132         (pthread_barrier_wait): Likewise.
35133         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
35134         (pthread_barrier_wait): Likewise.
35135         * nptl/Versions (libpthread): Export __pthread_barrier_init and
35136         __pthread_barrier_wait at version GLIBC_PRIVATE.
35137         * include/pthread.h (__pthread_barrier_init): Declare.
35138         (__pthread_barrier_wait): Likewise.
35139         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
35140         Call __pthread_barrier_wait instead of pthread_barrier_wait.
35141         (helper_thread): Likewise.
35142         (init_mq_netlink): Call __pthread_barrier_init instead of
35143         pthread_barrier_init.
35145         [BZ #18542]
35146         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
35147         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
35148         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
35149         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
35150         vswscanf.
35151         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
35152         Remove variable.
35154         [BZ #18540]
35155         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
35156         strong alias of _IO_fflush.  Use libc_hidden_def.
35157         * libio/iofflush_u.c (fflush_unlocked): Rename to
35158         __fflush_unlocked and define as weak alias of __fflush_unlocked.
35159         Use libc_hidden_weak.
35160         * include/stdio.h (__fflush_unlocked): Declare.  Use
35161         libc_hidden_proto.
35162         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
35163         fflush_unlocked.
35164         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
35165         Remove variable.
35167         [BZ #18539]
35168         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
35169         define as weak alias of __addseverity.
35170         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
35171         Remove variable.
35172         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
35173         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
35174         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
35176         [BZ #18536]
35177         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
35178         (__tfind): Likewise.
35179         (__tdelete): Likewise.
35180         (__twalk): Likewise.
35181         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
35182         __twalk to GLIBC_PRIVATE.
35183         * include/search.h (__tsearch): Use libc_hidden_proto.
35184         (__tfind): Likewise.
35185         (__tdelete): Likewise.
35186         (__twalk): Likewise.
35187         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
35188         Call __tdelete instead of tdelete.
35189         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
35190         tfind.  Call __tsearch instead of tsearch.
35191         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
35192         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
35193         Remove variable.
35194         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
35196         [BZ #18534]
35197         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
35198         (dprintf): Define as a weak alias of __dprintf, not a strong
35199         alias.
35200         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
35201         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
35202         dprintf.
35203         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
35204         Remove variable.
35205         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
35206         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
35208         [BZ #18533]
35209         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
35210         not a strong alias.
35211         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
35212         Remove variable.
35214         [BZ #18532]
35215         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
35216         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
35217         (in6addr_loopback): Rename to __in6addr_loopback and define as
35218         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
35219         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
35220         libc_hidden_proto.
35221         (__in6addr_any): Likewise.
35222         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
35223         in6addr_any.
35224         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
35225         variable.
35226         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
35228 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
35230         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
35231         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
35232         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35233         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35234         redirections for pow.
35235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35236         * sysdeps/x86_64/fpu/Versions: New versions added.
35237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35239         build of SSE, AVX2 and AVX512 IFUNC versions.
35240         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
35241         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
35242         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
35243         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
35244         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
35245         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
35246         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
35247         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
35248         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
35249         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
35250         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
35251         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
35252         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
35253         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
35254         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35255         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35256         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35257         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35258         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35259         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35260         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35261         * NEWS: Mention addition of x86_64 vector pow.
35263         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35264         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35265         redirections for expf.
35266         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35267         * sysdeps/x86_64/fpu/Versions: New versions added.
35268         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35269         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35270         build of SSE, AVX2 and AVX512 IFUNC versions.
35271         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
35272         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
35273         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
35274         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
35275         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
35276         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
35277         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
35278         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
35279         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
35280         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
35281         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
35282         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
35283         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
35284         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35285         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35286         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35287         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35288         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35289         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35290         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35291         * NEWS: Mention addition of x86_64 vector expf.
35293         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
35294         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
35295         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35296         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35297         redirections for exp.
35298         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35299         * sysdeps/x86_64/fpu/Versions: New versions added.
35300         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35301         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35302         build of SSE, AVX2 and AVX512 IFUNC versions.
35303         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
35304         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
35305         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
35306         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
35307         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
35308         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
35309         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
35310         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
35311         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
35312         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
35313         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
35314         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
35315         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
35316         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35317         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35318         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35319         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35320         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35321         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35322         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35323         * NEWS: Mention addition of x86_64 vector exp.
35325         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35326         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35327         redirections for logf.
35328         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35329         * sysdeps/x86_64/fpu/Versions: New versions added.
35330         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35331         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35332         build of SSE, AVX2 and AVX512 IFUNC versions.
35333         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
35334         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
35335         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
35336         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
35337         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
35338         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
35339         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
35340         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
35341         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
35342         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
35343         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
35344         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
35345         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
35346         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35347         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35348         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35349         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35350         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35351         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35352         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35353         * NEWS: Mention addition of x86_64 vector logf.
35355         * bits/libm-simd-decl-stubs.h: Added stubs for log.
35356         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
35357         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35358         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
35359         redirections for log.
35360         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35361         * sysdeps/x86_64/fpu/Versions: New versions added.
35362         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35363         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35364         build of SSE, AVX2 and AVX512 IFUNC versions.
35365         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
35366         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
35367         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
35368         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
35369         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
35370         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
35371         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
35372         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
35373         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
35374         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
35375         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
35376         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
35377         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
35378         test.
35379         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35380         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35381         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35382         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35383         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35384         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35385         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35386         * NEWS: Mention addition of x86_64 vector log.
35388 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35390         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
35391         cfi_adjust_cfa_offset argument.
35392         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
35393         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
35395         [BZ #18034]
35396         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
35397         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
35398         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
35399         ordering using ldar.
35400         (_dl_tlsdesc_dynamic): Likewise.
35401         (_dl_tlsdesc_return_lazy): Likewise.
35402         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
35403         relaxed atomics instead of volatile and synchronize with release store.
35404         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
35405         volatile.
35406         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
35408 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
35410         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
35411         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
35412         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35413         * sysdeps/x86_64/fpu/Versions: New versions added.
35414         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35415         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
35416         build of SSE, AVX2 and AVX512 IFUNC versions.
35417         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
35418         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
35419         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
35420         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
35421         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
35422         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
35423         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
35424         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
35425         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
35426         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
35427         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
35428         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
35429         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
35430         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
35431         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
35432         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
35433         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
35434         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
35435         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
35436         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
35437         * NEWS: Mention addition of x86_64 vector sinf.
35439 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
35441         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
35442         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
35443         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
35444         Remove variable.
35445         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
35446         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
35448 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35450         [BZ #18530]
35451         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
35452         strong alias of _IO_fputs.  Use libc_hidden_def.
35453         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
35454         and define as weak alias of __fputs_unlocked.  Use
35455         libc_hidden_weak.
35456         * include/stdio.h (__fputs_unlocked): Declare.  Use
35457         libc_hidden_proto.
35458         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
35459         fputs_unlocked.
35461         [BZ #18529]
35462         * resolv/netdb.h [__USE_POSIX]: Change condition to
35463         [__USE_XOPEN2K].
35464         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
35465         not expect.
35466         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
35467         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
35468         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
35469         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
35470         [XPG4 || UNIX98] (AI_ALL): Likewise.
35471         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
35472         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
35473         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
35474         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
35475         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
35476         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
35477         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
35478         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
35479         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
35480         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
35481         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
35482         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
35483         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
35484         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
35485         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
35486         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35487         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
35488         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
35489         [XPG4 || UNIX98] (gai_strerror): Likewise.
35490         [XPG4 || UNIX98] (getaddrinfo): Likewise.
35491         [XPG4 || UNIX98] (getnameinfo): Likewise.
35493         [BZ #18528]
35494         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
35495         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
35496         __USE_XOPEN2K8].
35497         (getgrent): Likewise.
35498         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
35499         expect.
35500         [XPG3 || POSIX2008] (endgrent): Likewise.
35501         [XPG3] (setgrent): Likewise.
35502         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
35503         variable.
35504         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
35506         [BZ #18527]
35507         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
35508         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
35509         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
35510         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
35511         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
35512         * include/unistd.h (__getlogin_r): Declare.  Use
35513         libc_hidden_proto.
35514         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
35515         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
35516         variable.
35517         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
35518         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
35519         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
35521 2015-06-12  Martin Sebor  <msebor@redhat.com>
35523         [BZ #18512]
35524         * Makerules (check-install-supported): New target.
35525         (install): Add check-install-supported as a dependency.
35526         * manual/install.texi (Installing the C Library): Document
35527         that overriding prefix and exec_prefix is not supported.
35528         Mention DESTDIR.
35529         * INSTALL: Regenerate from the above.
35531 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
35533         [BZ #18519]
35534         * posix/Versions (libc): Export __libc_pread at version
35535         GLIBC_PRIVATE.
35536         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
35537         instead of pread.
35538         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
35539         variable.
35541         [BZ #18522]
35542         * misc/efgcvt_r.c
35543         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
35544         (cvt_symbol): Use weak_alias instead of strong_alias.
35545         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
35546         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
35547         Remove variable.
35548         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
35549         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
35551         [BZ #18520]
35552         * inet/herrno.c (h_errno): Rename to __h_errno.
35553         (__libc_h_errno): Define as alias of __h_errno not h_errno.
35554         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
35555         to __h_errno instead of h_errno.
35556         * nptl/herrno.c (h_errno): Rename to __h_errno.
35557         (__h_errno_location): Refer to __h_errno not h_errno.
35558         * resolv/Versions (h_errno): Rename to __h_errno.
35559         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
35560         Remove variable.
35561         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
35563 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
35565         * configure.ac: More strict check for AVX512 assembler support.
35566         * configure: Regenerated.
35568         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
35569         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
35570         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35571         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
35572         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35573         * sysdeps/x86_64/fpu/Versions: New versions added.
35574         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35575         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35576         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35577         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
35578         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
35579         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
35580         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
35581         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
35582         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
35583         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
35584         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
35585         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
35586         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
35587         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
35588         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
35589         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
35590         test.
35591         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
35592         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
35593         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
35594         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
35595         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
35596         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
35597         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
35598         * NEWS: Mention addition of x86_64 vector sin.
35600 2015-06-11  Florian Weimer  <fweimer@redhat.com>
35602         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
35603         comment.
35605 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
35607         [BZ #18479]
35608         * nptl/pt-interp.c: New file.
35609         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
35610         Add pt-interp.
35611         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
35612         $(common-objpfx)runtime-linker.h.
35614 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
35616         * Makeconfig (+interp): Remove unused variable.
35617         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
35618         only.  Depend on $(common-objpfx)runtime-linker.h instead of
35619         $(elf-objpfx)runtime-linker.h.
35620         ($(elf-objpfx)runtime-linker.h): Rename to
35621         $(common-objpfx)runtime-linker.h and move ...
35622         * Makerules [$(build-shared) = yes]: ... here.
35623         * elf/interp.c: Include <runtime-linker.h> instead of
35624         <elf/runtime-linker.h>.
35626 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35628         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
35629         (__gettimeofday_syscall): Remove vsyscall fallback.
35630         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
35631         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
35632         Add syscall fallback function.
35633         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
35634         if vDSO is not present.
35635         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
35636         fallback function.
35637         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
35638         present.
35639         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
35640         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
35642 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
35644         [BZ #18497]
35645         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
35646         of wcscmp.
35647         (wcscmp): Define as weak alias of WCSCMP.
35648         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
35649         wcscoll.
35650         (USE_HIDDEN_DEF): Define.
35651         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
35652         __wcscoll.  Don't use libc_hidden_weak.
35653         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
35654         wcscmp.
35655         * sysdeps/i386/i686/multiarch/wcscmp-c.c
35656         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
35657         __GI_wcscmp.
35658         (weak_alias): Undefine and redefine.
35659         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
35660         __wcscmp and define as weak alias of __wcscmp.
35661         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
35662         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
35663         (__wcscoll): Likewise.
35664         (wcscmp): Don't use libc_hidden_proto.
35665         (wcscoll): Likewise.
35666         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
35667         wcscoll.
35668         * posix/regexec.c (check_node_accept_bytes): Likewise.
35669         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
35670         variable.
35671         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
35672         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
35674         [BZ #18507]
35675         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
35676         __fstatvfs and define as weak alias of __fstatvfs.  Use
35677         libc_hidden_weak.
35678         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
35679         and define as weak alias of __statvfs.  Use libc_hidden_weak.
35680         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
35681         Define as alias of __fstatvfs, not fstatvfs.
35682         (fstatvfs64): Likewise.
35683         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
35684         Define as alias of __statvfs, not statvfs.
35685         (statvfs64): Likewise.
35686         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
35687         Remove variable.
35689 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
35692         (HAVE_GETCPU_VSYSCALL): Define.
35693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
35694         (HAVE_GETCPU_VSYSCALL): Likewise.
35695         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
35696         * sysdeps/unix/sysv/linux/sched_getcpu.c
35697         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
35698         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
35699         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
35700         prototype.
35701         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35702         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
35703         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
35704         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
35705         Define.
35706         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
35707         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
35708         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
35709         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
35711 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
35713         * sysdeps/x86_64/fpu/Makefile: New file.
35714         * sysdeps/x86_64/fpu/Versions: New file.
35715         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
35716         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
35717         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
35718         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
35719         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
35720         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
35721         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
35722         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
35723         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
35724         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
35725         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
35726         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
35727         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
35728         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35729         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35730         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
35731         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
35732         * sysdeps/x86_64/configure.ac: Options for libmvec build.
35733         * sysdeps/x86_64/configure: Regenerated.
35734         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
35735         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
35736         * manual/install.texi (Configuring and compiling): Document
35737         --disable-mathvec.
35738         * INSTALL: Regenerated.
35739         * NEWS: Mention addition of libmvec and x86_64 vector cos.
35741         * math/Makefile: Added rules for vector tests.
35742         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
35743         declaration under condition.
35744         * math/test-double-vlen2.h: New file.
35745         * math/test-double-vlen4.h: New file.
35746         * math/test-double-vlen8.h: New file.
35747         * math/test-vec-loop.h: Added initialization macro.
35748         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
35749         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
35750         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
35751         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
35752         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
35753         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
35754         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
35755         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
35756         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
35757         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
35758         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
35760         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
35761         * sysdeps/x86_64/fpu/Versions: New versions added.
35762         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
35763         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
35764         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
35765         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
35766         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
35767         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
35768         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
35769         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
35770         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
35771         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
35772         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
35773         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
35774         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
35775         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
35776         Added build of SSE, AVX2 and AVX512 IFUNC versions.
35777         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
35778         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
35779         * NEWS: Mention addition of x86_64 vector cosf.
35781         * math/Makefile: Added CFLAGS for new tests.
35782         * math/test-float-vlen16.h: New file.
35783         * math/test-float-vlen4.h: New file.
35784         * math/test-float-vlen8.h: New file.
35785         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
35786         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
35787         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
35788         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
35789         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
35790         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
35791         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
35792         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
35793         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
35794         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
35795         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
35797 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
35799         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
35800         * locale/programs/ld-ctype.c: Likewise.
35802 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
35804         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
35805         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
35806         bit_ZMM16_31_state): New macro.
35807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35808         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
35810 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
35812         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
35814 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
35816         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
35818 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
35820         [BZ #18498]
35821         * libio/memstream.c (open_memstream): Rename to __open_memstream
35822         and define as weak alias of __open_memstream.
35823         * include/stdio.h (__open_memstream): Declare.  Use
35824         libc_hidden_proto.
35825         (open_memstream): Don't use libc_hidden_proto.
35826         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
35827         open_memstream.
35828         * posix/getopt.c (_getopt_internal_r): Likewise.
35829         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
35830         variable.
35831         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
35832         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
35833         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
35835         [BZ #18496]
35836         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
35837         instead of wcrtomb.
35839         [BZ #18483]
35840         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
35841         [__USE_XOPEN2K8].  Remove redundant #endif.
35842         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
35843         Remove redundant #if.
35844         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
35845         Remove variable.
35846         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
35847         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
35849         [BZ #18495]
35850         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
35851         (__iswlower): Likewise.
35852         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
35853         (__iswlower): Likewise.
35854         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
35855         instead of towlower.
35856         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
35857         instead of iswlower.  Call __towupper instead of towupper.
35858         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
35859         instead of iswalnum.
35861 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35863         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
35864         errors to stderr.
35866 2015-06-05  Florian Weimer  <fweimer@redhat.com>
35868         [BZ #15661]
35869         [BZ #17322]
35870         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
35871         Check for overflow properly.  Check for O_APPEND.  Ignore large
35872         file system block sizes.  Add comments about problems.
35873         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
35874         * manual/filesys.texi (Storage Allocation): New node.
35876 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35878         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
35879         cancellable syscalls.
35880         (SYS_ify): Add guard to no redefine it.
35881         (INLINE_SYSCALL): Likewise.
35882         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
35883         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
35884         SYSCALL_CANCEL instead.
35885         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
35886         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
35887         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
35888         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
35889         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
35890         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
35891         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
35892         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
35893         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
35894         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
35895         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
35896         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
35897         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
35898         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
35899         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
35900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
35901         Likewise.
35902         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
35903         (__libc_pread64): Likewise.
35904         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
35905         (__libc_preadv): Likewise.
35906         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
35907         (__libc_readv64): Likewise.
35908         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
35909         (__libc_pwrite): Likewise.
35910         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
35911         (__libc_pwrite64): Likewise.
35912         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
35913         (__libc_pwritev): Likewise.
35914         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
35915         (__libc_pwritev64): Likewise.
35916         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
35917         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
35918         (sync_file_range): Likewise.
35919         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
35920         Likewise.
35921         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
35922         Likewise.
35923         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
35924         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
35925         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
35926         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
35927         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
35928         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
35929         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
35930         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
35931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
35932         Likewise.
35933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
35934         (__libc_read64): Likewise.
35935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
35936         Likewise.
35937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
35938         Likewise.
35939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
35940         Likewise.
35941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
35942         Likewise.
35943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
35944         (__libc_pread64): Likewise.
35945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
35946         Likewise.
35947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
35948         (__libc_pwrite64): Likewise.
35949         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
35950         (sync_file_range): Likewise.
35951         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
35952         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
35953         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
35954         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
35955         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
35956         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
35957         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
35958         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
35959         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
35960         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
35961         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
35962         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
35963         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
35964         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
35965         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
35966         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
35967         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
35968         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
35969         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
35970         Likewise.
35971         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
35972         Likewise.
35973         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
35974         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
35975         Likewise.
35976         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
35977         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
35978         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
35979         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
35980         Likewise.
35981         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
35982         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
35983         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
35984         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
35985         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
35987 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
35989         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
35990         Include dl-vdso.
35991         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
35992         Use VDSO routines for gettimeofday, clock_gettime if
35993         available.
35994         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
35995         Declare VDSO symbols.
35996         * sysdeps/unix/sysv/linux/arm/sysdep.h:
35997         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
35998         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
35999         * sysdeps/unix/sysv/linux/arm/Versions: Add
36000         __vdso_clock_gettime.
36002 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36004         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
36005         be an inline implementation regardless of library is built within.
36006         (open_not_cancel_2): Likewise.
36007         (__read_nocancel): Likewise.
36008         (__write_nocancel): Likewise.
36009         (openat_not_cancel): Likewise.
36010         (openat_not_cancel_3): Likewise.
36011         (openat64_not_cancel): Likewise.
36012         (openat64_not_cancel_3): Likewise.
36013         (__close_nocancel): Likewise.
36014         (pause_not_cancel): Likewise.
36015         (nanosleep_not_cancel): Likewise.
36016         (sigsuspend_not_cancel): Likewise.
36018 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36020         [BZ #14958]
36021         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
36022         wake-up.
36023         (__pthread_rwlock_rdlock_slow): Likewise.
36024         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
36025         Likewise.
36026         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
36027         Likewise.
36028         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
36029         * nptl/tst-rwlock16.c: New file.
36030         * nptl/Makefile (tests): Add new test.
36032 2015-06-04  Torvald Riegel  <triegel@redhat.com>
36034         [BZ #18324]
36035         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
36036         missing wake-up of readers.
36037         * nptl/tst-rwlock15.c: New file.
36038         * nptl/Makefile (tests): Add new test.
36040 2015-06-03  Roland McGrath  <roland@hack.frob.com>
36042         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
36043         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
36044         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
36045         and __nacl_supply_interface_rtld.
36046         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
36047         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
36048         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
36049         Add __nacl_supply_interface_rtld.
36050         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
36052 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36054         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
36055         isfinite.
36056         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36057         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
36059 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
36061         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
36062         __signbit* with standard C99 macros.
36063         * math/e_exp10l.c: Likewise.
36064         * math/e_exp2l.c: Likewise.
36065         * math/e_scalb.c: Likewise.
36066         * math/e_scalbf.c: Likewise.
36067         * math/e_scalbl.c: Likewise.
36068         * math/s_ldexp.c: Likewise.
36069         * math/s_ldexpf.c: Likewise.
36070         * math/s_ldexpl.c: Likewise.
36071         * math/w_atan2.c: Likewise.
36072         * math/w_atan2f.c: Likewise.
36073         * math/w_atan2l.c: Likewise.
36074         * math/w_cosh.c: Likewise.
36075         * math/w_coshf.c: Likewise.
36076         * math/w_coshl.c: Likewise.
36077         * math/w_exp10.c: Likewise.
36078         * math/w_exp10f.c: Likewise.
36079         * math/w_exp10l.c: Likewise.
36080         * math/w_exp2.c: Likewise.
36081         * math/w_exp2f.c: Likewise.
36082         * math/w_exp2l.c: Likewise.
36083         * math/w_fmod.c: Likewise.
36084         * math/w_fmodf.c: Likewise.
36085         * math/w_fmodl.c: Likewise.
36086         * math/w_hypot.c: Likewise.
36087         * math/w_hypotf.c: Likewise.
36088         * math/w_hypotl.c: Likewise.
36089         * math/w_jnl.c: Likewise.
36090         * math/w_lgamma.c: Likewise.
36091         * math/w_lgamma_r.c: Likewise.
36092         * math/w_lgammaf.c: Likewise.
36093         * math/w_lgammaf_r.c: Likewise.
36094         * math/w_lgammal.c: Likewise.
36095         * math/w_lgammal_r.c: Likewise.
36096         * math/w_pow.c: Likewise.
36097         * math/w_powf.c: Likewise.
36098         * math/w_powl.c: Likewise.
36099         * math/w_remainder.c: Likewise.
36100         * math/w_remainderf.c: Likewise.
36101         * math/w_remainderl.c: Likewise.
36102         * math/w_scalb.c: Likewise.
36103         * math/w_scalbf.c: Likewise.
36104         * math/w_scalbl.c: Likewise.
36105         * math/w_scalbln.c: Likewise.
36106         * math/w_scalblnf.c: Likewise.
36107         * math/w_scalblnl.c: Likewise.
36108         * math/w_sinh.c: Likewise.
36109         * math/w_sinhf.c: Likewise.
36110         * math/w_sinhl.c: Likewise.
36111         * math/w_tgamma.c: Likewise.
36112         * math/w_tgammaf.c: Likewise.
36113         * math/w_tgammal.c: Likewise.
36114         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
36115         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
36116         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
36117         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
36118         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
36119         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
36120         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36121         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
36122         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
36123         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
36124         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36125         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
36126         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
36127         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
36128         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
36129         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
36130         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
36131         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
36132         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
36133         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
36134         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
36135         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
36136         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
36137         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
36138         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
36139         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
36140         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
36141         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
36142         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
36143         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36144         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
36145         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
36146         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
36147         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
36148         * stdio-common/printf_fp.c: Likewise.
36149         * stdio-common/printf_fphex.c: Likewise.
36150         * stdio-common/printf_size.c: Likewise.
36152 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
36154         [BZ #18470]
36155         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
36156         strnlen.
36157         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
36158         Remove variable.
36159         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
36160         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
36161         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
36162         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
36163         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
36164         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
36165         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
36166         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
36167         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
36168         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
36170         [BZ #18468]
36171         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
36172         weak alias of __wmemchr.  Use libc_hidden_weak.
36173         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
36174         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
36175         instead of wmemchr.
36177 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36179         [BZ #18383]
36180         * elf/tst-tlsalign-extern.c: New file.
36181         * elf/tst-tlsalign-extern-static.c: New file.
36182         * elf/tst-tlsalign-vars.c: New file.
36183         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
36184         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
36185         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
36186         ($(objpfx)tst-tlsalign-extern-static): Likewise.
36187         (test-xfail-tst-tlsalign-extern-static): New variable.
36189 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
36191         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
36192         Use variable name _sc_err instead of err.
36193         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
36194         instead of ret.
36195         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
36196         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
36197         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
36198         (INLINE_SYSCALL): Likewise.
36200         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
36201         * include/string.h (__strnlen): Use libc_hidden_proto.
36202         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
36203         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
36204         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
36205         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
36206         (libc_hidden_def): Undefine and redefine.
36207         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
36208         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
36209         __GI_strnlen.
36210         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
36211         libc_hidden_def.
36212         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
36214         [BZ #18469]
36215         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
36216         weak alias of __towlower.  Use libc_hidden_weak.
36217         (towupper): Rename to __towupper and define as weak alias of
36218         __towupper.  Use libc_hidden_weak.
36219         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
36220         (__towupper): Likewise.
36221         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
36222         __towlower instead of towlower.
36224 2015-06-02  Roland McGrath  <roland@hack.frob.com>
36226         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
36227         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
36229 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36231         * sysdeps/aarch64/libm-test-ulps: Update.
36233 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36235         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
36236         Define.
36237         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36238         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
36239         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36240         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36241         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
36242         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
36243         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
36245 2015-06-01  Martin Sebor  <msebor@redhat.com>
36247         [BZ #18116]
36248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
36249         (__setcontext): Use extended four-operand version of mtsf whenever
36250         possible.
36251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
36252         (__novec_swapcontext): Likewise.
36254 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
36256         * benchtests/scripts/compare_bench.py: New file.
36257         * benchtests/scripts/import_bench.py (mean): New function.
36258         (split_list): Likewise.
36259         (do_for_all_timings): Likewise.
36260         (compress_timings): Likewise.
36262         * benchtests/scripts/import_bench.py: New file.
36263         * benchtests/scripts/validate_benchout.py: Import import_bench
36264         instead of jsonschema.
36265         (validate_bench): Remove function.
36266         (main): Use import_bench.
36268 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
36270         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
36271         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
36273 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36277 2015-05-28  Roland McGrath  <roland@hack.frob.com>
36279         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
36280         set THREAD_SELF->tid to a magic value and futex-wake it.
36281         Pass its address to the thread_exit system call.
36282         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
36283         bit is clear.
36284         * sysdeps/nacl/lowlevellock.h: New file.
36285         * sysdeps/nacl/lll_timedwait_tid.c: New file.
36287         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
36288         Add TIMEOUT to current time, don't subtract it.
36290 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
36292         [BZ #2981]
36293         [BZ #18422]
36294         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
36295         ($(objpfx)tst-audit2.out): Also depend on
36296         $(objpfx)tst-auditmod9b.so.
36297         * elf/tst-audit2.c: Include <dlfcn.h>.
36298         (calloc_called): New.
36299         (calloc): Allow to be called more than once.
36300         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
36302 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
36304         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
36305         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
36307 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
36309         * stdlib/monetary.h: Fix comment.
36311 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
36313         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
36314         Avoid using variables in #defines that might cause shadowing.
36315         (INTERNAL_VSYSCALL_CALL): Likewise.
36317 2015-05-26  Roland McGrath  <roland@hack.frob.com>
36319         * sysdeps/nacl/lll_timedlock_wait.c: New file.
36321         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
36322         * nptl/lll_timedlock_wait.c: ... to this new file.
36323         * nptl/Makefile (libpthread-routines): Add it.
36324         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
36325         * nptl/lll_timedwait_tid.c: ... to this new file.
36326         * nptl/Makefile (libpthread-routines): Add it.
36327         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
36328         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
36329         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
36330         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
36331         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
36332         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
36333         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
36334         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
36335         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
36336         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
36338 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36340         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
36341         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
36342         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
36343         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
36344         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
36345         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
36346         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36347         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
36348         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36349         * sysdeps/unix/sysv/linux/tile/sysdep.h
36350         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
36351         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
36352         using vDSO syscall macro.
36354 2015-05-26  Andriy Rysin  <arysin@gmail.com>
36356         [BZ #17293]
36357         * uk_UA: Fix sorting order for Ukrainian locale
36359 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
36361         * stdlib/monetary.h: Fix comment.
36363 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
36365         [BZ #18234]
36366         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
36367         st_mtim and st_ctim members.
36368         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
36369         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
36370         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
36371         (struct stat64): Likewise.
36372         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
36373         (struct stat64): Likewise.
36374         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
36375         (struct stat64): Likewise.
36377 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36379         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
36380         Define and include sysdep-vdso.h.
36381         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
36382         Likewise.
36383         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
36384         Likewise.
36385         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
36386         Define with VDSO_SYMBOL and use PTR_MANGLE.
36387         (__vdso_clock_gettime): Likewise.
36388         (__vdso_clock_getres): Likewise.
36389         (_libc_vdso_platform_setup): Likewise.
36390         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
36391         Likewise.
36392         (_libc_vdso_platform_setup): Likewise.
36393         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
36394         Likewise.
36395         (__vdso_clock_gettime): Likewise.
36396         (__vdso_clock_getres): Likewise.
36397         (__vdso_get_tbfreq): Likewise.
36398         (__vdso_getcpu): Likewise.
36399         (__vdso_time): Likewise.
36400         (__vdso_sigtramp_rt64): Likewise.
36401         (__vdso_signtramp32): Likewise.
36402         (__vdso_sigtramp_rt32): Likewise.
36403         (_libc_vdso_platform_setup): Likewise.
36404         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
36405         Likewise.
36406         (__vdso_clock_gettime): Likewise.
36407         (__vdso_clock_getres): Likewise.
36408         (_libc_vdso_platform_setup): Likewise.
36409         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
36410         Likewise.
36411         (__vdso_clock_gettime): Likewise.
36412         (_libc_vdso_platform_setup): Likewise.
36413         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
36414         Likewise.
36415         (__vdso_getcpu): Likewise.
36416         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
36417         Use VDSO_SYMBOL macro to define.
36418         (__vdso_clock_gettime): Likewise.
36419         (__vdso_clock_getres): Likewise.
36420         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
36421         Likewise.
36422         (__vdso_clock_gettime): Likewise.
36423         (__vdso_clock_getres): Likewise.
36424         (__vdso_get_tbfreq): Likewise.
36425         (__vdso_getcpu): Likewise.
36426         (__vdso_time): Likewise.
36427         (__vdso_sigtramp_rt64): Likewise.
36428         (__vdso_signtramp32): Likewise.
36429         (__vdso_sigtramp_rt32): Likewise.
36430         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
36431         Likewise.
36432         (__vdso_clock_gettime): Likewise.
36433         (__vdso_clock_getres): Likewise.
36434         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
36435         Likewise.
36436         (__vdso_clock_gettime): Likewise.
36437         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
36438         Likewise.
36439         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
36440         macro.
36441         (INTERNAL_VSYSCALL): Likewise.
36442         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
36443         Remove macro.
36444         (INTERNAL_VSYSCALL): Likewise.
36445         (INTERNAL_VSYSCALL_NCS): Likewise.
36446         (INTERNAL_VSYSCALL_CALL): New macro.
36447         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36448         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
36449         Likewise.
36450         (INTERNAL_VSYSCALL): Likewise.
36451         (INTERNAL_VSYSCALL_NCS): Likewise.
36452         (INTERNAL_VSYSCALL_CALL): New macro.
36453         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
36454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
36455         (INLINE_VSYSCALL): Remove macro.
36456         (INTERNAL_VSYSCALL): Remove macro.
36457         (INTERNAL_VSYSCALL_NCS): Remove macro.
36458         (INTERNAL_VSYSCALL_CALL): New macro.
36459         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
36460         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
36461         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36462         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
36463         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
36464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
36465         (INLINE_VSYSCALL): Remove macro.
36466         (INTERNAL_VSYSCALL): Likewise.
36467         (INTERNAL_VSYSCALL_NCS): Likewise.
36468         (INTERNAL_VSYSCALL_CALL): New macro.
36469         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
36470         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
36471         PTR_DEMANGLE on vDSO pointer.
36472         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
36473         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
36474         macro.
36475         (INTERNAL_SYSCALL): Likewise.
36476         (INTERNAL_VSYSCALL_NCS): Remove macro.
36477         (INTERNAL_VSYSCALL_CALL): New macro.
36478         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
36479         Remove macro.
36480         (INTERNAL_VSYSCALL): Likewise.
36481         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
36482         sysdep-vdso.h instead of libc-vdso.h.
36483         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
36484         definition.
36485         (INLINE_VSYSCALL): Likewise.
36486         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
36487         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
36488         definition.
36489         (INLINE_VSYSCALL): Likewise.
36490         (INTERNAL_VSYSCALL): Likewise.
36491         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36492         * sysdeps/unix/sysv/linux/timespec_get.c
36493         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
36494         (timespec_get): Use ANSI prototype.
36495         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
36496         and definition for Linux.
36498 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
36500         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
36501         * include/libc-symbols.h: libmvec_hidden_* macro series added.
36503 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
36505         [BZ #2981]
36506         [BZ #18410]
36507         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
36508         for missing DT_PLTRELSZ.
36510 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
36512         Remove obsolete aliases that broke 'locale -a'
36513         [BZ #18412]
36514         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
36515         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
36516         breaking some applications that use 'locale -a' output.
36517         Change the encoding of this file from Latin-1 to ASCII to avoid
36518         other potential problems with people grepping this file.
36520 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36522         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
36523         -fasynchronous-unwind-tables.
36524         (CFLAGS-sendto.c): Likewise.
36525         (CFLAGS-sendmsg.c): Likewise.
36526         (CFLAGS-connect.c): Likewise.
36527         (CFLAGS-recvmsg.c): Likewise.
36528         (CFLAGS-recvfrom.c): Likewise.
36529         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
36530         (SOCKETCALL): New macro: non-cancellable socketcall.
36531         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
36532         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
36533         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
36534         * sysdeps/unix/sysv/linux/accept.c: New file.
36535         * sysdeps/unix/sysv/linux/bind.c: Likewise.
36536         * sysdeps/unix/sysv/linux/connect.c: Likewise.
36537         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
36538         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
36539         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
36540         * sysdeps/unix/sysv/linux/listen.c: Likewise.
36541         * sysdeps/unix/sysv/linux/recv.c: Likewise.
36542         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
36543         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
36544         * sysdeps/unix/sysv/linux/send.c: Likewise.
36545         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
36546         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
36547         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
36548         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
36549         * sysdeps/unix/sysv/linux/socket.c: Likewise.
36550         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
36551         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
36552         prototype.
36553         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
36554         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36555         instead of __internal_xxx function.
36556         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
36557         prototype.
36558         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
36559         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36560         instead of __internal_xxx function.
36561         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
36562         prototype.
36563         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
36564         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
36565         instead of __internal_xxx function.
36566         * sysdeps/unix/sysv/linux/accept.S: Remove file.
36567         * sysdeps/unix/sysv/linux/bind.S: Likewise.
36568         * sysdeps/unix/sysv/linux/connect.S: Likewise.
36569         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
36570         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
36571         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
36572         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
36573         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
36574         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
36575         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
36576         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
36577         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
36578         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
36579         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
36580         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
36581         * sysdeps/unix/sysv/linux/listen.S: Likewise.
36582         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
36583         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
36584         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
36585         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
36586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
36587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
36588         * sysdeps/unix/sysv/linux/recv.S: Likewise.
36589         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
36590         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
36591         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
36592         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
36593         * sysdeps/unix/sysv/linux/send.S: Likewise.
36594         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
36595         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
36596         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
36597         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
36598         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
36599         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
36600         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
36601         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
36602         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
36603         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
36604         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
36605         socketcall is implemented in GLIBC.
36607 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36609         * soft-fp/fmadf4.c: Include <libc-internal.h>.
36610         (__fma): Ignore uninitialized warnings around packing.
36611         * soft-fp/fmasf4.c: Include <libc-internal.h>.
36612         (__fmaf): Ignore uninitialized warnings around packing.
36613         * soft-fp/fmatf4.c: Include <libc-internal.h>.
36614         (__fmal): Ignore uninitialized warnings around packing.
36616         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
36617         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36618         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
36619         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
36621         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
36622         switch statement into default case.
36623         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
36625         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
36626         a conditional in forcing "inexact".
36627         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
36628         Likewise.
36630 2015-05-22  Roland McGrath  <roland@hack.frob.com>
36632         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
36633         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
36634         for each INTERNAL_SYSCALL use.
36636 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
36638         [BZ #438]
36639         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
36640         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
36641         variable.
36643         [BZ #18444]
36644         * string/basename.c (basename): Rename to __basename and define as
36645         weak alias of __basename.  Use libc_hidden_weak.
36646         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
36647         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
36648         __basename instead of basename.
36649         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
36650         Remove variable.
36651         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
36653 2015-05-18  Florian Weimer  <fweimer@redhat.com>
36655         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
36656         (_IO_JUMPS_FILE_plus): New.
36657         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
36658         _IO_CAST_FIELD_ACCESS.
36659         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
36660         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
36661         * libio/freopen.c (freopen): Likewise.
36662         * libio/freopen64.c (freopen64): Likewise.
36663         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
36664         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
36665         * libio/iofwide.c (_IO_fwide): Likewise.
36666         * libio/memstream.c (open_memstream): Likewise.
36667         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36668         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
36669         * libio/oldiopopen.c (_IO_old_popen): Likewise.
36671 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
36673         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
36674         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
36675         NADJ.
36676         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
36677         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
36678         NADJ.
36679         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
36680         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
36681         NADJ.
36683         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
36684         (p == 4) case.
36686         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
36687         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
36688         Remove variable.
36689         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
36690         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
36691         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
36693 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36695         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
36696         Adjust jump table label generation macros.
36698 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36700         * stdio-common/vfprintf.c (vfprintf): Move local variables
36701         args_malloced, specs, specs_malloced, and the code after
36702         do_positional to the printf_positional function.
36703         (printf_positional): New function.
36705 2015-05-21  Florian Weimer  <fweimer@redhat.com>
36707         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
36708         function.
36709         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
36710         STEP4_TABLE, process_arg): Move macro definitions
36711         out of the vfprintf function.  (Cosmetic change only.)
36713 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
36715         * benchtests/Makefile (stdio-common-bench): Define.
36716         (benchset): Add stdio-common-bench.
36717         * sprintf-inputs: New file.
36718         * sprintf-source.c: New file.
36720 2015-05-21  Andreas Schwab  <schwab@suse.de>
36722         [BZ #13028]
36723         [BZ #17053]
36724         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
36725         of struct __res_state.
36726         * resolv/res_send.c (__libc_res_nsend): Likewise.
36727         (get_nsaddr): New function.
36728         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
36729         statp directly.
36731 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
36733         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
36734         -D_POSIX_C_SOURCE=199506L.
36736         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
36738         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
36739         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
36740         Do not mention otherwise.
36741         [POSIX] (_XOPEN_VERSION): Do not expect.
36742         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
36743         [POSIX] (_POSIX2_C_BIND): Likewise.
36744         [POSIX] (_POSIX2_VERSION): Likewise.
36745         [POSIX] (_XOPEN_XPG2): Likewise.
36746         [POSIX] (_XOPEN_XPG3): Likewise.
36747         [POSIX] (_XOPEN_XPG4): Likewise.
36748         [POSIX] (_XOPEN_UNIX): Likewise.
36749         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
36750         [POSIX] (_POSIX_BARRIERS): Likewise.
36751         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
36752         [POSIX] (_POSIX_CPUTIME): Likewise.
36753         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
36754         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
36755         [POSIX] (_POSIX_SHELL): Likewise.
36756         [POSIX] (_POSIX_SPAWN): Likewise.
36757         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
36758         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
36759         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
36760         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
36761         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
36762         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
36763         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
36764         [POSIX] (_XBS5_LP64_OFF64): Likewise.
36765         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
36766         [POSIX] (_POSIX_TIMEOUTS): Likewise.
36767         [POSIX] (_POSIX2_PBS): Likewise.
36768         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
36769         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
36770         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
36771         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
36772         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
36773         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
36774         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
36775         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
36776         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
36777         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
36778         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
36779         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
36780         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
36781         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
36782         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
36783         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
36784         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
36785         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
36786         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
36787         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
36788         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
36789         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
36790         [POSIX] (_SC_2_C_BIND): Likewise.
36791         [POSIX] (_SC_2_C_VERSION): Likewise.
36792         [POSIX] (_SC_2_PBS): Likewise.
36793         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
36794         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
36795         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
36796         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
36797         [POSIX] (_SC_2_PBS_TRACK): Likewise.
36798         [POSIX] (_SC_ATEXIT_MAX): Likewise.
36799         [POSIX] (_SC_BARRIERS): Likewise.
36800         [POSIX] (_SC_BASE): Likewise.
36801         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
36802         [POSIX] (_SC_DEVICE_IO): Likewise.
36803         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
36804         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
36805         [POSIX] (_SC_FD_MGMT): Likewise.
36806         [POSIX] (_SC_FIFO): Likewise.
36807         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
36808         [POSIX] (_SC_FILE_LOCKING): Likewise.
36809         [POSIX] (_SC_FILE_SYSTEM): Likewise.
36810         [POSIX] (_SC_IOV_MAX): Likewise.
36811         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
36812         [POSIX] (_SC_NETWORKING): Likewise.
36813         [POSIX] (_SC_PAGE_SIZE): Likewise.
36814         [POSIX] (_SC_PASS_MAX): Likewise.
36815         [POSIX] (_SC_PIPE): Likewise.
36816         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
36817         [POSIX] (_SC_REGEXP): Likewise.
36818         [POSIX] (_SC_SHELL): Likewise.
36819         [POSIX] (_SC_SIGNALS): Likewise.
36820         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
36821         [POSIX] (_SC_SPIN_LOCKS): Likewise.
36822         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
36823         [POSIX] (_SC_USER_GROUPS): Likewise.
36824         [POSIX] (_SC_USER_GROUPS_R): Likewise.
36825         [POSIX] (_SC_STREAMS): Likewise.
36826         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
36827         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
36828         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
36829         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
36830         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
36831         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
36832         [POSIX] (_PC_FILESIZEBITS): Likewise.
36833         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
36834         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
36835         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
36836         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
36837         [POSIX] (uid_t): Likewise.
36838         [POSIX] (gid_t): Likewise.
36839         [POSIX] (off_t): Likewise.
36840         [POSIX] (pid_t): Likewise.
36841         [POSIX] (cuserid): Allow.
36842         (_SC_2_CHAR_TERM): Require constant.
36843         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
36844         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
36845         variable.
36847 2015-05-20  Roland McGrath  <roland@hack.frob.com>
36849         * sysdeps/nacl/pthread-pids.h: New file.
36850         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
36851         (create_thread): Use __nacl_get_tid to initialize PD->tid.
36853         * nptl/pthread-pids.h: New file.
36854         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
36855         * nptl/nptl-init.c: Include <pthread-pids.h>.
36856         (__pthread_initialize_minimal_internal):
36857         Call __pthread_initialize_pids instead of set_tid_address syscall.
36859         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
36860         * sysdeps/posix/usleep.c: ... here.
36862 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36864         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
36865         call_pselect6 object.
36866         [$(subdir) = io]: Remove call_sync_file_range object.
36867         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
36868         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
36869         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
36870         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
36872 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
36874         * math/s_cproj.c: Add include "math_private.h".
36875         * math/s_cprojf.c: Likewise.
36876         * math/s_cprojl.c: Likewise.
36878 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
36880         [BZ #18244]
36881         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
36882         high mantissa bit when testing whether P is a NaN.
36883         * math/libm-test.inc (remainder_test_data): Add more tests.
36884         (remquo_test_data): Likewise.
36886         [BZ #18049]
36887         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
36888         below -32, return the argument, with underflow if subnormal.
36889         * math/auto-libm-test-in: Add more tests of atanh.
36890         * math/auto-libm-test-out: Regenerated.
36892 2015-05-19  Roland McGrath  <roland@hack.frob.com>
36894         [BZ #18434]
36895         * nptl/tst-sem15.c: New file.
36896         * nptl/Makefile (tests): Add it.
36897         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
36898         s/<</>>/ to fix typo in EOVERFLOW check.
36899         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
36901 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36903         * manual/strings.texi (envz_remove): Fix typo in safety
36904         annotations.
36906 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
36907             Steve Ellcey  <sellcey@imgtec.com>
36909         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
36910         in order to avoid strict alias warnings.
36911         (iruserok_af): Ditto for ra.
36913 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
36915         [BZ #17581]
36916         * malloc/hooks.c
36917         (magicbyte): Convert to a function and avoid returning 0x01.
36918         (mem2mem_check): Avoid using a length byte equal to the magic byte.
36919         (mem2chunk_check): Fix unsigned comparisons to zero.
36920         Hoist defs of sz and magic.
36922 2015-05-19  Richard Henderson  <rth@redhat.com>
36924         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
36926         * sysdeps/alpha/fpu/libm-test-ulps: Update.
36928 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
36930         [BZ #16159]
36931         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
36932         * malloc/arena.c (arena_lock): Check if arena is corrupt.
36933         (reused_arena): Find a non-corrupt arena.
36934         (heap_trim): Pass arena to unlink.
36935         * malloc/hooks.c (malloc_check_get_size): Pass arena to
36936         malloc_printerr.
36937         (top_check): Likewise.
36938         (free_check): Likewise.
36939         (realloc_check): Likewise.
36940         * malloc/malloc.c (malloc_printerr): Add arena argument.
36941         (unlink): Likewise.
36942         (munmap_chunk): Adjust.
36943         (ARENA_CORRUPTION_BIT): New macro.
36944         (arena_is_corrupt): Likewise.
36945         (set_arena_corrupt): Likewise.
36946         (sysmalloc): Use mmap if there are no usable arenas.
36947         (_int_malloc): Likewise.
36948         (__libc_malloc): Don't fail if arena_get returns NULL.
36949         (_mid_memalign): Likewise.
36950         (__libc_calloc): Likewise.
36951         (__libc_realloc): Adjust for additional argument to
36952         malloc_printerr.
36953         (_int_free): Likewise.
36954         (malloc_consolidate): Likewise.
36955         (_int_realloc): Likewise.
36956         (_int_memalign): Don't touch corrupt arenas.
36957         * malloc/tst-malloc-backtrace.c: New test case.
36959         * Makefile (summarize-tests): Fix return value on success.
36961         * manual/string.texi (Envz Functions): Add envz_remove.
36963 2015-05-18  Roland McGrath  <roland@hack.frob.com>
36965         * sysdeps/posix/opendir.c: Include <stdbool.h>.
36966         (invalid_name): New function, broken out of ...
36967         (__opendirat): ... here.  Call it.
36968         (need_isdir_precheck): New function, broken out of ...
36969         (__opendirat): ... here.  Call it.
36970         Use __fxstatat64, not __xstatat64.
36971         (opendir_oflags): New function, broken out of ...
36972         (__opendirat): ... here.  Call it.
36973         (opendir_tail): New function, broken out of ...
36974         (__opendirat): ... here.  Call it.
36975         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
36976         opendir_tail, rather than punting to __opendirat.
36977         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
36979 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36981         * .gitignore: Ignore generated *.pyc.
36983 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
36985         * include/stdio.h: Define __need_wint_t.
36986         * test-skeleton.c: Avoid `for' loop initial declaration.
36987         * nptl/tst-initializers1.c: Use test-skeleton.c.
36989 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
36991         [BZ #18418]
36992         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
36994 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
36996         [BZ #16352]
36997         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
36998         (__ieee754_atanh): Force underflow exception for results with
36999         small absolute value.
37000         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
37001         (__ieee754_atanhf): Force underflow exception for results with
37002         small absolute value.
37003         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
37004         (__ieee754_atanh): Force underflow exception for results with
37005         small absolute value.
37006         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
37007         (__ieee754_atanhf): Force underflow exception for results with
37008         small absolute value.
37009         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
37010         (__ieee754_atanhl): Force underflow exception for results with
37011         small absolute value.
37012         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
37013         (__ieee754_atanhl): Force underflow exception for results with
37014         small absolute value.
37015         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
37016         (__ieee754_atanhl): Force underflow exception for results with
37017         small absolute value.
37018         * math/auto-libm-test-in: Do not allow missing underflow
37019         exceptions from atanh.
37020         * math/auto-libm-test-out: Regenerated.
37022         [BZ #18221]
37023         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
37024         2**-28 as threshold for returning x or +/- 1/x.
37025         * math/auto-libm-test-in: Add more tests of tan.
37026         * math/auto-libm-test-out: Regenerated.
37028         [BZ #18220]
37029         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
37030         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
37031         * math/auto-libm-test-in: Add another test of lgamma.
37032         * math/auto-libm-test-out: Regenerated.
37034 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
37036         * stdio-common/printf_fp.c (___printf_fp): Use abs.
37037         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
37038         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
37039         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
37040         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
37041         (ADD2A): Use fabs.  (SUB2A): Use fabs.
37042         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
37043         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
37044         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
37045         (log1): Use fabs.  (my_log2): Use fabs.
37046         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
37047         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
37048         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
37049         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
37050         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
37051         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
37052         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
37053         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
37054         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
37055         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
37056         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
37058 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
37060         [BZ #18217]
37061         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
37062         as threshold for returning 1 - x.
37063         * math/auto-libm-test-in: Add more tests of erfc.
37064         * math/auto-libm-test-out: Regenerated.
37066 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
37068         [BZ #18196]
37069         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
37070         threshold for large arguments.
37071         * math/auto-libm-test-in: Add another test of atan.
37072         * math/auto-libm-test-out: Regenerated.
37074         [BZ #16339]
37075         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
37076         (__log1p): Force underflow exception for results with small
37077         absolute value.
37078         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
37079         (__log1pf): Force underflow exception for results with small
37080         absolute value.
37081         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
37082         (__log1p): Force underflow exception for results with small
37083         absolute value.
37084         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
37085         (__log1pf): Force underflow exception for results with small
37086         absolute value.
37087         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
37088         (__log1pl): Force underflow exception for results with small
37089         absolute value.
37090         * math/auto-libm-test-in: Do not allow missing underflow
37091         exceptions from log1p.
37092         * math/auto-libm-test-out: Regenerated.
37094 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
37095             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37097         [BZ #16704]
37098         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
37100 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
37102         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
37103         (libmvec): New variable.
37104         * configure.ac: Added option for mathvec build.
37105         * configure: Regenerated.
37106         * mathvec/Depend: New file.
37107         * mathvec/Makefile: New file.
37108         * shlib-versions: Added libmvec.
37109         * math/Makefile: Added rule for libm.so installation.
37111         * bits/math-vector.h: New file.
37112         * bits/libm-simd-decl-stubs.h: New header.
37113         * math/Makefile (headers): Added new header
37114         libm-simd-decl-stubs.h.
37115         * math/math.h (__MATHCALL_VEC): New macro.
37117         * math/gen-libm-have-vector-test.sh: Script generates series of macros
37118         for conditions in testing functions.
37119         * math/Makefile: Added call of libm-have-vector-test.sh.
37120         * math/libm-test.inc (HAVE_VECTOR): New macros.
37122         * math/libm-test.inc: START refactored.
37123         * math/test-double.c (TEST_MATHVEC): Add define.
37124         * math/test-float.c: Likewise.
37125         * math/test-idouble.c: Likewise.
37126         * math/test-ifloat.c: Likewise.
37127         * math/test-ildoubl.c: Likewise.
37128         * math/test-ldouble.c: Likewise.
37129         * sysdeps/generic/math-tests-arch.h
37130         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
37131         architecture check.
37133         * math/test-double.c (FUNC_TEST): New macro.
37134         * math/test-float.c: Likewise.
37135         * math/test-idouble.c: Likewise.
37136         * math/test-ifloat.c: Likewise.
37137         * math/test-ildoubl.c: Likewise.
37138         * math/test-ldouble.c: Likewise.
37139         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
37141 2015-05-13  Roland McGrath  <roland@hack.frob.com>
37143         * sysdeps/nacl/fdopendir.c: New file.
37145         * dirent/scandir-tail.c: New file.
37146         * dirent/scandir64-tail.c: New file.
37147         * dirent/Makefile (routines): Add them.
37148         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
37149         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
37150         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
37151         [!SCANDIR] (SCANDIR_TAIL): New macro.
37152         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
37153         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
37154         (SCANDIRAT): Macro removed.
37155         (SCANDIR_TAIL): New macro.
37156         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
37157         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
37158         (SCANDIRAT): Just call __opendirat and __scandir_tail.
37159         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
37160         (READDIR): Macro removed.
37161         (SCANDIR_TAIL): New macro.
37162         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
37163         (SCANDIR_TAIL): New macro.
37165         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
37166         * dirent/scandir-cancel.c: ... to this new file.
37167         * dirent/Makefile (routines): Add it.
37168         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
37169         * sysdeps/unix/sysv/linux/i386/scandir64.c
37170         (SKIP_SCANDIR_CANCEL): Macro removed.
37171         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
37173         * dirent/tst-scandir.c: New file.
37174         * dirent/tst-scandir64.c: New file.
37175         * dirent/Makefile (tests): Add them.
37177 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
37179         [BZ #18409]
37180         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
37182 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37184         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
37185         list.
37187 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
37189         * benchtests/bench-strcoll.c: New benchmark.
37190         * benchtests/Makefile: Generate locales and run benchmark.
37191         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
37192         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
37193         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
37194         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
37195         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
37196         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
37197         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
37198         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
37199         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
37200         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
37201         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
37202         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
37203         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
37204         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
37205         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
37206         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
37207         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
37208         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
37209         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
37210         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
37211         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
37212         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
37213         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
37214         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
37216 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
37218         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
37219         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37221 2015-05-12  Roland McGrath  <roland@hack.frob.com>
37223         * posix/uname-values.h: New file.
37224         * posix/uname.c: Include that instead of <config-name.h>.
37225         * sysdeps/nacl/uname-values.h: New file.
37226         * sysdeps/arm/nacl/uname-values.h: New file.
37228 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
37230         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
37231         splitting into fields.
37233 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
37235         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
37236         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
37237         * locale/localeinfo.h: Add enum collation_encoding_type.
37238         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
37239         * programs/ld-collate.c (collate_output): Add encoding type info.
37240         * string/strcoll_l.c (STRDIFF): New function.
37241         * (STRCOLL): Use STRDIFF to skip over equal prefix.
37242         * wcsmbs/wcscoll_l.c: Define STRDIFF.
37244 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
37246         [BZ #18397]
37247         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
37248         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
37249         <fpu_control.h> instead of <math/fpu_control.c>.
37250         * sysdeps/mips/mips32/fpu/Makefile: New file.
37252 2015-05-11  Andreas Schwab  <schwab@suse.de>
37254         [BZ #18007]
37255         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
37256         nss_endgrent.
37257         (_nss_compat_endgrent): Call nss_endgrent.
37258         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
37259         nss_endpwent.
37260         (_nss_compat_endpwent): Call nss_endpwent.
37261         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
37262         needent, call nss_setspent only if non-zero.
37263         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
37264         (internal_endspent): Don't call nss_endspent.
37265         (_nss_compat_endspent): Call nss_endspent.
37266         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
37267         Remove.  All uses removed.
37268         (internal_setent): Remove parameter stayopen, add parameter
37269         stream.  Use it instead of global variable.
37270         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
37271         (internal_endent, internal_getent): Add parameter stream.  Use it
37272         instead of global variable.
37273         (CONCAT(_nss_files_end,ENTNAME))
37274         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
37275         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
37276         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
37277         uses removed.
37278         (internal_setent, internal_endent): Add parameter stream.  Use it
37279         instead of global variable.
37280         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
37281         stream.
37282         (get_next_alias): Add parameter stream.
37283         (_nss_files_getaliasent_r): Pass global stream.
37284         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
37285         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
37286         (_nss_files_gethostbyname4_r): Pass local stream to
37287         internal_setent, internal_getent and internal_endent.  Remove
37288         locking.
37290 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
37292         * tst-strfmon1.c (tests): Update expected currency symbol.
37294 2015-05-08  Roland McGrath  <roland@hack.frob.com>
37296         * sysdeps/nacl/gethostname.c: New file.
37298 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
37300         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
37301         and sinh.
37302         * math/auto-libm-test-out: Regenerated.
37303         * sysdeps/i386/fpu/libm-test-ulps: Update.
37304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37306 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
37308         [BZ #18125]
37309         * stdlib/tst-setcontext3.c: New file.
37310         * stdlib/tst-setcontext3.sh: New file.
37311         * stdlib/Makefile (tests): Add tst-setcontext3.
37312         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
37313         to verify test program created output file.
37314         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
37315         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
37316         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
37317         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
37319 2015-05-06  Roland McGrath  <roland@hack.frob.com>
37321         [BZ #18383]
37322         * elf/tst-tlsalign.c: New file.
37323         * elf/tst-tlsalign-static.c: New file.
37324         * elf/tst-tlsalign-lib.c: New file.
37325         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
37326         (tests-static): Add tst-tlsalign-static.
37327         (modules-names): Add tst-tlsalign-lib.
37328         (test-xfail-tst-tlsalign): New variable.
37329         (test-xfail-tst-tlsalign-static): New variable.
37331         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
37332         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
37334 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
37336         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
37337         csqrt, erfc, sin and sincos.
37338         * math/auto-libm-test-out: Regenerated.
37339         * sysdeps/i386/fpu/libm-test-ulps: Update.
37340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37342 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37344         * sysdeps/aarch64/libm-test-ulps: Update.
37346 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
37348         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
37349         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
37350         * math/auto-libm-test-out: Regenerated.
37351         * sysdeps/i386/fpu/libm-test-ulps: Update.
37352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37354 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
37356         [BZ #18265]
37357         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
37358         (wcsncpy): Likewise.
37360 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37362         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
37363         Assume __ASSUME_FALLOCATE is always true.
37364         * sysdeps/unix/sysv/linux/posix_fallocate64.c
37365         (__posix_fallocate64_l64): Likewise.
37366         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
37367         (posix_fallocate): Likewise.
37368         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
37369         (__posix_fallocate64_l64): Likewise.
37370         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
37371         [!__ASSUME_FALLOCATE]: Add comment.
37373 2015-05-05  Florian Weimer  <fweimer@redhat.com>
37375         * sysdeps/unix/sysv/linux/i386/Makefile
37376         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
37377         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
37378         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
37379         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
37380         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
37381         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
37382         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
37384 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
37386         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
37387         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
37388         tgamma.
37389         * math/auto-libm-test-out: Regenerated.
37390         * sysdeps/i386/fpu/libm-test-ulps: Update.
37391         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37393 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37395         * math/auto-libm-test-in: Add more tests of tgamma.
37396         * math/auto-libm-test-out: Regenerated.
37397         * sysdeps/i386/fpu/libm-test-ulps: Update.
37398         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37400         * math/auto-libm-test-in: Add more tests of tanh.
37401         * math/auto-libm-test-out: Regenerated.
37402         * sysdeps/i386/fpu/libm-test-ulps: Update.
37403         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37405         * math/auto-libm-test-in: Add more tests of tan.
37406         * math/auto-libm-test-out: Regenerated.
37407         * sysdeps/i386/fpu/libm-test-ulps: Update.
37408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37410         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
37411         * math/auto-libm-test-out: Regenerated.
37412         * sysdeps/i386/fpu/libm-test-ulps: Update.
37413         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37415         * math/auto-libm-test-in: Add another test of pow.
37416         * math/auto-libm-test-out: Regenerated.
37417         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37419         * math/auto-libm-test-in: Add more tests of lgamma.
37420         * math/auto-libm-test-out: Regenerated.
37421         * sysdeps/i386/fpu/libm-test-ulps: Update.
37422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37424         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
37425         log1p.
37426         * math/auto-libm-test-out: Regenerated.
37427         * sysdeps/i386/fpu/libm-test-ulps: Update.
37428         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37430 2015-05-01  Mark Wielaard  <mjw@redhat.com>
37432         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
37433         Elf64_Chdr structs and ELFCOMPRESS constants.
37435 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
37437         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
37438         expm1.
37439         * math/auto-libm-test-out: Regenerated.
37440         * sysdeps/i386/fpu/libm-test-ulps: Update.
37441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37443         * math/auto-libm-test-in: Add more tests of erf and erfc.
37444         * math/auto-libm-test-out: Regenerated.
37445         * sysdeps/i386/fpu/libm-test-ulps: Update.
37446         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37448 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
37450         * config.h.in (HAVE_AARCH64_BE): Add.
37452 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
37454         * math/auto-libm-test-in: Add more tests of csqrt.
37455         * math/auto-libm-test-out: Regenerated.
37456         * sysdeps/i386/fpu/libm-test-ulps: Update.
37457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37459         * math/auto-libm-test-in: Add more tests of cosh and sinh.
37460         * math/auto-libm-test-out: Regenerated.
37461         * sysdeps/i386/fpu/libm-test-ulps: Update.
37462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37464         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
37466 2015-04-29  Roland McGrath  <roland@hack.frob.com>
37468         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
37469         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
37471         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
37472         (euidaccess, eaccess): Define as weak aliases.
37474         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
37475         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
37476         but __suseconds_t is often 'long int' so some sources assume that
37477         type is being used (e.g. they use %ld to print tv_usec).
37479 2015-04-29  Florian Weimer  <fweimer@redhat.com>
37481         [BZ #18007]
37482         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
37483         (CVE-2014-8121)
37484         * nss/tst-nss-getpwent.c: New file.
37485         * nss/Makefile (tests): Add new test.
37487 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
37489         [BZ #18346]
37490         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
37491         exponents less than 48 as cases where high part of mantissa needs
37492         examining to determine whether argument is integral.
37493         * math/libm-test.inc (round_test_data): Add more tests.
37495 2015-04-28  Mark Wielaard  <mjw@redhat.com>
37497         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
37499 2015-04-27  David S. Miller  <davem@davemloft.net>
37501         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
37502         __tls_get_addr.
37503         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
37505 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
37507         [BZ #18333]
37508         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
37510 2015-04-27  Florian Weimer  <fweimer@redhat.com>
37512         [BZ #18333]
37513         * time/tzset.c (parse_tzname): Return error on memory allocation
37514         failure.
37515         * test-skeleton.c (struct temp_name_list): Change type of name
37516         member to non-const.
37517         (add_temp_file): Create a copy of the file name.
37518         (delete_temp_files): Deallocate memory.
37519         (create_temp_file): Add comment.
37521 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37523         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
37524         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
37526 2015-04-24  Roland McGrath  <roland@hack.frob.com>
37528         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
37529         * sysdeps/arm/configure: Regenerated.
37531 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37533         [BZ #17715]
37534         * time/tzfile.c (__tzfile_read): Check for large values of
37535         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
37536         * time/tzset.c (__tzstring_len): New function, based on the old
37537         __tzstring function.
37538         (__tzstring): Call __tzstring_len.
37539         (parse_tzname): New helper function extracted from
37540         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
37541         the input string.
37542         (parse_offset): New helper function extracted from
37543         __tzset_parse_tz.  Replace switch with fallthrough with
37544         initialization before sscanf.
37545         (parse_rule): Likewise.
37546         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
37547         new-style function definition.
37548         * timezone/Makefile (tests): Add tst-tzset.
37549         (tst-tzset.out): Dependencies on time zone files.
37550         (tst-tzset-ENV): Set TZDIR.
37551         (testdata/XT%): Copy crafted time zone files.
37552         * timezone/README: Mention crafted time zone files.
37553         * timezone/testdata/XT1, timezone/testdata/XT2,
37554         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
37555         files.
37556         * timezone/tst-tzset.c: New test.
37558 2015-04-24  Florian Weimer  <fweimer@redhat.com>
37560         * Makeconfig (+gccwarn): Remove -Winline.
37562 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37564         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
37566 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
37568         * NEWS: Mention sysconf() cache information support for s390.
37569         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
37571 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
37573         * math/k_casinh.c (__kernel_casinh): Use __copysign.
37574         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
37575         (__nearbyint): Likewise.
37576         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
37577         (copysignl): Likewise.
37579 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
37581         [BZ #18287]
37582         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
37583         based on padding.  (CVE-2015-1781)
37585 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37587         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
37588         libc-vdso.h.
37589         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
37590         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
37591         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
37592         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
37593         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
37594         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
37595         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
37596         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
37597         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
37598         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
37599         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
37600         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37601         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
37602         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
37603         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
37604         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
37605         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
37606         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
37607         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
37608         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
37609         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
37610         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
37611         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
37613 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
37615         * stdlib/setenv.c (__add_to_environ):
37616         Dump core quickly if setenv (..., NULL, ...) is called.
37617         This time, do it the right way, and pacify GCC with a pragma.
37619 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37621         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
37622         IMAP->l_prev cannot be null, and #if out the code for the contrary
37623         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
37624         believe that NS (&_dl_ns[NSID]) could point outside the array.
37626         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
37627         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
37628         before using NSID as an index.
37630 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
37632         [BZ #17825]
37633         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
37634         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
37635         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
37637 2015-04-17  Roland McGrath  <roland@hack.frob.com>
37639         Add preliminary port to Google Native Client on ARM.
37640         * abi-tags (.*-.*-nacl.*): New entry.
37641         * sysdeps/arm/nacl: New directory.
37642         * sysdeps/nacl: New directory.
37644 2015-04-16  David S. Miller  <davem@davemloft.net>
37646         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
37647         lowlevellock-futex.h
37649 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
37651         * sysdeps/tile/configure.ac: New file.
37652         * sysdeps/tile/configure: Regenerated.
37654 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
37656         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
37657         conditionals for weak_alias and libc_hidden_weak.
37658         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
37659         libc_hidden_weak and weak_alias.
37660         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
37661         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
37662         and weak_alias for static one.
37664 2015-04-15  David S. Miller  <davem@davemloft.net>
37666         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
37668 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37670         [BZ #18206]
37671         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
37672           Use signed comparision instead of substraction to avoid
37673           overflow bug.
37674         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
37675           Take the sign of ret.
37676         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
37677           Do not expect precise return values. Only the sign matters.
37678         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
37679         * wcsmbs/test-wcsncmp.c: New File.
37680         * string/test-strncmp.c: Add wcsncmp support.
37682 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
37684         [BZ #6792]
37685         * math/w_log1p.c: New file.
37686         * math/w_log1pf.c: Likewise.
37687         * math/w_log1pl.c: Likewise.
37688         * math/Makefile (libm-calls): Add w_log1p.
37689         * math/s_log1pl.c (log1pl): Remove weak_alias.
37690         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
37691         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
37692         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
37693         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
37694         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
37695         [NO_LONG_DOUBLE] (log1pl): Likewise.
37696         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
37697         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
37698         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
37699         (log1p): Remove long_double_symbol.
37700         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
37701         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
37702         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
37703         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
37704         remove weak_alias for corresponding log1p function.
37705         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
37706         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
37707         * sysdeps/ia64/fpu/w_log1p.c: New file.
37708         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
37709         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
37710         * math/libm-test.inc (log1p_test_data): Add errno expectations.
37712 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
37714         [BZ #18247]
37715         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
37716         decimal exponent by 1.
37717         * stdlib/tst-strtod-round-data: Add more tests.
37718         * stdlib/tst-strtod-round.c (tests): Regenerated.
37720 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
37722         * math/auto-libm-test-in: Add more tests of clog and clog10.
37723         * math/auto-libm-test-out: Regenerated.
37724         * sysdeps/i386/fpu/libm-test-ulps: Update.
37725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37727 2015-04-09  Roland McGrath  <roland@hack.frob.com>
37729         * Makeconfig (module-cppflags): Exclude all .v.i files.
37730         (skip-module-cppflags): Variable removed.
37732         * configure.ac (libc_config_ok): Initialize before reading
37733         preconfigure scripts, not after.
37734         * configure: Regenerated.
37736         * test-skeleton.c (TIMEOUT): Move #define to top level.
37737         (main): Grok environment variable TEST_DIRECT.  If set, print
37738         test expectation details into that file and then behave as if
37739         given --direct.
37741 2015-04-09  Florian Weimer  <fweimer@redhat.com>
37743         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
37744         warning on 32-bit.
37746 2015-04-08  David S. Miller  <davem@davemloft.net>
37748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37750 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37752         * math/auto-libm-test-in: Add more tests of atanh.
37753         * math/auto-libm-test-out: Regenerated.
37754         * sysdeps/i386/fpu/libm-test-ulps: Update.
37755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37757         * math/auto-libm-test-in: Add more tests of atan.
37758         * math/auto-libm-test-out: Regenerated.
37759         * sysdeps/i386/fpu/libm-test-ulps: Update.
37760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37762 2015-04-08  Florian Weimer  <fweimer@redhat.com>
37764         * elf/pldd.c (main): Rewrite to use struct
37765         scratch_buffer instead of extend_alloca.
37766         * elf/pldd-xx.c (find_maps): Likewise.
37767         * grp/initgroups.c: Include <scratch_buffer.h> instead of
37768         <alloca.h>.
37769         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
37770         scratch_buffer instead of extend_alloca.
37771         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
37772         grp/compat-initgroups.c.
37773         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
37774         Rewrite to use struct scratch_buffer instead of extend_alloca.
37775         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
37776         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
37778 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
37780         * math/auto-libm-test-in: Add more tests of cbrt.
37781         * math/auto-libm-test-out: Regenerated.
37782         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37784         * math/auto-libm-test-in: Add more tests of cabs.
37785         * math/auto-libm-test-out: Regenerated.
37786         * sysdeps/i386/fpu/libm-test-ulps: Update.
37787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37789         [BZ #18210]
37790         [BZ #18211]
37791         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
37792         (__ieee754_atan2): Set FE_TONEAREST mode for internal
37793         computations.
37794         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
37795         clog10.
37796         * math/auto-libm-test-out: Regenerated.
37797         * sysdeps/i386/fpu/libm-test-ulps: Update.
37798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37800         [BZ #18197]
37801         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
37802         (atan): Set FE_TONEAREST mode for internal computations.
37803         * math/auto-libm-test-in: Add more tests of atan.
37804         * math/auto-libm-test-out: Regenerated.
37806 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
37808         [BZ #17930]
37809         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
37811 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37813         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
37815 2015-04-07  Florian Weimer  <fweimer@redhat.com>
37817         * include/scratch_buffer.h: New file.
37818         * malloc/scratch_buffer_grow.c: Likewise.
37819         * malloc/scratch_buffer_grow_preserve.c: Likewise.
37820         * malloc/scratch_buffer_set_array_size.c: Likewise.
37821         * malloc/tst-scratch_buffer.c: Likewise.
37822         * malloc/Makefile (routines): Add scratch_buffer_grow.
37823         (tests): Add test case.
37824         * malloc/Versions (GLIBC_PRIVATE): Export
37825         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
37826         __libc_scratch_buffer_set_array_size.
37828 2015-04-06  Richard Henderson  <rth@redhat.com>
37830         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
37831         * sysdeps/alpha/fpu/libm-test-ulps: Update.
37833         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
37834         unsigned int before printing.
37836 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37838         [BZ #17596]
37839         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
37840         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
37842 2015-04-02  Florian Weimer  <fweimer@redhat.com>
37844         * include/libc-internal.h (libc_max_align_t): Define.
37846 2015-04-02  Andreas Schwab  <schwab@suse.de>
37848         [BZ #16850]
37849         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
37851 2015-04-02  Mel Gorman  <mgorman@suse.de>
37853         [BZ #17195]
37854         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
37855         as well as the main arena.
37857 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37859         [BZ #18185]
37860         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
37861         sharing L2 cache to 2 for Silvermont/Knights Landing.
37863 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37865         [BZ #17711]
37866         * config.make.in (have-protected-data): New.
37867         * configure.ac: Check linker support for protected data symbol.
37868         * configure: Regenerated.
37869         * elf/Makefile (modules-names): Add tst-protected1moda and
37870         tst-protected1modb if $(have-protected-data) is yes.
37871         (tests): Add tst-protected1a and tst-protected1b if
37872         $(have-protected-data) is yes.
37873         ($(objpfx)tst-protected1a): New.
37874         ($(objpfx)tst-protected1b): Likewise.
37875         (tst-protected1modb.so-no-z-defs): Likewise.
37876         * elf/tst-protected1a.c: New file.
37877         * elf/tst-protected1b.c: Likewise.
37878         * elf/tst-protected1mod.h: Likewise.
37879         * elf/tst-protected1moda.c: Likewise.
37880         * elf/tst-protected1modb.c: Likewise.
37882 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
37884         [BZ #17711]
37885         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
37886         indicates it is called from do_lookup_x on relocation against
37887         protected data, skip the data definion in the executable from
37888         copy reloc.
37889         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
37890         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
37891         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
37892         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
37893         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
37894         otherwise to 0.
37895         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37896         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
37897         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
37898         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
37899         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
37900         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
37902 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
37904         * sysdeps/nptl/pthread.h: Remove duplicate definition of
37905         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
37907 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
37909         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
37910         THREAD_SETMEM_NC.
37911         * sysdeps/x86_64/nptl/tls.h: Ditto.
37913 2015-03-27  Roland McGrath  <roland@hack.frob.com>
37915         * dlfcn/tststatic.c (main): Converted to ...
37916         (do_test): ... this.
37917         (TEST_FUNCTION): New macro.
37918         Include test-skeleton.c.
37920 2015-03-26  Alan Modra  <amodra@gmail.com>
37922         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
37923         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
37924         zero for undefined weak.
37925         (elf_machine_plt_conflict): Similarly.
37927 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37929         * math/auto-libm-test-in: Add more tests of acosh, asinh and
37930         atanh.
37931         * math/auto-libm-test-out: Regenerated.
37932         * sysdeps/i386/fpu/libm-test-ulps: Update.
37933         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37935         * math/auto-libm-test-in: Add another test of asin.
37936         * math/auto-libm-test-out: Regenerated.
37937         * sysdeps/i386/fpu/libm-test-ulps: Update.
37938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37940         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
37941         Remove macro.
37942         (LLL_EBX_REG): Likewise.
37943         (LLL_ENTER_KERNEL): Likewise.
37945         * math/auto-libm-test-in: Add more tests of asin.
37946         * math/auto-libm-test-out: Regenerated.
37947         * sysdeps/i386/fpu/libm-test-ulps: Update.
37948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37950         [BZ #18138]
37951         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
37952         libc_do_syscall_args): New structure.
37953         (INTERNAL_SYSCALL_MAIN_0): New macro.
37954         (INTERNAL_SYSCALL_MAIN_1): Likewise.
37955         (INTERNAL_SYSCALL_MAIN_2): Likewise.
37956         (INTERNAL_SYSCALL_MAIN_3): Likewise.
37957         (INTERNAL_SYSCALL_MAIN_4): Likewise.
37958         (INTERNAL_SYSCALL_MAIN_5): Likewise.
37959         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
37960         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
37961         Replace conditional definitions by conditional definitions of ....
37962         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
37963         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
37964         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
37965         (libpthread-sysdep_routines): Add libc-do-syscall.
37966         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
37967         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
37968         to __NR_futex not 240.
37970 2015-03-25  Alan Modra  <amodra@gmail.com>
37972         * NEWS: Advertise TLS optimization.
37973         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
37974         (DT_PPC_NUM): Increment.
37975         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
37976         (CHECK_STATIC_TLS): Use here.
37977         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
37978         TLS descriptors.
37979         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
37980         * sysdeps/powerpc/dl-tls.c: New file.
37981         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
37982         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
37983         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
37984         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
37985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
37986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
37987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
37989 2015-03-25  Alan Modra  <amodra@gmail.com>
37991         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
37992         for overlapping .opd entries" to "support...".
37993         * sysdeps/powerpc/powerpc64/configure: Regenerate
37995 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
37997         * math/auto-libm-test-in: Add more tests of acos.
37998         * math/auto-libm-test-out: Regenerated.
37999         * sysdeps/i386/fpu/libm-test-ulps: Update.
38000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38002         * math/auto-libm-test-in: Add more tests of expm1.
38003         * math/auto-libm-test-out: Regenerated.
38004         * sysdeps/i386/fpu/libm-test-ulps: Update.
38005         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38007 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
38009         * math/auto-libm-test-in: Add more tests of cosh and sinh.
38010         * math/auto-libm-test-out: Regenerated.
38011         * sysdeps/i386/fpu/libm-test-ulps: Update.
38012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38014         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
38015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38017         * math/auto-libm-test-in: Add more tests of log2.
38018         * math/auto-libm-test-out: Regenerated.
38019         * sysdeps/i386/fpu/libm-test-ulps: Update.
38020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38022 2015-03-23  Roland McGrath  <roland@hack.frob.com>
38024         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
38025         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
38026         _IO_IS_APPENDING bit in READ_WRITE instead.
38028 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38030         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
38031         (__determine_cpumask_size): Replace extend_alloca with a
38032         variable-length array.  Do not treat res == 0 as an error.
38034 2015-03-23  Florian Weimer  <fweimer@redhat.com>
38036         [BZ #18100]
38037         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
38038         and integer overflow.
38039         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
38040         (main): Add integer overflow tests.
38041         * manual/pattern.texi (Calling Wordexp): Document additional use
38042         for WRDE_SYNTAX.
38044 2015-03-23  Alan Modra  <amodra@gmail.com>
38046         * config.h.in: Remove HAVE_ASM_PPC_REL16.
38047         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
38048         and false branch of conditional.
38049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
38050         Likewise.
38052 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
38054         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
38055         libc-modules.h
38056         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
38057         unused declaration of _hurd_intr_rpc_msg_in_trap.
38058         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
38059         defined instead of whether it is non-zero.
38060         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
38061         input constraint instead of both input and output constraint.  Use ecx
38062         clobber instead of %ecx.
38063         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
38064         mutex_unlock): Use a statement expression instead of an expression list.
38065         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
38066         type to vm_size_t instead of vm_address_t.
38067         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
38068         defined instead of whether it is non-zero.
38069         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
38070         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
38071         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
38072         comparisons with mapaddr.
38073         * nscd/nscd-client.h: Include <time.h>.
38074         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
38075         9th parameter to __vm_region instead of int.
38076         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
38077         * scripts/check-local-headers.sh (exclude): Add device/,
38078         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
38079         cthreads.h.
38081 2015-03-19  Roland McGrath  <roland@hack.frob.com>
38083         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
38084         to account for alignment padding.
38085         * sysdeps/arm/memmove.S: Likewise.
38087 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
38089         * sysdeps/unix/sysv/linux/generic/README: New file.
38091 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
38093         [BZ #18138]
38094         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
38095         (futex_abstimed_wait)
38096         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
38097         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
38098         of lll_futex_timed_wait.
38100 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
38102         [BZ #17542]
38103         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
38105 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
38107         [BZ #17090]
38108         [BZ #17620]
38109         [BZ #17621]
38110         [BZ #17628]
38111         * NEWS: Update.
38112         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
38113         entries with Static TLS too.  Skip entries past the end of the
38114         allocated DTV, from Alan Modra.
38115         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
38116         Static TLS DTV entry set up from...
38117         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
38118         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
38119         * nptl/allocatestack.c (init_one_static_tls): ... and here...
38120         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
38121         for Static TLS.
38122         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
38123         that the slot we find is associated with the given map before
38124         using its generation count.
38125         * nptl_db/db_info.c: Include ldsodefs.h.
38126         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
38127         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
38128         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
38129         (link_map::l_tls_offset): New struct field.
38130         (dtv_t::counter): Likewise.
38131         (rtld_global): New struct.
38132         (_rtld_global): New rtld variable.
38133         (dl_tls_dtv_slotinfo_list): New rtld global field.
38134         (dtv_slotinfo_list): New struct.
38135         (dtv_slotinfo): Likewise.
38136         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
38137         (td_lookup): Rename to...
38138         (td_mod_lookup): ... this.  Use new mod parameter instead of
38139         LIBPTHREAD_SO.
38140         * nptl_db/td_thr_tlsbase.c: Include link.h.
38141         (dtv_slotinfo_list, dtv_slotinfo): New functions.
38142         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
38143         addresses even if the DTV is out of date or missing them.
38144         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
38145         index zero-length arrays.
38146         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
38147         (td_lookup): Make it a macro implemented in terms of...
38148         (td_mod_lookup): ... this declaration.
38149         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
38150         (DB_MAIN_VARIABLE): Likewise.
38152 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
38154         [BZ #18134]
38155         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
38157 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
38159         * stdlib/setenv.c (__add_to_environ): Revert previous change.
38161 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
38163         [BZ #18128]
38164         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
38165         (atomic_add, atomic_increment_and_test)
38166         (atomic_decrement_and_test): Fix 64-bit arithmetic.
38168 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
38170         * stdlib/setenv.c (__add_to_environ):
38171         Dump core quickly if setenv (..., NULL, ...) is called.
38173 2015-03-13  Roland McGrath  <roland@hack.frob.com>
38175         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
38176         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
38177         all the necessary asm magic in one place.
38178         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
38179         using those.
38181 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
38183         [BZ #14906]
38184         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
38185         traced file mtime. Use consistent log message.
38186         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
38187         (register_traced_file): Call install_watches. Always set mtime.
38188         (invalidate_cache): Iterate over all trace files. Call install_watches.
38189         (inotify_check_files): Don't inline. Handle watching parent
38190         directories and configuration file movement in and out.
38191         (handle_inotify_events): New function.
38192         (main_loop_poll): Call handle_inotify_events.
38193         (main_loop_epoll): Likewise.
38194         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
38195         (struct traced_file): Use array of inotify fds. Add parent directory,
38196         and basename.
38197         (struct database_dyn): Remove unused file_mtime.
38198         (init_traced_file): New inline function.
38199         (define_traced_file): New macro.
38200         * nss/nss_db/db-init.c: Use define_traced_file.
38201         (_nss_db_init): Use init_traced_file.
38202         * nss/nss_files/files-init.c: Use define_traced_file.
38203         (_nss_files_init): Use init_traced_file.
38205 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
38207         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
38208         [_LIBC]: Do not include <stdlib.h>.
38209         [!_LIBC] (abort): Remove declaration.
38210         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
38211         _FP_STATIC_ASSERT instead of conditionally calling abort.
38212         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
38213         (_FP_EXTEND_CNAN): Likewise.
38214         (FP_TRUNC): Likewise.
38215         (__FP_CLZ): Likewise.
38216         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
38218 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
38220         * manual/string.texi (XPG basename): Fix prototype.
38222 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38224         [BZ #18080]
38225         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
38226         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38227         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
38228         (__setcontext): Likewise.
38229         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
38230         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
38231         Call rt_sigprocmask syscall one time to set new signal mask
38232         and retrieve the current signal mask instead of two calls.
38233         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
38234         (__swapcontext): Likewise.
38235         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
38236         * stdlib/tst-setcontext2.c: New file.
38238 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
38240         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38242 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
38244         [BZ #18093]
38245         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
38246         the wrong size.
38248 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38250         [BZ #18043]
38251         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
38253 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38255         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
38256         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
38257         Remove define.
38258         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
38259         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
38260         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
38261         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
38262         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
38263         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
38264         define.
38265         * nptl_db/td_symbol_list.c (td_lookup): Remove
38266         HAVE_ASM_GLOBAL_DOT_NAME code.
38267         * sysdeps/powerpc/powerpc64/configure.ac: Remove
38268         HAVE_ASM_GLOBAL_DOT_NAME check.
38269         * sysdeps/powerpc/powerpc64/configure: Regenerate.
38270         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
38271         (DOT_LABEL): Remove define.
38272         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
38273         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
38274         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
38275         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
38276         (__TLS_GET_ADDR): Likewise.
38277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
38278         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
38280 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
38282         [BZ #18111]
38283         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
38284         (_FPU_SETCW): Initialize cw from fpsr before storing.
38285         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
38286         (fesetexceptflag): Rewrite using fpu_control.h.
38287         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
38289 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
38291         [BZ #18110]
38292         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
38293         asms.
38294         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38296 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
38298         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
38299         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
38300         abort.
38301         (_FP_FMA): Likewise.
38302         (_FP_DIV): Likewise.
38304 2015-03-10  Roland McGrath  <roland@hack.frob.com>
38306         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
38307         with 0 in that case.
38308         * Makefile (summarize-tests): New canned sequence, factored out of
38309         commands for targets tests and xtests.  Display summary lines that
38310         don't start with PASS: or XFAIL: rather than ones that do start with
38311         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
38312         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
38313         do start with ERROR: or FAIL:.
38314         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
38315         (except for [$(build-shared) = yes]).
38316         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
38317         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
38318         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
38319         * nptl/Makefile: Revert 2015-03-04 changes.
38320         [$(CXX) empty] (tests-unsupported): New variable.
38321         * debug/Makefile: Likewise.
38323         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
38324         gnulib file.  Replace __attribute with __attribute__ throughout.
38326 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
38328         * sysdeps/hppa/fpu/libm-test-ulps: Update.
38330 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38332         [BZ #18104]
38333         * math/auto-libm-test-in: Add another test of pow.
38334         * math/auto-libm-test-out: Regenerated.
38336 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38338         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
38339         $(config-cflags-nofma).
38341 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
38343         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
38344         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
38345         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
38346         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
38347         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
38348         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
38349         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
38350         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
38351         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
38352         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
38353         Add comment on closing #endif.
38355 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38357         * posix/wordexp.c (CHAR_IN_SET): New macro.
38358         (parse_param): Use it.
38360 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38362         * sysdeps/powerpc/fpu/libm-test-ulps: update.
38364 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38366         [BZ #18043]
38367         * posix/wordexp.c (parse_param): Fix buffer overflow.
38368         * posix/wordexp-test.c (test_case): Add test case.
38370 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38372         [BZ #18042]
38373         * posix/wordexp.c (parse_backtick): Fix off-by-one.
38374         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
38376 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
38378         [BZ #18043]
38379         * posix/wordexp-test.c (test_case): Add test for BZ #18043
38380         (do_bz18043): Delete.
38381         (at_page_end): New.
38382         (testit): Refactor to have words at the edge of unreadable page.
38384 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
38386         [BZ #16734]
38387         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
38388         Cleanup read-only streams as well.
38389         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
38391 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38393         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
38394         <bits/libc-lockP.h>
38396 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
38398         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
38399         on [__KERNEL__].
38400         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
38401         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
38402         * soft-fp/op-common.h (_FP_DECL): Likewise.
38404 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
38406         * elf/ifuncdep2.c (global): Replace
38407         __attribute__((visibility("protected"))) with
38408         asm (".protected global").
38409         * elf/ifuncmod1.c (global): Likewise.
38410         * elf/ifuncmod5.c (global): Likewise.
38412 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
38414         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
38415         <asm/sfp-machine.h> instead of <sfp-machine.h>.
38417 2015-03-06  Roland McGrath  <roland@hack.frob.com>
38419         * manual/install.texi (Configuring and compiling):
38420         Document test-wrapper-env-only.
38421         * INSTALL: Regenerated.
38423 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
38425         [BZ #18043]
38426         * posix/wordexp.c (parse_param): Fix buffer overflow.
38427         * posix/wordexp-test.c (do_bz18043): Add test case.
38429 2015-03-06  Vincent Bernat  <vincent@bernat.im>
38431         * time/tst-strptime2.c (do_test): Ensure failing tests are
38432         reported correctly.
38433         * time/tst-strptime3.c (do_test): Likewise.
38435 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
38437         Fix aio_error thread-safety.
38438         * sysdeps/pthread/aio_error.c: New file
38439         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
38440         synchronization.
38442 2015-03-06  Florian Weimer  <fweimer@redhat.com>
38444         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
38445         (group_number, vfprintf): Use it.
38446         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
38447         (JUMP, REF): Use it.
38448         (WORK_BUFFER_SIZE): New enum constant.
38449         (process_arg, vfprintf): Use it.
38451 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
38453         * manual/errno.texi (Error Messages): Complete example function
38454         by adding missing #define.
38455         (program_invocation_name): Add statement indicating GNU
38456         extension and reference which header file declares the variable.
38457         (program_invocation_short_name): Likewise.
38459 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
38461         * manual/errno.texi (Error Messages): Delete strerror ISO C89
38462         compatibility note.
38464 2015-03-05  Roland McGrath  <roland@hack.frob.com>
38466         * Makeconfig (test-wrapper-env-only): New variable.
38467         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
38468         then use that with $(test-wrapper-env-only) rather than using
38469         $(test-wrapper-env) $(run-program-env) $($*-ENV).
38471 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
38473         [BZ #18082]
38474         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
38475         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
38476         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
38477         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
38478         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
38479         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
38480         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
38481         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
38482         Likewise.
38483         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
38484         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
38485         Likewise.
38486         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
38487         Likewise.
38488         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
38489         Likewise.
38490         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
38491         Likewise.
38492         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
38493         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
38494         Likewise.
38495         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
38496         Likewise.
38497         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
38498         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
38500 2015-03-04  Roland McGrath  <roland@hack.frob.com>
38502         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
38503         (ETH_ALEN): New macro.
38504         (struct ether_addr): Use it for length of ether_addr_octet.
38506         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
38507         (setdb): Don't call __nss_configure_lookup for "rpc".
38508         (do_test): Don't call test_rpc.
38509         (output_rpcent, test_rpc): Functions moved ...
38510         * sunrpc/test-rpcent.c: ... to this new file.
38511         * sunrpc/Makefile (tests): Add it.
38513         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
38514         __xpg_sigpause.
38515         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
38516         * nptl/tst-signal6.c: Likewise.
38517         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
38518         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
38520         * configure.ac (libc_cv_cxx_link_ok): New check.
38521         Reset CXX to empty if it fails to link.
38522         * configure: Regenerated.
38523         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
38524         bug-atexit3-lib only if $(CXX) is nonempty.
38525         * nptl/Makefile (tests): Likewise for tst-cancel24.
38526         (tests, tests-static): Likewise for tst-cancel24-static.
38527         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
38528         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
38529         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
38530         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
38532 2015-03-04  Andreas Schwab  <schwab@suse.de>
38534         [BZ #17631]
38535         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
38536         for non-GCC compilers.
38537         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
38538         Likewise.
38540 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
38542         [BZ #17776]
38543         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
38544         integer before bitwise and assembly operations.
38545         (feclearexcept): Likewise.
38546         * math/test-fenvinline.c: New file.
38547         * math/Makefile: Add test-fenvinline test.
38549 2015-03-03  Alan Modra  <amodra@gmail.com>
38551         [BZ #16512]
38552         * scripts/localplt.awk: Strip off symbol version.
38553         * NEWS: Mention bug fix.
38555 2015-03-02  Roland McGrath  <roland@hack.frob.com>
38557         * sysdeps/pthread/timer_routines.c
38558         (timer_free_list, thread_free_list, thread_active_list): Make static.
38560 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
38562         [BZ #17779]
38563         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38564         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38565         Undefine.
38566         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
38567         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38568         Likewise.
38569         * sysdeps/unix/sysv/linux/sh/kernel-features.h
38570         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
38571         Likewise.
38573 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
38575         [BZ #18036]
38576         * posix/fnmatch_loop.c (END): Detect invalid pattern.
38577         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
38579 2015-03-02  Andreas Schwab  <schwab@suse.de>
38581         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
38582         variable name.
38584 2015-03-02  Florian Weimer  <fweimer@redhat.com>
38586         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
38587         Return error status.
38589 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
38591         [BZ #15969]
38592         * locale/findlocale.c (_nl_find_locale): Introduce const
38593         version of loc_name and drop unsafe type casts.
38595 2015-02-27  Roland McGrath  <roland@hack.frob.com>
38597         * dlfcn/tststatic2.c (main): Converted to ...
38598         (do_test): ... this.
38599         (TEST_FUNCTION): New macro.
38600         Include test-skeleton.c.
38602 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
38604         [BZ #17711]
38605         * elf/Makefile (tests): Add vismain only if PIE is enabled.
38606         (tests-pie): Add vismain.
38607         (CFLAGS-vismain.c): New.
38608         * elf/vismain.c: Add comments for PIE requirement.
38610 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38612         [BZ #18046]
38613         [BZ #18047]
38614         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
38615         0x1p-56L as threshold for just returning the argument.
38616         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
38617         0x1p-32L as threshold for just returning the argument.
38618         * math/auto-libm-test-in: Add more tests of atanh.
38619         * math/auto-libm-test-out: Regenerated.
38620         * sysdeps/i386/fpu/libm-test-ulps: Update.
38621         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
38623 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38625         * string/bcopy.c (bcopy): Call memmove for performance.
38627 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
38629         * string/bzero.c (__bzero): Call memset for performance.
38631 2015-02-27  John David Anglin  <dave.anglin@bell.net>
38633         [BZ #18068]
38634         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
38635         to 00100000.
38637 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
38639         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
38641 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38643         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
38644         (__kernel_standard): Use CSTR macro when setting exc.name.
38645         * sysdeps/ieee754/Makefile [$(subdir) = math]
38646         (CFLAGS-k_standard.c): Remove variable.
38648         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
38649         setting p and q from "else if" to "else".
38650         (qzero): Likewise.
38651         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
38652         (qone): Likewise.
38653         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
38654         (qzerof): Likewise.
38655         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
38656         (qonef): Likewise.
38657         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
38658         (qzero): Likewise.
38659         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
38660         (qone): Likewise.
38662         [BZ #18038]
38663         [BZ #18039]
38664         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
38665         return pi/2 for arguments below 0x1p-113L.
38666         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
38667         return pi/2 for arguments below 0x1p-106L.
38668         * math/auto-libm-test-in: Add more tests of acos.
38669         * math/auto-libm-test-out: Regenerated.
38671         [BZ #16351]
38672         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
38673         (MO): New macro.
38674         (__ieee754_asin): Force underflow exception for results with small
38675         absolute value.
38676         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
38677         (MO): New macro.
38678         (__ieee754_asinf): Force underflow exception for results with
38679         small absolute value.
38680         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
38681         (__ieee754_asin): Force underflow exception for results with small
38682         absolute value.
38683         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
38684         (__ieee754_asinf): Force underflow exception for results with
38685         small absolute value.
38686         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
38687         (__ieee754_asinl): Force underflow exception for results with
38688         small absolute value.
38689         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
38690         (__ieee754_asinl): Force underflow exception for results with
38691         small absolute value.
38692         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
38693         (__ieee754_asinl): Force underflow exception for results with
38694         small absolute value.
38695         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
38696         Include <math.h>.
38697         * math/auto-libm-test-in: Do not mark underflow exceptions as
38698         possibly missing for bug 16351.
38699         * math/auto-libm-test-out: Regenerated.
38701         [BZ #18030]
38702         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
38703         of power of 2 down when low part has opposite sign.
38704         * math/libm-test.inc (logb_test_data): Add more tests.
38706 2015-02-26  Andreas Schwab  <schwab@suse.de>
38708         [BZ #18032]
38709         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
38710         over collating symbol inside a bracket expression.  Minor cleanup.
38711         * posix/tst-fnmatch3.c (do_test): Add test case.
38713 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
38715         [BZ #18029]
38716         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
38717         Adjust exponent of power of 2 down when low part has opposite
38718         sign.
38719         * math/libm-test.inc (ilogb_test_data): Add more tests.
38721 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
38723         [BZ #15969]
38724         * locale/findlocale.c (_nl_find_locale): Fix constness error in
38725         the previous change.
38727         [BZ #15969]
38728         * locale/findlocale.c (_nl_find_locale): Retry archive search
38729         after alias expansion.
38731 2015-02-25  Roland McGrath  <roland@hack.frob.com>
38733         * iconv/tst-iconv3.c (main): Converted to ...
38734         (do_test): ... this.
38735         (TEST_FUNCTION): New macro.
38736         Include test-skeleton.c.
38738         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
38739         (convert): Make function static.
38740         (test_unalign): Likewise.  Add const to argument pointee types.
38741         (main): Replace with static function do_test.
38742         Print "Succeeded." only if RET is zero.
38743         (TEST_FUNCTION): New macro.
38744         Include test-skeleton.c.
38746         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
38747         returns a null pointer.
38749 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38751         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
38752         to __memcpy_ppc only for static builds.
38754 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
38756         [BZ #18020]
38757         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
38758         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
38759         * math/auto-libm-test-in: Add more tests of asinh.
38760         * math/auto-libm-test-out: Regenerated.
38761         * sysdeps/i386/fpu/libm-test-ulps: Update.
38762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38764 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
38766         [BZ #15850]
38767         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
38768         and ip6_mtuinfo definitions here.
38769         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
38770         in this define too.  Update comment.
38772 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
38774         * elf/sprof.c (load_shobj): Tweak error message to match others.
38776 2015-02-24  Kevin Easton  <kevin@guarana.org>
38778         [BZ #16145] (partial fix)
38779         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
38780         to reduce lock contention.
38782 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
38784         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
38785         (struct timex): Update time comment.
38786         (ADJ_SETOFFSET): Define.
38788 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38790         [BZ #18019]
38791         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
38792         2**56 not 2**28 as threshold for log (2x) formula.
38793         * math/auto-libm-test-in: Add more tests of acosh.
38794         * math/auto-libm-test-out: Regenerated.
38795         * sysdeps/i386/fpu/libm-test-ulps: Update.
38796         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38798 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38800         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
38801         parenthesis around the buf assignment.
38802         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
38804 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
38806         [BZ #16783]
38807         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
38808         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
38809         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
38810         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38811         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
38812         * math/libm-test.inc (scalb_test_data): Add more tests.
38814 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
38816         [BZ #17916]
38817         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
38818         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
38820 2015-02-24  Eric Rannaud  <e@nanocritical.com>
38822         [BZ #17523]
38823         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
38824         * io/bits/fcntl2.h (open): Use it.
38825         (openat): Likewise.
38826         * io/open.c (__libc_open): Likewise.
38827         * io/open64.c (__libc_open64): Likewise.
38828         * io/open64_2.c (__open64_2): Likewise.
38829         * io/open_2.c (__open_2): Likewise.
38830         * io/openat.c (__openat): Likewise.
38831         * io/openat64.c (__openat64): Likewise.
38832         * io/openat64_2.c (__openat64_2): Likewise.
38833         * io/openat_2.c (__openat_2): Likewise.
38834         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
38835         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
38836         * sysdeps/posix/open64.c (__libc_open64): Likewise.
38837         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
38838         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
38839         (__open_nocancel): Likewise.
38840         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
38841         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
38842         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
38844 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
38846         [BZ #14841]
38847         * resolv/gethnamaddr.c (getanswer): Skip logging if
38848         RES_USE_DNSSEC is set.
38849         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
38851 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
38853         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
38855 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
38857         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
38858         201304L, for Unicode 7.
38860 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
38862         [BZ #17836]
38863         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
38864         shared library.  Add gmon-start.os otherwise.
38865         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
38866         $(objpfx)gmon-start.os if builing shared library.
38867         ($(objpfx)g$(static-start-installed-name)): Likewise.
38869 2015-02-23  Andreas Schwab  <schwab@suse.de>
38871         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
38873 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
38875         [BZ #17269]
38876         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
38877         (enlarge_userbuf): Likewise.
38879 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
38881         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
38882         * math/atest-exp.c (TIMEOUT): Adjust to 200.
38883         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
38884         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
38886 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
38888         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
38889         expression inside statement expression.
38891 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
38893         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
38894         <sysdeps/nptl/lowlevellock.h> and remove macros and
38895         functions that are now defined there.
38896         (SYS_futex): Remove.
38897         (lll_compare_and_swap): Remove.
38898         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
38900 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
38902         [BZ #17999]
38903         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
38904         instead of scandirat.
38905         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
38906         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
38907         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
38908         __scandirat.
38909         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
38910         (__scandirat): Declare.  Use libc_hidden_proto.
38911         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
38912         Remove variable.
38913         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
38915 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38917         [BZ #15319]
38918         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
38919         (MO): New macro.
38920         (__ieee754_atan2): For results with small absolute value, force
38921         underflow exception and remove excess range and precision from
38922         return value.
38923         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
38924         (MO): New macro.
38925         (__ieee754_atan2f): For results with small absolute value, force
38926         underflow exception and remove excess range and precision from
38927         return value.
38928         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
38929         (MO): New macro.
38930         (__atan): For results with small absolute value, force underflow
38931         exception and remove excess range and precision from return value.
38932         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
38933         (MO): New macro.
38934         (__atanf): For results with small absolute value, force underflow
38935         exception and remove excess range and precision from return value.
38936         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
38937         <math.h>.
38938         (__ieee754_atan2): Force underflow exception for results with
38939         small absolute value.
38940         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
38941         <math_private.h>.
38942         (atan): Force underflow exception for results with small absolute
38943         value.
38944         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
38945         (__atanf): Force underflow exception for results with small
38946         absolute value.
38947         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
38948         <math.h>.
38949         (__atanl): Force underflow exception for results with small
38950         absolute value.
38951         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
38952         (__atanl): Force underflow exception for results with small
38953         absolute value.
38954         * sysdeps/x86/fpu/bits/mathinline.h
38955         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
38956         (__ieee754_atan2): Only define inline for long double.
38957         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
38958         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
38959         * math/auto-libm-test-in: Do not mark underflow exceptions as
38960         possibly missing for bug 15319.  Add more tests of atan2.
38961         * math/auto-libm-test-out: Regenerated.
38962         * math/libm-test.inc (casin_test_data): Do not mark underflow
38963         exceptions as possibly missing for bug 15319.
38964         (casinh_test_data): Likewise.
38965         * sysdeps/i386/fpu/libm-test-ulps: Update.
38967 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
38969         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
38970         * sysdeps/mips/bits/endian.h: Fix comments.
38972 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
38974         [BZ #17996]
38975         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
38976         (hdestroy_r): Likewise.
38977         (hsearch_r): Likewise.
38978         (__hcreate_r): Declare and use libc_hidden_proto.
38979         (__hdestroy_r): Likewise.
38980         (__hsearch_r): Likewise.
38981         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
38982         (hcreate): Call __hcreate_r instead of hcreate_r.
38983         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
38984         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
38985         as weak alias of __hcreate_r.
38986         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
38987         __hdestroy_r.
38988         (hsearch_r): Rename to __hsearch_r and define as weak alias of
38989         __hsearch_r.
38990         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
38991         Remove variable.
38992         (test-xfail-XPG4/search.h/linknamespace): Likewise.
38993         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
38994         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
38995         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
38997 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
38999         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
39000         arena_lock into a single arena_get.
39002 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
39004         * dl-reloc.c: Inlucde libc-internal.h.
39005         (_dl_try_allocate_static_tls): Call ALIGN_UP.
39006         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
39007         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
39008         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
39009         (grow_heap): Likewise.
39010         * malloc/malloc.c: Include libc-internal.h.
39011         (do_check_malloc): Call powerof2.
39012         (sysmalloc): Use pagesize. Call ALIGN_UP.
39013         (systrim): Use pagesize.
39014         (mremap_chunk): Use pagesize. Call ALIGN_UP.
39015         (__libc_valloc): Use pagesize.
39016         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
39018 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39020         [BZ #17991]
39021         * include/sys/resource.h (__getrlimit64): Declare.  Use
39022         libc_hidden_proto.
39023         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
39024         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
39025         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
39026         getrlimit64.
39027         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
39028         __getrlimit64.
39029         [!getrlimit64] (getrlimit64): Define as weak alias of
39030         __getrlimit64.  Use libc_hidden_weak.
39031         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
39032         using __getrlimit64 not __new_getrlimit64.
39033         (__GI_getrlimit64): Likewise.
39034         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
39035         Likewise.
39036         (__GI_getrlimit64): Likewise.
39037         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
39039         (getrlimit): Add __getrlimit64 alias.
39040         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
39041         Likewise.
39042         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
39043         Remove variable.
39044         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
39045         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
39047 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
39049         * libio/fileops.c: Add missing sys/mman.h
39050         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
39052 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
39054         * manual/math.texi (Errors in Math Functions): Clarify goals
39055         regarding inexact and underflow exceptions.
39057 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39059         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
39060         * sysdeps/mips/memset.S: Ditto.
39062 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
39064         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
39066 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39068         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
39069         (__v1longjmp): Remove versioned symbol.
39070         (__v1siglongjmp): Remove alias and versioned symbol.
39071         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
39072         (__v2siglongjmp): Likewise.
39074 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39076         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
39078 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
39080         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
39082 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39084         [BZ #17987]
39085         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
39086         zero result does not depend on the sign resulting from
39087         subtraction.
39088         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39089         Likewise.
39090         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39091         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39092         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39093         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39094         * math/libm-test.inc (remquo_test_data): Add more tests.
39096 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
39098         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
39099         Problem reported by J William Piggott.
39101 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
39103         [BZ #17978]
39104         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
39105         products 4 * y and 2 * y where those would overflow.
39106         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39107         Likewise.
39108         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
39109         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
39110         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
39111         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
39112         * math/libm-test.inc (remquo_test_data): Add more tests.
39114         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
39116         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
39117         [defined _COMPILING_NEWLIB].
39118         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
39119         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
39121         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
39122         [!defined __mips_isa_rev || __mips_isa_rev < 6].
39124 2015-02-16  Torvald Riegel  <triegel@redhat.com>
39126         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
39127         acquired.
39129 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
39131         [BZ #17792]
39132         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
39133         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
39134         HOST_STACK_END_ADDR): Likewise.
39136 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
39138         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
39139         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
39140         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
39142 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39144         * sysdeps/generic/c++-types.data: New file.
39145         * sysdeps/generic/ld.abilist: New file.
39146         * sysdeps/generic/libBrokenLocale.abilist: New file.
39147         * sysdeps/generic/libanl.abilist: New file.
39148         * sysdeps/generic/libc.abilist: New file.
39149         * sysdeps/generic/libcrypt.abilist: New file.
39150         * sysdeps/generic/libdl.abilist: New file.
39151         * sysdeps/generic/libm.abilist: New file.
39152         * sysdeps/generic/libpthread.abilist: New file.
39153         * sysdeps/generic/libresolv.abilist: New file.
39154         * sysdeps/generic/librt.abilist: New file.
39156 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39158         [BZ #17569]
39159         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
39160         Compute absolute value of x as modified by fmod, not original
39161         value of x.
39162         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
39163         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
39164         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
39165         RUN_TEST_ffI_f1_mod8.
39166         (remquo_test_data): Add more tests.
39168 2015-02-13  Roland McGrath  <roland@hack.frob.com>
39170         * sysdeps/init_array/pt-crti.S: New file.
39172 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
39174         [BZ #17967]
39175         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
39176         __builtin_fmaf instead of relying on contraction of a * b + c.
39178 2015-02-12  J William Piggott  <elseifthen@gmx.com>
39180         [BZ #17969]
39181         * manual/time.texi: correct the zoneinfo path in the TZ Variable
39182         node.
39184 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39186         [BZ #17964]
39187         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
39188         __builtin_fma instead of relying on contraction of a * b + c.
39190 2015-02-12  Roland McGrath  <roland@hack.frob.com>
39192         * Makeconfig (ASFLAGS): Add -Werror=undef.
39193         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
39194         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
39195         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
39197         * Makeconfig (after-link): New variable.
39198         (+link-pie, +link-pie-tests): Use it.
39199         (+link-static, +link-static-tests): Likewise.
39200         (+link, +link-tests): Likewise.
39201         * Makerules (build-module, build-module-asneeded): Likewise.
39202         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
39203         Likewise.
39204         * elf/Makefile ($(objpfx)ld.so): Likewise.
39206 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
39208         [BZ #17965]
39209         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
39210         both struct timeval and struct timespec.
39212 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
39214         [BZ #16560]
39215         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
39216         and redefine.
39217         (__ieee754_exp2l): Do not multiply small fractional parts by
39218         M_LN2l.
39219         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
39220         small argument.
39221         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
39222         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
39223         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
39224         * math/auto-libm-test-in: Add more tests of exp2.
39225         * math/auto-libm-test-out: Regenerated.
39227 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39229         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
39230         unaligned path.
39232 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39234         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
39235         little endian.
39237 2015-02-12  Andreas Schwab  <schwab@suse.de>
39239         [BZ #15790]
39240         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
39241         Filter out elision flags from value returned in kind.
39242         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
39243         * nptl/tst-pthread-mutexattr.c: New file.
39245 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39247         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
39248         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
39249         into gnu-gnu, and update comment to refer to abi-tags.
39251 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
39253         [BZ #15467]
39254         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
39255         (__sincos): Set errno to EDOM for infinite argument.
39256         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
39257         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
39258         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
39259         (__sincosl): Set errno to EDOM for infinite argument.
39260         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
39261         (__sincosl): Set errno to EDOM for infinite argument.
39262         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
39263         (__sincosl): Set errno to EDOM for infinite argument.
39264         * math/libm-test.inc (sincos_test_data): Test errno setting.
39266 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
39268         * string/strxfrm_l.c: Remove #define STRCMP.
39269         * string/strcoll_l.c: Remove #define STRLEN.
39270         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
39271         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
39273 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
39275         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
39276         * sysdeps/mips/mips32/sfp-machine.h: ... here.
39277         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
39278         * sysdeps/mips/mips64/Makefile: ... here.
39279         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
39280         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
39281         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
39282         * sysdeps/mips/mips64/sfp-machine.h: ... here.
39283         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
39284         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
39285         * sysdeps/mips/mips64/n64/Implies: Likewise.
39287 2015-02-10  Roland McGrath  <roland@hack.frob.com>
39289         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
39290         <sys/time.h>, <string.h>, and <errno.h>.
39291         (dest_offset, dest_address, value, zero): Remove unused variables.
39292         (ldouble): Remove typedef.
39293         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
39294         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
39295         1).  Fix code style.
39296         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
39297         (check): Function removed.
39298         (CHECK): New macro.
39299         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
39300         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
39301         Don't call set_sigaction_FP and remove_sigaction_FP here.
39302         (ldouble_test): Just use 'long double' as macro argument, no need for
39303         the 'ldouble' typedef.
39304         (do_test): Set up SIGFPE handler at start, using plain signal rather
39305         than sigaction.  Fix code style.
39307 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
39309         [BZ #17949]
39310         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
39311         jump label.
39313 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39315         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
39316         * sysdeps/powerpc/powerpc32/configure: Regenerated.
39318         * sysdeps/powerpc/configure.ac: Remove file.
39319         * sysdeps/powerpc/configure: Likewise.
39321         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39322         [sysdep_routines]: Remove wordcopy-power6 object.
39323         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
39324         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
39325         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
39326         (__memmove_ppc32): Likewise.
39327         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
39328         file.
39329         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
39330         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
39331         Remove preprocessor.
39333         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
39334         [sysdep_routines]: Remove wide chars objects.
39335         [wcsmbs]: New rule for wide char objects.
39337         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39338         Remove wordcopy-power6 obejct.
39339         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
39340         Use local call for wordcopy and memcpy symbols.
39341         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
39342         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
39343         implementation for loader.
39344         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
39346         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39347         Remove wordcopy-power7 object.
39348         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
39349         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
39350         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
39351         (_wordcopy_fwd_dest_aligned): Likewise.
39352         (_wordcopy_bwd_aligned): Likewise.
39353         (_wordcopy_bwd_dest_aligned): Likewise.
39355         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
39356         Rewrite to call __memmove_ppc instead of include default
39357         implementation.
39359         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39360         Remove wide chars objects.
39361         [wcsmbs]: New rule for wide char objects.
39363 2015-02-09  Andreas Schwab  <schwab@suse.de>
39365         [BZ #17912]
39366         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
39367         in terms of __O_DIRECTORY.
39369 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39371         * time/getdate.c: Include <stdbool.h>.
39372         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
39373         call PTR_MANGLE.
39374         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
39375         PTR_DEMANGLE.
39377 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
39379         Add ersatz _Static_assert on older C hosts
39380         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
39381         pre-C11 C platform that is not known to support _Static_assert.
39383 2015-02-07  Richard Braun  <rbraun@sceen.net>
39385         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
39386         sigstate.
39387         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
39389 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
39391         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
39392         priority against unexistent AIO_PRIO_DELTA_MAX.
39393         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
39394         instead of int.
39395         * misc/fchflags.c (fchflags): Likewise.
39396         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
39397         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
39398         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
39399         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
39400         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
39401         Declare macros.
39402         [__USE_MISC] (chflags, fchflags): Declare functions.
39403         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
39404         EINVAL when nfds is greater than FD_SETSIZE.
39405         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
39406         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
39407         45.
39408         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
39409         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
39410         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
39411         MACH_RCV_TIMED_OUT.
39412         * hurd/hurd/signal.h (_hurd_self_sigstate,
39413         _hurd_critical_section_lock, _hurd_critical_section_unlock):
39414         Explicit casts from void *.
39415         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
39416         * abi-tags: Rename gnu-gnu os into gnu.
39418         [BZ #4719]
39419         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
39420         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
39421         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
39422         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
39423         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
39424         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
39426         [BZ #17944]
39427         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
39428         duplicates ADDR->sun_path with sockaddr LEN limitation.
39429         * sysdeps/mach/hurd/connect.c: Include <string.h>
39430         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
39431         * sysdeps/mach/hurd/sendmsg.c: Likewise.
39432         * sysdeps/mach/hurd/sendto.c: Likewise.
39433         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
39434         implementing it by hand.
39436 2015-02-06  Roland McGrath  <roland@hack.frob.com>
39438         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
39439         Use sfi_breg on ldr.
39440         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
39441         Likewise.
39443         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
39444         it's defined.
39445         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
39446         Test SIGSETXID only if it's defined.
39448         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
39450         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
39451         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
39453         * nptl/tst-align2.c: Moved ...
39454         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
39455         * nptl/Makefile (tests): Remove tst-align2.
39456         * sysdeps/unix/sysv/linux/Makefile
39457         [$(subdir) = nptl] (tests): Add tst-align-clone.
39458         * nptl/tst-getpid1.c: Moved ...
39459         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
39460         * nptl/tst-getpid2.c: Moved ...
39461         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
39462         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
39463         * sysdeps/unix/sysv/linux/Makefile
39464         [$(subdir) = nptl] (tests): ... here.
39465         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
39466         * sysdeps/unix/sysv/linux/Makefile
39467         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39469         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
39470         Drop trailing \n from perror argument.  Use return rather than exit.
39472         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
39473         on [SA_SIGINFO].
39474         * nptl/tst-cancel21.c (do_test): Likewise.
39475         * debug/tst-backtrace6.c: Include <signal.h> first thing.
39476         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
39477         [!SA_SIGINFO]: Make it a stub test.
39479         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
39480         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
39482         * posix/tst-getlogin.c: Move to ...
39483         * login/tst-getlogin.c: ... here.
39484         * posix/Makefile (tests): Move tst-getlogin to ...
39485         * login/Makefile (tests): ... here.
39487         * libio/tst-atime.c (do_test): Move local variables SV and E
39488         inside [ST_NOATIME] conditional.
39490         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
39492         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
39494         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
39495         (wait_code): New function replaces macro.
39496         Call nanosleep rather than syscall.
39498         * nptl/pt-system.c: Rewritten.  Put everything under
39499         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39500         Use IFUNC to redirect when possible.
39502         * nptl/pt-longjmp.c: Rewritten.  Put everything under
39503         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39504         Use IFUNC to redirect when possible.
39506         * nptl/pt-fork.c: Rewritten.  Put everything under
39507         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
39508         Use IFUNC to redirect when possible.
39509         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
39511         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
39512         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
39513         unconditionally nowadays.  This included the only reference to
39514         __vdso_clock_gettime that appears outside libc proper.
39515         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
39516         Remove version set (containing only __vdso_clock_gettime).
39517         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
39518         Add attribute_hidden.
39519         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
39520         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
39521         libc_hidden_data_def.
39522         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
39523         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
39525         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
39526         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
39527         setrpcent, and getrpcport to ...
39528         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
39529         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
39530         getrpcbynumber_r, and getrpcent_r to ...
39531         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
39532         * inet/getrpcbyname.c: Moved ...
39533         * sunrpc/getrpcbyname.c: ... here.
39534         * inet/getrpcbyname_r.c: Moved ...
39535         * sunrpc/getrpcbyname_r.c: ... here.
39536         * inet/getrpcbynumber.c: Moved ...
39537         * sunrpc/getrpcbynumber.c: ... here.
39538         * inet/getrpcbynumber_r.c: Moved ...
39539         * sunrpc/getrpcbynumber_r.c: ... here.
39540         * inet/getrpcent.c: Moved ...
39541         * sunrpc/getrpcent.c: ... here.
39542         * inet/getrpcent_r.c: Moved ...
39543         * sunrpc/getrpcent_r.c: ... here.
39544         * inet/Makefile (routines): Move those to ...
39545         * sunrpc/Makefile (routines): ... here.
39546         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
39547         the $(subdirs) list.
39548         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
39549         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
39550         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
39551         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
39553         * elf/Makefile (routines): Include $(all-dl-routines), not just
39554         $(dl-routines).
39555         (rtld-routines): Likewise.  Use = rather than :=.
39556         * sysdeps/aarch64/Makefile [$(subdir) = elf]
39557         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
39558         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
39559         * sysdeps/arm/Makefile: Likewise.
39560         * sysdeps/i386/Makefile: Likewise.
39561         * sysdeps/x86_64/Makefile: Likewise.
39562         * sysdeps/hppa/Makefile [$(subdir) = elf]
39563         (sysdep_routines, sysdep-rtld-routines): Don't add
39564         $(sysdep-dl-routines) to these.
39565         * sysdeps/ia64/Makefile: Likewise.
39566         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
39567         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
39568         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
39569         Don't add dl-static to these; sysdep-dl-routines alone is enough.
39570         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
39571         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
39572         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
39573         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
39574         * sysdeps/powerpc/Makefile [$(subdir) = elf]
39575         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
39576         these; sysdep-dl-routines alone is enough.
39578 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
39580         [BZ #17932]
39581         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
39582         where multiplication results in zero and third argument is finite
39583         and nonzero.
39584         * math/auto-libm-test-in: Add more tests of fma.
39585         * math/auto-libm-test-out: Regenerated.
39587         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
39588         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
39589         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
39590         (_FP_CMP_EQ): Likewise.
39591         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
39593         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
39594         extra argument CHECK_NAN.  Redefine as wrapper around
39595         _FP_EXTEND_CNAN.
39597 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
39599         * version.h (RELEASE): Set to "stable".
39600         (VERSION): Set to "2.21"
39601         * include/features.h (__GLIBC_MINOR__): Set to 21.
39603         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
39605 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
39606             Paul Eggert  <eggert@cs.ucla.edu>
39608         [BZ #16618]
39609         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
39610         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
39611         size in bytes. Store needed elements in wpmax. Use needed size
39612         in bytes for extend_alloca.
39614 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
39616         * manual/install.texi: Latest tested versions are GCC 4.9.2,
39617         binutls 2.25, and texinfo 5.2.
39618         * INSTALL: Regenerate.
39619         * sysdeps/nios2/configure: Regenerate.
39620         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
39621         * manual/contrib.texi: Update.
39622         * po/be.po: Update.
39623         * po/bg.po: Update.
39624         * po/ca.po: Update.
39625         * po/cs.po: Update.
39626         * po/da.po: Update.
39627         * po/de.po: Update.
39628         * po/el.po: Update.
39629         * po/eo.po: Update.
39630         * po/es.po: Update.
39631         * po/fi.po: Update.
39632         * po/fr.po: Update.
39633         * po/gl.po: Update.
39634         * po/hr.po: Update.
39635         * po/hu.po: Update.
39636         * po/ia.po: Update.
39637         * po/id.po: Update.
39638         * po/it.po: Update.
39639         * po/ja.po: Update.
39640         * po/ko.po: Update.
39641         * po/lt.po: Update.
39642         * po/nb.po: Update.
39643         * po/nl.po: Update.
39644         * po/pl.po: Update.
39645         * po/pt_BR.po: Update.
39646         * po/ru.po: Update.
39647         * po/rw.po: Update.
39648         * po/sk.po: Update.
39649         * po/sl.po: Update.
39650         * po/sv.po: Update.
39651         * po/tr.po: Update.
39652         * po/uk.po: Update.
39653         * po/vi.po: Update.
39654         * po/zh_CN.po: Update.
39655         * po/zh_TW.po: Update.
39657         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
39658         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
39659         * sysdeps/hppa/dl-irel.h: Remove #warning.
39660         * sysdeps/hppa/entry.h: Provide prototype for
39661         __canonicalize_funcptr_for_compare and cast argument.
39662         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
39663         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
39664         * sysdeps/hppa/sotruss-lib.c: New file.
39665         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
39666         (atomic_compare_and_exchange_val_acq): Use __typeof__.
39667         (atomic_compare_and_exchange_bool_acq): Likewise.
39668         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
39669         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
39671         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
39672         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
39673         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
39675 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
39677         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
39678         called function in non-PIC case.
39680 2015-01-31  David S. Miller  <davem@davemloft.net>
39682         * sysdeps/sparc/sparc32/bits/atomic.h
39683         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
39684         unlock not after it.
39685         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
39686         volatile register usage warnings from the compiler.
39688         * sysdeps/sparc/nptl/sem_init.c: Delete.
39689         * sysdeps/sparc/nptl/sem_post.c: Delete.
39690         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
39691         * sysdeps/sparc/nptl/sem_wait.c: Delete.
39692         * sysdeps/sparc/sparc32/sem_init.c: New file.
39693         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
39694         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
39695         padding explicitly initialized.
39696         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
39697         padding for in-semaphore spinlock.
39698         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
39699         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
39700         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
39701         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
39702         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
39703         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
39704         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
39705         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
39706         version.
39707         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
39708         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
39710 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
39712         [BZ #17801]
39713         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39714         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
39715         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
39716         New.
39717         (index_AVX_Fast_Unaligned_Load): Likewise.
39718         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
39719         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
39720         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
39721         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
39722         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
39723         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
39724         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
39725         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
39726         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
39728 2015-01-29  Andreas Schwab  <schwab@suse.de>
39730         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
39732 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
39734         [BZ #17892]
39735         * nscd/nscd_stat.c (send_stats): Initialize DATA.
39737 2015-01-28  Martin Sebor  <msebor@redhat.com>
39739         * math/README.libm-test: Clarify. Add "How to read the test output."
39741 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
39743         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
39744         Define to 0.
39746 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
39748         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
39749         (__HAVE_64B_ATOMICS): Define to 0.
39751 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39753         [BZ #17885]
39754         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
39755         value to set as new flag.
39757         [BZ #16576]
39758         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
39759         and use _ARCH_PPCSQ instead.
39760         (__ieee754_sqrt): Likewise.
39761         (__ieee754_sqrtf): Likewise.
39762         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
39763         _ARCH_PPCSQ is defined.
39764         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
39765         fsqrt instruction.
39766         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
39767         _ARCH_PPCSQ is defined.
39768         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
39769         fsqrts instruction.
39770         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
39772 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39774         * iconv/loop.c: Suppress array out of bound warning caused by GCC
39775         bug (GCC BZ #64739).
39777 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
39779         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
39780         Mark _retval as used.
39781         (lll_futex_wake_unlock): Likewise.
39782         (lll_futex_timed_wait_requeue_pi): Likewise.
39784         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
39785         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
39786         register variables.
39788         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
39789         libm_hidden_def.
39791         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
39792         (__bswap_64): Mark as __always_inline.
39794 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
39796         [BZ #15378]
39797         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
39798         when none of the search directories exist.
39800 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
39802         [BZ #17869]
39803         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
39804         power8 in .machine directive.
39806         [BZ #17868]
39807         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
39808         set dependency from opd value.
39810 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39812         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
39813         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
39814         architecture.
39816 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
39818         [BZ #17870]
39819         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
39820         with uint64_t.
39821         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
39822         (uint64_t) 1.
39823         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
39824         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
39825         Replace 1UL with (uint64_t) 1.
39826         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
39827         int with uint64_t.
39829 2015-01-23  Roland McGrath  <roland@hack.frob.com>
39831         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
39832         (if_freenameindex): Likewise.
39834         * resource/getrlimit64.c: Add missing libc_hidden_def.
39836 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
39838         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
39839         __label__.
39840         (_FP_FMA): Likewise.
39841         (_FP_TO_INT_ROUND): Likewise.
39842         (_FP_FROM_INT): Likewise.
39844 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39846         [BZ #16418]
39847         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
39848         Make code racy and cancel safe.
39850 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
39852         * sysdeps/arm/unwind-resume.h: Fix copyright year.
39853         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
39854         attribution.
39856         * pwd/tst-getpw.c: Rewrite.
39858         [BZ #17702]
39859         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
39860         (modules-names): Add moddummy1 and moddummy2.
39861         ($(objpfx)tst-rec-dlopen): Define.
39862         * dlfcn/moddummy1.c: New file.
39863         * dlfcn/moddummy2.c: New file.
39864         * dlfcn/tst-rec-dlopen.c: New file.
39865         * elf/dl-cache.c (_dl_load_cache_lookup):
39866         Return char*. Copy result with alloca/strcpy/strdup.
39867         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
39868         returns char*. Free cached. If not saving realname
39869         free cached.
39870         * elf/dl-open.c (dl_open_worker): Do not assert that
39871         _r_debug->r_state is RT_CONSISTENT.
39872         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
39873         returns char*.
39875 2015-01-21  Torvald Riegel  <triegel@redhat.com>
39876             Carlos O'Donell  <carlos@redhat.com>
39878         [BZ #12674]
39879         * nptl/sem_waitcommon.c: New file.
39880         * nptl/sem_wait.c: Include sem_waitcommon.c.
39881         (__sem_wait_cleanup, do_futex_wait): Remove.
39882         (__new_sem_wait): Adapt.
39883         (__new_sem_trywait): New function.
39884         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
39885         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
39886         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
39887         (sem_timedwait): Adapt.
39888         * nptl/sem_post.c (__new_sem_post): Adapt.
39889         (futex_wake): New function.
39890         (__old_sem_post): Add release MO fence.
39891         * nptl/sem_open.c (sem_open): Adapt.
39892         * nptl/sem_init.c (__new_sem_init): Adapt.
39893         (futex_private_if_supported): New function.
39894         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
39895         (__old_sem_getvalue): Add using previous code.
39896         * sysdeps/nptl/internaltypes.h: Adapt.
39897         * nptl/tst-sem13.c (do_test): Adapt.
39898         * nptl/tst-sem11.c (main): Adapt.
39899         * nptl/sem_trywait.c: Remove.
39900         * nptl/DESIGN-sem.txt: Remove.
39901         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
39902         (gen-as-const-headers): Remove structsem.sym.
39903         * nptl/structsem.sym: Remove.
39904         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
39905         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
39906         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
39907         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
39908         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
39909         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
39910         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
39911         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
39912         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
39913         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
39914         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
39915         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
39916         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
39917         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
39918         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
39919         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
39920         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
39921         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
39922         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
39923         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
39924         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
39925         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
39927 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
39929         * INSTALL: Regenerated.
39931         * po/libc.pot: Regenerated.
39933 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
39934             Sandra Loosemore  <sandra@codesourcery.com>
39935             Andrew Jenner  <andrew@codesourcery.com>
39936             Joseph Myers  <joseph@codesourcery.com>
39937             Nathan Sidwell  <nathan@codesourcery.com>
39939         * NEWS: Mention new Nios II port.
39940         * sysdeps/nios2/Implies: New file.
39941         * sysdeps/nios2/Makefile: New file.
39942         * sysdeps/nios2/Subdirs: New file.
39943         * sysdeps/nios2/Versions: New file.
39944         * sysdeps/nios2/__longjmp.S: New file.
39945         * sysdeps/nios2/abort-instr.h: New file.
39946         * sysdeps/nios2/backtrace.c: New file.
39947         * sysdeps/nios2/bits/endian.h: New file.
39948         * sysdeps/nios2/bits/fenv.h: New file.
39949         * sysdeps/nios2/bits/link.h: New file.
39950         * sysdeps/nios2/bits/setjmp.h: New file.
39951         * sysdeps/nios2/bsd-_setjmp.S: New file.
39952         * sysdeps/nios2/bsd-setjmp.S: New file.
39953         * sysdeps/nios2/configure: New generated file.
39954         * sysdeps/nios2/configure.ac: New file.
39955         * sysdeps/nios2/crti.S: New file.
39956         * sysdeps/nios2/crtn.S: New file.
39957         * sysdeps/nios2/dl-init.c: New file.
39958         * sysdeps/nios2/dl-machine.h: New file.
39959         * sysdeps/nios2/dl-sysdep.h: New file.
39960         * sysdeps/nios2/dl-tls.h: New file.
39961         * sysdeps/nios2/dl-trampoline.S: New file.
39962         * sysdeps/nios2/gccframe.h: New file.
39963         * sysdeps/nios2/gmp-mparam.h: New file.
39964         * sysdeps/nios2/jmpbuf-offsets.h: New file.
39965         * sysdeps/nios2/jmpbuf-unwind.h: New file.
39966         * sysdeps/nios2/ldsodefs.h: New file.
39967         * sysdeps/nios2/libc-tls.c: New file.
39968         * sysdeps/nios2/libm-test-ulps: New file.
39969         * sysdeps/nios2/machine-gmon.h: New file.
39970         * sysdeps/nios2/math-tests.h: New file.
39971         * sysdeps/nios2/math_private.h: New file.
39972         * sysdeps/nios2/memusage.h: New file.
39973         * sysdeps/nios2/nptl/Makefile: New file.
39974         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
39975         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
39976         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
39977         * sysdeps/nios2/nptl/pthreaddef.h: New file.
39978         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
39979         * sysdeps/nios2/nptl/tls.h: New file.
39980         * sysdeps/nios2/preconfigure: New file.
39981         * sysdeps/nios2/s_fma.c: New file.
39982         * sysdeps/nios2/s_fmaf.c: New file.
39983         * sysdeps/nios2/setjmp.S: New file.
39984         * sysdeps/nios2/sfp-machine.h: New file.
39985         * sysdeps/nios2/sotruss-lib.c: New file.
39986         * sysdeps/nios2/stackguard-macros.h: New file.
39987         * sysdeps/nios2/stackinfo.h: New file.
39988         * sysdeps/nios2/start.S: New file.
39989         * sysdeps/nios2/sysdep.h: New file.
39990         * sysdeps/nios2/tls-macros.h: New file.
39991         * sysdeps/nios2/tst-audit.h: New file.
39992         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
39993         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
39994         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
39995         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
39996         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
39997         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
39998         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
39999         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
40000         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
40001         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
40002         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
40003         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
40004         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
40005         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
40006         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
40007         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
40008         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
40009         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
40010         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
40011         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
40012         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
40013         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
40014         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
40015         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
40016         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
40017         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
40018         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
40019         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
40020         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
40021         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
40022         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
40023         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
40024         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
40025         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
40026         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
40027         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
40028         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
40029         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
40030         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
40031         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
40032         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
40033         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
40034         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
40035         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
40037 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40039         [BZ #17844]
40040         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
40041         (getutent): Use weak_alias in non SHARED case
40042         and default_symbol_version in SHARED case.
40043         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
40044         (getutent_r, pututline): Likewise.
40045         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
40046         (getutid): Likewise.
40047         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
40048         (getutid_r): Likewise.
40049         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
40050         (getutline): Likewise.
40051         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
40052         (getutline_r): Likewise.
40053         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
40054         (updwtmp): Likewise.
40056 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
40058         [BZ #17848]
40059         * sysdeps/s390/s390-32/memcmp.S
40060         (memcmp_g5): Rename to __memcmp_g5.
40061         * sysdeps/s390/s390-32/memcpy.S
40062         (memcpy_g5): Rename to __memcpy_g5.
40063         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40064         (memcpy_mvcle) Rename to __memcpy_mvcle.
40065         * sysdeps/s390/s390-32/memset.S
40066         (memset_g5): Rename to __memset_g5.
40067         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
40068         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40069         and use prefixed functions.
40070         * sysdeps/s390/s390-32/multiarch/memcmp.S
40071         (memcmp_z196): Rename to __memcmp_z196.
40072         (memcmp_z10): Rename to __memcmp_z10.
40073         (memcmp): Set alias to __memcmp_g5.
40074         (bcmp): Set alias to __memcmp_g5.
40075         * sysdeps/s390/s390-32/multiarch/memcpy.S
40076         (memcpy_z196): Rename to __memcpy_z196.
40077         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40078         (memcpy_z10): Rename to __memcpy_z10.
40079         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40080         (memcpy): Set alias to __memcpy_g5.
40081         * sysdeps/s390/s390-32/multiarch/memset.S
40082         (memset_z196): Rename to __memset_z196.
40083         Jump to __memset_mvcle instead of memset_mvcle.
40084         (memset_z10): Rename to __memset_z10.
40085         Jump to __memset_mvcle instead of memset_mvcle.
40086         (memset_mvcle) Rename to __memset_mvcle.
40087         (memset): Set alias to __memset_g5.
40088         * sysdeps/s390/s390-64/memcmp.S
40089         (memcmp_z900): Rename to __memcmp_z900.
40090         * sysdeps/s390/s390-64/memcpy.S
40091         (memcpy_z900): Rename to __memcpy_z900.
40092         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40093         (memcpy_mvcle) Rename to __memcpy_mvcle.
40094         * sysdeps/s390/s390-64/memset.S
40095         (memset_z900): Rename to __memset_z900.
40096         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
40097         (IFUNC_RESOLVE): Prefix ifunc-resolve function
40098         and use prefixed functions.
40099         * sysdeps/s390/s390-64/multiarch/memcmp.S
40100         (memcmp_z196): Rename to __memcmp_z196.
40101         (memcmp_z10): Rename to __memcmp_z10.
40102         (memcmp): Set alias to __memcmp_z900.
40103         (bcmp): Set alias to __memcmp_z900.
40104         * sysdeps/s390/s390-64/multiarch/memcpy.S
40105         (memcpy_z196): Rename to __memcpy_z196.
40106         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40107         (memcpy_z10): Rename to __memcpy_z10.
40108         Jump to __memcpy_mvcle instead of memcpy_mvcle.
40109         (memcpy): Set alias to __memcpy_z900.
40110         * sysdeps/s390/s390-64/multiarch/memset.S
40111         (memset_z196): Rename to __memset_z196.
40112         Jump to __memset_mvcle instead of memset_mvcle.
40113         (memset_z10): Rename to __memset_z10.
40114         Jump to __memset_mvcle instead of memset_mvcle.
40115         (memset_mvcle) Rename to __memset_mvcle.
40116         (memset): Set alias to __memset_z900.
40118 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
40120         [BZ #17748]
40121         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
40122         __fesetenv instead of fesetenv.
40124 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
40126         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
40127         macro.
40129 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40131         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
40132         regression on LE.
40134         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
40135         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
40136         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40137         strncmp-power8 object.
40138         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40139         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
40140         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
40141         * NEWS: Update.
40143 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
40144             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40146         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
40147         trailing byte check.
40149 2015-01-13  David S. Miller  <davem@davemloft.net>
40151         * include/signal.h (__sigreturn): Guard with __USE_MISC.
40153 2015-01-13  Roland McGrath  <roland@hack.frob.com>
40155         * login/logout.c (logout): Use memset rather than bzero.
40156         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
40157         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
40158         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
40159         (_gethtbyaddr): Likewise.
40160         * locale/programs/simple-hash.c (bcopy): Macro removed.
40162 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40164         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40165         Add strcmp-power8 object.
40166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40167         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
40168         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
40169         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
40170         __strcmp_power8 implementation.
40171         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
40172         * NEWS: Update.
40174         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
40175         Add strncpy-power8 and stpncpy-power8 objects.
40176         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40177         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
40178         implementations.
40179         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
40180         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
40181         __stpncpy_power8 implementation.
40182         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
40183         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
40184         __strncpy_power8 implementation.
40185         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
40186         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
40187         * NEWS: Update.
40189         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
40190         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
40191         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
40193         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40194         strncat-power8 object.
40195         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
40196         __strcat_power8 implementation.
40197         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40198         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
40199         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
40200         optimized strcat for power8.
40202         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
40203         strcpy-power8 and stpcpy-power8 objects.
40204         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
40205         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
40206         implementations.
40207         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
40208         multiarch stpcpy implementation for POWER8.
40209         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
40210         multiarch strcpy implementation for POWER8.
40211         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
40212         __strcpy_power8 function.
40213         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
40214         stpcpy for POWER8.
40215         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
40216         strcpy for POWER8.
40217         * NEWS: Update.
40219 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
40221         [BZ #16009]
40222         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
40223         weights and rules. Use do_xfrm_cached if data fits in cache,
40224         do_xfrm otherwise.  Moved former main loop to...
40225         * (do_xfrm_cached): New function.
40226         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
40227         find_idx, find_position and stack_push.
40228         * (find_idx): New function.
40229         * (find_position): Likewise.
40230         * localedata/sort-test.sh: Added test run for do_xfrm.
40231         * localedata/xfrm-test.c (main): Added command line option
40232         -nocache to run the test with strings that are too large for
40233         the STRXFRM cache.
40235 2015-01-13  Torvald Riegel  <triegel@redhat.com>
40237         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
40238         variable to lll_futex_wake call, not the value itself.
40240 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
40242         [BZ #17803]
40243         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
40244         twom64.  Adjust value to 0x1p-64L.
40245         (__scalblnl): Only return standard underflowing result for K <=
40246         -64 not K <= -63; adjust exponent for underflowing result by 64
40247         not 63.
40248         * math/libm-test.inc (scalbn_test_data): Add more tests.
40249         (scalbln_test_data): Likewise.
40251         [BZ #17834]
40252         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
40253         0x1p63L.
40254         (__scalblnl): Get new exponent of adjusted subnormal value from ES
40255         not HX.
40256         * math/libm-test.inc (scalbn_test_data): Add more tests.
40257         (scalbln_test_data): Likewise.
40259 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40260             Stefani Seibold  <stefani@seibold.net>
40262         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
40263         (sysdep_routines): Add dl-vdso here, ...
40264         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
40265         (sysdep_routines): ... not here.
40266         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
40267         fallback when vDSO is not presented.
40268         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
40269         Define with libc_hidden_proto/libc_hidden_data_def definitions.
40270         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
40271         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
40272         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
40273         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
40274         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
40275         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
40276         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
40277         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
40278         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
40279         fallback configurable symbol when vDSO is not available.
40280         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
40281         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
40282         be able to redefine fallback symbol when vDSO is not available.
40283         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
40284         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
40286 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40288         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
40289         (TLS_INIT_TP): Add tm_capable initialization.
40290         (TLS_DEFINE_INIT_TP): Likewise.
40291         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
40292         TCB.
40293         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
40294         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
40295         calculation.
40296         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
40297         transactoion is lock elision is built and TCB tm_capable is set.
40298         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
40299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
40300         (INTERNAL_SYSCALL_NCS): Likewise.
40301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
40302         (INTERNAL_SYSCALL_NCS): Likewise.
40303         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
40305         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
40306         for powerpc.
40307         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40308         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
40309         and remove it for 32 bits case.
40310         [pthread_rwlock_t] (__rwelision): New field for lock elision.
40311         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
40312         initialization.
40313         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
40314         Disable lock elision with rdlocks if elision is not available.
40316         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
40317         (sysdep_routines): Add lock elision objects.
40318         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
40319         [pthread_mutex_t] (__spins): Rework to add lock elision field.
40320         [pthread_mutex_t] (__elision): Add field.
40321         [__PTHREAD_SPINS]: Adjust to init lock elision field.
40322         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
40323         elision definitions for powerpc.
40324         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
40325         implementation of lock elision for powerpc.
40326         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
40327         implementation of timed lock elision for powerpc.
40328         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
40329         implementation of trylock with lock elision for powerpc.
40330         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
40331         implementaion of unlock for lock elision for powerpc.
40332         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
40333         automatic enable lock elision for mutexes.
40334         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
40335         transaction execution definitions for powerpc.
40336         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
40337         definitions.
40338         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
40339         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
40340         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
40341         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
40342         * NEWS: Update.
40344 2015-01-09  Roland McGrath  <roland@hack.frob.com>
40346         * sysdeps/posix/shm-directory.c: Use <> rather than ""
40347         for #include of <shm-directory.h>.
40349 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
40351         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
40352         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
40354 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
40356         [BZ #17791]
40357         * NEWS: Mention bug fix.
40358         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
40359         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
40360         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
40362 2015-01-09  Torvald Riegel <triegel@redhat.com>
40364         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
40366 2015-01-09  Torvald Riegel <triegel@redhat.com>
40368         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
40370 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40372         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
40373         pointer and cast to uintptr_t.
40375 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40377         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
40378         removed.
40379         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
40381 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
40383         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
40384         of 0.
40386 2015-01-08  Roland McGrath  <roland@hack.frob.com>
40388         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
40389         <nptl/pthreadP.h> instead.
40390         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
40392         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
40393         already defined.
40394         [__SIGRTMIN] (init): Function removed.
40395         [__SIGRTMIN] (initialized): Variable removed.
40396         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
40397         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
40398         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
40399         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
40400         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
40401         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
40402         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
40403         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
40404         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
40405         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
40406         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
40407         * sysdeps/nptl/allocrtsig.c: New file.
40408         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
40409         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
40410         * sysdeps/generic/testrtsig.h: File removed.
40412         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
40413         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
40415         * nptl/nptl-init.c (pthread_functions): Conditionalize
40416         .ptr__nptl_setxid initialization on [SIGSETXID].
40418         * sysdeps/nptl/sys/procfs.h: New file.
40419         * nptl_db/Makefile (headers): Add it.
40420         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
40422         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
40423         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
40424         * nptl/pthread_attr_setaffinity.c: Include it.
40425         * nptl/pthread_setattr_default_np.c: Likewise.
40426         * nptl/check-cpuset.h: New file.
40428 2015-01-08  Richard Henderson  <rth@redhat.com>
40430         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
40431         (CFLAGS-tst-execstack-prog.c): Likewise.
40432         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
40434 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
40435             Sandra Loosemore  <sandra@codesourcery.com>
40436             Andrew Jenner  <andrew@codesourcery.com>
40437             Joseph Myers  <joseph@codesourcery.com>
40438             Nathan Sidwell  <nathan@codesourcery.com>
40440         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
40441         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
40442         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
40443         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
40444         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
40445         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
40446         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
40447         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
40448         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
40449         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
40450         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
40451         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
40452         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
40453         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
40454         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
40455         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
40456         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
40458 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40460         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
40461         timespec struct member in syscall macro.
40462         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
40463         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
40464         first timeval struct member in syscall macro.
40465         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
40467 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
40469         [BZ #17748]
40470         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
40471         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
40472         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
40473         __feupdateenv and define as weak alias of __feupdateenv.  Use
40474         libm_hidden_weak.
40475         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
40476         libm_hidden_def.
40477         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
40478         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
40479         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40480         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
40481         libm_hidden_def.
40482         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
40483         __feupdateenv and define as weak alias of __feupdateenv.  Use
40484         libm_hidden_weak.
40485         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
40486         libm_hidden_def.
40487         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
40488         __feupdateenv and define as weak alias of __feupdateenv.  Use
40489         libm_hidden_weak.
40490         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
40491         libm_hidden_def.
40492         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40493         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40494         (__feupdateenv): Likewise.
40495         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
40496         __feupdateenv and define as weak alias of __feupdateenv.  Use
40497         libm_hidden_weak.
40498         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40499         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
40500         libm_hidden_def.
40501         * sysdeps/tile/math_private.h (__feupdateenv): New inline
40502         function.
40503         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
40504         libm_hidden_def.
40505         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
40506         __feupdateenv instead of feupdateenv.
40507         (default_libc_feupdateenv_test): Likewise.
40508         (libc_feresetround_ctx): Likewise.
40510 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40512         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
40513         prototype.
40515 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
40517         * posix/regcomp.c (parse_bracket_exp): Initialize type to
40518         COLL_SYM in a couple of places to avoid uninitialized variable
40519         wanings on tilegx gcc 4.8.2.
40521 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40523         * sysdeps/aarch64/strcpy.S: New file.
40524         * sysdeps/aarch64/stpcpy.S: New file.
40525         * NEWS: Updated.
40527 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
40529         * sysdeps/aarch64/strrchr.S: New file.
40530         * NEWS: Updated.
40532 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
40534         [BZ #17658]
40535         * stdlib/setenv.c: Fix memory leak when setting large,
40536         duplicate string.
40538 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
40540         [BZ #17273]
40541         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
40542         and tabs from buffer before parsing fstab entry.
40543         * misc/tst-mntent.c (main): Add test for mount entry with
40544         trailing spaces and tabs.
40546 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
40548         [BZ #17748]
40549         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
40550         * math/fesetround.c (fesetround): Rename to __fesetround and
40551         define as weak alias of __fesetround.  Use libm_hidden_weak.
40552         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
40553         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
40554         * sysdeps/arm/fesetround.c (fesetround): Likewise.
40555         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
40556         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
40557         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
40558         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
40559         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
40560         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
40561         __fesetround_inline.
40562         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
40563         __fesetround_inline instead of __fesetround.
40564         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
40565         __fesetround and define as weak alias of __fesetround.  Use
40566         libm_hidden_weak.  Call __fesetround_inline instead of
40567         __fesetround.
40568         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
40569         __fesetround and define as weak alias of __fesetround.  Use
40570         libm_hidden_weak.
40571         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
40572         Likewise.
40573         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
40574         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40575         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
40576         * sysdeps/tile/math_private.h (__fesetround): New inline function.
40577         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
40578         __fesetround and define as weak alias of __fesetround.  Use
40579         libm_hidden_weak.
40580         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
40581         __fesetround instead of fesetround.
40582         (default_libc_feholdexcept_setround): Likewise.
40583         (libc_feholdsetround_ctx): Likewise.
40584         (libc_feholdsetround_noex_ctx): Likewise.
40586         [BZ #17748]
40587         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
40588         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
40589         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40590         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40591         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40592         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
40593         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40594         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
40595         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40596         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40597         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40598         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40599         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40600         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40601         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
40602         libm_hidden_def.
40603         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
40604         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
40605         Likewise.
40606         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
40607         define as weak alias of __fesetenv.  Use libm_hidden_weak.
40608         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40609         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
40610         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
40611         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
40612         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
40613         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
40614         __fesetenv instead of fesetenv.
40615         (libc_feresetround_noex_ctx): Likewise.
40616         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
40617         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
40618         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
40619         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
40620         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
40621         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
40622         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
40623         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
40624         (__feupdateenv): Likewise.
40625         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
40626         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40627         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
40628         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
40630 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40632         [BZ #17806]
40633         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
40634         addresses have been freed.
40636 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
40638         * resolv/res_init.c (__res_vinit): Improve comments about nserv
40639         and nservall.
40641 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
40643         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
40644         Clean up check_pf allocation pattern. addresses
40646 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40648         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
40649         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
40650         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
40651         * nptl/pthread_exit.c (__pthread_exit): Likewise.
40652         * nptl/pthread_join.c (pthread_join): Likewise.
40653         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
40654         * sysdeps/posix/waitid.c (__waitid): Likewise.
40655         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
40656         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
40657         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
40658         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
40659         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
40660         Likewise.
40661         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
40662         (__libc_pread64): Likewise.
40663         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
40664         (__libc_pwrite): Likewise.
40665         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
40666         (__libc_pwrite64): Likewsie.
40667         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
40668         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
40669         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
40670         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
40671         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
40672         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
40673         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
40675         Likewise.
40676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40677         (__libc_pread64): Likewise.
40678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
40679         Likewise.
40680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40681         (__libc_pwrite64): Likewise.
40682         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
40683         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
40684         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
40685         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
40686         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
40687         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
40688         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
40689         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
40690         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
40691         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
40692         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
40693         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
40694         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
40695         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
40696         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
40697         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
40698         Likewise.
40700 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
40702         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
40703         (CFLAGS-test-double.c): Likewise.
40704         (CFLAGS-test-ldouble.c): Likewise.
40705         (CPPFLAGS-test-ifloat.c): Likewise.
40706         (CPPFLAGS-test-idouble.c): Likewise.
40707         (CPPFLAGS-test-ildoubl.c): Likewise.
40708         (CFLAGS-test-test-fenv.c): Remove variable.
40709         (CFLAGS-test-misc.c): Likewise.
40711 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
40713         [BZ #17797]
40714         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
40715         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
40716         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
40717         CLOCKS_PER_SEC == 1000000.
40718         * time/clocktest.c (main): Replace %ld with %jd and cast to
40719         intmax_t.
40721 2015-01-05  Roland McGrath  <roland@hack.frob.com>
40723         * sysdeps/generic/unwind-resume.h: New file.
40724         * sysdeps/gnu/unwind-resume.c: Include it.
40725         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
40726         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
40727         argument list.
40728         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
40729         global rather than static.
40730         (_Unwind_Resume): Update user.
40731         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
40732         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
40733         rather than static.  Add __attribute__ ((cold)).
40734         (_Unwind_Resume, __gcc_personality_v0): Update callers.
40735         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
40736         * sysdeps/arm/arm-unwind-resume.S: New file.
40737         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
40738         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
40739         * sysdeps/arm/Makefile [$(subdir) = csu]
40740         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
40741         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
40742         Add rt-arm-unwind-resume.
40743         [$(subdir) = nptl]
40744         (libpthread-sysdep_routines, libpthread-shared-only-routines):
40745         Add pt-arm-unwind-resume.
40746         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
40747         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
40749 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40751         [BZ #17748]
40752         * include/fenv.h (__feholdexcept): Declare.  Use
40753         libm_hidden_proto.
40754         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
40755         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
40756         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40757         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
40758         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
40759         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
40760         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
40761         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40762         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
40763         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
40764         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40765         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
40766         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
40767         (feholdexcept): Likewise.
40768         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
40769         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40770         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
40771         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
40772         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
40773         __feholdexcept instead of feholdexcept.
40774         (default_libc_feholdexcept_setround): Likewise.
40776 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40778         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
40779         to avoid using stl/str to align destination.
40781 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40783         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
40785 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40787         [BZ #17796]
40788         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
40789         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
40790         Define as weak alias not strong alias.
40792 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
40794         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
40795         bltzal with addiupc.
40796         (RTLD_START): Ditto.
40798 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
40800         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
40801         for __vdso_* functions in declarations.
40802         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
40803         definitions.
40804         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
40805         INTERNAL_VSYSCALL): Use struct return types to check for error.
40807         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
40808         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
40809         function with cast from llround().
40810         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
40811         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
40812         Define.
40814 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
40816         [BZ #17793]
40817         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
40818         Define as weak alias not strong alias.
40820         [BZ #17635]
40821         * ctype/ctype-c99.c: New file.  isblank implementation moved from
40822         ...
40823         * ctype/ctype-extn.c: ... here.
40824         (__isblank_l): Move to ...
40825         * ctype/ctype-c99_l.c: ... here.  New file.
40826         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
40827         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
40828         Remove variable.
40829         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
40830         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
40831         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
40832         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
40833         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
40835         [BZ #17777]
40836         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
40837         (posix_fadvise64): Define as weak alias not strong alias.
40838         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40839         (posix_fallocate64): Likewise.
40840         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
40841         Remove variable.
40842         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
40843         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
40844         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
40845         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
40846         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
40848 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
40850         [BZ #16191]
40851         * NEWS: Mention bug fix.
40852         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
40853         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
40854         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
40855         (HOST_STACK_END_ADDR): Likewise.
40857 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40859         [BZ #17748]
40860         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
40861         * math/fegetround.c (fegetround): Rename to __fegetround and
40862         define as weak alias of __fegetround.  Use libm_hidden_weak.
40863         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
40864         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
40865         * sysdeps/arm/fegetround.c (fegetround): Likewise.
40866         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
40867         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
40868         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
40869         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
40870         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
40871         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
40872         Undefine after rather than before function definition; use
40873         parentheses around function name in definition.
40874         (__fegetround): Also undefine macro after function definition.
40875         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
40876         __fegetround and define as weak alias of __fegetround.  Use
40877         libm_hidden_weak.  Do not undefine as macro.
40878         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
40879         Likewise.
40880         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
40881         __fegetround and define as weak alias of __fegetround.  Use
40882         libm_hidden_weak.
40883         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40884         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
40885         * sysdeps/tile/math_private.h (__fegetround): New inline function.
40886         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
40887         __fegetround and define as weak alias of __fegetround.  Use
40888         libm_hidden_weak.
40889         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
40890         __fegetround instead of fegetround.
40892         [BZ #17782]
40893         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
40894         Condition macro definition on [__USE_MISC].
40896         [BZ #17781]
40897         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
40898         (struct sigaction): Change type of sa_flags field to int.
40900         [BZ #17780]
40901         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
40902         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
40903         __glibc_reserved0.
40905         * nptl/version.c (banner): Use single year in copyright notice.
40907         * NEWS: Update copyright dates.
40908         * catgets/gencat.c (print_version): Likewise.
40909         * csu/version.c (banner): Likewise.
40910         * debug/catchsegv.sh: Likewise.
40911         * debug/pcprofiledump.c (print_version): Likewise.
40912         * debug/xtrace.sh (do_version): Likewise.
40913         * elf/ldconfig.c (print_version): Likewise.
40914         * elf/ldd.bash.in: Likewise.
40915         * elf/pldd.c (print_version): Likewise.
40916         * elf/sotruss.sh: Likewise.
40917         * elf/sprof.c (print_version): Likewise.
40918         * iconv/iconv_prog.c (print_version): Likewise.
40919         * iconv/iconvconfig.c (print_version): Likewise.
40920         * locale/programs/locale.c (print_version): Likewise.
40921         * locale/programs/localedef.c (print_version): Likewise.
40922         * login/programs/pt_chown.c (print_version): Likewise.
40923         * malloc/memusage.sh (do_version): Likewise.
40924         * malloc/memusagestat.c (print_version): Likewise.
40925         * malloc/mtrace.pl: Likewise.
40926         * manual/libc.texinfo: Likewise.
40927         * nptl/version.c (banner): Likewise.
40928         * nscd/nscd.c (print_version): Likewise.
40929         * nss/getent.c (print_version): Likewise.
40930         * nss/makedb.c (print_version): Likewise.
40931         * posix/getconf.c (main): Likewise.
40932         * scripts/test-installation.pl: Likewise.
40933         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
40935 2015-01-02  Will Newton  <will.newton@linaro.org>
40937         * sysdeps/arm/armv7/configure: Removed.
40938         * sysdeps/arm/armv7/configure.ac: Likewise.
40940 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
40942         * All files with FSF copyright notices: Update copyright dates
40943         using scripts/update-copyrights.
40944         * intl/plural.c: Regenerated.
40945         * locale/programs/charmap-kw.h: Likewise.
40946         * locale/programs/locfile-kw.h: Likewise.
40948 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
40950         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
40952 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
40954         [BZ #17748]
40955         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
40956         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
40957         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40958         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40959         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40960         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
40961         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40962         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
40963         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40964         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40965         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40966         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40967         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40968         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40969         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
40970         libm_hidden_def.
40971         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
40972         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
40973         Likewise.
40974         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
40975         define as weak alias of __fegetenv.  Use libm_hidden_weak.
40976         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40977         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
40978         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
40979         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
40980         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
40981         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
40982         __fegetenv instead of fegetenv.
40983         (libc_feholdsetround_noex_ctx): Likewise.
40985 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
40987         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
40988         (Elf_MIPS_ABIFlags_v0): New structure.
40989         (EF_MIPS_FP64): Define.
40990         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
40991         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
40992         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
40993         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
40994         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
40995         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
40996         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
40997         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
40998         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
40999         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
41000         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
41001         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
41002         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
41003         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
41004         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
41005         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
41006         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
41007         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
41008         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
41009         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
41010         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
41011         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
41012         field.
41013         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
41014         EF_MIPS_FP64.
41015         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
41016         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
41017         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
41018         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
41019         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
41020         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
41021         * sysdeps/mips/tst-abi-interlink.c: Likewise.
41022         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
41023         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
41024         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
41025         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
41026         record the current FP ABI extension.
41027         (mips-mode-switch): Define to show if kernel headers support mode
41028         switching.
41029         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
41030         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
41031         supported SYSV ABI version to 3.
41032         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
41033         feature.
41035 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41036             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41038         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
41039         path.
41040         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
41042 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
41044         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
41045         __fegetround and redefine to call __fegetround.  Remove condition
41046         on [!__NO_MATH_INLINES].
41047         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
41048         function.
41049         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
41050         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
41051         Remove macro.
41052         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
41053         instead of <fenv_libc.h>.
41054         (__llrintl): Call fegetround instead of __fegetround.
41055         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
41056         instead of <fenv_libc.h>.
41057         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
41058         (__lrintl): Call fegetround instead of __fegetround.
41059         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
41060         instead of <fenv_libc.h>.
41061         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
41062         (__rintl): Call fegetround instead of __fegetround.
41064 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41066         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
41067         arrays.
41069 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41071         [BZ #17775]
41072         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
41073         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
41074         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
41076 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41078         * sysdeps/i386/tls-macros.h: Include <features.h>.
41079         (TLS_LE): Use non-PIC version for GCC >= 5.0.
41080         (TLS_IE): Likewise.
41081         (TLS_LD): Likewise.
41082         (TLS_GD): Likewise.
41083         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
41084         define for GCC >= 5.0.
41086 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
41088         * math/test-fenv.c (test_single_exception, set_single_exc,
41089         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
41090         feexcp_mask_test, feenable_test, fe_single_test): Add
41091         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
41092         case where they are not used.
41093         * math/libm-test.inc: Likewise.
41094         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
41095         unused in the absence of FP rounding/exception support.
41096         * stdio-common/tst-printf-round.c: Likewise.
41097         * stdlib/tst-strtod-round.c: Likewise.
41098         * stdlib/tst-strtod-underflow.c: Likewise.
41100 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
41102         [BZ #17723]
41103         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
41104         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
41105         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41106         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41107         libm_hidden_weak.
41108         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
41109         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41110         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
41111         libm_hidden_def.
41112         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41113         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41114         libm_hidden_weak.
41115         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
41116         Likewise.
41117         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
41118         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41119         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41120         libm_hidden_weak.
41121         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41122         libm_hidden_def.
41123         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
41124         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
41125         (__feraiseexcept): Likewise.
41126         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
41127         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
41128         libm_hidden_weak.
41129         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
41130         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
41131         libm_hidden_def.
41132         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
41133         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
41134         Use libm_hidden_def.
41135         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
41136         libm_hidden_def.
41137         (feraiseexcept): Define as weak not strong alias.  Use
41138         libm_hidden_weak.
41139         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41140         New inline function.  Factored out of ...
41141         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
41142         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
41143         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
41144         feraiseexcept.
41145         * math/w_acos.c (__acos): Likewise.
41146         * math/w_asin.c (__asin): Likewise.
41147         * math/w_ilogb.c (__ilogb): Likewise.
41148         * math/w_j0.c (y0): Likewise.
41149         * math/w_j1.c (y1): Likewise.
41150         * math/w_jn.c (yn): Likewise.
41151         * math/w_log.c (__log): Likewise.
41152         * math/w_log10.c (__log10): Likewise.
41153         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
41154         * sysdeps/aarch64/fpu/math_private.h
41155         (libc_feupdateenv_test_aarch64): Likewise.
41156         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
41157         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
41158         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
41159         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
41160         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
41161         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
41162         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
41163         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
41164         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41165         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
41167 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
41169         [BZ #17732]
41170         * io/test-utime.c (main): Replace %ld with %jd and cast to
41171         intmax_t.
41172         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
41173         * nptl/tst-mutex5.c: Include <stdint.h>.
41174         (do_test): Replace %ld with %jd and cast to intmax_t.
41175         * posix/tst-regex.c (run_test): Likewise.
41176         (run_test_backwards): Likewise.
41177         * rt/tst-clock.c: Include <stdint.h>.
41178         (clock_test): Replace %ld with %jd and cast to intmax_t.
41179         * rt/tst-cpuclock1.c: Include <stdint.h>.
41180         (do_test): Replace %lu with %ju and cast to uintmax_t.
41181         * rt/tst-cpuclock2.c: Include <stdint.h>.
41182         (do_test): Replace %lu with %ju and cast to uintmax_t.
41183         * rt/tst-mqueue1.c: Include <stdint.h>.
41184         (check_attrs): Replace %ld with %jd and cast to intmax_t.
41185         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
41186         intmax_t.
41187         * rt/tst-mqueue4.c (do_test): Likewise.
41188         * rt/tst-timer4.c: Include <stdint.h>.
41189         (check_ts): Replace %ld with %jd and cast to intmax_t.
41190         (do_test): Likewise.
41191         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
41192         and cast to intmax_t.
41193         * sysdeps/pthread/tst-timer.c (main): Likewise.
41194         * time/clocktest.c (main): Likewise.
41195         * time/tst-posixtz.c (do_test): Likewise.
41196         * timezone/tst-timezone.c (main): Likewise.
41198 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
41199             H.J. Lu  <hongjiu.lu@intel.com>
41201         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
41202         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
41203         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
41204         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
41205         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
41206         version if bit_Fast_Unaligned_Load is set.
41207         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
41208         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
41209         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
41210         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
41211         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
41212         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
41213         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41214         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
41215         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
41216         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
41217         to 4.
41218         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
41219         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
41220         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
41221         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
41223 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
41225         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
41226         instead of #if to avoid a Wundef warning.
41227         * stdlib/tst-limits.c (do_test): Likewise.
41229         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
41230         parallel other exception macros.
41231         (fegetenv): Convert from macro to extern inline so that it applies
41232         retroactively to inline functions already seen by the compiler.
41233         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
41235         * posix/Makefile (before-compile): Use $(objpfx) for
41236         posix-conf-vars-def.h.
41238 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
41240         * posix/getconf.c (main): Use size_t for type of I.
41241         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
41242         NSPEC.
41244         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
41245         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
41246         * posix/posix-envs.def: Likewise.
41247         * sysdeps/posix/sysconf.c: Likewise.
41248         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
41249         (specs): Remove array.
41250         * scripts/gen-posix-conf-vars.awk: Support generation of specs
41251         array.
41253         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
41254         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
41255         (__sysconf): Use CONF_IS_* macros.
41257         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
41258         ($(objpfx)posix-conf-vars-def.h): New target.
41259         * posix/posix-conf-vars.list: New file.
41260         * posix/posix-conf-vars.h: New file.
41261         * posix/confstr.c: Include posix-conf-vars.h.
41262         (confstr): Use CONF_IS_* macros.
41263         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
41264         CONF_IS_* macros.
41265         * scripts/gen-posix-conf-vars.awk: New file.
41267 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
41269         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
41270         fegetround): Add no-op macros to avoid linknamespace issues.
41272         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
41273         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
41275         * sysdeps/unix/sysv/linux/tile/sysdep.h
41276         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
41277         assembly-specific section to avoid a redefinition warning.
41279         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
41280         long before casting to pointer to avoid a cast warning.
41282 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
41284         * sysdeps/tile/tilegx/Implies: New file.
41286 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
41288         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
41290 2014-12-23  Florian Weimer  <fweimer@redhat.com>
41292         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
41294 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41296         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
41297         not define.
41298         * sysdeps/unix/sysv/linux/utimes.c: Do not include
41299         <kernel-features.h>.
41300         (__utimes) [__NR_utimes]: Make code unconditional.
41301         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
41302         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41303         (__ASSUME_UTIMES): Do not undefine.
41304         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41305         (__ASSUME_UTIMES): Likewise.
41306         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
41307         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
41308         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
41309         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
41311 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41313         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
41315 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
41317         [BZ #17747]
41318         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
41319         alias to weak alias for j0l, y0l.
41320         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
41321         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
41323         [BZ #17746]
41324         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
41325         conversion.
41327 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
41329         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
41330         to zero if not already defined.
41332 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41334         [BZ #17724]
41335         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
41336         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
41337         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
41338         (char *) casts added.
41339         * sysdeps/ieee754/k_standardf.c: New file.
41340         * sysdeps/ieee754/k_standardl.c: Likewise.
41341         * math/Makefile (libm-support): Remove k_standard.
41342         (libm-calls): Add k_standard.
41344 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41346         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
41347         Optimize to avoid an unnecessary FPCR read.
41349 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41351         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
41352         Optimize to reduce FPCR/FPSR accesses.
41354 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41356         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
41357         Call libc_fetestexcept_aarch64.
41359 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
41361         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
41362         Call libc_fesetround_aarch64.
41364 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
41366         [BZ #17733]
41367         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
41368         (__bind): Do not define as weak alias.
41369         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
41370         define.
41371         (__getsockname): Do not define as weak alias.
41373 2014-12-22  Will Newton  <will.newton@linaro.org>
41375         * manual/install.texi: Document that we require bison 2.7
41376         or above.
41377         * INSTALL: Regenerate.
41378         * configure.ac: Use AC_CHECK_PROG_VER instead of
41379         AC_PATH_PROG when checking for bison and check for
41380         version 2.7 or above.
41381         * configure: Regenerate.
41383 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
41385         [BZ #17745]
41386         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
41387         * sysdeps/tile/ffsll.c (ffsll): To here.
41389         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
41391 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41393         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
41394         if not defined.
41395         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
41396         definition.
41397         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41398         hidden ___tls_get_addr.
41399         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
41400         hidden __tls_get_addr.
41401         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
41402         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
41403         Likewise.
41405 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
41407         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
41408         _dl_init call.
41410 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
41412         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
41413         from "call _dl_init@PLT".
41414         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
41416 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
41418         * manual/search.texi: (Array Sort Function): Clarify stable sorting
41419         guarantees.
41421 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
41423         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
41425 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41427         [BZ #17744]
41428         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
41429         strnlen.
41431 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41433         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
41434         of multu on MIPSr6.
41435         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
41436         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
41437         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
41438         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
41439         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
41441 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
41443         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
41444         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
41445         (PTR_SUBU): Use subu for mips32r6/mips64r6.
41446         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
41447         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
41448         mips32r6/mips64r6.
41449         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
41451 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
41453         * string/strncat.c (STRNCAT): Simplify implementation.
41455 2014-12-19  David S. Miller  <davem@davemloft.net>
41457         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
41458         access the quad as both a long double and as a series of 4 words.
41460         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
41461         link_map->l_info array access.
41463 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
41465         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
41467         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
41468         * math/atest-exp2.c (TIMEOUT): Likewise.
41469         * math/atest-sincos.c (TIMEOUT): Likewise.
41471 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41473         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
41474         -Wno-error with -fno-builtin-lround.
41476 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41478         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
41479         Contains futex constants and functions moved over from ...
41480         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
41481         <lowlevellock-futex.h>.
41482         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41483         (lll_timedwait_tid): Add comments and parentheses around macro
41484         arguments.
41486 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41488         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
41489         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
41490         (__lll_private_flag): Remove.
41491         (lll_futex_wait): Likewise.
41492         (lll_futex_timed_wait): Likewise.
41493         (lll_futex_wake): Likewise.
41494         (lll_futex_requeue): Likewise.
41495         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
41496         (__lll_timedwait_tid): Spell out argument names.
41497         (lll_timedwait_tid): Add comments and parentheses around macro
41498         arguments.
41499         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
41500         LLL_SHARED and LLL_PRIVATE usable from assembly code.
41502 2014-12-19  Torvald Riegel  <triegel@redhat.com>
41504         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
41505         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
41506         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
41507         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
41508         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
41509         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
41510         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
41511         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
41512         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
41513         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
41514         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
41515         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
41516         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
41517         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
41518         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
41519         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
41520         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
41521         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
41522         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
41524 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41526         * sysdeps/x86_64/x32/Makefile: New file.
41528 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
41530         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
41531         1L with (mp_limb_t) 1.
41533 2014-12-17  Roland McGrath  <roland@hack.frob.com>
41535         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
41536         * nptl/libc_pthread_init.c: ... here.
41537         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
41538         * nptl/register-atfork.c: ... here.
41540         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
41541         Use pthread_sigmask rather than INTERNAL_SYSCALL.
41542         Use assert_perror to check its return value.
41543         (__gai_create_helper_thread): Likewise.
41545         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
41547         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
41549 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
41551         [BZ #17725]
41552         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
41553         __profil_counter.
41554         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
41555         Likewise.
41556         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
41557         Likewise.
41558         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
41559         Likewise.
41560         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
41561         (profil_counter): Likewise.
41562         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
41563         (profil_counter): Likewise.
41564         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
41565         Likewise.
41566         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
41567         Likewise.
41568         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
41569         (profil_counter): Likewise.
41570         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
41571         Likewise.
41572         [!__profil_counter] (profil_counter): Define as weak alias of
41573         __profil_counter.
41574         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
41575         (profil_counter): Rename to __profil_counter.
41576         [!__profil_counter] (profil_counter): Define as weak alias of
41577         __profil_counter.
41578         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
41579         (profil_counter): Rename to __profil_counter.
41580         [!__profil_counter] (profil_counter): Define as weak alias of
41581         __profil_counter.
41582         * sysdeps/posix/profil.c: Update comment referring to
41583         profil_counter.
41584         (__profil): Use __profil_counter instead of profil_counter.
41585         * sysdeps/posix/sprofil.c (profil_counter): Rename to
41586         __profil_counter.  Use __profil_counter_ushort and
41587         __profil_counter_uint in definitions.
41588         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
41589         instead of profil_counter_uint and profil_counter_ushort.
41591         [BZ #17722]
41592         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
41593         define as weak alias of __inet_makeaddr.
41594         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
41595         as weak alias of __inet_addr.
41596         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
41597         as weak alias of __inet_pton.  Use libc_hidden_weak.
41598         * include/arpa/inet.h (__inet_pton): Declare.  Use
41599         libc_hidden_proto.
41600         (inet_makeaddr): Don't use libc_hidden_proto.
41601         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
41602         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
41603         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
41604         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
41605         Remove variable.
41606         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41607         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41609 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
41611         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
41613 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41615         * stdio-common/bug-vfprintf-nargs.c (do_test):
41616         Cast value to intptr_t to avoid format warning
41617         for usage with PRIdPTR printing macro.
41619 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
41621         * libio/tst-widetext.c (do_test):
41622         Use format type %td instead of %Zd for ptrdiff_t
41623         in order to avoid format warning.
41625 2014-12-17  Andreas Schwab  <schwab@suse.de>
41627         * nscd/mem.c (gc): Add size_t cast to match printf format.
41629 2014-12-16  Roland McGrath  <roland@hack.frob.com>
41631         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
41632         (init): Apply PTR_MANGLE to pointers before storing them.
41633         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
41634         before using them.
41636 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
41638         [BZ #17719]
41639         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
41640         define as weak alias of __memrchr.
41641         (__memrchr): Do not define as strong alias of memrchr.
41642         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
41643         Remove variable.
41644         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41645         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41646         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41648         [BZ #17717]
41649         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
41650         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
41651         (if_indextoname): Rename to __if_indextoname and define as weak
41652         alias of __if_indextoname.  Use libc_hidden_weak.
41653         (if_freenameindex): Rename to __if_freenameindex and define as
41654         weak alias of __if_freenameindex.
41655         (if_nameindex): Rename to __if_nameindex and define as weak alias
41656         of __if_nameindex.
41657         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
41658         __if_nametoindex and define as weak alias of __if_nametoindex.
41659         Use libc_hidden_weak.
41660         (if_freenameindex): Rename to __if_freenameindex and define as
41661         weak alias of __if_freenameindex.
41662         (if_nameindex): Rename to __if_nameindex and define as weak alias
41663         of __if_nameindex.
41664         (if_indextoname): Rename to __if_indextoname and define as weak
41665         alias of __if_indextoname.  Use libc_hidden_weak.
41666         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
41667         __if_nametoindex and define as weak alias of __if_nametoindex.
41668         Use libc_hidden_weak.
41669         (if_freenameindex): Rename to __if_freenameindex and define as
41670         weak alias of __if_freenameindex.  Use libc_hidden_weak.
41671         (if_nameindex_netlink): Use __if_freenameindex instead of
41672         if_freenameindex.
41673         (if_nameindex): Rename to __if_nameindex and define as weak alias
41674         of __if_nameindex.  Use libc_hidden_weak.
41675         (if_indextoname): Rename to __if_indextoname and define as weak
41676         alias of __if_indextoname.  Use libc_hidden_weak.
41677         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
41678         libc_hidden_proto.
41679         [!_ISOMAC] (__if_freenameindex): Likewise.
41680         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
41681         if_nametoindex.
41682         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
41683         variable.
41684         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41685         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41686         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41687         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41688         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41689         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41690         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41692         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
41693         Remove variable.
41694         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41695         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41697 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41699         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
41700         subscript above bounds'
41702         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
41703         bounds.
41705 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
41707         * libio/tst-fopenloc.c: Use test-skeleton.c.
41709         * stdlib/tst-bsearch.c: Use test-skeleton.c.
41710         (entry): Rename to ITEM.
41711         (do_test, comp): Adjust.
41713         * stdio-common/tst-fseek.c: Use test-skeleton.c.
41715 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41717         * string/tester.c: Include <libc-internal.h>.
41718         (test_memset): Ignore -Wmemset-transposed-args.
41720 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41722         * misc/tst-mntent2.c (do_test): Fix warning.
41724 2014-12-16  Torvald Riegel  <triegel@redhat.com>
41726         * elf/tst-unique4lib.cc(a): Mark as used.
41728 2014-12-16  Florian Weimer  <fweimer@redhat.com>
41730         [BZ #17630]
41731         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
41732         names.
41734 2014-12-16  Allan McRae  <allan@archlinux.org>
41736         * stdio-common/Makefile (tests): Re-add bug26.
41738 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
41740         [BZ #17657]
41741         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
41742         static array.
41744 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
41746         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
41747         (__lll_lock_wait): Likewise.
41748         (__lll_timedlock_wait): Likewise.
41749         (__lll_timedwait_tid): Likewise.
41750         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
41751         (__lll_robust_timedlock_wait): Likewise.
41752         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
41753         (lll_cond_trylock): Likewise.
41754         (__lll_lock): Likewise.
41755         (__lll_robust_lock): Likewise.
41756         (__lll_cond_lock): Likewise.
41757         (lll_robust_cond_lock): Likewise.
41758         (__lll_timedlock): Likewise.
41759         (__lll_robust_timedlock): Likewise.
41760         (__lll_unlock): Likewise.
41761         (__lll_robust_unlock): Likewise.
41762         (lll_wait_tid): Likewise.
41763         (lll_timedwait_tid): Likewise.
41765 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41767         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
41769 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41771         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
41773 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41775         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
41776         * stdio-common/tst-sprintf.c: Likewise.
41778 2014-12-15  Torvald Riegel  <triegel@redhat.com>
41780         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
41782 2014-12-15  Jeff Law  <law@redhat.com>
41784         [BZ #16617]
41785         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
41786         on the heap.  (CVE-2012-3406)
41787         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
41788         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
41789         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
41791 2014-12-15  Will Newton  <will.newton@linaro.org>
41793         * manual/install.texi: Bump required version of texinfo
41794         to 4.7 from 4.5.
41795         * INSTALL: Regenerated.
41796         * configure.ac: Check for makeinfo version 4.7 and above.
41797         * configure: Regenerated.
41799 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41801         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
41802         PREFIX, string constant to insert between directory and name.
41803         * sysdeps/posix/shm_open.c: Update caller.
41804         * sysdeps/posix/shm_unlink.c: Likewise.
41805         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
41806         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
41807         (SEM_SHM_PREFIX): New macro.
41808         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
41809         [$(have-thread-library) = no].
41810         * nptl/Makefile (libpthread-routines): Add shm-directory.
41811         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
41812         * sysdeps/nptl/shm-directory.h: New file.
41813         * sysdeps/posix/shm-directory.c
41814         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
41815         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
41816         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
41817         INTERNAL_SYSCALL.
41818         (__where_is_shmfs): Function removed.
41819         (mountpoint, defaultmount, defaultdir, __namedsem_once):
41820         Variables removed.
41821         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
41822         Use SHM_GET_NAME.
41823         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
41825         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
41826         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
41827         unconditional for use inside libpthread.
41828         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
41830 2014-12-12  Roland McGrath  <roland@hack.frob.com>
41832         * nptl/pthread_getaffinity.c: New file.
41833         * nptl/pthread_setaffinity.c: New file.
41834         * nptl/pthread_getname.c: New file.
41835         * nptl/pthread_setname.c: New file.
41837         * nptl/pthread_create.c (START_THREAD_DEFN)
41838         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
41840 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41843         * resolv/res_send.c (send_vc): Disable warning resplen may
41844         be used uninitialized.
41846 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
41848         * nptl/tst-mutex6.c
41849         (ATTR_NULL): New define checks ATTR against NULL.
41850         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
41851         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
41853 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
41855         [BZ #17581]
41856         * malloc/hooks.c
41857         (mem2mem_check): Revert my previous change.
41858         (malloc_check_get_size): Revert my previous change.
41859         (mem2chunk_check): Revert my previous change.
41861 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41863         * sysdeps/posix/shm-directory.c: New file.
41864         * sysdeps/posix/shm-directory.h: New file.
41865         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
41866         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
41867         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
41868         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
41869         Transmute EPERM to EACCES.
41870         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
41871         from ...
41872         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
41873         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
41875 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41877         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
41878         pointer and cast to uintptr_t.
41879         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
41880         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
41881         Add cast to avoid warning.
41882         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
41884 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41886         * nptl/semaphore.h: Move to ...
41887         * sysdeps/pthread/semaphore.h: ... here.
41888         * Makefile (installed-headers): Change nptl/semaphore.h to
41889         sysdeps/pthread/semaphore.h.
41891 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41893         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
41894         generated error format strings.
41896         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
41897         -Wformat-extra-args warnings for scanf formats.
41898         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
41899         test of zero-length format (duh).
41900         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
41901         corner-case scanf format test.
41902         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
41903         generated fprintf format string.
41904         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
41905         corner-case sprintf format tests.
41906         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
41907         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
41908         -Wformat-extra-args warnings throughout.
41909         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
41910         (CFLAGS-scanf4.c): Likewise.
41911         (CFLAGS-scanf7.c): Likewise.
41912         (CFLAGS-tst-sprintf.c): Likewise.
41913         (CFLAGS-tst-printf.c): Likewise.
41914         (CFLAGS-tst-printfsz.c): Likewise.
41916 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
41918         * include/cpio.h: New file.
41919         * include/fmtmsg.h: Likewise.
41921         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
41922         corresponding format argument to size_t.
41923         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
41924         arguments.
41925         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
41926         corresponding format argument to size_t.
41927         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
41928         arguments.
41929         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
41930         corresponding format argument to size_t.
41931         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
41932         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
41933         (CFLAGS-tst-mbswcs2.c): Likewise.
41934         (CFLAGS-tst-mbswcs3.c): Likewise.
41935         (CFLAGS-tst-mbswcs4.c): Likewise.
41936         (CFLAGS-tst-mbswcs5.c): Likewise.
41937         (CFLAGS-tst-trans.c): Likewise.
41939 2014-12-11  Roland McGrath  <roland@hack.frob.com>
41941         * posix/regexbug1.c (main): Use "%s" format with regerror results,
41942         rather than assuming they won't contain any '%'s.
41944 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
41946         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
41947         inhibit_loop_to_libcall to avoid recursive calls.
41948         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
41949         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
41951 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
41953         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
41954         prototype.
41956 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41958         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
41959         integer value instead of boolean.
41961 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
41963         * malloc/malloc.c: Fix powerof2 check.
41965 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41967         * locale/programs/locfile.h (maybe_swap_uint32):
41968         Remove inline and add unused attribute.
41970 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
41972         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41973         Truncating assembler expression to a .long expression.
41975 2014-12-11  Andreas Schwab  <schwab@suse.de>
41977         * elf/rtld.c (struct map_args): Constify str member.
41978         (do_preload): Constify fname argument.
41980 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41982         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
41983         constants definition.
41985 2014-12-11  Andreas Schwab  <schwab@suse.de>
41987         [BZ #16657]
41988         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
41989         FORCE_ELISION instead of DO_ELISION.
41990         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
41991         Remove.
41992         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
41993         Likewise.
41995         * iconvdata/gconv-modules: Remove duplicate entry.
41997 2014-12-11  Will Newton  <will.newton@linaro.org>
41999         Merge gettext 0.19.3 into intl/.
42001         This involves a number of cosmetic changes to comments
42002         and ANSI function definitions and prototypes throughout
42003         all the files. The gettext copyright header is used but
42004         with the date ranges taken from the glibc copy.
42006         * NEWS: Add gettext merge to 2.21.
42007         * intl/bindtextdom.c: Switch to gettext copyright.
42008         Use ANSI definitions and prototypes.
42009         Use gl_* locking primitives rather than __libc_* ones.
42010         Use __builtin_expect rather than __glibc_likely/unlikely.
42011         * intl/dcgettext.c: Switch to gettext copyright.
42012         Use ANSI definitions and prototypes.
42013         * intl/dcigettext.c: Switch to gettext copyright.
42014         Use ANSI definitions and prototypes.
42015         (INTDIV0_RAISES_SIGFPE): New define.
42016         Use gl_* locking primitives rather than __libc_* ones.
42017         Include eval-plural.h instead of plural-eval.c.
42018         Use __builtin_expect rather than __glibc_likely/unlikely.
42019         * intl/dcngettext.c: Switch to gettext copyright.
42020         Use ANSI definitions and prototypes.
42021         * intl/dgettext.c: Likewise.
42022         * intl/dngettext.c: Likewise.
42023         * intl/plural-eval.c: Renamed to...
42024         * intl/eval-plural.h: ...this.
42025         * intl/explodename.c: Switch to gettext copyright.
42026         Use ANSI definitions and prototypes.
42027         (_nl_explode_name): Use strchr instead of __rawmemchr.
42028         * intl/finddomain.c: Switch to gettext copyright.
42029         Use ANSI definitions and prototypes.
42030         Use gl_* locking primitives rather than __libc_* ones.
42031         (_nl_find_domain): Use malloc rather than alloca for
42032         allocation of temporary locale name.
42033         * intl/gettext.c: Switch to gettext copyright.
42034         Use ANSI definitions and prototypes.
42035         * intl/gettextP.h: Switch to gettext copyright.
42036         Use ANSI definitions and prototypes.
42037         Use gl_* locking primitives rather than __libc_* ones.
42038         * intl/gmo.h: Switch to gettext copyright.
42039         (struct sysdep_string): Move struct segment_pair outside of
42040         struct definition.
42041         * intl/hash-string.c: Use ANSI definitions and prototypes.
42042         * intl/hash-string.h: Switch to gettext copyright.
42043         Use ANSI definitions and prototypes.
42044         * intl/l10nflist.c: Switch to gettext copyright.
42045         Use ANSI definitions and prototypes.
42046         (_nl_normalize_codeset): Avoid integer overflow.
42047         * intl/loadinfo.h: Switch to gettext copyright.
42048         Use ANSI definitions and prototypes.
42049         (LIBINTL_DLL_EXPORTED): New define.
42050         (PATH_SEPARATOR): New define.
42051         * intl/loadmsgcat.c: Switch to gettext copyright.
42052         * intl/localealias.c: Switch to gettext copyright.
42053         Use ANSI definitions and prototypes.
42054         (_nl_expand_alias): Use PATH_SEPARATOR.
42055         * intl/ngettext.c: Switch to gettext copyright.
42056         Use ANSI definitions and prototypes.
42057         * intl/plural-exp.c: Likewise.
42058         * intl/plural-exp.h: Switch to gettext copyright.
42059         Use ANSI definitions and prototypes.
42060         (struct expression): Move definition of enum operator outside
42061         of struct definition.
42062         * intl/plural.c: Regenerate.
42063         * intl/plural.y: Switch to gettext copyright.
42064         Use ANSI definitions and prototypes.
42065         Port to bison 3.0.
42066         * intl/textdomain.c: Switch to gettext copyright.
42067         Use ANSI definitions and prototypes.
42068         Use gl_* locking primitives rather than __libc_* ones.
42070 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
42072         * debug/warning-nop.c: Add used atrribute.
42074 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42076         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
42078         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
42079         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
42080         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
42082 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42083             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42085         [BZ #17634]
42086         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
42087         Undefine after defining function.  Define as weak alias of
42088         __wcschr.  Use libc_hidden_weak.
42089         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
42090         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
42091         (libc_hidden_def): Also define __GI___wcschr alias.
42092         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
42093         __wcschr and define as weak alias of __wcschr.
42094         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
42095         __wcschr.
42096         [!WCSCHR] (DEFAULT_WCSCHR): Define.
42097         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
42098         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
42099         libc_hidden_weak.  Do not use libc_hidden_def.
42100         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
42101         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
42102         __GI___wcschr alias.
42103         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
42104         [IS_IN (libc)] (wcschr): Define as macro expanding to
42105         __redirect_wcschr.
42106         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
42107         [IS_IN (libc)] (__wcschr_power6): Likewise.
42108         [IS_IN (libc)] (__wcschr_power7): Likewise.
42109         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
42110         instead of wcschr.
42111         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
42112         __libc_wcschr.
42113         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
42114         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
42115         __wcschr and define as weak alias of __wcschr.  Use
42116         libc_hidden_builtin_def.
42117         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
42118         as weak alias of __wcschr.  Use libc_hidden_weak.
42119         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
42120         wcschr.
42121         * time/era.c (_nl_init_era_entries): Likewise.
42122         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
42123         variable.
42124         (test-xfail-XPG3/time.h/linknamespace): Likewise.
42125         (test-xfail-XPG4/time.h/linknamespace): Likewise.
42127 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42129         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
42130         format for long int variable.
42132 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
42134         [BZ #10672]
42135         * manual/search.texi: (Array Sort Function): Remove claim how to make
42136         qsort stable.
42138 2014-12-10  Andreas Schwab  <schwab@suse.de>
42140         [BZ #12847]
42141         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
42142         user-controlled locks.
42144 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
42146         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
42147         register.
42149 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
42151         * configure.ac (--disable-werror): New configure option.
42152         (enable_werror): New AC_SUBST.
42153         * configure: Regenerated.
42154         * config.make.in (enable-werror): New variable.
42155         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
42156         -Wno-error=undef.
42157         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
42158         * manual/install.texi (Configuring and compiling): Document
42159         --disable-werror.
42160         * INSTALL: Regenerated.
42161         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
42162         (CFLAGS-tst-chk2.c): Likewise.
42163         (CFLAGS-tst-chk3.c): Likewise.
42164         (CFLAGS-tst-chk4.cc): Likewise.
42165         (CFLAGS-tst-chk5.cc): Likewise.
42166         (CFLAGS-tst-chk6.cc): Likewise.
42167         (CFLAGS-tst-lfschk1.c): Likewise.
42168         (CFLAGS-tst-lfschk2.c): Likewise.
42169         (CFLAGS-tst-lfschk3.c): Likewise.
42170         (CFLAGS-tst-lfschk4.cc): Likewise.
42171         (CFLAGS-tst-lfschk5.cc): Likewise.
42172         (CFLAGS-tst-lfschk6.cc): Likewise.
42174         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
42175         (main): Disable -Wdeprecated-declarations around calls to
42176         register_printf_function.
42178         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
42179         (do_test): Disable -Wdiv-by-zero around some calls to
42180         fwrite_unlocked and fread_unlocked.
42182         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
42183         (DIAG_POP_NEEDS_COMMENT): Likewise.
42184         (_DIAG_STR1): Likewise.
42185         (_DIAG_STR): Likewise.
42186         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
42187         * stdio-common/bug21.c: Include <libc-internal.h>.
42188         (do_test): Disable -Wformat around call to sscanf.
42189         * stdio-common/scanf14.c: Include <libc-internal.h>.
42190         (main): Disable -Wformat around some calls to scanf functions.
42192 2014-12-09  Torvald Riegel  <triegel@redhat.com>
42194         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
42196 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42198         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
42199         stack variable alignment.
42201 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
42203         [BZ #17682]
42204         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
42205         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
42206         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
42207         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
42208         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
42209         __getrlimit instead of getrlimit.
42210         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
42211         __gettimeofday instead of gettimeofday.
42212         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
42213         Likewise.
42214         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
42215         Likewise.
42216         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
42217         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
42218         Remove variable.
42219         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
42220         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
42222 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42224         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
42225         for wide-character tests.
42227 2014-12-04  Roland McGrath  <roland@hack.frob.com>
42229         * io/openat64.c: #include <libc-internal.h>
42230         (__openat64): Prototypify.  Use ignore_value on MODE.
42231         * io/openat.c: Likewise.
42232         * misc/reboot.c: #include <libc-internal.h>
42233         (reboot): Prototypify.  Use ignore_value on HOWTO.
42234         * misc/ptrace.c: #include <libc-internal.h>
42235         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
42237 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
42239         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
42240         XPG4, UNIX98 and XOPEN2K.
42241         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
42242         Remove variable.
42243         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
42245 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
42247         * libio/fileops.c: Use ISO C style for function definitions.
42248         * libio/iofopen.c: Likewise.
42249         * libio/wfileops.c: Likewise.
42251         [BZ #17653]
42252         * libio/fileops.c (_IO_new_file_underflow): Unset cached
42253         offset on EOF.
42254         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
42255         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
42256         (fgets_func): Function pointer to fgets and fgetws.
42257         (do_ftell_test): Add test to verify ftell value after read
42258         EOF.
42259         (do_test): Set fgets_func.
42261         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
42262         O_TRUNC flag for w and w+ modes.
42263         (do_rewind_test): Likewise.
42264         (do_ftell_test): Likewise.
42265         (do_write_test): Likewise.
42267         [BZ #17647]
42268         * libio/fileops.c (do_ftell): Seek only when there are
42269         unflushed writes.
42270         * libio/wfileops.c (do_ftell_wide): Likewise.
42271         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
42272         test case.
42273         (do_one_test): Call it.
42275 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
42277         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
42278         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
42279         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
42280         Remove variable.
42281         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
42282         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
42283         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
42285 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42287         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
42288         Remove variable.
42289         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
42291         [BZ #17668]
42292         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
42293         as weak alias of __getifaddrs.  Use libc_hidden_weak.
42294         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42295         __freeifaddrs.  Use libc_hidden_weak.
42296         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
42297         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
42298         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42299         __freeifaddrs.  Use libc_hidden_weak.
42300         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
42301         __getifaddrs and define as weak alias of __getifaddrs.  Use
42302         libc_hidden_weak.
42303         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
42304         __freeifaddrs.  Use libc_hidden_weak.
42305         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
42306         Remove variable.
42307         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
42308         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
42310 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
42312         [BZ #17601]
42313         * sysdeps/mips/start.S (__start): Use indirect jump to call
42314         __libc_start_main.
42316 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
42318         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
42320         * nptl/tst-mutex1.c: Include <stdbool.h>.
42321         [!ATTR] (ATTR_NULL): New macro.
42322         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
42323         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
42324         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
42326         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
42327         to char *.
42329         [BZ #17665]
42330         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
42331         Change conditional to [__USE_MISC].
42333         [BZ #17664]
42334         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
42335         fgets_unlocked.
42336         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
42337         __fgets_unlocked.
42338         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
42339         fgets_unlocked.
42340         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
42341         Remove variable.
42342         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
42343         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
42344         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
42345         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
42346         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
42347         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
42348         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
42349         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
42350         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
42352         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
42354 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42356         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42357         Remove strpbrk objects.
42358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42359         (__libc_ifunc_impl_list): Remove strpbrk implementation.
42360         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
42361         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
42362         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
42363         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
42365         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42366         Remove strcspn objects.
42367         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42368         (__libc_ifunc_impl_list): Remove strcspn implementation.
42369         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
42370         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
42371         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
42372         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
42374         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
42375         Remove strspn objetcs.
42376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42377         (__libc_ifunc_impl_list): Remove strspn implementation.
42378         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
42379         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42380         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
42381         * sysdeps/powerpc/powerpc64/strspn.S: New file.
42383 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
42385         [BZ #17581]
42386         * malloc/hooks.c
42387         (mem2mem_check): Add a terminator to the chain of checking blocks.
42388         (malloc_check_get_size): Use it here.
42389         (mem2chunk_check): Ditto.
42391 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
42393         * sysdeps/powerpc/powerpc64/strtok.S: New file.
42394         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
42396 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
42398         * bits/ioctl-types.h: Indent preprocessor directives correctly.
42400         * nptl/nptl-init.c: Include libc-internal.h.
42401         (__pthread_initialize_minimal_internal): Use ROUND_UP.
42403         * elf/ldconfig.c (search_dir): Expand comment.
42405 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
42407         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
42408         variable.
42409         (linknamespace-symlist-stdlibs-tests): Likewise.
42410         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
42411         instead of $(objpfx)symlist-stdlibs.
42412         (linknamespace-libs-isoc): New variable.
42413         (linknamespace-libs): Use $(linknamespace-libs-isoc).
42414         (linknamespace-libs-ISO): New variable.
42415         (linknamespace-libs-ISO99): Likewise.
42416         (linknamespace-libs-ISO11): Likewise.
42417         (linknamespace-libs-XPG3): Likewise.
42418         (linknamespace-libs-XPG4): Likewise.
42419         (linknamespace-libs-POSIX): Likewise.
42420         (linknamespace-libs-UNIX98): Likewise.
42421         (linknamespace-libs-XOPEN2K): Likewise.
42422         (linknamespace-libs-POSIX2008): Likewise.
42423         (linknamespace-libs-XOPEN2K8): Likewise.
42424         ($(objpfx)symlist-stdlibs): Replace by
42425         $(linknamespace-symlist-stdlibs-tests).  Use
42426         $(linknamespace-libs-$*) as set of libraries.
42427         ($(linknamespace-header-tests)): Update dependencies.  Use
42428         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
42429         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
42430         * conform/linknamespace.pl: Remove comment about considering
42431         definitions of symbols from irrelevant libraries.
42433 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
42435         [BZ #13862]
42436         * elf/dl-tls.c: Include <atomic.h>.
42437         (oom): Remove #ifdef SHARED/#endif.
42438         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
42439         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
42440         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
42441         big enough.
42442         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
42443         * nptl/Makefile (tests): Add tst-stack4.
42444         (modules-names): Add tst-stack4mod.
42445         ($(objpfx)tst-stack4): New.
42446         (tst-stack4mod.sos): Likewise.
42447         ($(objpfx)tst-stack4.out): Likewise.
42448         ($(tst-stack4mod.sos)): Likewise.
42449         (clean): Likewise.
42450         * nptl/tst-stack4.c: New file.
42451         * nptl/tst-stack4mod.c: Likewise.
42453 2014-11-27  J. Brown  <jb999@gmx.de>
42455         * sysdeps/x86/bits/string.h: Add recent CPUs.
42457 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42459         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
42460         sigblock.
42462         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
42463         feof.
42465         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
42466         variable.
42468 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
42470         * nscd/connections.c: Include libc-internal.h because of macro
42471         usage ignore_value.
42473 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
42475         * string/bits/string3.h (__warn_memset_zero_len): Don't
42476         declare for gcc newer than 5.0.
42477         (memset): Don't test for zero-length __LEN for gcc newer than
42478         5.0.
42480 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
42482         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
42483         size_t for %zu format.
42485         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
42486         difference, not %ju.
42488 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42490         * include/libc-internal.h (ignore_value): New macro.
42491         * nscd/connections.c (restart): Wrap calls to setuid and setgid
42492         with ignore_value.
42494         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
42495         definition.
42497         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
42498         pthread_cleanup_push to void *.
42500         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
42501         Undefine.
42503         [BZ #16619]
42504         [BZ #16740]
42505         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
42506         instead of 1L << 52.
42508         * libio/bug-rewind.c (do_test): Check fwscanf return values.
42509         * libio/bug-rewind2.c (do_test): Likewise.
42511         * debug/test-stpcpy_chk-ifunc.c: Remove file.
42512         * debug/test-strcpy_chk-ifunc.c: Likewise.
42513         * wcsmbs/test-wcschr-ifunc.c: Likewise.
42514         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
42515         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
42516         * wcsmbs/test-wcslen-ifunc.c: Likewise.
42517         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
42518         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
42519         * Rules [$(multi-arch) = no] (tests): Do not filter out
42520         $(tests-ifunc).
42521         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
42522         * debug/Makefile (tests-ifunc): Remove variable.
42523         (tests): Do not add $(tests-ifunc).
42524         * wcsmbs/Makefile (tests-ifunc): Remove variable.
42525         (tests): Do not add $(tests-ifunc).
42526         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
42527         [TEST_IFUNC]: Remove conditionals.
42528         * string/test-string.h (TEST_IFUNC): Remove macro.
42529         [TEST_IFUNC]: Remove conditionals.
42531         * string/test-strchr.c [!WIDE] (L): New macro.
42532         [WIDE] (L): Likewise.
42533         (check1): Use CHAR instead of char.  Use L on string and character
42534         constants.
42536 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
42538         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
42539         tests.
42540         * sysdeps/powerpc/bits/atomic.h
42541         (__arch_atomic_exchange_and_add_32_acq): Add definition.
42542         (__arch_atomic_exchange_and_add_32_rel): Likewise.
42543         (atomic_exchange_and_add_acq): Likewise.
42544         (atomic_exchange_and_add_rel): Likewise.
42545         * sysdeps/powerpc/powerpc32/bits/atomic.h
42546         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42547         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42548         * sysdeps/powerpc/powerpc64/bits/atomic.h
42549         (__arch_atomic_exchange_and_add_64_acq): Add definition.
42550         (__arch_atomic_exchange_and_add_64_rel): Likewise.
42552 2014-11-26  Torvald Riegel  <triegel@redhat.com>
42554         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
42555         Change synchronization of __sched_fifo_min_prio and
42556         __sched_fifo_max_prio.
42557         * nptl/pthread_mutexattr_getprioceiling.c
42558         (pthread_mutexattr_getprioceiling): Likewise.
42559         * nptl/pthread_mutexattr_setprioceiling.c
42560         (pthread_mutexattr_setprioceiling): Likewise.
42561         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
42562         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
42563         Likewise.
42565 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
42567         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
42568         void.
42570 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42572         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
42573         third argument const.
42575 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
42577         fnmatch: work around GCC compiler warning bug with uninit var
42578         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
42579         This works around a bug with x86-64 GCC 4.9.2 and earlier
42580         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
42581         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
42582         used uninitialized in this function [-Wmaybe-uninitialized]".
42584 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
42586         * posix/bug-regex31.c (main): Return RES not 0.
42588 2014-11-25  Anton Blanchard <anton@samba.org>
42590         * sysdeps/powerpc/bits/atomic.h
42591         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
42593 2014-11-24  Sterling Augustine  <saugustine@google.com>
42595         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
42597 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
42599         [BZ #17608]
42600         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
42602 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
42604         [BZ #17633]
42605         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
42606         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
42607         variable.
42608         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
42609         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
42611 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42613         * string/strncpy.c (strncpy): Improve performance by using memset.
42615 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
42617         * string/strcpy.c (strcpy):
42618         Improve performance by using strlen and memcpy.
42620 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
42622         * string/strcoll_l.c (get_next_seq): __always_inline.
42623         * string/strcoll_l.c (do_compare): __always_inline.
42625 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
42627         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
42628         defined.
42629         * include/mqueue.h: Likewise.
42630         * include/stdlib.h: Likewise.
42632         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
42633         (get_null_defines): Adjust.
42634         * sunrpc/Makefile: Adjust comment.
42635         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
42636         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
42637         (CFLAGS-interp.c): Likewise.
42638         (CFLAGS-ldconfig.c): Likewise.
42639         (CPPFLAGS-.os): Likewise.
42640         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
42641         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
42642         * extra-modules.mk (extra-modules.mk): Likewise.
42643         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
42644         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
42645         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
42646         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
42647         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
42648         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
42649         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
42650         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
42651         * iconvdata/Makefile (CPPFLAGS): Likewise.
42652         (cpp-srcs-left): Add libof for all iconvdata routines.
42653         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
42654         * include/assert.h: Likewise.
42655         * include/ctype.h: Likewise.
42656         * include/errno.h: Likewise.
42657         * include/libc-symbols.h: Likewise.
42658         * include/math.h: Likewise.
42659         * include/netdb.h: Likewise.
42660         * include/resolv.h: Likewise.
42661         * include/stdio.h: Likewise.
42662         * include/stdlib.h: Likewise.
42663         * include/string.h: Likewise.
42664         * include/sys/stat.h: Likewise.
42665         * include/wctype.h: Likewise.
42666         * intl/l10nflist.c: Likewise.
42667         * libidn/idn-stub.c: Likewise.
42668         * libio/libioP.h: Likewise.
42669         * nptl/libc_multiple_threads.c: Likewise.
42670         * nptl/pthreadP.h: Likewise.
42671         * posix/regex_internal.h: Likewise.
42672         * resolv/res_hconf.c: Likewise.
42673         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
42674         * sysdeps/arm/memmove.S: Likewise.
42675         * sysdeps/arm/sysdep.h: Likewise.
42676         * sysdeps/generic/_itoa.h: Likewise.
42677         * sysdeps/generic/symbol-hacks.h: Likewise.
42678         * sysdeps/gnu/errlist.awk: Likewise.
42679         * sysdeps/gnu/errlist.c: Likewise.
42680         * sysdeps/i386/i586/memcpy.S: Likewise.
42681         * sysdeps/i386/i586/memset.S: Likewise.
42682         * sysdeps/i386/i686/memcpy.S: Likewise.
42683         * sysdeps/i386/i686/memmove.S: Likewise.
42684         * sysdeps/i386/i686/mempcpy.S: Likewise.
42685         * sysdeps/i386/i686/memset.S: Likewise.
42686         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
42687         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
42688         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
42689         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
42690         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
42691         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
42692         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
42693         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
42694         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
42695         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42696         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
42697         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
42698         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
42699         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
42700         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
42701         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
42702         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
42703         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
42704         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
42705         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
42706         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
42707         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
42708         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
42709         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
42710         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
42711         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
42712         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
42713         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
42714         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
42715         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
42716         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
42717         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
42718         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
42719         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
42720         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
42721         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
42722         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
42723         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
42724         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
42725         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
42726         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
42727         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
42728         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
42729         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
42730         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
42731         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
42732         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
42733         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
42734         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
42735         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
42736         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
42737         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
42738         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
42739         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
42740         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
42741         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
42742         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
42743         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
42744         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
42745         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
42746         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
42747         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
42748         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
42749         * sysdeps/nptl/bits/libc-lock.h: Likewise.
42750         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
42751         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
42752         * sysdeps/posix/closedir.c: Likewise.
42753         * sysdeps/posix/opendir.c: Likewise.
42754         * sysdeps/posix/readdir.c: Likewise.
42755         * sysdeps/posix/rewinddir.c: Likewise.
42756         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
42757         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
42758         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
42759         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
42760         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
42761         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
42762         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
42763         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
42764         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
42765         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
42766         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
42767         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
42768         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
42769         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
42770         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
42771         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
42772         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
42773         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
42774         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
42775         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
42776         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
42777         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
42778         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
42779         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
42780         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
42781         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
42782         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
42783         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
42784         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
42785         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
42786         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
42787         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
42788         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
42789         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
42790         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
42791         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
42792         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
42793         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
42794         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
42795         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
42796         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
42797         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
42798         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
42799         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
42800         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
42801         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
42802         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
42803         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
42804         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
42805         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
42806         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
42807         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
42808         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
42809         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
42810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
42811         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
42812         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
42813         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
42814         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
42815         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
42816         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
42817         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
42818         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
42819         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
42820         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
42821         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
42822         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
42823         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
42824         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
42825         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
42826         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
42827         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
42828         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
42829         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
42830         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
42831         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
42832         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
42833         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
42834         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
42835         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
42836         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
42837         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
42838         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
42839         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
42840         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
42841         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
42842         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
42843         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
42844         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
42845         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
42846         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
42847         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
42848         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
42849         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
42850         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
42851         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
42852         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
42853         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
42854         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
42855         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
42856         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
42857         * sysdeps/unix/alpha/sysdep.S: Likewise.
42858         * sysdeps/unix/alpha/sysdep.h: Likewise.
42859         * sysdeps/unix/make-syscalls.sh: Likewise.
42860         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
42861         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
42862         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
42863         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
42864         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
42865         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
42866         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
42867         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
42868         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
42869         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
42870         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
42871         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
42872         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42873         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
42874         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
42875         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
42876         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
42877         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
42878         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
42879         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
42880         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
42881         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
42882         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
42883         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
42884         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
42885         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
42886         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
42887         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
42888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
42889         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
42890         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
42891         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
42892         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
42893         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42894         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
42895         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
42896         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
42897         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42898         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
42899         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
42900         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
42901         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
42902         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
42903         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
42904         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
42905         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
42906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
42907         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
42908         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
42909         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42910         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
42911         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
42912         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
42913         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
42914         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
42915         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
42916         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
42917         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42918         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
42919         * sysdeps/x86_64/memcpy.S: Likewise.
42920         * sysdeps/x86_64/memmove.c: Likewise.
42921         * sysdeps/x86_64/memset.S: Likewise.
42922         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
42923         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
42924         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
42925         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
42926         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
42927         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42928         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42929         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
42930         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
42931         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
42932         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
42933         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
42934         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
42935         * sysdeps/x86_64/multiarch/memset.S: Likewise.
42936         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
42937         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
42938         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
42939         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
42940         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
42941         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
42942         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
42943         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
42944         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
42945         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
42946         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
42947         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
42948         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
42949         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
42950         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
42951         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
42952         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
42953         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
42954         * sysdeps/x86_64/strcmp.S: Likewise.
42956         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
42958         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
42959         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
42960         * elf/rtld-Rules: Likewise.
42961         * elf/setup-vdso.h: Likewise.
42962         * include/assert.h: Likewise.
42963         * include/bits/stdlib-float.h: Likewise.
42964         * include/errno.h: Likewise.
42965         * include/sys/stat.h: Likewise.
42966         * include/unistd.h: Likewise.
42967         * sysdeps/aarch64/setjmp.S: Likewise.
42968         * sysdeps/alpha/setjmp.S: Likewise.
42969         * sysdeps/arm/__longjmp.S: Likewise.
42970         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
42971         * sysdeps/arm/setjmp.S: Likewise.
42972         * sysdeps/arm/sysdep.h: Likewise.
42973         * sysdeps/generic/_itoa.h: Likewise.
42974         * sysdeps/generic/dl-sysdep.h: Likewise.
42975         * sysdeps/generic/ldsodefs.h: Likewise.
42976         * sysdeps/i386/dl-tls.h: Likewise.
42977         * sysdeps/i386/setjmp.S: Likewise.
42978         * sysdeps/m68k/setjmp.c: Likewise.
42979         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
42980         * sysdeps/mach/hurd/opendir.c: Likewise.
42981         * sysdeps/posix/getcwd.c: Likewise.
42982         * sysdeps/posix/opendir.c: Likewise.
42983         * sysdeps/posix/profil.c: Likewise.
42984         * sysdeps/powerpc/dl-procinfo.h: Likewise.
42985         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
42986         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
42987         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
42988         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
42989         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
42990         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
42991         * sysdeps/s390/dl-tls.h: Likewise.
42992         * sysdeps/s390/s390-32/setjmp.S: Likewise.
42993         * sysdeps/s390/s390-64/setjmp.S: Likewise.
42994         * sysdeps/sh/sh3/setjmp.S: Likewise.
42995         * sysdeps/sh/sh4/setjmp.S: Likewise.
42996         * sysdeps/unix/alpha/sysdep.h: Likewise.
42997         * sysdeps/unix/arm/sysdep.S: Likewise.
42998         * sysdeps/unix/i386/sysdep.S: Likewise.
42999         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43000         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
43001         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
43002         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
43003         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43004         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
43005         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43006         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43007         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
43008         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
43009         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
43010         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
43011         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
43012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43014         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
43015         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43016         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43017         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
43018         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43019         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
43020         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43021         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43022         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
43023         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43024         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
43025         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43026         * sysdeps/unix/x86_64/sysdep.S: Likewise.
43027         * sysdeps/x86_64/setjmp.S: Likewise.
43029         * include/math.h: Use IS_IN instead of IS_IN_libm.
43030         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
43031         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
43032         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
43033         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
43034         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
43035         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
43036         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
43037         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
43038         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
43039         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
43040         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
43041         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
43042         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
43043         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
43044         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
43045         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
43046         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
43047         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
43048         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
43049         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
43050         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
43051         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
43052         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
43053         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
43054         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
43055         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
43056         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
43057         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
43058         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
43059         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
43060         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
43061         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
43062         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
43063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
43064         Likewise.
43065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
43066         Likewise.
43067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
43068         Likewise.
43069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
43070         Likewise.
43071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
43072         Likewise.
43073         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
43074         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
43075         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
43076         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
43077         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
43078         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
43079         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
43080         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
43081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
43082         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
43083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
43084         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
43085         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
43086         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
43087         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
43088         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
43089         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
43090         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
43091         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
43092         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
43093         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
43094         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
43095         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
43096         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
43097         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
43098         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
43099         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
43101         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
43102         * nptl/pthreadP.h: Likewise.
43103         * nptl_db/structs.def: Likewise.
43104         * sysdeps/arm/sysdep.h: Likewise.
43105         * sysdeps/nptl/bits/libc-lock.h: Likewise.
43106         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
43107         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
43108         * sysdeps/unix/alpha/sysdep.h: Likewise.
43109         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43110         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43111         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43112         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43113         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43114         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43115         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43116         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43117         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43118         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43119         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43120         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43121         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43122         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
43124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
43125         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43126         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43127         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43128         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43129         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43130         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43131         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43132         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43133         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
43134         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43136         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
43137         * nptl/pthreadP.h: Likewise.
43138         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
43139         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
43140         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
43141         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
43142         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
43143         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
43144         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43145         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
43146         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
43147         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
43148         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
43149         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
43150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
43151         Likewise.
43152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
43153         Likewise.
43154         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
43155         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
43156         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
43157         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
43158         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
43159         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
43160         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
43161         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
43163         * dlfcn/dladdr.c: Use IS_IN.
43164         * dlfcn/dladdr1.c: Likewise.
43165         * dlfcn/dlclose.c: Likewise.
43166         * dlfcn/dlerror.c: Likewise.
43167         * dlfcn/dlinfo.c: Likewise.
43168         * dlfcn/dlmopen.c: Likewise.
43169         * dlfcn/dlopen.c: Likewise.
43170         * dlfcn/dlsym.c: Likewise.
43171         * dlfcn/dlvsym.c: Likewise.
43173         * include/ifaddrs.h: Use IS_IN.
43174         * inet/check_pf.c: Likewise.
43175         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
43176         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
43178         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
43179         IS_IN_ldconfig.
43180         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
43181         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
43183         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
43184         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
43185         IS_IN (libc).
43187         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
43189         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
43190         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
43191         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
43192         * include/libc-symbols.h (IS_IN_LIB): New macro.
43193         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
43194         * include/netdb.h: Likewise.
43195         * include/stap-probe.h: Remove all uses of IN_LIB.
43197         * Makeconfig (module-cppflags-real): Define MODULE_NAME
43198         instead of IN_MODULE.
43199         * include/libc-symbols.h (IN_MODULE): Define using
43200         MODULE_NAME.
43201         (PASTE_NAME, PASTE_NAME1): New macros.
43202         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
43203         of IN_LIB.
43204         (STAP_PROBE_ASM): Likewise.
43206 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43208         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
43209         __mach_init in dlopened libc.
43211 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
43213         * sysdeps/arm/preconfigure.ac: Delete EABI check.
43214         * sysdeps/arm/preconfigure: Regenerate.
43216 2014-11-21  Roland McGrath  <roland@hack.frob.com>
43218         * nptl/pthread_create.c (__pthread_create_2_1): Set
43219         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
43220         when copying values from IATTR into PD.
43222 2014-11-21  Will Newton  <will.newton@linaro.org>
43223             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
43225         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
43226         Refactor inline-asm.  Also add comment.
43228         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
43229         ElfW macro instead of hardcoded Elf64 types.
43230         (la_aarch64_gnu_pltenter): Likewise.
43231         * sysdeps/aarch64/dl-machine.h
43232         (elf_machine_runtime_setup): Use ElfW(Addr).
43234         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
43235         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
43236         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
43237         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
43238         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
43239         (R_AARCH64_TLS_DTPMOD64): Rename to ..
43240         (R_AARCH64_TLS_DTPMOD): This.
43241         (R_AARCH64_TLS_DTPREL64): Rename to ...
43242         (R_AARCH64_TLS_DTPREL): This.
43243         (R_AARCH64_TLS_TPREL64): Rename to ...
43244         (R_AARCH64_TLS_TPREL): This.
43245         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
43246         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
43247         R_AARCH64_TLS_TPREL64.
43248         (elf_machine_rela): Likewise.
43250 2014-11-21  Torvald Riegel  <triegel@redhat.com>
43252         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
43253         by setting it to 0.  64b atomics are not supported currently.
43255 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43257         [BZ #16469]
43258         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
43259         search domain names.
43261 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43263         [BZ #16469]
43264         * NEWS: Update.
43265         * resolv/res_query.c (__libc_res_nquerydomain): Retain
43266         trailing dot.
43267         * posix/tst-getaddrinfo5.c: New.
43268         * posix/Makefile (tests): Add it.
43270 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43272         [BZ #14498]
43273         * NEWS: Fixed.
43274         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
43275         after parsing line but before break_if_match.
43276         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
43277         if there is a protocol mismatch.
43279 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
43281         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
43282         because the potential race is on the user-supplied stream.
43284 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43286         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
43287         string literal if not passed a buffer.
43288         * manual/job.texi (ctermid): Update reasoning, note deviation
43289         from posix, suggest mtasurace when not passed a buffer, for
43290         future non-preliminary safety notes.
43292 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43294         * manual/users.texi (cuserid): Fix MT-Safety note for the case
43295         of not passing it a buffer.
43296         Reported by Peng Haitao.
43298 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
43300         * manual/Makefile ($(objpfx)stamp-summary): Require
43301         check-safety.sh to pass.
43302         * manual/check-safety.sh: Wish for verification that every
43303         @deftypefn and @deftypefun is followed by a @safety remark.
43305 2014-11-20  Roland McGrath  <roland@hack.frob.com>
43307         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
43309         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
43310         PTHREAD_CANCEL_ASYNCHRONOUS.
43311         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
43312         send SIGCANCEL.
43314         * nptl/default-sched.h: New file.
43315         * sysdeps/unix/sysv/linux/default-sched.h: New file.
43316         * nptl/pthread_create.c: Include it.
43317         (__pthread_create_2_1): Use collect_default_sched instead of making
43318         Linux syscalls here directly.
43320 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43322         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
43323         __pthread_once): Use C11 atomics.
43325 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43327         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
43329 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43331         * include/atomic.h (__atomic_link_error, __atomic_check_size,
43332         atomic_thread_fence_acquire, atomic_thread_fence_release,
43333         atomic_thread_fence_seq_cst, atomic_load_relaxed,
43334         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
43335         atomic_compare_exchange_weak_relaxed,
43336         atomic_compare_exchange_weak_acquire,
43337         atomic_compare_exchange_weak_release,
43338         atomic_exchange_acquire, atomic_exchange_release,
43339         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
43340         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
43341         atomic_fetch_and_acquire,
43342         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
43344 2014-11-20  Torvald Riegel  <triegel@redhat.com>
43346         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
43347         USE_ATOMIC_COMPILER_BUILTINS): Define.
43348         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
43349         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43350         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
43351         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43352         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
43353         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43354         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
43355         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43356         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
43357         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43358         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
43359         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43360         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
43361         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43362         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
43363         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43364         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43365         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43366         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43367         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43368         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
43369         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43370         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
43371         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43372         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
43373         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43374         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
43375         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43376         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
43377         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43378         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
43379         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43380         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
43381         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43382         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
43383         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43384         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
43385         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43386         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
43387         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
43389 2014-11-19  Roland McGrath  <roland@hack.frob.com>
43391         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
43392         the sched_priority value here.  It was already checked when the user
43393         called pthread_attr_setschedparam.
43395         * nptl/tst-bad-schedattr.c: New file.
43396         * nptl/Makefile (tests): Add it.
43398 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
43399             Florian Weimer  <fweimer@redhat.com>
43400             Joseph Myers  <joseph@codesourcery.com>
43401             Adam Conrad  <adconrad@0c3.net>
43402             Andreas Schwab  <schwab@suse.de>
43403             Brooks  <bmoses@google.com>
43405         [BZ #17625]
43406         * wordexp-test.c (__dso_handle): Add prototype.
43407         (__register_atfork): Likewise.
43408         (__app_register_atfork): New function.
43409         (registered_forks): New global.
43410         (register_fork): New function.
43411         (test_case): Add 3 new tests for WRDE_CMDSUB.
43412         (main): Call __app_register_atfork.
43413         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
43414         fork count is non-zero fail the test.
43415         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
43416         is set.
43417         (parse_dollars): Remove check for WRDE_NOCMD.
43418         (parse_dquote): Likewise.
43420 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
43422         * Makeconfig (built-modules): List non-library modules to be
43423         built.
43424         (module-cppflags): Include libc-modules.h for
43425         everything except shlib-versions.v.i.
43426         (CPPFLAGS): Use it.
43427         (before-compile): Add libc-modules.h.
43428         ($(common-objpfx)libc-modules.h,
43429         $(common-objpfx)libc-modules.stmp): New targets.
43430         (common-generated): Add libc-modules.h and libc-modules.stmp.
43431         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
43432         * include/libc-symbols.h: Don't include libc-modules.h.
43433         * include/libc-modules.h: Remove file.
43434         * scripts/gen-libc-modules.awk: New script to generate
43435         libc-modules.h.
43436         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
43437         Depend on libc-modules.stmp.
43439         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
43441         * Makeconfig (in-module): Get value of libof set for the
43442         translation unit.
43443         (CPPFLAGS): Use $(in-module).
43444         * Makerules: Don't suffix routine names for nonlib.
43445         * include/libc-modules.h: New file.
43446         * include/libc-symbols.h: Include libc-modules.h
43447         (IS_IN): New macro to replace IS_IN_* macros.
43448         * elf/Makefile: Set libof-* for each routine.
43449         * elf/rtld-Rules: Likewise.
43450         * extra-modules.mk: Likewise.
43451         * iconv/Makefile: Likewise.
43452         * iconvdata/Makefile: Likewise.
43453         * locale/Makefile: Likewise.
43454         * malloc/Makefile: Likewise.
43455         * nss/Makefile: Likewise.
43456         * sysdeps/gnu/Makefile: Likewise.
43457         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
43458         * sysdeps/unix/sysv/linux/Makefile: Likewise.
43459         * sysdeps/s390/s390-64/Makefile: Likewise.
43460         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
43461         CPPFLAGS for nscd instead of nonlib.
43463 2014-11-18  Roland McGrath  <roland@hack.frob.com>
43465         * nptl/createthread.c: New file.
43467         * nptl/createthread.c: Moved ...
43468         * sysdeps/unix/sysv/linux/createthread.c: ... here.
43470         * nptl/createthread.c: Add proper top-line comment.
43471         (do_clone): Folded into ...
43472         (create_thread): ... here.  Take new arguments STOPPED_START and
43473         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
43474         increment __nptl_threads, do event-reporting logic, do
43475         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
43476         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
43477         resource cleanup if sched_setaffinity or sched_setscheduler fails,
43478         just send SIGCANCEL.
43479         * nptl/pthread_create.c: Forward-declare create_thread before
43480         including createthread.c.
43481         (start_thread): Use new macro START_THREAD_DEFN to replace defining
43482         declaration, and new macro START_THREAD_SELF to replace argument.
43483         Remove return statement.
43484         (report_thread_creation): New function.
43485         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
43486         synchronization logic, and __nptl_nthreads increment here, around
43487         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
43488         PD->parent_cancelhandling here, before create_thread.  When
43489         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
43490         __deallocate_stack, and ENOMEM translation here.
43492 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
43494         [BZ #17616]
43495         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
43496         (mptwo): Rename to __mptwo.
43497         (__inv): Use __mptwo instead of mptwo.
43498         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
43499         (mptwo): Rename to __mptwo.
43500         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
43501         of mpone and __mptwo instead of mptwo.
43502         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
43503         instead of mpone.
43504         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
43505         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
43506         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
43507         of mpone and __mptwo instead of mptwo.
43508         (__mpranred): Use __mpone instead of mpone.
43509         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
43510         variable.
43511         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43512         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43513         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43514         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43515         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43516         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43517         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43518         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43519         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43520         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43521         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43522         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43523         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43524         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43525         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43526         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43527         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43528         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43529         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43531 2014-11-18  Tom de Vries  <tom@codesoucery.com>
43533         * manual/signal.texi (Primitives Interrupted by Signals): In section,
43534         replace BSD Handler xref with BSD Signal Handling.
43536 2014-11-17  Richard Henderson  <rth@redhat.com>
43538         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
43539         (_FP_PACK_RAW_2): Remove.
43540         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
43541         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
43542         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
43543         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
43544         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
43545         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
43546         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
43547         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
43548         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
43549         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
43550         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
43551         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
43552         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
43553         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
43554         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
43555         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
43557 2014-11-14  Roland McGrath  <roland@hack.frob.com>
43559         * signal/signal.h [__USE_MISC]
43560         (struct sigvec): Remove type.
43561         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
43562         (sigvec): Remove declaration.
43563         * sysdeps/posix/sigvec.c: Moved ...
43564         * signal/sigvec.c: ... here, replacing old file.
43565         (struct sigvec): New type, copied from old signal.h definition.
43566         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
43567         (__sigvec): Convert definition to prototype.
43568         (sigvec): Replace weak_alias with compat_symbol.
43569         * signal/Versions (libc: GLIBC_2.21): New version set.
43570         * include/signal.h: Remove __sigvec declaration.
43571         * sysdeps/unix/bsd/sigvec.c: Remove file.
43572         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
43573         * manual/signal.texi (BSD Handler): Remove subsection.
43574         Move siginterrupt up to ...
43575         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
43576         (Blocking in BSD): Fold subsection into its parent.
43577         * NEWS: Mention sigvec removal.
43579 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43581         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
43582         (DLA_FMS): Make definition conditional only on [__FMA4__].
43583         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
43584         definition.
43586         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
43587         Make definition conditional only on [PROF].
43588         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
43589         definition.
43590         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
43591         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
43593         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
43594         !__GNUC__].
43595         * include/signal.h (__sigpause): Move declaration above call to
43596         libc_hidden_proto.
43597         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
43598         variable.
43599         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43600         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43602 2014-11-14  David S. Miller  <davem@davemloft.net>
43604         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
43605         Define before including <string/memcpy.c> and <string/mempcpy.c>.
43607 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
43609         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
43610         * configure: Regenerated.
43611         * manual/install.texi (Tools for Compilation): Document a
43612         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
43613         compiler verified to work.
43614         * INSTALL: Regenerated.
43616         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
43617         redeclare with asm name.
43618         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
43619         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
43620         including <string.h>.
43621         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43622         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
43623         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43624         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
43625         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43626         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
43627         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
43629 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
43631         * stdlib/strtol.c (__strtol): Use prototype definition.
43633         [BZ #17594]
43634         * stdlib/strtol.c (SYM__): New macro.
43635         (SYM__1): Likewise.
43636         (__strtol): Likewise.
43637         (strtol): Rename to __strtol and define as weak alias of
43638         __strtol.  Use libc_hidden_weak.
43640 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43642         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
43643         Use numbered labels in inline assembly.
43645 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43647         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
43648         Add setjmp LIBC_PROBE.
43649         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
43650         Likewise.
43651         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
43652         Add longjmp, longjmp_target LIBC_PROBE.
43653         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
43654         Likewise.
43656 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43658         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
43659         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
43660         to get rid of unused variable warning.
43662 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
43664         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
43665         Check for unwind_backtrace ==  NULL only in SHARED case.
43666         (__backchain_backtrace): Compile only in SHARED case.
43667         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
43668         Likewise.
43669         (__backchain_backtrace): Declare as static.
43671 2014-11-12  Roland McGrath  <roland@hack.frob.com>
43673         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
43674         (__libc_multiple_threads_ptr): Variable moved ...
43675         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
43677 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
43679         * conform/GlibcConform.pm: New file.
43680         * conform/conformtest.pl: Use GlibcConform module.
43681         * conform/linknamespace.pl: New file.
43682         * conform/list-header-symbols.pl: Likewise.
43683         * conform/Makefile (linknamespace-symlists-base): New variable.
43684         (linknamespace-symlists-tests): Likewise.
43685         (linknamespace-header-base): Likewise.
43686         (linknamespace-header-tests): Likewise.
43687         (tests-special): Add new tests.
43688         ($(linknamespace-symlists-tests)): New rule.
43689         (linknamespace-libs): New variable.
43690         ($(objpfx)symlist-stdlibs): New rule.
43691         ($(linknamespace-header-tests)): Likewise.
43692         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
43693         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
43694         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
43695         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
43696         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
43697         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
43698         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
43699         (test-xfail-ISO/math.h/linknamespace): Likewise.
43700         (test-xfail-ISO/signal.h/linknamespace): Likewise.
43701         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
43702         (test-xfail-ISO/time.h/linknamespace): Likewise.
43703         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
43704         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
43705         (test-xfail-ISO99/math.h/linknamespace): Likewise.
43706         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
43707         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
43708         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
43709         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
43710         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
43711         (test-xfail-ISO11/math.h/linknamespace): Likewise.
43712         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
43713         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
43714         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
43715         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
43716         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
43717         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
43718         (test-xfail-XPG3/math.h/linknamespace): Likewise.
43719         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
43720         (test-xfail-XPG3/search.h/linknamespace): Likewise.
43721         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
43722         (test-xfail-XPG3/time.h/linknamespace): Likewise.
43723         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
43724         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
43725         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
43726         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
43727         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
43728         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
43729         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
43730         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
43731         (test-xfail-XPG4/math.h/linknamespace): Likewise.
43732         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
43733         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
43734         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
43735         (test-xfail-XPG4/search.h/linknamespace): Likewise.
43736         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
43737         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
43738         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
43739         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
43740         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
43741         (test-xfail-XPG4/time.h/linknamespace): Likewise.
43742         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
43743         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
43744         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
43745         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
43746         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
43747         (test-xfail-POSIX/math.h/linknamespace): Likewise.
43748         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
43749         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
43750         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
43751         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
43752         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
43753         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
43754         (test-xfail-POSIX/time.h/linknamespace): Likewise.
43755         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
43756         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
43757         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
43758         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
43759         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
43760         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
43761         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
43762         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
43763         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
43764         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
43765         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
43766         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
43767         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
43768         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
43769         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
43770         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
43771         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
43772         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
43773         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
43774         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
43775         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
43776         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
43777         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
43778         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
43779         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
43780         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
43781         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
43782         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
43783         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
43784         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
43785         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
43786         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
43787         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
43788         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
43789         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
43790         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
43791         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
43792         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
43793         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
43794         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
43795         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
43796         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
43797         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
43798         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
43799         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
43800         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
43801         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
43802         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
43803         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
43804         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
43805         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
43806         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
43807         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
43808         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
43809         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
43810         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
43811         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
43812         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
43813         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
43814         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
43815         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
43816         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
43817         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
43818         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
43819         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
43820         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
43821         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
43822         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
43823         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
43824         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
43825         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
43826         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
43827         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
43828         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
43829         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
43830         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
43831         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
43832         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
43833         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
43834         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
43835         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
43836         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
43837         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
43838         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
43839         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
43840         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
43841         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
43842         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
43843         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
43844         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
43845         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
43846         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
43847         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
43848         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
43849         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
43850         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
43851         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
43852         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
43854         [BZ #17589]
43855         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
43856         of fgets_unlocked.
43858         [BZ #17585]
43859         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
43860         (memmem): Rename to __memmem and define as weak alias of
43861         __memmem.  Use libc_hidden_weak.
43862         (__memmem): Use libc_hidden_def.
43863         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
43864         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
43865         memmem.
43867         [BZ #17582]
43868         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
43869         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
43870         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
43871         and define as weak alias of __fgets_unlocked.  Use
43872         libc_hidden_weak.
43873         (__fgets_unlocked): Use libc_hidden_def.
43874         * include/stdio.h (__fgets_unlocked): Declare.  Use
43875         libc_hidden_proto.
43876         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
43877         __fgets_unlocked instead of fgets_unlocked.
43878         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
43879         (GET_NPROCS_CONF_PARSER): Likewise.
43880         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
43881         (GET_NPROCS_CONF_PARSER): Likewise.
43883         [BZ #17574]
43884         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
43885         weak alias of __wmemset.  Use libc_hidden_weak.
43886         (__wmemset): Use libc_hidden_def.
43887         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
43888         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
43889         of wmemset.
43891         [BZ #17573]
43892         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
43893         with asm name __mempcpy.
43894         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
43896         [BZ #17572]
43897         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
43898         and define as weak alias of __rawmemchr.
43899         (__rawmemchr): Do not define as strong alias of rawmemchr.
43901         [BZ #17571]
43902         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
43903         alias of __qsort_r.
43904         (qsort): Call __qsort_r instead of qsort_r.
43905         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
43906         (__qsort_r): Declare.  Call libc_hidden_proto.
43907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
43908         instead of qsort_r.
43909         * nscd/gai.c (__qsort_r): Define to qsort_r.
43910         * posix/tst-rfc3484.c (__qsort_r): Likewise.
43911         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
43912         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
43914         [BZ #17570]
43915         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
43916         define as weak alias of __malloc_info.
43918         [BZ #17584]
43919         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
43920         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43921         (__rewinddir): Use libc_hidden_def.
43922         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
43923         as weak alias of __rewinddir.  Don't use libc_hidden_def.
43924         (__rewinddir): Use libc_hidden_def.
43925         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
43926         weak alias of __rewinddir.  Don't use libc_hidden_def.
43927         (__rewinddir): Use libc_hidden_def.
43928         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
43929         (__rewinddir): Use libc_hidden_proto.
43930         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
43931         rewinddir.
43932         (__getcwd): Use __rewinddir instead of rewinddir.
43934         [BZ #17583]
43935         * libio/fileno.c (fileno): Rename to __fileno and define as weak
43936         alias of __fileno.  Use libc_hidden_weak.
43937         (__fileno): Use libc_hidden_def.
43938         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
43939         * libio/ftello.c (ftello): Rename to __ftello and define as weak
43940         alias of __ftello.
43941         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
43942         __ftello.
43943         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
43944         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
43945         libc_hidden_def.
43946         (fread_unlocked): Don't use libc_hidden_ver.
43947         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
43948         and define as weak alias of __fread_unlocked.  Don't use
43949         libc_hidden_def.
43950         (__fread_unlocked): Use libc_hidden_def.
43951         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
43952         (ftello): Don't use libc_hidden_proto.
43953         (__ftello): Declare.  Use libc_hidden_proto.
43954         (fread_unlocked): Don't use libc_hidden_proto.
43955         (__fread_unlocked): Declare.  Use libc_hidden_proto.
43956         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
43957         and __ftello instead of fileno, fread_unlocked and ftello.
43959 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43961         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
43962         GOT12.
43963         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
43964         Likewise.
43965         (_dl_start_user): Likewise.
43966         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
43968 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
43969             Siddhesh Poyarekar  <siddhesh@redhat.com>
43971         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
43972         Move argv and envp down instead of moving argc up.
43973         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
43975 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
43977         [BZ #17506]
43978         * test-skeleton.c (main): Return successful if one of
43979         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
43980         * string/tst-strcoll-overflow.c: Define expected status.
43982 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
43984         [BZ #17475]
43985         * locale/iso-639.def: Define Bhili and Tulu language codes.
43987 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
43989         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
43991 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
43993         [BZ #17555]
43994         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
43996 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
43998         * configure.ac: Updated check of minimal required version to
43999         2.22.
44000         * manual/install.texi (Tools for Compilation): Updated version
44001         number.
44002         * configure: Regenerated.
44003         * INSTALL: Likewise.
44005 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
44007         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
44008         __tls_get_addr.
44010 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
44012         * include/sys/wait.h (__libc_waitpid): Remove declaration.
44013         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
44014         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44015         libc_hidden_weak.
44016         (waitpid): Define as alias of __waitpid.
44017         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
44018         __waitpid.
44019         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44020         libc_hidden_weak.
44021         (waitpid): Define as alias of __waitpid.
44022         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
44023         __libc_waitpid alias.
44024         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
44025         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
44026         Likewise.
44027         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
44028         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
44029         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
44030         alias.
44031         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
44032         __waitpid.
44033         (__waitpid): Don't define as alias.  Use libc_hidden_def not
44034         libc_hidden_weak.
44035         (waitpid): Define as alias of __waitpid.
44037 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
44039         * manual/llio.texi: Add comment that write safety has been
44040         fixed in Linux.
44042         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
44043         (localplt-build-dso): Add elf/ld.so.
44044         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
44045         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
44046         and free for ld.so.
44047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
44048         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
44049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
44050         Likewise.
44051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
44052         Likewise.
44053         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
44054         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
44055         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
44056         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
44057         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
44058         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
44059         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
44060         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
44061         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
44062         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
44063         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
44065 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
44067         [BZ #14132]
44068         * include/libc-symbols.h (INTUSE): Remove macro.
44069         (INTDEF): Likewise.
44070         (INTVARDEF): Likewise.
44071         (_INTVARDEF): Likewise.
44072         (INTDEF2): Likewise.
44073         (INTVARDEF2): Likewise.
44074         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
44075         rtld_hidden_def instead of INTVARDEF.
44076         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
44077         (_dl_starting_up_internal): Remove declaration.
44078         (_dl_starting_up): Use rtld_hidden_proto.
44079         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
44080         declaration.
44081         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
44082         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
44083         _dl_starting_up.
44084         * elf/dl-writev.h (_dl_writev): Likewise.
44085         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
44086         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
44087         _dl_starting_up_internal.
44089 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44091         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
44092         test-skeleton.c.
44094 2014-11-05  Will Newton  <will.newton@linaro.org>
44096         * benchtests/Makefile: (bench-malloc): Add malloc thread
44097         scalability benchmark.
44098         * benchtests/bench-malloc-threads.c: New file.
44100 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
44102         * sysdeps/aarch64/strchrnul.S: New file.
44104 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44106         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
44107         definition.
44108         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
44109         Likewise.
44110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
44111         Likewise.
44112         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
44113         Likewise.
44114         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
44115         Likewise.
44116         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
44117         Likewise.
44119 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
44121         * catgets/test-gencat.c: Use test-skeleton.c.
44122         * catgets/tst-catgets.c: Likewise.
44123         * csu/tst-empty.c: Likewise.
44124         * elf/tst-audit2.c: Likewise.
44125         * elf/tst-global1.c: Likewise.
44126         * elf/tst-pathopt.c: Likewise.
44127         * elf/tst-piemod1.c: Likewise.
44128         * elf/tst-tls10.c: Likewise.
44129         * elf/tst-tls11.c: Likewise.
44130         * elf/tst-tls12.c: Likewise.
44131         * gnulib/tst-gcc.c: Likewise.
44132         * iconvdata/tst-e2big.c: Likewise.
44133         * iconvdata/tst-loading.c: Likewise.
44134         * iconv/tst-iconv1.c: Likewise.
44135         * iconv/tst-iconv2.c: Likewise.
44136         * inet/test-inet6_opt.c: Likewise.
44137         * inet/tst-gethnm.c: Likewise.
44138         * inet/tst-network.c: Likewise.
44139         * inet/tst-ntoa.c: Likewise.
44140         * intl/tst-codeset.c: Likewise.
44141         * intl/tst-gettext2.c: Likewise.
44142         * intl/tst-gettext3.c: Likewise.
44143         * intl/tst-ngettext.c: Likewise.
44144         * intl/tst-translit.c: Likewise.
44145         * io/test-stat.c: Likewise.
44146         * libio/test-fmemopen.c: Likewise.
44147         * libio/tst-freopen.c: Likewise.
44148         * libio/tst-sscanf.c: Likewise.
44149         * libio/tst-ungetwc1.c: Likewise.
44150         * libio/tst-ungetwc2.c: Likewise.
44151         * libio/tst-widetext.c: Likewise.
44152         * localedata/tst-ctype.c: Likewise.
44153         * localedata/tst-digits.c: Likewise.
44154         * localedata/tst-leaks.c: Likewise.
44155         * localedata/tst-mbswcs1.c: Likewise.
44156         * localedata/tst-mbswcs2.c: Likewise.
44157         * localedata/tst-mbswcs3.c: Likewise.
44158         * localedata/tst-mbswcs4.c: Likewise.
44159         * localedata/tst-mbswcs5.c: Likewise.
44160         * localedata/tst-setlocale.c: Likewise.
44161         * localedata/tst-trans.c: Likewise.
44162         * localedata/tst-wctype.c: Likewise.
44163         * localedata/tst-xlocale1.c: Likewise.
44164         * login/tst-grantpt.c: Likewise.
44165         * malloc/tst-calloc.c: Likewise.
44166         * malloc/tst-malloc.c: Likewise.
44167         * malloc/tst-mallocstate.c: Likewise.
44168         * malloc/tst-mcheck.c: Likewise.
44169         * malloc/tst-mtrace.c: Likewise.
44170         * malloc/tst-obstack.c: Likewise.
44171         * math/atest-exp2.c: Likewise.
44172         * math/atest-exp.c: Likewise.
44173         * math/atest-sincos.c: Likewise.
44174         * math/test-matherr.c: Likewise.
44175         * math/test-misc.c: Likewise.
44176         * math/test-powl.c: Likewise.
44177         * math/tst-definitions.c: Likewise.
44178         * misc/tst-dirname.c: Likewise.
44179         * misc/tst-efgcvt.c: Likewise.
44180         * misc/tst-fdset.c: Likewise.
44181         * misc/tst-hsearch.c: Likewise.
44182         * misc/tst-mntent2.c: Likewise.
44183         * nptl/tst-sem7.c: Likewise.
44184         * nptl/tst-sem8.c: Likewise.
44185         * nptl/tst-sem9.c: Likewise.
44186         * nss/test-netdb.c: Likewise.
44187         * posix/tst-fnmatch.c: Likewise.
44188         * posix/tst-getlogin.c: Likewise.
44189         * posix/tst-gnuglob.c: Likewise.
44190         * posix/tst-mmap.c: Likewise.
44191         * pwd/tst-getpw.c: Likewise.
44192         * resolv/tst-inet_ntop.c: Likewise.
44193         * rt/tst-timer.c: Likewise.
44194         * stdio-common/test-fseek.c: Likewise.
44195         * stdio-common/test-popen.c: Likewise.
44196         * stdio-common/test-vfprintf.c: Likewise.
44197         * stdio-common/tst-cookie.c: Likewise.
44198         * stdio-common/tst-fileno.c: Likewise.
44199         * stdio-common/tst-gets.c: Likewise.
44200         * stdio-common/tst-obprintf.c: Likewise.
44201         * stdio-common/tst-perror.c: Likewise.
44202         * stdio-common/tst-sprintf2.c: Likewise.
44203         * stdio-common/tst-sprintf3.c: Likewise.
44204         * stdio-common/tst-sprintf.c: Likewise.
44205         * stdio-common/tst-swprintf.c: Likewise.
44206         * stdio-common/tst-tmpnam.c: Likewise.
44207         * stdio-common/tst-unbputc.c: Likewise.
44208         * stdio-common/tst-wc-printf.c: Likewise.
44209         * stdlib/tst-environ.c: Likewise.
44210         * stdlib/tst-fmtmsg.c: Likewise.
44211         * stdlib/tst-limits.c: Likewise.
44212         * stdlib/tst-rand48-2.c: Likewise.
44213         * stdlib/tst-rand48.c: Likewise.
44214         * stdlib/tst-random2.c: Likewise.
44215         * stdlib/tst-random.c: Likewise.
44216         * stdlib/tst-strtol.c: Likewise.
44217         * stdlib/tst-strtoll.c: Likewise.
44218         * stdlib/tst-tls-atexit.c: Likewise.
44219         * stdlib/tst-xpg-basename.c: Likewise.
44220         * string/test-ffs.c: Likewise.
44221         * string/tst-bswap.c: Likewise.
44222         * string/tst-inlcall.c: Likewise.
44223         * string/tst-strtok.c: Likewise.
44224         * string/tst-strxfrm.c: Likewise.
44225         * sysdeps/x86_64/tst-audit10.c: Likewise.
44226         * sysdeps/x86_64/tst-audit3.c: Likewise.
44227         * sysdeps/x86_64/tst-audit4.c: Likewise.
44228         * sysdeps/x86_64/tst-audit5.c: Likewise.
44229         * time/tst-ftime_l.c: Likewise.
44230         * time/tst-getdate.c: Likewise.
44231         * time/tst-mktime3.c: Likewise.
44232         * time/tst-mktime.c: Likewise.
44233         * time/tst-posixtz.c: Likewise.
44234         * time/tst-strptime2.c: Likewise.
44235         * time/tst-strptime3.c: Likewise.
44236         * wcsmbs/tst-btowc.c: Likewise.
44237         * wcsmbs/tst-mbrtowc.c: Likewise.
44238         * wcsmbs/tst-mbsrtowcs.c: Likewise.
44239         * wcsmbs/tst-wchar-h.c: Likewise.
44240         * wcsmbs/tst-wcpncpy.c: Likewise.
44241         * wcsmbs/tst-wcrtomb.c: Likewise.
44242         * wcsmbs/tst-wcsnlen.c: Likewise.
44243         * wcsmbs/tst-wcstof.c: Likewise.
44245 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
44247         [BZ #14132]
44248         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
44249         INTDEF.
44250         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
44251         declaration.
44252         (_dl_mcount): Use rtld_hidden_proto.
44253         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
44254         _dl_mcount.
44255         * elf/rtld.c (_rtld_global_ro): Likewise.
44257         [BZ #14132]
44258         * elf/dl-init.c (_dl_init): Don't use INTDEF.
44259         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
44260         of _dl_init_internal.
44261         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
44262         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
44263         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
44264         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
44265         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
44266         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
44267         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
44268         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
44269         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
44270         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
44271         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
44272         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
44273         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
44274         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
44275         * sysdeps/tile/dl-start.S (_start): Likewise.
44276         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
44277         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
44279         [BZ #14132]
44280         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
44281         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
44282         (rtld_progname): Make macro definition unconditional.
44283         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
44284         INTDEF.
44285         (dlmopen_doit): Do not use INTUSE with _dl_argv.
44286         (dl_main): Likewise.
44287         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
44288         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
44289         instead of _dl_argv_internal.
44290         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
44291         __GI__dl_argv instead of INTUSE(_dl_argv).
44292         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
44293         __GI__dl_argv instead of _dl_argv_internal.
44295         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
44296         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
44297         macro.
44298         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
44299         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
44300         New macro.
44301         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
44302         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
44303         macro.
44304         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
44305         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
44307 2014-11-04  Andreas Schwab  <schwab@suse.de>
44309         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
44311 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44313         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
44314         mtvsrd instruction in binary form.
44316 2014-11-03  Andreas Schwab  <schwab@suse.de>
44318         [BZ #17522]
44319         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
44320         for less than MB_LEN_MAX use a local buffer of that size.
44321         * libio/tst-fputws.c: New file.
44322         * libio/Makefile (tests): Add tst-fputws.
44324 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
44326         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
44327         the size of the fpu_fr.fpu_dregs[] array.
44329 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
44331         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
44332         (__nanosleep): Do not define as alias.
44333         (nanosleep): Define as alias of __nanosleep.
44334         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
44335         __libc_nanosleep name.
44337 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44339         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
44340         install.texi in comment.
44342 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44344         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
44345         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
44346         ... add here and use lwsync or sync ...
44347         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
44348         ... and add here using lwsync.
44350 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
44352         * elf/dl-machine-reject-phdr.h: New file.
44353         * elf/dl-load.c: #include that.
44354         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
44355         if that returned true.
44357 2014-10-31  Roland McGrath  <roland@hack.frob.com>
44359         [BZ #17496]
44360         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
44361         gen-as-const-headers chunk.  Add a big scare comment after the last
44362         safe place to touch before-compile.
44364 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
44366         * manual/install.texi (Tools for Compilation): Update autoconf
44367         version requirements.
44368         * INSTALL: Regenerated.
44370         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
44371         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
44372         (__libc_pselect): Likewise.
44374         [BZ #14138]
44375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
44376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
44377         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
44378         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
44380 2014-10-31  Torvald Riegel  <triegel@redhat.com>
44382         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
44383         correct barrier instruction.
44384         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
44385         Likewise.
44386         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
44387         Likewise.
44389 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44391         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
44392         after defining inlines.  Instead, just use parens to defeat macro
44393         expansion of __isctype in its declaration.
44395 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44397         * include/sys/uio.h (__libc_readv): Remove declaration.
44398         (__libc_writev): Likewise.
44399         * misc/readv.c (__libc_readv): Rename to __readv.
44400         (__readv): Do not define as alias.
44401         (readv): Define as alias of __readv.
44402         * misc/writev.c (__libc_writev): Rename to __writev.
44403         (__writev): Do not define as alias.
44404         (writev): Define as alias of __writev.
44405         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
44406         (__readv): Do not define as alias.
44407         (readv): Define unconditionally as alias of __readv.
44408         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
44409         (__writev): Do not define as alias.
44410         (writev): Define unconditionally as alias of __writev.
44411         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
44412         name.
44413         (writev): Do not define __libc_writev name.
44415 2014-10-30  Roland McGrath  <roland@hack.frob.com>
44417         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
44418         (convert_charseq): New function, broken out of ...
44419         (use_from_charmap): ... here.  Call it.
44420         (use_to_charmap): Use convert_charseq and free instead of duplicating
44421         its code with a variable-length stack struct.
44423 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
44425         * include/fcntl.h (__libc_creat): Remove declaration.
44426         * io/creat.c (__libc_creat): Rename to creat.
44427         (creat): Do not define as alias.
44428         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
44429         of creat instead of __libc_creat.
44430         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
44431         to creat.
44432         (creat): Do not define as alias.
44433         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
44434         __libc_creat.
44435         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
44436         __libc_creat name.
44437         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
44438         Likewise.
44440 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
44442         * manual/llio.texi: Add comments discussing why write() may be
44443         considered MT-unsafe on Linux.
44445 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
44447         * dl-load.c (local_strdup): Remove.
44448         (expand_dynamic_string_token): Use __strdup.
44449         (decompose_rpath): Likewise.
44450         (_dl_map_object): Likewise.
44452 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
44454         [BZ #14132]
44455         * sysdeps/generic/unwind-dw2-fde.c
44456         (__register_frame_info_bases_internal): Do not declare.
44457         (__register_frame_info_table_bases_internal): Likewise.
44458         (__deregister_frame_info_bases_internal): Likewise.
44459         (__register_frame_info_bases): Declare and use hidden_proto before
44460         definition.  Use hidden_def instead of INTDEF.
44461         (__register_frame_info_table_bases): Likewise.
44462         (__deregister_frame_info_bases): Likewise.
44463         (__register_frame_info): Do not use INTUSE.
44464         (__register_frame): Likewise.
44465         (__register_frame_info_table): Likewise.
44466         (__register_frame_table): Likewise.
44467         (__deregister_frame_info): Likewise.
44468         (__deregister_frame): Likewise.
44470 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
44472         * sysdeps/unix/sysv/linux/arm/kernel-features.h
44473         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
44474         not undefine.
44475         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
44476         Likewise.
44477         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
44478         Likewise.
44480 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
44482         [BZ #14138]
44483         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
44484         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
44485         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
44486         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
44487         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
44488         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
44489         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
44490         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
44491         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
44492         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
44493         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
44494         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
44495         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
44496         syscall.
44497         (setfsuid): Likewise.
44498         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
44499         (setfsuid): Likewise.
44500         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
44501         (setfsuid): Likewise.
44502         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
44503         Likewise.
44504         (setfsuid): Likewise.
44505         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
44506         (setfsuid): Likewise.
44507         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
44508         Likewise.
44509         (setfsuid): Likewise.
44511 2014-10-27  Andreas Schwab  <schwab@suse.de>
44513         [BZ #17501]
44514         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
44515         check for Slow_SSE4_2 feature bit.
44516         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
44517         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
44518         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
44519         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
44521 2014-10-24  Roland McGrath  <roland@hack.frob.com>
44523         * configure.ac: Validate compiler version with a empirical test of
44524         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
44525         $CC -v output.
44526         * configure: Regenerated.
44528         * inet/htons.c (htons): Prototypify.
44529         * inet/htonl.c (htonl): Likewise.
44531 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44533         * string/strncat.c (strncat): Improve performance by using strlen.
44535 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44537         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
44539 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44541         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
44542         Call libc_fetestexcept_aarch64.
44544 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44546         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
44547         Call libc_feholdexcept_aarch64.
44549 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44551         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
44552         Call get_rounding_mode.
44554 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44556         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
44557         Simplify logic.
44559 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
44561         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
44562         Simplify logic.
44564 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
44566         [BZ #14138]
44567         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
44568         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
44569         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
44570         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
44571         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
44572         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
44573         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
44574         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
44575         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
44576         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
44577         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
44578         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
44579         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
44580         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
44581         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
44582         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
44583         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
44584         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
44585         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
44586         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
44587         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
44588         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
44589         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
44590         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
44591         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
44592         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
44593         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
44594         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
44595         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
44596         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
44597         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
44598         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
44599         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
44600         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
44601         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
44602         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
44603         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
44604         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
44605         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
44606         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
44607         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
44608         syscall.
44609         (geteuid): Likewise.
44610         (getgid): Likewise.
44611         (getuid): Likewise.
44612         (getresgid): Likewise.
44613         (getresuid): Likewise.
44614         (getgroups): Likewise.
44615         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
44616         (geteuid): Likewise.
44617         (getgid): Likewise.
44618         (getuid): Likewise.
44619         (getresgid): Likewise.
44620         (getresuid): Likewise.
44621         (getgroups): Likewise.
44622         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
44623         (geteuid): Likewise.
44624         (getgid): Likewise.
44625         (getuid): Likewise.
44626         (getresgid): Likewise.
44627         (getresuid): Likewise.
44628         (getgroups): Likewise.
44629         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
44630         Likewise.
44631         (geteuid): Likewise.
44632         (getgid): Likewise.
44633         (getuid): Likewise.
44634         (getresgid): Likewise.
44635         (getresuid): Likewise.
44636         (getgroups): Likewise.
44637         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
44638         (geteuid): Likewise.
44639         (getgid): Likewise.
44640         (getuid): Likewise.
44641         (getresgid): Likewise.
44642         (getresuid): Likewise.
44643         (getgroups): Likewise.
44644         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
44645         Likewise.
44646         (geteuid): Likewise.
44647         (getgid): Likewise.
44648         (getuid): Likewise.
44649         (getgroups): Likewise.
44651         [BZ #14138]
44652         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
44653         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
44654         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
44655         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
44656         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
44657         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
44658         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
44659         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
44660         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
44661         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
44662         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
44663         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
44664         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
44665         __chown.
44666         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
44667         (lchown): Likewise.
44668         (fchown): Likewise.
44669         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
44670         Likewise.
44671         (lchown): Likewise.
44672         (fchown): Likewise.
44673         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
44674         (lchown): Likewise.
44675         (fchown): Likewise.
44676         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
44677         Likewise.
44678         (lchown): Likewise.
44679         (fchown): Likewise.
44681 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44683         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
44684         Simplify logic.
44686 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44688         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44689         Cleanup logic.
44691 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44693         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
44694         Remove unused include.
44696 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
44698         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
44699         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
44700         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
44701         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
44703 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
44704             Helge Deller <deller@gmx.de>
44706         [BZ #17508]
44707         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
44708         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
44709         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
44711 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
44713         [BZ #14132]
44714         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
44715         Remove macro definition.
44716         (__ashrdi3_v_glibc20): Likewise.
44717         (__lshrdi3_v_glibc20): Likewise.
44718         (__cmpdi2_v_glibc20): Likewise.
44719         (__ucmpdi2_v_glibc20): Likewise.
44720         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
44721         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44722         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44723         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44724         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44725         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
44727 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44729         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
44730         old GNU extension [0] syntax.
44731         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
44732         alloca rather than an array member with variable length.
44733         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
44734         * nscd/nscd.c (invalidate_db): New function, broken out of ...
44735         (parse_opt): ... here.  Likewise use alloca there.
44736         Validate the -i argument before checking for rootness.
44737         (send_shutdown): New function, broken out of ...
44738         (parse_opt): ... here.
44740 2014-10-22  Roland McGrath  <roland@hack.frob.com>
44742         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
44743         macro to get at the _rt_local_ro field.
44744         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
44745         ([PIC] case) or _dl_hwcap ([!PIC] case).
44746         * sysdeps/arm/setjmp.S: Likewise.
44748         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
44749         * sysdeps/arm/configure.ac: New check to define it.
44750         * sysdeps/arm/configure: Regenerated.
44751         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
44752         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
44753         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
44754         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
44755         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
44756         Use move/movt pair instead of a load.
44757         (LDST_GLOBAL): Macro removed.
44758         (LDR_GLOBAL): New macro replaces it.
44759         (LDR_HIDDEN): New macro.
44760         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
44761         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
44763         * setjmp/tst-setjmp-static.c: New file.
44764         * setjmp/Makefile (tests): Add it.
44765         (tests-static): New variable.
44767 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
44769         [BZ #17485]
44770         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
44772 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
44774         [BZ #14132]
44775         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
44777 2014-10-21  Roland McGrath  <roland@hack.frob.com>
44779         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
44781 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44783         * io/fts.c (dirent_not_directory): New function.
44784         (fts_build): Call it.
44786 2014-10-20  Roland McGrath  <roland@hack.frob.com>
44788         * nptl/version.c (__nptl_main): Use normal __write rather than
44789         INTERNAL_SYSCALL.
44790         (banner): Update copyright years.
44792         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
44793         gettimeofday.
44794         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
44795         * nptl/pthread_cond_timedwait.c: Likewise.
44796         * nptl/pthread_mutex_timedlock.c: Likewise.
44797         * nptl/sem_timedwait.c: Likewise.
44799         * sysdeps/nptl/bits/libc-lock.h
44800         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
44801         (__libc_lock_init_recursive): Return void, not 0.
44802         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
44803         (__libc_rwlock_init): Likewise.
44804         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
44806 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44808         [BZ #15215]
44809         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
44810         (__pthread_once_slow): ... here.
44811         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
44812         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
44814 2014-10-20  Torvald Riegel  <triegel@redhat.com>
44816         [BZ #15215]
44817         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
44818         __PTHREAD_ONCE_FORK_GEN_INCR): New.
44819         * sysdeps/nptl/fork.c (__libc_fork): Use them.
44820         * nptl/pthread_once.c (__pthread_once): Likewise.
44821         Update comments.
44823 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
44825         [BZ #14138]
44826         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
44827         name.
44828         (writev): Use __libc_writev as strong name.
44829         * sysdeps/unix/sysv/linux/readv.c: Remove file.
44830         * sysdeps/unix/sysv/linux/writev.c: Likewise.
44832 2014-10-17  Roland McGrath  <roland@hack.frob.com>
44834         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
44836         * sysdeps/i386/nptl/tls.h
44837         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
44838         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
44839         New macros.
44840         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
44841         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
44842         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
44843         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
44844         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
44845         Call CHECK_THREAD_SYSINFO instead of doing an assert.
44847         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
44848         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
44849         on [__NR_futex].
44850         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
44851         broken out of ...
44852         (__pthread_mutex_init): ... here.  Call it.
44853         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
44854         Conditionalize PI cases on [__NR_futex].
44855         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
44856         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
44857         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
44859         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
44860         conditional on [SIGSETXID].
44861         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
44862         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
44863         is defined.  Likewise for SIGSETXID.
44864         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
44865         Conditionalize definitions on [SIGSETXID].
44866         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
44867         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
44868         unblocking on [SIGCANCEL].
44870         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
44871         [__NR_set_robust_list].
44873 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
44875         * string/strcoll_l.c (get_next_seq): Fix up formatting.
44876         (do_compare): Likewise.
44878 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
44880         [BZ #15884]
44881         * string/strcoll_l.c: Don't include stdio.h.
44882         (coll_seq): Remove members idxarr and rulearr.
44883         (get_next_seq_cached): Remove function.
44884         (get_next_seq): Likewise.
44885         (get_next_seq_nocache): Rename to get_next_seq.
44886         (do_compare): Remove function.
44887         (do_compare_nocache): Rename to do_compare.
44888         (STRCOLL): Remove weight and rules cache.
44890 2014-10-16  Roland McGrath  <roland@hack.frob.com>
44892         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
44893         * sysdeps/arm/sfp-machine.h: ... to here.
44894         * sysdeps/arm/Implies: Remove arm/soft-fp.
44896 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
44898         * conform/data/sys/utsname.h-data (*_t): Allow.
44899         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
44900         [POSIX] (WEXITED): Do not expect constant.
44901         [POSIX] (WSTOPPED): Likewise.
44902         [POSIX] (WNOHANG): Likewise.
44903         [POSIX] (WNOWAIT): Likewise.
44904         [POSIX] (siginfo_t): Do not expect type or elements.
44905         [POSIX] (pid_t): Do not expect type.
44906         [POSIX] (signal.h): Do not allow header.
44907         [POSIX] (sys/resource.h): Likewise.
44908         [POSIX] (si_*): Do not allow pattern.
44909         [POSIX] (W*): Likewise.
44910         [POSIX] (P_*): Likewise.
44911         [POSIX] (BUS_*): Likewise.
44912         [POSIX] (CLD_*): Likewise.
44913         [POSIX] (FPE_*): Likewise.
44914         [POSIX] (ILL_*): Likewise.
44915         [POSIX] (POLL_*): Likewise.
44916         [POSIX] (SEGV_*): Likewise.
44917         [POSIX] (SI_*): Likewise.
44918         [POSIX] (TRAP_*): Likewise.
44919         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
44920         variable.
44922 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
44924         [BZ #12926]
44925         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
44926         infinite loop when __recvmsg returns 0.
44928 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
44930         * CANCEL-FCT-WAIVE: Remove file.
44931         * CANCEL-FILE-WAIVE: Likewise.
44933         [BZ #14132]
44934         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
44935         instead of INTVARDEF.
44936         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44937         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
44938         rtld_hidden_data_def instead of INTVARDEF.
44939         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
44940         * elf/dl-deps.c (expand_dst): Likewise.
44941         * elf/dl-load.c (_dl_dst_count): Likewise.
44942         (_dl_dst_substitute): Likewise.
44943         (decompose_rpath): Likewise.
44944         (_dl_init_paths): Likewise.
44945         (open_path): Likewise.
44946         (_dl_map_object): Likewise.
44947         * elf/rtld.c (dl_main): Likewise.
44948         (process_dl_audit): Likewise.
44949         (process_envvars): Likewise.
44950         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
44951         Remove declaration.
44952         (__libc_enable_secure): Use rtld_hidden_proto.
44954 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
44956         * elf/dl-load.c
44957         (add_path): New function broken out of _dl_rtld_di_serinfo.
44958         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
44960 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
44962         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
44963         parentheses around macro arguments.
44964         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
44965         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
44966         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
44967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
44968         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
44969         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44970         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
44972         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
44973         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
44974         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
44975         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
44976         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
44977         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
44978         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
44979         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
44980         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
44981         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
44982         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
44983         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
44984         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
44985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
44986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
44987         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
44988         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
44989         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
44990         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
44991         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
44992         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
44993         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
44994         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
44995         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
44996         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
44997         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
44998         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
44999         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
45000         Likewise.
45001         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
45002         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45003         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45004         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
45005         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
45006         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
45007         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
45008         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
45009         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
45010         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
45011         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
45012         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
45013         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
45014         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
45015         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
45016         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
45017         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
45018         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
45019         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
45020         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
45021         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
45022         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
45023         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
45024         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
45025         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
45026         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
45027         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
45028         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
45029         (_FP_FRAC_SRS_1): Likewise.
45030         (_FP_FRAC_CLZ_1): Likewise.
45031         (_FP_MUL_MEAT_1_imm): Likewise.
45032         (_FP_MUL_MEAT_1_wide): Likewise.
45033         (_FP_MUL_MEAT_1_hard): Likewise.
45034         (_FP_SQRT_MEAT_1): Likewise.
45035         (_FP_FRAC_ASSEMBLE_1): Likewise.
45036         (_FP_FRAC_DISASSEMBLE_1): Likewise.
45037         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
45038         (__FP_CLZ_2): Likewise.
45039         (_FP_MUL_MEAT_2_wide): Likewise.
45040         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45041         (_FP_MUL_MEAT_2_gmp): Likewise.
45042         (_FP_MUL_MEAT_2_120_240_double): Likewise.
45043         (_FP_SQRT_MEAT_2): Likewise.
45044         (_FP_FRAC_ASSEMBLE_2): Likewise.
45045         (_FP_FRAC_DISASSEMBLE_2): Likewise.
45046         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
45047         (_FP_FRAC_CLZ_4): Likewise.
45048         (_FP_MUL_MEAT_4_wide): Likewise.
45049         (_FP_MUL_MEAT_4_gmp): Likewise.
45050         (_FP_SQRT_MEAT_4): Likewise.
45051         (_FP_FRAC_ASSEMBLE_4): Likewise.
45052         (_FP_FRAC_DISASSEMBLE_4): Likewise.
45053         * soft-fp/op-common.h (_FP_CMP): Likewise.
45054         (_FP_CMP_EQ): Likewise.
45055         (_FP_CMP_UNORD): Likewise.
45056         (_FP_TO_INT): Likewise.
45057         (_FP_FROM_INT): Likewise.
45058         [!__FP_CLZ] (__FP_CLZ): Likewise.
45059         (_FP_DIV_HELP_imm): Likewise.
45060         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
45061         Likewise.
45062         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
45063         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
45064         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
45065         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
45066         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
45067         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45068         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45069         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
45070         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
45071         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
45072         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
45073         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
45074         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
45075         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
45076         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
45077         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
45078         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
45079         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
45080         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
45081         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
45082         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
45083         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
45084         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
45085         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
45086         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
45087         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
45088         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
45089         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
45090         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
45091         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
45092         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
45093         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
45094         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
45095         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
45096         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
45097         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
45098         (FP_UNPACK_RAW_SP): Likewise.
45099         (FP_PACK_RAW_S): Likewise.
45100         (FP_PACK_RAW_SP): Likewise.
45101         (FP_UNPACK_S): Likewise.
45102         (FP_UNPACK_SP): Likewise.
45103         (FP_UNPACK_SEMIRAW_S): Likewise.
45104         (FP_UNPACK_SEMIRAW_SP): Likewise.
45105         (FP_PACK_S): Likewise.
45106         (FP_PACK_SP): Likewise.
45107         (FP_PACK_SEMIRAW_S): Likewise.
45108         (FP_PACK_SEMIRAW_SP): Likewise.
45109         (_FP_SQRT_MEAT_S): Likewise.
45110         (FP_CMP_S): Likewise.
45111         (FP_CMP_EQ_S): Likewise.
45112         (FP_CMP_UNORD_S): Likewise.
45113         (FP_TO_INT_S): Likewise.
45114         (FP_FROM_INT_S): Likewise.
45116         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
45118         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
45119         (FP_EX_INVALID_IMZ): Likewise.
45120         (FP_EX_INVALID_IMZ_FMA): Likewise.
45121         (FP_EX_INVALID_ISI): Likewise.
45122         (FP_EX_INVALID_ZDZ): Likewise.
45123         (FP_EX_INVALID_IDI): Likewise.
45124         (FP_EX_INVALID_SQRT): Likewise.
45125         (FP_EX_INVALID_CVI): Likewise.
45126         (FP_EX_INVALID_VC): Likewise.
45127         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
45128         "invalid" exceptions.
45129         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
45130         (_FP_ADD_INTERNAL): Likewise.
45131         (_FP_MUL): Likewise.
45132         (_FP_FMA): Likewise.
45133         (_FP_DIV): Likewise.
45134         (_FP_CMP_CHECK_NAN): Likewise.
45135         (_FP_SQRT): Likewise.
45136         (_FP_TO_INT): Likewise.
45137         (FP_EXTEND): Likewise.
45139 2014-10-09  Allan McRae  <allan@archlinux.org>
45141         * po/fr.po: Update French translation from translation project.
45143 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
45145         [BZ #14132]
45146         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
45147         of INTDEF.
45148         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
45149         (__cxa_atexit): Use libc_hidden_proto.
45150         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
45152         [BZ #14132]
45153         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
45154         declaration.
45155         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
45156         [!_ISOMAC] (__iswspace_l_internal): Likewise.
45157         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
45158         [!_ISOMAC] (__iswctype_internal): Likewise.
45159         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
45160         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
45161         alias.
45162         (fcntl): Remove __fcntl_internal alias.
45163         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
45164         __connect_internal alias.
45165         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
45166         Likewise.
45168         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
45169         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
45170         FP_DENORM_ZERO.
45171         (_FP_CHECK_FLUSH_ZERO): New macro.
45172         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
45173         (_FP_CMP): Likewise.
45174         (_FP_CMP_EQ): Likewise.
45175         (_FP_TO_INT): Do not set inexact for subnormal arguments if
45176         FP_DENORM_ZERO.
45177         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
45178         (FP_TRUNC): Likewise.
45180         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
45181         treated as invalid conversion, not as normal exponent.
45183         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
45184         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
45185         (_FP_CMP_EQ): Likewise.
45186         (_FP_CMP_UNORD): Likewise.
45187         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
45188         (FP_CMP_EQ_D): Likewise.
45189         (FP_CMP_UNORD_D): Likewise.
45190         * soft-fp/extended.h (FP_CMP_E): Likewise.
45191         (FP_CMP_EQ_E): Likewise.
45192         (FP_CMP_UNORD_E): Likewise.
45193         * soft-fp/quad.h (FP_CMP_Q): Likewise.
45194         (FP_CMP_EQ_Q): Likewise.
45195         (FP_CMP_UNORD_Q): Likewise.
45196         * soft-fp/single.h (FP_CMP_S): Likewise.
45197         (FP_CMP_EQ_S): Likewise.
45198         (FP_CMP_UNORD_S): Likewise.
45199         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
45200         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
45201         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
45202         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
45203         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
45204         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
45205         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
45206         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
45207         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
45208         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
45209         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
45210         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
45211         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
45212         to FP_CMP_Q.
45213         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
45214         FP_CMP_Q.
45215         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
45216         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
45217         FP_CMP_EQ_Q.
45218         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
45219         FP_CMP_Q.
45220         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
45221         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
45222         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
45223         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
45224         FP_CMP_EQ_Q.
45225         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
45226         FP_CMP_Q.
45227         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
45228         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
45229         FP_CMP_EQ_Q.
45230         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
45231         FP_CMP_Q.
45232         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
45233         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
45234         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
45235         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
45236         FP_CMP_EQ_Q.
45238         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
45239         a subnormal result, set the underflow exception if trapping on
45240         underflow is enabled.
45241         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
45242         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
45243         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
45244         redefine to 0.
45245         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
45246         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45247         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
45248         * soft-fp/extendxftf2.c (__extendxftf2): Use
45249         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
45251         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
45252         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
45253         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45254         FP_HANDLE_EXCEPTIONS.
45255         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
45256         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45257         FP_HANDLE_EXCEPTIONS.
45258         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
45259         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45260         FP_HANDLE_EXCEPTIONS.
45261         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
45262         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
45263         FP_HANDLE_EXCEPTIONS.
45265 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
45267         [BZ #14132]
45268         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
45269         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
45270         use INTUSE.
45271         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
45272         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
45273         Remove alias.
45274         (__adjtimex): Define using libc_hidden_ver.
45275         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
45276         Remove declaration.
45277         (ntp_gettime): Call __adjtimex directly.
45278         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
45279         Remove declaration.
45280         (ntp_gettimex): Call __adjtimex directly.
45281         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
45282         __adjtimex_internal alias.
45284 2014-10-08  Roland McGrath  <roland@hack.frob.com>
45286         [BZ #17460]
45287         * nscd/nscd.c (more_help): Rewrite list of tables collection
45288         using xstrdup and asprintf.
45290         * nscd/nscd_conf.c: Remove local xstrdup declaration.
45292 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45293             Roland McGrath  <roland@hack.frob.com>
45295         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
45296         (do_lookup_unique): ... local function 'enter' here; update callers.
45298 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
45300         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
45301         compat_symbol calls on [SHARED].
45302         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
45303         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
45304         Remove.
45305         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45306         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
45307         (oldsetrlimit): Remove.
45308         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45310         (lchown): New syscall entry.
45311         (oldsetrlimit): Remove.
45312         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45313         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
45314         (oldsetrlimit): Remove.
45315         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
45317         [BZ #14138]
45318         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
45319         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
45320         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
45321         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
45322         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45323         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
45324         (fchown): Likewise.
45325         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
45326         (fchown): Likewise.
45327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
45328         Likewise.
45330 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45332         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
45333         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
45334         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
45335         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
45336         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
45337         Likewise.
45338         (__old_sem_post): Likewise.
45340 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
45342         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
45343         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
45344         HAVE_CLOCK_GETTIME_VSYSCALL macros.
45345         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
45346         Use INLINE_VSYSCALL macro.
45347         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
45348         __vdso_clock_gettime.
45349         * sysdeps/unix/sysv/linux/tile/init-first.c
45350         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
45351         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
45352         __vdso_clock_gettime.
45354         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
45355         to set up frame more cleanly.
45357         * sysdeps/tile/memcmp.c: New file.
45359         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
45361         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
45362         * sysdeps/tile/tilegx/strcasestr.c: New file.
45363         * sysdeps/tile/tilegx/strnlen.c: New file.
45364         * sysdeps/tile/tilegx/strstr.c: New file.
45366         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
45368 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
45370         * nptl/tst-setuid3.c: Write errors to stdout.
45372 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45374         * elf/dl-deps.c
45375         (preload): New functions broken out of _dl_map_object_deps.
45376         (_dl_map_object_deps):  Remove a nested function. Update call sites.
45378 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
45380         [BZ #14138]
45381         * sysdeps/unix/sysv/linux/execve.c: Remove file.
45382         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
45384 2014-10-01  Steve Ellcey  <sellcey@mips.com>
45386         * sysdeps/mips/strcmp.S: New.
45388 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
45390         [BZ #14138]
45391         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
45392         (linkat): Likewise.
45393         (mkdirat): Likewise.
45394         (readlinkat): Likewise.
45395         (renameat): Likewise.
45396         (symlinkat): Likewise.
45397         (unlinkat): Likewise.
45398         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
45399         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
45400         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
45401         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
45402         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
45403         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
45404         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
45406 2014-09-30  Will Newton  <will.newton@linaro.org>
45408         * math/math.h: Define long double math functions if
45409         _LIBC_TEST is defined.
45410         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
45412         * localedata/Makefile: Move assignment to tests-special
45413         into an ifdef testing run-built-tests.
45414         * timezone/Makefile: Likewise.
45416 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
45418         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
45419         with $(BASH) not $(SHELL).
45421 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
45422             Matthew LeGendre  <legendre1@llnl.gov>
45424         [BZ #17411]
45425         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
45426         l_reloc_result.
45428 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45430         * stdio-common/printf_fp.c
45431         (hack_digit): New function, broken out of ...
45432         (__printf_fp): ... local function here.  Update call sites.
45433         hack_digit now takes an additional parameter that is a pointer
45434         to a struct of the referenced locals.  Those locals moved inside
45435         the struct and references updated.
45437 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
45439         * aclocal.m4: Require autoconf 2.69.
45440         * configure: Regenerated.
45441         * sysdeps/aarch64/configure: Likewise.
45442         * sysdeps/alpha/configure: Likewise.
45443         * sysdeps/arm/armv7/configure: Likewise.
45444         * sysdeps/arm/configure: Likewise.
45445         * sysdeps/ia64/configure: Likewise.
45446         * sysdeps/mach/configure: Likewise.
45447         * sysdeps/mips/configure: Likewise.
45448         * sysdeps/s390/configure: Likewise.
45449         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
45450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
45452         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
45453         file.
45454         * sysdeps/ia64/configure.ac: Likewise.
45456 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
45458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
45459         specify symbol version for ld.so.  Do not include entry for
45460         libpthread.
45461         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45462         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45463         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45465         [BZ #14171]
45466         * Makeconfig [$(build-shared) = yes]
45467         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
45468         makefiles.
45469         [$(build-shared) = yes && $(soversions.mk-done) = t]
45470         ($(common-objpfx)gnu/lib-names.h): Remove rule.
45471         [$(build-shared) = yes && $(soversions.mk-done) = t]
45472         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
45473         to Makerules.
45474         [$(build-shared) = yes && $(soversions.mk-done) = t]
45475         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
45476         here.
45477         [$(build-shared) = yes && $(soversions.mk-done) = t]
45478         (common-generated): Don't append gnu/lib-names.h and
45479         gnu/lib-names.stmp here.
45480         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
45481         (lib-names-h-abi): New variable.
45482         [$(build-shared) = yes && $(soversions.mk-done) = t]
45483         (lib-names-stmp-abi): Likewise.
45484         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45485         abi-variants] (before-compile): Append
45486         $(common-objpfx)$(lib-names-h-abi).
45487         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45488         abi-variants] (common-generated): Append gnu/lib-names.h.
45489         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45490         abi-variants] (install-others-nosubdir): Depend on
45491         $(inst_includedir)/$(lib-names-h-abi).
45492         [$(build-shared) = yes && $(soversions.mk-done) = t &&
45493         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
45494         [$(build-shared) = yes && $(soversions.mk-done) = t]
45495         ($(common-objpfx)$(lib-names-h-abi)): New rule.
45496         [$(build-shared) = yes && $(soversions.mk-done) = t]
45497         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
45498         [$(build-shared) = yes && $(soversions.mk-done) = t]
45499         (common-generated): Append $(lib-names-h-abi) and
45500         $(lib-names-stmp-abi).
45501         * scripts/lib-names.awk: Do not handle multi being set.
45502         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
45503         Remove variable.
45504         (abi-lp64_be-ld-soname): Likewise.
45505         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
45506         Likewise.
45507         (abi-hard-ld-soname): Likewise.
45508         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
45509         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
45510         Remove variable.
45511         (abi-o32_hard-ld-soname): Likewise.
45512         (abi-o32_soft_2008-ld-soname): Likewise.
45513         (abi-o32_hard_2008-ld-soname): Likewise.
45514         (abi-n32_soft-ld-soname): Likewise.
45515         (abi-n32_hard-ld-soname): Likewise.
45516         (abi-n32_soft_2008-ld-soname): Likewise.
45517         (abi-n32_hard_2008-ld-soname): Likewise.
45518         (abi-n64_soft-ld-soname): Likewise.
45519         (abi-n64_hard-ld-soname): Likewise.
45520         (abi-n64_soft_2008-ld-soname): Likewise.
45521         (abi-n64_hard_2008-ld-soname): Likewise.
45522         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
45523         Likewise.
45524         (abi-64-v2-ld-soname): Likewise.
45525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
45526         ld.so entries.
45527         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
45528         variable.
45529         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
45530         entry.
45531         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
45532         variable.
45533         (abi-64-ld-soname): Likewise.
45534         (abi-x32-ld-soname): Likewise.
45535         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
45536         entry.
45537         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45539 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
45541         [BZ #14138]
45542         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
45543         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
45544         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
45545         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
45546         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
45547         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
45548         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
45549         syscall entry for GLIBC_2.2 symbol version.
45550         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
45551         Likewise.
45552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
45553         (setrlimit): Likewise.
45554         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
45555         Likewise.
45557 2014-09-23  Will Newton  <will.newton@linaro.org>
45559         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
45560         _LINUX_ARM_SYSDEP_H include guard too.
45561         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
45562         define.
45564 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
45566         * sysdeps/unix/sysv/linux/eventfd.c:
45567         Make first argument unsigned.
45568         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
45569         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
45571 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
45573         [BZ #16852]
45574         * socket/recvmmsg.c (recvmmsg): Drop const argument.
45575         * socket/sys/socket.h: Likewise.
45576         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
45578 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
45580         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
45582 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
45584         * time/tst-ftime.c: New test.
45585         * time/Makefile (tests): Add tst-ftime.
45587 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
45589         * soft-fp/extended.h: Fix comment formatting.
45590         * soft-fp/op-1.h: Likewise.
45591         * soft-fp/op-2.h: Likewise.
45592         * soft-fp/op-4.h: Likewise.
45593         * soft-fp/op-8.h: Likewise.
45594         * soft-fp/op-common.h: Likewise.
45595         * soft-fp/soft-fp.h: Likewise.
45597         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
45599 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
45601         [BZ #6652]
45602         * Makeconfig (soversions-default-setname): Remove variable.
45603         ($(common-objpfx)soversions.i): Don't pass default_setname to
45604         soversions.awk.
45605         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
45606         oldest_abi to abi-versions.awk.
45607         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
45608         * config.make.in (oldest-abi): Remove variable.
45609         * configure.ac (--enable-oldest-abi): Remove configure option.
45610         * configure: Regenerated.
45611         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
45612         text.
45613         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
45614         * scripts/soversions.awk: Do not handle default_setname variable.
45615         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
45616         variable.
45617         * sysdeps/mach/hurd/configure: Regenerated.
45618         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
45619         variable.
45620         * sysdeps/unix/sysv/linux/configure: Regenerated.
45622 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45624         * elf/Makefile (CFLAGS-interp.c): Remove.
45625         ($(elf-objpfx)runtime-linker.h): Generate header with linker
45626         path string.
45627         * elf/interp.c: Include generated runtime-linker.h
45629         * Makerules (lib%.so): Don't include $(+interp) in
45630         prerequisites.
45631         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
45632         * dlfcn/eval.c: Remove file.
45634         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
45635         macros.
45637         [BZ #17266]
45638         * misc/sys/cdefs.h: Define __extern_always_inline for clang
45639         4.2 and newer.
45641         [BZ #17370]
45642         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
45644 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
45645             Jakub Jelinek  <jakub@redhat.com>
45647         [BZ #17266]
45648         * libio/stdio.h: Check definition of __fortify_function
45649         instead of __extern_always_inline to include bits/stdio2.h.
45650         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
45651         check if __extern_always_inline is defined.
45652         [__USE_MISC || __USE_XOPEN]: Likewise.
45653         [__USE_ISOC99] Likewise.
45654         * misc/sys/cdefs.h (__fortify_function): Define only if
45655         __extern_always_inline is defined.
45656         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
45657         __extern_always_inline and __extern_inline only for g++-4.3
45658         and newer or a compatible gcc.
45660 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
45662         [BZ #17371]
45663         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
45664         last change to handle zero prefix length.
45666 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
45668         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
45669         _SC_REGEX_VERSION.
45671         * posix/getconf.c (vars): Add _POSIX_IPV6 and
45672         _POSIX_RAW_SOCKETS.
45674 2014-09-13  Allan McRae  <allan@archlinux.org>
45676         * po/ru.po: Update Russian translation from translation project.
45678 2014-09-12  Roland McGrath  <roland@hack.frob.com>
45680         * locale/programs/locale.c (show_locale_vars): Inline local function
45681         into its sole call site.  Clean up some style nits.
45682         (print_item): New function, broken out of ...
45683         (show_info): ... local function here.  Clean up style nits.
45685         * locale/programs/ld-ctype.c (set_one_default): New function, broken
45686         out of ...
45687         (set_class_defaults): ... local function set_default here.
45688         Define set_default as a macro locally to pass constant parameters.
45689         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
45690         rather than a shared local.
45692         * stdlib/rpmatch.c (try): New function, broken out of ...
45693         (rpmatch): ... local function here.  Also, prototypify definition.
45695 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
45697         * scripts/soversions.awk: Do not handle configuration names.
45698         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
45699         vendor and os variables to soversions.awk.
45700         * configure.ac: Do not modify gnu-* host_os.
45701         * configure: Regenerated
45702         * shlib-versions: Remove first column with configuration names.
45703         * nptl/shlib-versions: Likewise.
45704         * nptl_db/shlib-versions: Likewise.
45705         * sysdeps/hppa/shlib-versions: Likewise.
45706         * sysdeps/m68k/shlib-versions: Likewise.
45707         * sysdeps/mach/hurd/shlib-versions: Likewise.
45708         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
45709         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
45710         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
45711         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
45712         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
45713         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
45714         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
45715         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
45716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45717         Likewise.
45718         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45719         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45720         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45721         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45722         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45723         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
45724         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
45725         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
45727         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
45728         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
45729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
45730         Regenerated.
45731         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
45732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
45733         Condition symbol version definitions on [HAVE_ELFV2_ABI].
45735         * shlib-versions: Remove OS-specific entries.  Moved to files in
45736         sysdeps.
45737         * sysdeps/mach/hurd/shlib-versions: New file.
45738         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
45740         * nptl/shlib-versions: Remove architecture-specific entries.
45741         Moved to files in sysdeps.
45742         * shlib-versions: Likewise.
45743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
45744         file.
45745         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
45746         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
45747         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
45748         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
45750         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
45751         (UDP_NO_CHECK6_RX): Likewise.
45753 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45755         * sysdeps/posix/sysconf.c (__sysconf): Spell
45756         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
45758 2014-08-12  Florian Weimer  <fweimer@redhat.com>
45760         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
45761         loading.
45762         * iconv/Versions (__gconv_transliterate): Export for use from
45763         gconv modules.
45764         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
45765         (struct __gconv_trans_data, __gconv_trans_fct,
45766         __gconv_trans_context_fct, __gconv_trans_query_fct,
45767         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
45768         definitions.
45769         (struct __gconv_step_data): Remove __trans member.
45770         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
45771         longer hidden.  Remove unused trans_data argument.
45772         * iconv/gconv_int.h (struct trans_struct): Remove definition.
45773         (__gconv_translit_find): Remove declaration.
45774         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
45775         prototype.
45776         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
45777         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
45778         trans_data argument.  Add hidden definition.
45779         (__gconv_translit_find): Remove.
45780         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
45781         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
45782         * iconv/skeleton.c: Remove transliteration initialization.
45783         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
45784         __gconv_step_data initialization.
45785         * libio/iofwide.c (__libio_translit_): Remove.
45786         (_IO_fwide): Adjust struct __gconv_step_data initialization.
45787         * wcsmbs/btowc.c (__btowc): Likewise.
45788         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
45789         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
45790         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
45791         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
45792         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
45793         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
45794         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
45795         * wcsmbs/wctob.c (wctob): Likewise.
45797 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
45799         [BZ #16194]
45800         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
45801         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
45802         register usage.
45803         * sysdeps/x86/Makefile: Adjust.
45805 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
45806             Roland McGrath  <roland@hack.frob.com>
45808         * locale/weight.h: Add include guard.
45809         (findidx): Make static rather than auto; take new parameters
45810         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
45811         * locale/weightwc.h: Likewise.
45812         * posix/fnmatch_loop.c
45813         (FCT): Change type of EXTRA from int32_t to wint_t.
45814         Don't include either header inside the function.
45815         Call FINDIDX rather than findidx, and pass new arguments.
45816         #undef FINDIDX at the end of the file.
45817         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
45818         FINDIDX before including fnmatch_loop.c for the non-wide version.
45819         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
45820         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
45821         for the wide version.
45822         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
45823         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
45824         Pass new arguments to findidx.
45825         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
45826         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
45827         Don't #include it inside the function.  Pass new arguments to findidx.
45828         * posix/regex_internal.h
45829         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
45830         (re_string_elem_size_at): Don't #include it inside the function.
45831         Pass new arguments to findidx.
45832         * string/strcoll_l.c: #include WEIGHT_H at top level.
45833         (get_next_seq): Don't #include it inside the function.
45834         Pass new arguments to findidx.
45835         (get_next_seq_nocache): Likewise.
45836         * string/strxfrm_l.c: #include WEIGHT_H at top level.
45837         (STRXFRM): Don't #include it inside the function.
45838         Pass new arguments to findidx.
45840 2014-09-11  Florian Weimer  <fweimer@redhat.com>
45842         [BZ #17344]
45843         * malloc/malloc.c (unlink): Turn asserts into a call to
45844         malloc_printerr.
45846 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
45848         [BZ #17370]
45849         * libio/wfileops (do_ftell_wide): Free OUT.
45851 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
45853         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
45855 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45857         [BZ #17363]
45858         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
45859         group if the current group is empty.
45861 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45863         * benchtests/bench-memset.c (test_main): Add more test from size
45864         from 32 to 512 bytes.
45865         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45866         Add POWER8 memset object.
45867         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
45868         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
45869         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
45870         implementation.
45871         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
45872         Likewise.
45873         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
45874         multiarch POWER8 memset optimization.
45875         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
45876         POWER8 memset optimization.
45878         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
45879         Remove bzero multiarch objects.
45880         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
45881         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
45882         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
45883         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
45884         Remove define.
45885         [__bzero]: Redefine to specific name.
45886         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
45887         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
45888         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
45889         define.
45890         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45891         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45893 2014-09-10  Florian Weimer  <fweimer@redhat.com>
45895         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
45896         warnings into errors.
45898         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
45899         __cxa_thread_atexit_impl prototype.
45901 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45903         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
45904         Fix capitalization of error message.
45906 2014-09-09  Steve Ellcey  <sellcey@mips.com>
45908         * sysdeps/mips/preconfigure: Modify ABI tests.
45910 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
45912         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
45914 2014-09-07  Roland McGrath  <roland@hack.frob.com>
45915             Carlos O'Donell  <carlos@systemhalted.org>
45917         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
45918         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
45919         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
45920         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
45921         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
45922         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
45923         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
45924         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
45925         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
45926         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
45927         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
45928         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
45929         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
45930         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
45931         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
45932         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
45933         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
45934         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
45935         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
45936         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
45937         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
45938         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
45939         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
45940         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
45941         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
45942         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
45943         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
45944         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
45945         Deconditionalize the code that was previously under [RESET_PID].
45946         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
45947         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
45948         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
45949         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
45950         include sysdep.h.
45952 2014-09-08  Allan McRae  <allan@archlinux.org>
45954         * version.h (RELEASE): Set to "development".
45955         (VERSION): Set to "2.20.90"
45957 2014-09-07  Allan McRae  <allan@archlinux.org
45959         * version.h (RELEASE): Set to "stable".
45960         (VERSION): Set to "2.20"
45961         * include/features.h (__GLIBC_MINOR__): Set to 20.
45963         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
45964         Liebler.
45966         * po/ko.po: Update Korean translation from translation project.
45968 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
45970         [BZ #17354]
45971         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
45972         macro for handling signed relocations.
45974 2014-09-03  Florian Weimer  <fweimer@redhat.com>
45976         [BZ #17325]
45977         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
45978         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
45979         assert.
45980         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
45981         * iconvdata/ibm935.c (BODY): Likewise.
45982         * iconvdata/ibm937.c (BODY): Likewise.
45983         * iconvdata/ibm939.c (BODY): Likewise.
45984         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
45985         assert.
45986         * iconvdata/Makefile (iconv-test.out): Pass module list to test
45987         script.
45988         * iconvdata/run-iconv-test.sh: New test loop for checking for
45989         decoder crashers.
45991 2014-09-02  Khem Raj  <raj.khem@gmail.com>
45993         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
45994         libm_hidden_ver.
45996 2014-09-01  Allan McRae  <allan@archlinux.org>
45998         * po/eo.po: Update Esperanto translation from translation project.
46000         * po/ca.po: Update Catalan translation from translation project.
46002 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46004         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
46005         __proc_dostop call.
46007 2014-08-27  Mark Wielaard  <mjw@redhat.com>
46009         [BZ #17319]
46010         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
46011         to call set_thread_area instead of hand written asm.
46012         (__NR_set_thread_area): Removed define.
46013         (TLS_FLAG_WRITABLE): Likewise.
46014         (__ASSUME_SET_THREAD_AREA): Remove check.
46015         (TLS_EBX_ARG): Remove define.
46016         (TLS_LOAD_EBX): Likewise.
46018 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
46020         Simplify atomicity of socket creation in bind.
46022         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
46023         looking up the name after linking the file.
46025 2014-08-27  Allan McRae  <allan@archlinux.org>
46027         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46029 2014-08-26  Florian Weimer  <fweimer@redhat.com>
46031         [BZ #17187]
46032         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
46033         trans_compare, open_translit, __gconv_translit_find):
46034         Remove module loading code.
46036 2014-08-26  Allan McRae  <allan@archlinux.org>
46038         * po/vi.po: Update Vietnamese translation from translation project.
46040         * po/uk.po: Update Ukrainian translation from translation project.
46042         * po/fr.po: Update French translation from translation project.
46044         * po/ru.po: Update Russian translation from translation project.
46046         * po/pl.po: Update Polish translation from translation project.
46048         * po/cs.po: Update Czech translation from translation project.
46050         * po/de.po: Update German translation from translation project.
46052         * po/bg.po: Update Bulgarian translation from translation project.
46054         * po/sv.po: Update Sweedish translation from translation project.
46056         * po/nl.po: Update Dutch translation from translation project.
46058         * po/es.po: Update Spanish translation from translation project.
46060 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
46062         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
46064         * catgets/Makefile (CPPFLAGS-gencat): Remove.
46065         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
46066         (CPPFLAGS-iconvconfig): Likewise.
46067         * timezone/Makefile (CPPFLAGS-zic): Likewise.
46069         * include/libc-symbols.h: Remove unnecessary check for
46070         NOT_IN_libc.
46071         * nptl/pthreadP.h: Likewise.
46072         * sysdeps/aarch64/setjmp.S: Likewise.
46073         * sysdeps/alpha/setjmp.S: Likewise.
46074         * sysdeps/arm/sysdep.h: Likewise.
46075         * sysdeps/i386/setjmp.S: Likewise.
46076         * sysdeps/m68k/setjmp.c: Likewise.
46077         * sysdeps/posix/getcwd.c: Likewise.
46078         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
46079         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
46080         * sysdeps/s390/s390-32/setjmp.S: Likewise.
46081         * sysdeps/s390/s390-64/setjmp.S: Likewise.
46082         * sysdeps/sh/sh3/setjmp.S: Likewise.
46083         * sysdeps/sh/sh4/setjmp.S: Likewise.
46084         * sysdeps/unix/alpha/sysdep.h: Likewise.
46085         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
46086         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
46087         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
46088         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
46089         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
46090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
46091         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
46092         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
46093         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
46094         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
46095         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46096         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
46097         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
46098         * sysdeps/x86_64/setjmp.S: Likewise.
46100 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
46102         [BZ #17263]
46103         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
46104         <stdint.h>.
46105         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
46106         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
46108 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
46110         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
46112         [BZ #17262]
46113         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
46114         and __x86_64__ when disabling x87 inline functions.
46116 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
46118         [BZ #17259]
46119         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
46120         asm statement with __cpuid_count.
46122 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
46124         * configure.ac: Change __ehdr_start code to dereference the struct.
46125         Run readelf on the output to look for relocations.
46126         * configure: Regenerated.
46128 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
46130         [BZ #17261]
46131         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
46132         value to 0.
46133         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
46135 2014-08-12  Roland McGrath  <roland@hack.frob.com>
46137         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
46139 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
46141         [BZ #16892]
46142         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
46143         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
46145 2014-08-12  Sean Anderson  <seanga2@gmail.com>
46147         * malloc/malloc.c: Fix typo in comment.
46149 2014-08-09  Allan McRae  <allan@archlinux.org>
46151         * Regenerate libc.po.
46153 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
46155         * intl/tst-gettext2.sh: Check every lang file for creation.
46157 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46159         * sysdeps/aarch64/fpu/math_private.h
46160         (libc_feholdsetround_noex_aarch64_ctx): New function.
46162 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
46164         * sysdeps/arm/armv6/strcpy.S (strcpy):
46165         Fix performance issue in misaligned cases.
46167 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46169         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
46170         Move definition from termios.h.
46171         (struct termio): Likewise.
46172         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46173         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46174         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46175         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46176         Likewise.
46177         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
46178         Move definition to ioctl-types.h
46179         (struct termio): Likewise.
46180         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
46181         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
46182         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
46183         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
46184         Likewise.
46186 2014-08-05  Richard Henderson  <rth@redhat.com>
46188         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
46189         exceptions.
46190         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
46191         Add fraiseexcpt.
46192         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
46193         Use __feraiseexcept.
46194         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
46195         Protect libm symbols with IS_IN_libm.
46197         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
46199 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
46201         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
46203 2014-08-04  Will Newton  <will.newton@linaro.org>
46205         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
46206         file.
46208 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
46210         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
46211         variants for each function.
46213 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46215         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
46216         appended ...
46217         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
46218         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
46219         appended ...
46220         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
46221         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
46222         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
46223         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
46224         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
46225         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
46226         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
46227         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
46228         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
46229         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
46230         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
46231         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
46232         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
46233         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
46234         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
46235         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
46236         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
46237         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
46238         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
46239         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
46240         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
46241         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
46242         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
46243         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
46244         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
46245         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
46246         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
46247         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
46248         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
46249         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
46250         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
46251         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
46252         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
46253         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
46254         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
46255         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
46256         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
46257         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
46258         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
46259         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
46260         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
46261         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
46262         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
46263         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
46264         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
46265         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
46266         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
46267         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
46268         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
46269         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
46270         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
46271         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
46272         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
46273         Update #include.
46274         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
46275         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
46277 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46279         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
46280         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
46281         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
46282         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
46283         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
46284         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
46286 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46288         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
46289         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
46290         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
46291         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
46293 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46295         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
46296         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
46297         (__libc_vfork): Define function under this name.
46298         (__vfork): Define as an alias.
46299         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
46300         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
46302 2014-08-04  Roland McGrath  <roland@hack.frob.com>
46304         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
46305         that was previously under [RESET_PID].
46306         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
46308 2014-08-04  Andreas Schwab  <schwab@suse.de>
46310         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
46312 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
46314         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
46315         (main): Likewise.
46317 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46319         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
46321 2014-08-01  Richard Henderon  <rth@redhat.com>
46323         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
46324         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
46325         typo in exact zero test.
46326         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
46327         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
46328         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
46330 2014-08-01  Roland McGrath  <roland@hack.frob.com>
46332         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
46333         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
46334         * sysdeps/arm/sysdep.h: ... here.
46335         [!__ASSEMBLER__]: Include <stdint.h>.
46337 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
46339         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
46340         (HAVE_WCTYPE_H): Likewise.
46341         (HAVE_ISWCTYPE): Likewise.
46342         (ENABLE_NLS): Likewise.
46343         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
46344         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
46346         * posix/regex_internal.c: Check if DEBUG is defined and is
46347         set.
46349         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
46350         (HAVE_MBSRTOWCS): Likewise.
46351         * posix/fnmatch.c: Include string.h unconditionally.
46353 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
46355         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
46356         reversal.
46358 2014-07-31  Roland McGrath  <roland@hack.frob.com>
46360         * sysdeps/generic/safe-fatal.h: New file.
46361         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
46362         * nptl/forward.c: Include it.
46363         (__pthread_unwind): Use __safe_fatal as default action, rather
46364         than a bogus use of INTERNAL_SYSCALL that could never work.
46366         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
46367         * configure.ac (libc_cv_builtin_trap): New test.
46368         * configure: Regenerated.
46369         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
46370         (ABORT_INSTRUCTION): Define using __builtin_trap.
46372         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
46373         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
46374         * sysdeps/nptl/nptl-signals.h: New file.
46375         * nptl/pthreadP.h: Include <nptl-signals.h>.
46377 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46379         * sysdeps/s390/s390-64/utf16-utf32-z9.c
46380         (ONE_DIRECTION): Define.
46381         * sysdeps/s390/s390-64/utf8-utf16-z9.c
46382         (ONE_DIRECTION): Define.
46383         * sysdeps/s390/s390-64/utf8-utf32-z9.c
46384         (ONE_DIRECTION): Define.
46386 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
46388         * sysdeps/s390/Makefile: Delete file.
46389         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
46390         * sysdeps/s390/__longjmp.c: Delete file.
46391         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
46392         Remove fields __flags and __reserved.
46393         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
46394         and add versioning.
46395         * sysdeps/s390/rtld-__longjmp.c: Delete file.
46396         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
46397         * sysdeps/s390/rtld-setjmp.S: Likewise.
46398         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
46399         * sysdeps/s390/s390-32/__longjmp.c: ... here.
46400         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
46401         * sysdeps/s390/s390-32/setjmp.S: ... here.
46402         Add versioning.
46403         (__sigsetjmp): Remove setting __flags field.
46404         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
46405         * sysdeps/s390/s390-64/__longjmp.c: ... here.
46406         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
46407         * sysdeps/s390/s390-64/setjmp.S: ... here.
46408         Add versioning.
46409         (__sigsetjmp): Remove setting __flags field.
46410         * sysdeps/s390/setjmp.S: Delete file.
46411         * sysdeps/s390/sigjmp.c: Likewise.
46412         * sysdeps/s390/v1-longjmp.c: Likewise.
46413         * sysdeps/s390/v1-setjmp.h: Likewise.
46414         * sysdeps/s390/v1-sigjmp.c: Likewise.
46415         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
46416         Remove v1-longjmp_chk.
46417         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
46418         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
46419         Include debug/longjmp_chk.c and add versioning.
46420         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
46421         Include nptl/pt-longjmp.c and add versioning.
46422         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
46423         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
46424         Include __longjmp.c.
46425         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
46426         Move to ...
46427         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
46428         (__getcontext): Remove setting __flags field.
46429         Add versioning.
46430         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
46431         Don't restore upper high grps.
46432         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
46433         Likewise.
46434         (__swapcontext): Remove setting uc_flags field.
46435         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
46436         Delete file.
46437         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
46438         Include __longjmp.c.
46439         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
46440         Move to ...
46441         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
46442         (__getcontext): Remove setting __flags field.
46443         Add versioning.
46444         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
46445         (__swapcontext): Remove setting uc_flags field.
46446         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
46447         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
46448         Remove fields uc_high_gprs and __reserved.
46449         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
46450         New file with reverted content.
46451         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
46452         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
46453         Regenerated.
46454         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
46455         Regenerated.
46457 2014-07-31  Andreas Schwab  <schwab@suse.de>
46459         * config.h.in (HAVE_IFUNC): Define to 0.
46460         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
46461         definedness.
46463 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
46465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46466         memmove-avx-unaligned, memcpy-avx-unaligned and
46467         mempcpy-avx-unaligned.
46468         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46469         Add tests for AVX memcpy functions.
46470         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
46471         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
46472         memcpy_chk.
46473         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
46474         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
46475         memmove_chk.
46476         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
46477         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
46478         mempcpy_chk.
46479         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
46480         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
46481         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
46483 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46485         [BZ #17213]
46486         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
46487         powerpc64le.
46489 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
46491         [BZ #16839]
46492         * manual/llio.texi: Add section about open file description locks.
46493         * manual/examples/ofdlocks.c: Example of open file description
46494         lock usage.
46495         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
46496         F_OFD_SETLK, and F_OFD_SETLKW.
46498 2014-07-23  Allan McRae  <allan@archlinux.org>
46500         * po/es.po: Update Spanish translation from translation project.
46502 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
46504         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
46506 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
46508         [BZ #17078]
46509         * sysdeps/arm/dl-machine.h (elf_machine_rela)
46510         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
46511         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
46513 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
46515         [BZ #17088]
46516         * math/fesetenv.c (__fesetenv)
46517         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
46518         * math/feupdateenv.c (__feupdateenv)
46519         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
46521         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
46522         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
46523         (__ASSUME_SOCKETCALL): Do not define.
46525         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
46526         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
46527         (__ASSUME_SOCKETCALL): Do not define.
46528         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
46529         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46530         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46531         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
46532         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46533         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
46534         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46535         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46537         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
46538         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
46539         (__ASSUME_SOCKETCALL): Do not define.
46540         (__ASSUME_IPC64): Define unconditionally.
46541         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46542         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46543         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
46544         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46545         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
46546         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46547         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
46548         Likewise.
46550         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
46551         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
46552         (__ASSUME_SOCKETCALL): Do not define.
46553         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
46554         (__ASSUME_FUTEX_LOCK_PI): Likewise.
46555         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46556         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46557         (__ASSUME_REQUEUE_PI): Define unconditionally.
46558         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
46559         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
46560         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46561         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
46562         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46563         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46565         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
46566         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
46567         (__ASSUME_SOCKETCALL): Do not define.
46568         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
46569         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46570         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46571         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
46572         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46573         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46575         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
46576         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
46577         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
46578         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
46579         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46580         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
46581         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
46582         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
46583         (__ASSUME_GETCPU_SYSCALL): Likewise.
46585         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
46586         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
46587         cases for individual architectures.
46588         * sysdeps/gnu/configure: Regenerated.
46589         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
46590         LIBC_SLIBDIR_RTLDDIR.
46591         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
46592         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
46593         LIBC_SLIBDIR_RTLDDIR.
46594         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
46595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
46596         LIBC_SLIBDIR_RTLDDIR.
46597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
46598         Regenerated.
46599         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
46600         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
46601         file.
46602         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
46603         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
46604         file.
46605         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
46606         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
46607         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
46608         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
46610         * sysdeps/aarch64/shlib-versions: Move to ...
46611         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
46612         * sysdeps/alpha/shlib-versions: Move to ...
46613         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
46614         * sysdeps/arm/shlib-versions: Move to ...
46615         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
46616         * sysdeps/hppa/shlib-versions: Move all contents except for
46617         libgcc_s entry to ...
46618         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
46619         entry from ...
46620         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
46621         * sysdeps/ia64/shlib-versions: Move to ...
46622         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
46623         entry from ...
46624         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
46625         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
46626         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
46627         * sysdeps/microblaze/shlib-versions: Move to ...
46628         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
46629         * sysdeps/mips/shlib-versions: Move to ...
46630         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
46631         entry from ...
46632         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
46633         * sysdeps/tile/shlib-versions: Move to ...
46634         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
46635         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
46636         from ...
46637         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
46638         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
46639         entry from ...
46640         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
46642 2014-07-17  Will Newton  <will.newton@linaro.org>
46644         * sysdeps/arm/bits/atomic.h
46645         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
46646         (__arch_compare_and_exchange_bool_16_int): Likewise.
46647         (__arch_compare_and_exchange_bool_64_int): Likewise.
46649         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
46650         into an #else block.
46652 2014-07-16  Roland McGrath  <roland@hack.frob.com>
46654         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
46655         just Linux configurations.  Test empirically that the compiler sets
46656         __ARM_EABI__, rather than using the tuple to decide.
46657         * sysdeps/arm/preconfigure: Regenerated.
46658         * sysdeps/unix/sysv/linux/arm/configure: File removed.
46659         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
46660         contents appended ...
46661         * sysdeps/arm/configure.ac: ... here.
46662         * sysdeps/arm/configure: Regenerated.
46664 2014-07-15  Roland McGrath  <roland@hack.frob.com>
46666         * nptl/pthread_kill.c: New file.
46667         * nptl/pthread_sigmask.c: New file.
46668         * nptl/pthread_sigqueue.c: New file.
46670         * sysdeps/nptl/lowlevellock.h: New file.
46671         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
46672         * sysdeps/nptl/lowlevellock-futex.h: New file.
46674         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
46675         Remove dead declarations.
46677 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
46679         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
46680         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
46681         config-cflags-avx2.
46682         * sysdeps/x86_64/configure.ac: Likewise.
46683         * sysdeps/i386/configure: Regenerated.
46684         * sysdeps/x86_64/configure: Likewise.
46685         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
46686         memset-avx2 only if config-cflags-avx2 is yes.
46687         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46688         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
46689         defined.
46690         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
46691         only if HAVE_AVX2_SUPPORT is defined.
46692         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
46694 2014-07-14  Alan Modra  <amodra@gmail.com>
46696         [BZ #17153]
46697         * elf/elf.h (DT_PPC64_NUM): Correct value.
46698         * NEWS: Add to fixed bug list.
46700 2014-07-13  Jim Meyering  <meyering@fb.com>
46702         [BZ 17150]
46703         regex: don't deref NULL upon heap allocation failure
46704         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
46705         failure in one more place.
46706         To trigger the segfault, configure grep -with-included-regex,
46707         build it, and run these commands:
46708         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
46710 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
46712         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
46714 2014-07-11  Richard Henderson  <rth@redhat.com>
46716         * sysdeps/aarch64/libm-test-ulps: Update.
46718 2014-07-10  Florian Weimer  <fweimer@redhat.com>
46720         [BZ #17135]
46721         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
46722         * nptl/allocatestack.c (__nptl_setxid_error): New function.
46723         (__nptl_setxid): Initialize error member.  Call
46724         __nptl_setxid_error.
46725         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
46726         * nptl/descr.h (struct xid_command): Add error member.
46727         * nptl/tst-setuid3.c: New file.
46728         * nptl/Makefile (tests): Add it.
46730 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46732         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
46733         New define.
46734         (__lll_trylock): Use __lll_base_trylock.
46735         (__lll_cond_trylock): Likewise.
46737 2014-07-10  Roland McGrath  <roland@hack.frob.com>
46739         * nptl/pthread_create.c (start_thread): Use atomic_or and
46740         lll_futex_wake directly rather than lll_robust_dead.
46741         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46742         (lll_robust_dead): Macro removed.
46743         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
46744         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46745         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46746         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46747         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46748         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46749         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46750         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46751         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46752         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46753         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46754         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46755         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46756         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46757         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46759         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
46760         Use atomic_compare_and_exchange_val_acq directly rather than
46761         lll_robust_trylock.
46762         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
46763         (__lll_robust_trylock, lll_robust_trylock): Removed.
46764         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
46765         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
46766         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
46767         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
46768         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
46769         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
46770         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
46771         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
46772         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
46773         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
46774         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
46775         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
46776         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
46777         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
46779 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46781         * manual/locale.texi (Locale Names): New section documenting
46782         locale name syntax.  Adjust menu and node chaining accordingly.
46783         (Choosing Locale): Reference Locale Names, Locale Categories.
46784         Mention setting LC_ALL=C.  Reflect that name syntax is now
46785         documented.
46786         (Locale Categories): New section title.  Reference Locale Names.
46787         LC_ALL is an environment variable, but not a category.
46788         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
46789         description, now in Locale Name.  Reference that section.  Locale
46790         name syntax is now documented.
46792 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46794         [BZ #17137]
46795         * locale/findlocale.c (name_present, valid_locale_name): New
46796         functions.
46797         (_nl_find_locale): Use the loc_name variable to store name
46798         candidates.  Call name_present and valid_locale_name to check and
46799         validate locale names.  Return an error if the locale is invalid.
46801 2014-07-02  Florian Weimer  <fweimer@redhat.com>
46803         * locale/setlocale.c (setlocale): Use strdup for allocating
46804         composite name copy.
46806 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
46808         Sync up with gnulib.
46809         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
46810         [!_LIBC && ENABLE_NLS]: Include gettext.h.
46811         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
46812         and _GL_ARG_NONNULL.
46813         [USE_UNLOCKED_IO]: Include unlocked-io.h.
46814         [!_LIBC]: Include code for Windows and Cygwin.
46815         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
46816         Include prototype for int strerror_r.
46817         [!_LIBC] (is_open): New function.
46818         (flush_stdout): New function.
46819         (print_errno_message): Use it.
46820         (error): Likewise.
46821         (error_at_line): Likewise.
46822         (error_tail) Add function attribute macros.  Use
46823         __builtin_expect.
46825         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
46827         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
46829         * io/ftw.c: Include sys/param.h unconditionally.
46831         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
46833         [BZ #17125]
46834         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
46835         libc_freeres_ptr.
46836         (freecache): New function to free CACHE on exit.
46838         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
46839         initialization.
46841 2014-07-09  David S. Miller  <davem@davemloft.net>
46843         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46845         * sysdeps/sparc/nptl/internaltypes.h: Delete.
46846         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
46847         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
46848         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
46849         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
46850         * sysdeps/sparc/nptl/sem_init.c: Likewise.
46851         * sysdeps/sparc/nptl/sem_post.c: Likewise.
46852         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
46853         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
46854         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
46855         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
46856         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
46857         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
46859 2014-07-09  Andreas Schwab  <schwab@suse.de>
46861         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
46862         output.
46863         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
46864         (do_test): Likewise.
46866         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46868 2014-07-09  Will Newton  <will.newton@linaro.org>
46870         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
46871         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
46872         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
46873         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
46874         * sysdeps/hppa/start.S (_start): Likewise.
46876 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
46878         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
46880         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
46881         defined.
46883 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46885         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
46886         after checking that it is non-NULL.
46888         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
46890 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46892         * sysdeps/powerpc/memmove.c: Remove file.
46893         * sysdeps/powerpc/powerpc32/power4/memcopy.h
46894         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
46895         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
46896         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
46897         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
46898         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
46899         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
46900         string memmove instead of removed powerpc one.
46902         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
46903         [weak_alias]: Fix compiler warning due trailing data.
46904         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
46905         [weak_alias]: Likewise.
46906         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
46907         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
46909         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
46910         (__libc_ifunc_impl_list): Add memmove functions.
46912 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
46914         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
46915         Remove code.
46916         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
46917         Likewise.
46918         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
46919         Likewise.
46920         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
46921         Likewise.
46922         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
46923         Likewise.
46924         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
46925         Likewise.
46926         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
46927         Likewise.
46928         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
46929         Likewise.
46930         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
46931         Likewise.
46932         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
46933         Likewise.
46934         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
46935         Likewise.
46936         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
46937         Likewise.
46938         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
46939         Likewise.
46940         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
46941         Likewise.
46942         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
46943         Likewise.
46944         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
46945         Likewise.
46946         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
46947         Likewise.
46949 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46951         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
46952         to avoid alignment traps in non-cacheable memory.
46953         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
46955         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
46956         multiarch objects.
46957         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
46958         file: multiarch power7 memmove.
46959         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
46960         multiarch default memmove.
46961         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
46962         multiarch memove for powerpc32/power4.
46964         * string/bcopy.c: Use full path to include memmove.c.
46965         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
46966         multiarch objects.
46967         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
46968         bcopy for powerpc64.
46969         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
46970         bcopy for powerpc64.
46971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
46972         and memmove implementations.
46973         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
46974         optimized multiarch memmove for POWER7/powerpc64.
46975         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
46976         default multiarch memmove for powerpc64.
46977         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
46978         multiarch for powerpc64.
46979         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
46980         for POWER7/powerpc64.
46981         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
46982         memmove for POWER7/powerpc64.
46984         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
46985         glibc default one.
46987         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
46988         __ELF_NATIVE_CLASS equal to 64.
46990 2014-07-07  Roland McGrath  <roland@hack.frob.com>
46992         * sysdeps/nptl/lowlevellock.h: File removed.
46994         * NEWS: NPTL is no longer an add-on!
46995         * nptl/internaltypes.h: Moved ...
46996         * sysdeps/nptl/internaltypes.h: ... here.
46997         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
46998         * sysdeps/nptl/fork.c: Likewise.
46999         * sysdeps/nptl/gai_misc.h: Likewise.
47000         * sysdeps/nptl/librt-cancellation.c: Likewise.
47001         * sysdeps/nptl/jmp-unwind.c: Likewise.
47002         * sysdeps/nptl/setxid.h: Likewise.
47003         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
47004         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
47005         * sysdeps/unix/sysv/linux/arm/Implies: New file.
47006         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
47007         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
47008         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
47009         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
47010         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
47011         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
47012         * sysdeps/unix/sysv/linux/mips/Implies: New file.
47013         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
47014         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
47015         * sysdeps/unix/sysv/linux/sh/Implies: New file.
47016         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
47017         * sysdeps/unix/sysv/linux/tile/Implies: New file.
47018         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
47019         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
47020         * nptl/Makeconfig: Moved ...
47021         * sysdeps/nptl/Makeconfig: ... here.
47022         * nptl/configure: File removed.
47023         * nptl/ANNOUNCE: File removed.
47024         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
47025         * sysdeps/unix/sysv/linux/configure: Regenerated.
47027         * nptl/Makefile (routines): Add libc_pthread_init,
47028         libc_multiple_threads, register-atfork and unregister-atfork.
47029         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
47030         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
47031         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
47032         pthread-pi-defines.sym, structsem.sym.
47033         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
47034         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
47035         [$(subdir) = nptl] (tests): Add tst-setgetname.
47036         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
47037         * sysdeps/unix/sysv/linux/sigaction.c: Just include
47038         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
47039         [!LIBC_SIGACTION]: Remove aliases.
47040         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
47041         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
47042         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
47043         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
47044         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
47045         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
47046         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47047         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47048         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
47049         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
47050         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
47051         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
47052         __libc_allocate_rtsig_private.
47053         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
47054         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
47055         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
47056         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
47057         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
47058         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
47059         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
47060         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
47061         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
47062         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
47063         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
47064         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
47065         * nptl/internaltypes.h: ... here.
47066         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
47067         * sysdeps/nptl/jmp-unwind.c: ... here.
47068         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
47069         * nptl/libc-lowlevellock.c: ... here.
47070         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
47071         * nptl/libc_multiple_threads.c: ... here.
47072         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
47073         * nptl/libc_pthread_init.c: ... here.
47074         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
47075         * nptl/lowlevelbarrier.sym: ... here.
47076         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
47077         * nptl/lowlevelcond.sym: ... here.
47078         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
47079         * nptl/lowlevellock.c: ... here.
47080         * nptl/lowlevellock.h: Moved ...
47081         * sysdeps/nptl/lowlevellock.h: ... here.
47082         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
47083         * nptl/lowlevelrobustlock.c: ... here.
47084         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
47085         * nptl/lowlevelrobustlock.sym: ... here.
47086         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
47087         * nptl/lowlevelrwlock.sym: ... here.
47088         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
47089         * nptl/pt-fork.c: ... here.
47090         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
47091         * nptl/pthread-pi-defines.sym: ... here.
47092         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
47093         * nptl/pthread_attr_getaffinity.c: ... here.
47094         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
47095         * nptl/pthread_attr_setaffinity.c: ... here.
47096         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
47097         * nptl/pthread_mutex_cond_lock.c: ... here.
47098         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
47099         Update #include.
47100         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
47101         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
47102         * nptl/pthread_once.c: ... here, replacing old file.
47103         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
47104         * nptl/pthread_yield.c: ... here.
47105         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
47106         * nptl/register-atfork.c: ... here.
47107         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
47108         * nptl/sem_post.c: ... here.
47109         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
47110         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
47111         * nptl/sem_timedwait.c: ... here.
47112         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
47113         * nptl/sem_trywait.c: ... here.
47114         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
47115         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
47116         * nptl/sem_wait.c: ... here.
47117         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
47118         * nptl/structsem.sym: ... here.
47119         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
47120         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
47121         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
47122         * nptl/unregister-atfork.c: ... here.
47123         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
47124         * nptl/unwindbuf.sym: ... here.
47125         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
47126         * sysdeps/nptl/fork.c: ... here.
47127         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
47128         * sysdeps/nptl/fork.h: ... here.
47129         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
47130         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
47131         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
47132         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
47133         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
47134         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
47135         * sysdeps/unix/sysv/linux/getpid.c: ... here.
47136         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
47137         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
47138         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
47139         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
47140         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
47141         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
47142         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
47143         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
47144         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
47145         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
47146         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
47147         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
47148         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
47149         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
47150         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
47151         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
47152         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
47153         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
47154         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
47155         * sysdeps/unix/sysv/linux/raise.c: ... here.
47156         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
47157         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
47158         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
47159         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
47160         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
47161         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
47162         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
47163         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
47164         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
47165         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
47166         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
47167         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
47168         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
47169         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
47170         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
47172 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47174         * sysdeps/generic/memcopy.h: Add comment for
47175         MEMCPY_OK_FOR_FWD_MEMMOVE.
47177 2014-07-04  Will Newton  <will.newton@linaro.org>
47179         * string/memchr.c: Merge from gnulib.
47180         [_LIBC]: Remove conditionals.
47181         (__ptr_t): Remove define.
47182         (LONG_MAX_32_BITS): Likewise.
47183         (LONG_MAX): Likewise.
47184         (MEMCHR): Use ANSI prototype and optimize algorithm.
47186         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
47188 2014-07-03  Roland McGrath  <roland@hack.frob.com>
47190         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
47191         (lll_futex_timed_wait_bitset): Fix syscall argument count.
47193         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
47194         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
47195         in a bare environment with no <stdlib.h> installed.
47196         * sysdeps/nptl/configure: Regenerated.
47198         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
47200         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
47201         AC_EGREP_CPP for kernel header checks, so they only succeed if
47202         including <linux/version.h> actually works right.
47203         * sysdeps/unix/sysv/linux/configure: Regenerated.
47205         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
47206         value so it's not diagnosed as unused.
47208         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
47209         thing) with "ifeq ($(subdir),rt)".
47211 2014-07-03  Richard Henderson  <rth@redhat.com>
47213         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
47214         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
47215         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
47217         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
47218         (math_force_eval): New.
47220         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
47221         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
47223         * sysdeps/alpha/fpu/s_round.c: Remove file.
47224         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
47226         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
47227         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
47228         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
47229         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
47230         (_dl_start, print_statistics): Likewise.
47231         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
47232         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
47234         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47235         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47236         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47237         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47238         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47239         (HP_SMALL_TIMING_AVAIL): Define.
47240         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47241         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47242         (HP_SMALL_TIMING_AVAIL): Define.
47243         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47244         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
47246         * sysdeps/aarch64/hp-timing.h: New file.
47248         * sysdeps/generic/hp-timing.h: Remove dead comment.
47249         * sysdeps/generic/hp-timing-common.h: New file.
47250         * sysdeps/alpha/hp-timing.h: Include it.
47251         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
47252         * sysdeps/i386/i686/hp-timing.h: Likewise.
47253         * sysdeps/ia64/hp-timing.h: Likewise.
47254         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
47255         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
47256         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
47257         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
47258         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
47259         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
47260         (hp_timing_t): New.
47262         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
47263         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
47264         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
47265         * elf/rtld.c (_dl_start_final): Likewise.
47266         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
47267         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47268         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47269         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47270         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47271         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47272         (HP_TIMING_DIFF_INIT): Remove.
47273         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47274         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
47275         (HP_TIMING_DIFF_INIT): Remove.
47276         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
47277         * sysdeps/i386/i686/hp-timing.c: Remove file.
47278         * sysdeps/x86_64/hp-timing.c: Remove file.
47279         * sysdeps/ia64/hp-timing.c: Remove file.
47280         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
47281         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
47282         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
47283         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
47285         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
47286         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
47287         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
47288         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47289         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
47290         (HP_TIMING_ACCUM): Remove.
47291         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47292         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
47293         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
47295         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
47296         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
47297         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
47298         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
47299         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
47300         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47301         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
47302         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
47304         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
47306 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
47308         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
47310 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47312         Sync up with gettext.
47313         * intl/loadmsgcat.c: Define O_BINARY if not defined.
47314         [_MSC_VER]: Include malloc.h
47315         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
47316         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
47317         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
47318         TEMP_FAILURE_RETRY.  Cast return of alloca.
47319         [!_LIBC] Call gl_rwlock_init.
47320         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
47322 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47324         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
47325         before checking its value.
47327 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47329         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
47331         * debug/memcpy_chk.c: Don't include pagecopy.h.
47332         * debug/mempcpy_chk.c: Likewise.
47333         * string/memcpy.c: Likewise.
47334         * string/memmove.c: Likewise.
47335         * sysdeps/powerpc/memmove.c: Likewise.
47336         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
47337         definition of PAGE_COPY_FWD_MAYBE here...
47338         * sysdeps/generic/pagecopy.h: ... from here.
47339         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
47341 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47342             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47344         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
47345         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
47346         optimizations.
47347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47348         (__libc_ifunc_impl_list): Likewise.
47349         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
47350         multiarch strcat for PPC64.
47351         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
47352         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
47354 2014-07-02  Roland McGrath  <roland@hack.frob.com>
47356         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
47358 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47360         * intl/loadmsgcat.c: Remove declaration of
47361         get_sysdep_segment_value.
47362         (get_sysdep_segment_value): Use ISO C style.
47363         (_nl_load_domain): Use ISO C style.  Get rid of redundant
47364         semicolon.  Fix typo and formatting in comment.
47365         (_nl_unload_domain): Use ISO C style.
47367         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
47369 2014-07-02  Will Newton  <will.newton@linaro.org>
47371         * malloc/obstack.c: Merge from gnulib master.
47372         [HAVE_CONFIG_H]: Remove conditional code.
47373         [!_LIBC]: Include config.h.
47374         [!ELIDE_CODE]: Don't include inttypes.h, include
47375         stdint.h unconditionally.
47376         (print_and_abort): Mark as _Noreturn.
47377         (_obstack_allocated_p): Mark as __attribute_pure__.
47378         (obstack_free): Rename to __obstack_free.
47379         [!__attribute__]: Remove conditional code.
47380         * malloc/obstack.h: Merge from gnulib master.
47381         [__cplusplus]: Move conditional down.
47382         [!__attribute_pure__]: Define __attribute_pure__ here
47383         if it is not already defined.
47384         (_obstack_memory_used): Mark as __attribute_pure__.
47385         [!__obstack_free]: Define as obstack_free.
47386         [__GNUC__]: Remove check for ancient NeXT gcc.
47388 2014-07-02  Will Newton  <will.newton@linaro.org>
47389             Paul Eggert  <eggert@cs.ucla.edu>
47391         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
47393 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
47395         * resolv/gethnamaddr.c: Add comment warning that the file is
47396         not maintained.
47398 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
47400         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
47401         entries.
47403         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
47404         entry for aio_cancel and aio_cancel64.
47405         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
47406         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
47407         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
47408         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
47409         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
47410         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
47411         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
47412         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
47413         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
47414         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
47415         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
47416         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
47417         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
47419 2014-07-01  Roland McGrath  <roland@hack.frob.com>
47421         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
47422         * nptl/pthread_mutex_lock.c: Likewise.
47423         * nptl/pthread_mutex_timedlock.c: Likewise.
47424         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
47426 2014-07-01  Richard henderson  <rth@redhat.com>
47428         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
47429         (__isnan, __isnanl): Remove.
47430         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
47432         * sysdeps/alpha/fpu/libm-test-ulps: Update.
47434 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
47436         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
47438 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
47440         * resolv/nss_dns/dns-host.c (getanswer_r)
47441         [MULTI_PTRS_ARE_ALIASES]: Remove code.
47443 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
47445         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
47446         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
47447         undefine.
47448         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
47449         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
47451 2014-07-01  Roland McGrath <roland@hack.frob.com>
47453         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
47454         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
47456         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
47457         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
47459         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
47460         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
47461         ... here.
47462         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
47463         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
47465         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
47466         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
47467         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
47468         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
47470         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
47471         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
47472         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
47473         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
47474         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
47475         Moved ...
47476         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
47477         ... here.
47478         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
47479         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
47480         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
47481         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
47482         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
47483         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
47484         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
47485         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
47486         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
47487         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
47488         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
47489         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
47490         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
47491         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
47492         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
47493         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
47494         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
47495         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
47496         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
47497         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
47498         ... here.
47499         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
47500         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
47501         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
47502         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
47503         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
47504         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
47505         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
47506         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
47508 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
47510         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
47511         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
47512         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
47513         Add sysdep.
47515 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47517         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47519 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47521         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
47522         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
47524         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
47526         * sysdeps/arm/libm-test-ulps: Regenerated.
47528 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47529             Roland McGrath <roland@hack.frob.com>
47531         * test-skeleton.c (signal_handler): Kill the whole process group
47532         before killing the child individually.
47533         (main): Report any failure on `setpgid'.
47535 2014-06-30  Roland McGrath  <roland@hack.frob.com>
47537         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
47538         from _TLS_H to _ARM_NPTL_TLS_H.
47539         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
47540         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
47542 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
47544         [BZ #16539]
47545         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
47546         (__expm1l): Return argument unchanged when small but not
47547         subnormal.
47549         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
47550         include macro name.
47551         (_FP_UNPACK_RAW_1_P): Likewise.
47552         (_FP_PACK_RAW_1): Likewise.
47553         (_FP_PACK_RAW_1_P): Likewise.
47554         (_FP_MUL_MEAT_1_wide): Likewise.
47555         (_FP_MUL_MEAT_DW_1_hard): Likewise.
47556         (_FP_MUL_MEAT_1_hard): Likewise.
47557         (_FP_DIV_MEAT_1_imm): Likewise.
47558         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
47559         (_FP_DIV_MEAT_1_udiv): Likewise.
47560         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
47561         (_FP_UNPACK_RAW_2): Likewise.
47562         (_FP_UNPACK_RAW_2_P): Likewise.
47563         (_FP_PACK_RAW_2): Likewise.
47564         (_FP_PACK_RAW_2_P): Likewise.
47565         (_FP_MUL_MEAT_DW_2_wide): Likewise.
47566         (_FP_MUL_MEAT_2_wide): Likewise.
47567         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
47568         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
47569         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
47570         (_FP_MUL_MEAT_2_gmp): Likewise.
47571         (_FP_DIV_MEAT_2_udiv): Likewise.
47572         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
47573         (_FP_FRAC_SRL_4): Likewise.
47574         (_FP_FRAC_SRST_4): Likewise.
47575         (_FP_FRAC_SRS_4): Likewise.
47576         (_FP_UNPACK_RAW_4): Likewise.
47577         (_FP_UNPACK_RAW_4_P): Likewise.
47578         (_FP_PACK_RAW_4): Likewise.
47579         (_FP_PACK_RAW_4_P): Likewise.
47580         (_FP_MUL_MEAT_DW_4_wide): Likewise.
47581         (_FP_MUL_MEAT_4_wide): Likewise.
47582         (_FP_MUL_MEAT_4_gmp): Likewise.
47583         (umul_ppppmnnn): Likewise.
47584         (_FP_DIV_MEAT_4_udiv): Likewise.
47585         (__FP_FRAC_ADD_4): Likewise.
47586         (__FP_FRAC_SUB_3): Likewise.
47587         (__FP_FRAC_SUB_4): Likewise.
47588         (__FP_FRAC_DEC_3): Likewise.
47589         (__FP_FRAC_DEC_4): Likewise.
47590         (__FP_FRAC_ADDI_4): Likewise.
47591         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
47592         (_FP_FRAC_SRL_8): Likewise.
47593         (_FP_FRAC_SRS_8): Likewise.
47595         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
47596         include macro name.
47597         (FP_UNPACK_RAW_EP): Likewise.
47598         (FP_PACK_RAW_E): Likewise.
47599         (FP_PACK_RAW_EP): Likewise.
47600         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
47601         (_FP_ISSIGNAN): Likewise.
47602         (_FP_ADD_INTERNAL): Likewise.
47603         (_FP_FMA): Likewise.
47604         (_FP_CMP): Likewise.
47605         (_FP_SQRT): Likewise.
47606         (_FP_TO_INT): Likewise.
47607         (_FP_FROM_INT): Likewise.
47608         (FP_EXTEND): Likewise.
47609         (_FP_DIV_MEAT_N_loop): Likewise.
47611 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
47613         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
47614         throughout.
47616 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
47618         [BZ #17097]
47619         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
47620         result with correct sign in case of exponents that produce
47621         overflow except for X very close to 1.
47623 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
47625         mktime: merge #if/#ifdef usage from glibc
47626         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
47627         as that works with both Glibc's and Gnulib's style.
47628         See thread starting at Siddhesh Poyarekar's bug report at:
47629         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
47631 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47633         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
47634         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
47635         * sysdeps/tile/tilegx/memmove.c: Remove file.
47637 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47639         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
47640         abi-name definition.
47641         * scripts/soversions.awk: Do not handle or generate ABI lines.
47642         * shlib-versions: Remove ABI entries.
47643         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
47644         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
47646 2014-06-27  Roland McGrath  <roland@hack.frob.com>
47648         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
47649         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
47650         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
47651         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
47652         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
47653         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
47654         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
47655         Moved ...
47656         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
47657         ... here.
47658         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
47659         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
47660         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
47661         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
47662         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
47663         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
47664         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
47665         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
47666         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
47667         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
47668         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
47669         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
47670         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
47671         Moved ...
47672         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
47673         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
47674         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
47675         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
47676         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
47677         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
47678         Moved ...
47679         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
47680         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
47681         Moved ...
47682         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
47683         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
47684         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
47685         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
47686         Moved ...
47687         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
47688         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
47689         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
47690         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
47691         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
47692         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
47693         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
47694         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
47695         Moved ...
47696         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
47697         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
47698         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
47699         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
47700         Moved ...
47701         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
47702         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
47703         Moved ...
47704         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
47705         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
47706         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
47707         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
47708         Moved ...
47709         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
47710         ... here.
47711         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
47712         Identical file removed.
47713         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
47714         Moved ...
47715         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
47716         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
47717         Identical file removed.
47718         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
47719         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
47720         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
47721         Moved ...
47722         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
47723         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
47724         Identical file removed.
47725         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
47726         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
47727         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
47728         Identical file removed.
47729         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
47730         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
47731         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
47732         Identical file removed.
47733         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
47734         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
47735         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
47736         Identical file removed.
47737         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
47738         Moved ...
47739         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
47740         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
47741         Identical file removed.
47742         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
47743         Moved ...
47744         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
47745         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
47746         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
47747         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
47748         Identical file removed.
47749         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
47750         Moved ...
47751         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
47752         ... here.
47753         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
47754         Identical file removed.
47755         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
47756         Moved ...
47757         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
47758         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
47759         Identical file removed.
47760         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
47761         Moved ...
47762         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
47763         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
47764         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
47765         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
47766         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
47767         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
47768         Moved ...
47769         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
47770         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
47771         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
47773         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
47774         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
47775         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
47776         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
47777         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
47779 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
47781         [BZ #17092]
47782         * nscd/nscd.c (monitor_child): Return exit status of child
47783         instead of return value from wait syscall.
47785 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
47787         * configure.ac (libc_commonpagesize): Remove variable.
47788         (libc_relro_required): Likewise.
47789         (libc_cv_z_relro): Remove configure test.
47790         * configure: Regenerated.
47791         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
47792         variable.
47793         (libc_relro_required): Likewise.
47794         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
47795         (libc_relro_required): Likewise.
47796         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
47797         (libc_relro_required): Likewise.
47798         * sysdeps/arm/preconfigure: Regenerated.
47799         * sysdeps/ia64/preconfigure: Remove file.
47800         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
47801         variable.
47802         (libc_relro_required): Likewise.
47804         [BZ #16561]
47805         [BZ #16562]
47806         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
47807         (__ieee754_yn): Set FE_TONEAREST mode internally and then
47808         recompute overflowing results in original rounding mode.
47809         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
47810         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
47811         recompute overflowing results in original rounding mode.
47812         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
47813         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47814         recompute overflowing results in original rounding mode.
47815         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
47816         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47817         recompute overflowing results in original rounding mode.
47818         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
47819         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
47820         recompute overflowing results in original rounding mode.
47821         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
47822         (libc_feholdsetround_ctx): New macro.
47823         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
47824         * sysdeps/i386/fpu/libm-test-ulps: Update.
47825         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
47827 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47829         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
47830         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
47831         corresponding .cpsetup call.
47833 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47835         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
47836         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
47837         * sysdeps/arm/Makefile [$(subdir) = csu]
47838         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
47839         (static-only-routines): Add aeabi_read_tp here.
47840         (shared-only-routines): Add libc-aeabi_read_tp here.
47841         (CFLAGS-libc-start.c): Add -fexceptions here.
47842         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
47843         (sysdep_routines, static-only-routines, shared-only-routines):
47844         Don't add to these here.
47845         (CFLAGS-libc-start.c): Likewise.
47847         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
47848         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
47849         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
47850         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
47851         * sysdeps/arm/Makefile [$(subdir) = rt]
47852         (librt-sysdep_routines, librt-shared-only-routines):
47853         Append rt-aeabi_unwind_cpp_pr1 here.
47854         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
47855         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
47856         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
47857         (libpthread-sysdep_routines, libpthread-shared-only-routines):
47858         Append nptl-aeabi_unwind_cpp_pr1 here.
47859         (tests): Filter out tst-cleanupx4 here.
47860         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
47861         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
47862         Don't do those here.
47864 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47866         * scripts/list-sources.sh: Do not handle ports specially.
47868 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47870         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
47871         * sysdeps/arm/feupdateenv.c: Likewise.
47873         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
47875 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47877         * manual/texinfo.tex: Update to version 2014-05-05.10 with
47878         trailing whitespace removed.
47879         * scripts/config.guess: Update to version 2014-03-23.
47880         * scripts/config.sub: Update to version 2014-05-01
47881         * scripts/install-sh: Update to version 2013-12-25.23.
47882         * scripts/move-if-change: Update from gnulib.
47884 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47886         * debug/memmove_chk.c: Remove pagecopy.h include.
47888 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
47890         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
47891         identical to gnulib mktime.
47893 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
47895         * configure.ac: Do not test for machine being rs6000.  Do not test
47896         for powerpc*-*soft.
47897         * configure: Regenerated.
47899         [BZ #11505]
47900         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
47901         test.
47902         * configure: Regenerated.
47903         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
47904         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
47905         Remove configure test.
47906         * sysdeps/arm/configure: Regenerated.
47907         * sysdeps/nptl/configure.ac: Do not check
47908         libc_cv_asm_cfi_directives.
47909         * sysdeps/nptl/configure: Regenerated.
47910         * sysdeps/x86_64/nptl/configure.ac: Remove file.
47911         * sysdeps/x86_64/nptl/configure: Remove generated file.
47912         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
47913         unconditional.
47914         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
47916 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47918         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
47919         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
47920         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
47921         it is defined.
47923         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
47924         instead of whether it is defined.
47925         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
47926         * sysdeps/hppa/dl-machine.h: Likewise.
47927         * sysdeps/ia64/dl-machine.h: Likewise.
47928         * sysdeps/m68k/dl-machine.h: Likewise.
47929         * sysdeps/microblaze/dl-machine.h: Likewise.
47930         * sysdeps/mips/dl-machine.: Likewise.
47931         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
47932         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
47933         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
47934         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
47935         * sysdeps/sh/dl-machine.h: Likewise.
47936         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47937         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47938         * sysdeps/tile/dl-machine.h: Likewise.
47939         * sysdeps/x86_64/dl-machine.h: Likewise.
47941         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
47942         code.
47943         (verify_persistent_db): Likewise.
47945 2014-06-26  Roland McGrath  <roland@hack.frob.com>
47947         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
47948         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
47949         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
47950         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
47951         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
47952         Moved ...
47953         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
47954         ... here.
47955         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
47956         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
47957         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
47958         Identical file removed.
47959         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
47960         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
47961         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
47962         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
47963         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
47964         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
47965         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
47966         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
47967         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
47968         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
47969         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47970         Moved ...
47971         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
47972         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
47973         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
47974         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
47975         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
47976         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
47977         Moved ...
47978         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
47979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
47980         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
47981         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
47982         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
47983         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
47984         Identical file removed.
47985         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
47986         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
47987         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
47988         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
47989         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
47990         Moved ...
47991         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
47992         ... here.
47993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
47994         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
47995         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
47996         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
47997         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
47998         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
47999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
48000         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
48001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
48002         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
48003         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48004         Moved ...
48005         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
48006         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
48007         Moved ...
48008         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
48009         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
48010         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
48011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
48012         Moved ...
48013         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
48014         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
48015         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
48017         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
48018         folded into ...
48019         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
48020         * sysdeps/unix/sysv/linux/s390/Versions
48021         (libpthread: GLIBC_2.19): New version set.
48022         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
48023         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
48024         (librt: GLIBC_2.3.3): New version set.
48025         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
48026         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
48027         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
48028         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
48029         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
48030         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
48031         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
48032         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
48033         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
48034         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
48035         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
48036         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
48037         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
48038         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
48039         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
48040         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
48041         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
48042         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
48043         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
48044         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
48045         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
48046         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
48047         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
48048         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
48049         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
48050         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
48051         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
48052         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
48053         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
48054         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
48055         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
48056         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
48057         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
48058         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
48059         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
48060         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
48061         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
48062         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
48063         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
48064         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
48065         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
48066         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
48067         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
48068         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
48069         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
48071         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
48072         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
48073         (__libc_vfork): Define the function under this name.
48074         [!NOT_IN_libc] (__vfork): Make this an alias.
48075         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48076         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
48077         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
48078         (__libc_vfork): Define the function under this name.
48079         [!NOT_IN_libc] (__vfork): Make this an alias.
48080         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
48081         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
48082         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
48083         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
48084         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
48085         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
48087         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
48088         code that was previously under [RESET_PID].
48089         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
48090         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
48091         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
48093         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
48094         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
48095         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
48096         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
48097         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
48098         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
48099         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
48100         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
48101         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
48102         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
48103         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
48104         Moved ...
48105         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
48106         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
48107         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
48108         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
48109         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
48110         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
48111         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
48112         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
48113         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
48114         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
48115         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
48116         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
48117         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
48118         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
48119         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
48120         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
48121         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
48122         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
48123         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
48124         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
48125         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
48126         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
48127         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
48128         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
48129         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
48130         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
48131         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
48132         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
48133         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
48135 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48137         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
48138         that was previously under [RESET_PID].
48139         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
48141 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48143         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
48144         not undefine and redefine.
48145         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
48146         [O_CLOEXEC]: Make code unconditional.
48147         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
48148         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
48149         <kernel-features.h>.
48150         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
48151         conditional variable definition.
48152         (shm_open) [O_CLOEXEC]: Make code unconditional.
48153         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
48154         code.
48156         * configure.ac (USE_REGPARMS): Don't define here.
48157         * configure: Regenerated.
48158         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
48159         * sysdeps/i386/configure: Regenerated.
48161         * nptl/createthread.c: Don't include kernel-features.h.
48162         * nptl/pthread_cancel.c: Likewise.
48163         * nptl/pthread_condattr_setclock.c: Likewise.
48164         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
48165         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
48166         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
48167         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
48168         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
48169         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
48170         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
48171         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
48172         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
48173         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
48174         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
48175         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
48176         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
48177         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
48178         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
48179         * nscd/gai.c: Likewise.
48180         * nss/nss_db/db-open.c: Likewise.
48181         * sysdeps/generic/ldsodefs.h: Likewise.
48182         * sysdeps/sh/nptl/tls.h: Likewise.
48183         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
48184         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
48185         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
48186         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
48187         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
48188         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
48189         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
48190         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
48191         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
48192         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
48193         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
48194         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
48195         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
48196         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
48197         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
48198         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
48199         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
48200         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
48201         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
48202         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
48203         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
48204         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
48205         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
48206         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
48207         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
48208         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
48209         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
48210         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
48211         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
48212         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
48213         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
48214         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
48215         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
48216         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
48217         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
48218         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
48219         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
48220         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
48221         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
48222         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
48223         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
48224         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
48225         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
48226         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48227         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
48228         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
48229         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
48230         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
48231         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
48232         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
48233         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
48234         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
48235         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
48236         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
48237         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
48238         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
48239         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
48240         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
48241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
48243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
48244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
48245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
48246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
48247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
48248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
48249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
48252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
48253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
48254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
48255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
48257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
48258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
48259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
48260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
48261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
48262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
48263         * sysdeps/unix/sysv/linux/pread.c: Likewise.
48264         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
48265         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
48266         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
48267         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
48268         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
48269         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
48270         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
48271         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
48272         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
48273         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
48274         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
48275         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
48276         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
48277         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
48278         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
48279         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
48280         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
48281         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
48282         * sysdeps/unix/sysv/linux/system.c: Likewise.
48283         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
48284         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
48285         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
48286         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
48287         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
48288         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
48289         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
48291         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
48292         * configure: Regenerated.
48293         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
48295         * configure.ac (base_machine): Do not set specially for particular
48296         machines here.
48297         * configure: Regenerated.
48298         * sysdeps/powerpc/preconfigure: Move machine and base_machine
48299         settings from configure.ac.
48300         * sysdeps/i386/preconfigure: New file.
48301         * sysdeps/s390/preconfigure: Likewise.
48302         * sysdeps/sh/preconfigure: Likewise.
48303         * sysdeps/sparc/preconfigure: Likewise.
48305 2014-06-25  Roland McGrath  <roland@hack.frob.com>
48307         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
48308         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
48309         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
48310         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
48311         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
48312         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
48313         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
48314         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
48315         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
48316         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
48317         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
48318         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
48319         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
48320         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
48321         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
48322         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
48323         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
48324         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
48325         * sysdeps/sparc/sparc64/Makefile: ... appended here.
48327         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
48328         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
48329         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
48330         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
48331         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
48332         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
48333         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
48334         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
48335         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
48336         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
48337         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
48338         * sysdeps/sparc/sparc32/sem_post.c: ... here.
48339         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
48340         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
48341         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
48342         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
48343         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
48344         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
48345         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
48346         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
48347         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
48348         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
48349         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
48350         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
48351         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
48352         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
48353         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
48354         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
48355         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
48356         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
48357         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
48358         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
48359         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
48360         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
48361         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
48362         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
48363         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
48364         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
48366         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
48367         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
48368         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
48369         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
48370         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
48371         Moved ...
48372         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
48373         ... here.
48374         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
48375         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
48376         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
48377         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
48378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
48379         Moved ...
48380         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
48381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
48382         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
48383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
48384         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
48385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
48386         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
48387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
48388         Moved ...
48389         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
48390         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
48391         Moved ...
48392         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
48393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
48394         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
48395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
48396         Moved ...
48397         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
48398         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
48399         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
48400         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
48401         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
48402         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
48403         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
48404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
48405         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
48406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
48407         Moved ...
48408         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
48409         ... here.
48410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
48411         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
48412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
48413         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
48414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
48415         Moved ...
48416         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
48417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
48418         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
48419         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
48420         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
48421         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
48422         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
48423         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
48424         Moved ...
48425         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
48426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
48427         Moved ...
48428         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
48429         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
48430         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
48431         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
48432         Moved ...
48433         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
48434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
48435         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
48436         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
48437         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
48439 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48441         * timezone/checktab.awk: Update from tzcode 2014e.
48442         * timezone/private.h: Likewise.
48443         * timezone/tzfile.h: Likewise.
48444         * timezone/zdump.c: Likewise.
48445         * timezone/zic.c: Likewise.
48447         * sysdeps/unix/sysv/linux/kernel-features.h
48448         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
48449         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
48450         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
48451         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
48452         Remove conditional code.
48454 2014-06-25  Will Newton  <will.newton@linaro.org>
48456         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
48457         (_dl_arm_cap_flags): Add HWCAP2 values.
48458         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
48459         (_DL_HWCAP_COUNT): Increase to 37.
48460         (_DL_HWCAP_LAST): New define.
48461         (_DL_HWCAP2_LAST): New define.
48462         (_dl_procinfo): Add support for printing
48463         AT_HWCAP2 entries.
48464         (_dl_string_hwcap): Use _dl_hwcap_string.
48466 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48468         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48470 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
48472         * README: Do not mention ports directory.
48474         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
48475         Remove macro.
48476         * sysdeps/unix/sysv/linux/futimes.c: Do not include
48477         <kernel-features.h>.
48478         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
48479         conditional variable definition.
48480         (__futimes): Update comment.
48481         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
48482         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
48484         [BZ #16560]
48485         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
48486         arguments close to 0.
48487         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
48488         Likewise.
48489         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
48490         Likewise.
48491         * math/auto-libm-test-in: Add more tests of exp10.
48492         * math/auto-libm-test-out: Regenerated.
48493         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
48495         * sysdeps/unix/sysv/linux/kernel-features.h
48496         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
48497         * sysdeps/unix/sysv/linux/readv.c: Do not include
48498         <kernel-features.h>.
48499         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48500         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48501         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48502         unconditional.
48503         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48504         conditional code.
48505         * sysdeps/unix/sysv/linux/writev.c: Do not include
48506         <kernel-features.h>.
48507         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
48508         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
48509         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
48510         unconditional.
48511         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
48512         conditional code.
48514 2014-06-25  Will Newton  <will.newton@linaro.org>
48516         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
48517         comment changes throughout the file.  Remove checks
48518         for HAVE_*_H definitions that are not required.
48519         (__gen_tempname): Call abort if an unknown kind value is
48520         passed.
48522 2014-06-25  Andreas Schwab  <schwab@suse.de>
48524         [BZ #17086]
48525         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
48526         scalbln, scalblnf, scalblnl in libc.
48528 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
48530         [BZ #17086]
48531         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
48532         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
48533         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
48535 2014-06-24  Roland McGrath  <roland@hack.frob.com>
48537         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
48538         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
48539         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
48540         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
48541         Update #include.
48542         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
48543         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
48544         Update #include.
48545         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
48546         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
48547         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
48548         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
48549         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
48550         * sysdeps/x86/bits/pthreadtypes.h: ... here.
48551         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
48552         * sysdeps/x86/bits/semaphore.h: ... here.
48553         * sysdeps/x86/nptl/elide.h: Moved ...
48554         * sysdeps/x86/elide.h: ... here.
48555         * sysdeps/x86_64/nptl/Implies: File removed.
48556         * sysdeps/i386/nptl/Implies: File removed.
48558 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
48560         [BZ #16539]
48561         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
48562         return the argument for normal arguments with exponent below -64.
48563         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48564         Likewise.
48565         * math/auto-libm-test-in: Add another test of expm1.
48566         * math/auto-libm-test-out: Regenerated.
48568         [BZ #16287]
48569         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
48570         calling __erfcl for arguments at least 16.
48571         * math/auto-libm-test-in: Add more tests of erf.
48572         * math/auto-libm-test-out: Regenerated.
48574         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
48575         individual architectures.
48576         * sysdeps/unix/sysv/linux/configure: Regenerated.
48577         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
48578         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
48579         * sysdeps/unix/sysv/linux/powerpc/configure.ac
48580         (ldd_rewrite_script): Define variable.
48581         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
48582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
48583         file.
48584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
48585         generated file.
48586         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
48587         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
48588         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
48589         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
48590         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
48591         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
48592         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
48593         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
48595 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48597         [BZ #17084]
48598         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
48599         Rename member __data.d to __data.__elision_data.
48601 2014-06-24  Wilco  <wdijkstr@arm.com>
48603         * NEWS: Add 16918 to fixed bug list.
48605 2014-06-24  Wilco  <wdijkstr@arm.com>
48607         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
48609 2014-06-24  Wilco  <wdijkstr@arm.com>
48611         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
48612         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
48613         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
48614         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
48615         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
48616         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
48617         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
48618         Use _FPU_MASK_RM.
48620 2014-06-24  Wilco  <wdijkstr@arm.com>
48622         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
48624 2014-06-24  Wilco  <wdijkstr@arm.com>
48626         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
48627         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
48628         * sysdeps/arm/fesetround.c (fesetround): Remove space.
48629         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
48631 2014-06-24  Wilco  <wdijkstr@arm.com>
48633         [BZ #16918]
48634         * sysdeps/arm/feupdateenv.c (feupdateenv):
48635         Rewrite to reduce FPSCR accesses and fix return value.
48637 2014-06-24  Wilco  <wdijkstr@arm.com>
48639         * sysdeps/arm/fclrexcpt.c (feclearexcept):
48640         Optimize to avoid unnecessary FPSCR writes.
48641         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
48642         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
48643         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
48644         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
48646 2014-06-24  Wilco  <wdijkstr@arm.com>
48648         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
48649         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
48650         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
48651         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
48652         Call libc_fetestexcept_vfp.
48653         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
48654         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
48655         __SOFTFP__ ifdef so that they can be built for softfp.
48657 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
48659         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
48660         argument type signed char.
48662         * Makerules (check-abi): Dump diff of symlist if the test
48663         fails.
48665 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48667         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
48668         using abort.
48670         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48671         Remove unused variable ST.
48673 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
48675         [BZ #16354]
48676         [BZ #17061]
48677         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
48678         small arguments before calling __expm1.
48679         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
48680         small arguments before calling __expm1f.
48681         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
48682         small arguments before calling __expm1l.
48683         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48684         Likewise.
48685         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
48686         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
48687         spurious underflow for some cosh tests.
48688         * math/auto-libm-test-out: Regenerated.
48689         * sysdeps/i386/fpu/libm-test-ulps: Update.
48691         [BZ #17050]
48692         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
48693         (__ieee754_y1): Set errno if return value overflows.
48694         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
48695         (__ieee754_y1f): Set errno if return value overflows.
48696         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
48697         (__ieee754_y1l): Set errno if return value overflows.
48698         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
48699         (__ieee754_y1l): Set errno if return value overflows.
48700         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
48701         * math/auto-libm-test-out: Regenerated.
48703         * math/gen-auto-libm-tests.c: Document use of
48704         ignore-zero-inf-sign.
48705         (input_flag_type): Add value flag_ignore_zero_inf_sign.
48706         (input_flags): Add ignore-zero-inf-sign.
48707         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
48708         * math/gen-libm-test.pl (generate_testfile): Handle
48709         ignore-zero-inf-sign.
48710         * math/auto-libm-test-in: Mark some cpow tests with
48711         ignore-zero-inf-sign and some with xfail-rounding.
48712         * math/auto-libm-test-out: Regenerated.
48713         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
48714         * sysdeps/i386/fpu/libm-test-ulps: Update.
48715         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48717         [BZ #16315]
48718         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
48719         overflowing or underflowing operations take place with sign of
48720         result.
48721         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
48722         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
48723         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
48724         (__ieee754_pow): Recompute overflowing and underflowing results in
48725         original rounding mode.
48726         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
48727         (__powl_helper): Allow negative argument X and scale negated value
48728         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
48729         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
48730         overflowing or underflowing operations take place with sign of
48731         result.
48732         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
48733         Include <math.h>.
48734         * math/auto-libm-test-in: Add more tests of pow.
48735         * math/auto-libm-test-out: Regenerated.
48736         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
48737         (pow_tonearest_test_data): Remove.
48738         (pow_test_tonearest): Likewise.
48739         (pow_towardzero_test_data): Likewise.
48740         (pow_test_towardzero): Likewise.
48741         (pow_downward_test_data): Likewise.
48742         (pow_test_downward): Likewise.
48743         (pow_upward_test_data): Likewise.
48744         (pow_test_upward): Likewise.
48745         (main): Don't call removed functions.
48746         * sysdeps/i386/fpu/libm-test-ulps: Update.
48747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48749 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
48752         Moved ...
48753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
48754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
48755         Moved ...
48756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
48757         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
48758         Moved ...
48759         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
48760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
48761         Moved ...
48762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
48763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
48764         File removed.
48765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
48766         File removed.
48767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
48768         File removed.
48769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
48770         File removed.
48771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
48772         File removed.
48773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
48774         File removed.
48775         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
48776         File removed.
48777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
48778         File removed.
48779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
48780         File removed.
48781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
48782         File removed.
48783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
48784         File removed.
48785         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
48786         File removed.
48787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
48788         Moved ...
48789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
48790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
48791         Moved ...
48792         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
48793         ... here.
48794         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
48795         Moved ...
48796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
48797         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
48798         Moved ...
48799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
48800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
48801         Moved ...
48802         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
48803         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
48804         Moved ...
48805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
48806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
48807         Moved ...
48808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
48809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
48810         Moved ...
48811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
48812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
48813         Moved ...
48814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
48815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
48816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
48817         ... here.
48818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
48819         Moved ...
48820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
48821         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
48822         Moved ...
48823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
48824         ... here.
48825         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
48826         Moved ...
48827         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
48828         ... here.
48829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48830         Moved ...
48831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
48832         ... here.
48833         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
48834         Moved ...
48835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
48836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
48837         Moved ...
48838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
48839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
48840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
48841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
48842         Moved ...
48843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
48844         ... here.
48845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
48846         Moved ...
48847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
48848         ... here.
48849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
48850         Moved ...
48851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
48852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
48853         Moved ...
48854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
48855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
48856         Moved ...
48857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
48858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
48859         Moved ...
48860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
48861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
48862         Moved ...
48863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
48864         ... here.
48865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
48866         Moved ...
48867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
48868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
48869         Moved ...
48870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
48871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
48872         Moved ...
48873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
48874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
48875         Moved ...
48876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
48877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
48878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
48879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
48880         Moved ...
48881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
48882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
48883         Moved ...
48884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
48885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
48886         Moved ...
48887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
48888         ... here.
48889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
48890         Moved ...
48891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
48892         ... here.
48893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
48894         Moved ...
48895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
48896         ... here.
48897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
48898         Moved ...
48899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
48900         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
48901         Moved ...
48902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
48903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
48904         Moved ...
48905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
48906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
48907         Moved ...
48908         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
48909         ... here.
48910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
48911         Moved ...
48912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
48913         ... here.
48914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
48915         Moved ...
48916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
48917         ... here.
48918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
48919         Moved ...
48920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
48921         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
48922         Moved ...
48923         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
48925 2014-06-23  Will Newton  <will.newton@linaro.org>
48926             Wilco  <wdijkstr@arm.com>
48928         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
48929         implementation.  Include get-rounding-mode.h.
48930         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
48931         [!libc_feholdsetround_noex_ctx]: Define
48932         libc_feholdsetround_noex_ctx.
48933         [!libc_feholdsetround_noexf_ctx]: Define
48934         libc_feholdsetround_noexf_ctx.
48935         [!libc_feholdsetround_noexl_ctx]: Define
48936         libc_feholdsetround_noexl_ctx.
48937         (libc_feholdsetround_ctx): New function.
48938         (libc_feresetround_ctx): New function.
48939         (libc_feholdsetround_noex_ctx): New function.
48940         (libc_feresetround_noex_ctx): New function.
48942 2014-06-23  Roland McGrath  <roland@hack.frob.com>
48944         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
48945         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
48946         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
48947         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
48948         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
48949         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
48951         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
48952         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
48953         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
48954         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
48955         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
48956         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
48957         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
48958         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
48959         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
48960         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
48961         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
48962         Moved ...
48963         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
48964         ... here.
48965         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
48966         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
48967         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
48968         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
48969         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
48970         Moved ...
48971         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
48972         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
48973         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
48974         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
48975         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
48976         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
48977         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
48978         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
48979         Moved ...
48980         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
48981         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
48982         Moved ...
48983         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
48984         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
48985         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
48986         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
48987         Moved ...
48988         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
48989         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
48990         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
48991         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
48992         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
48993         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
48994         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
48995         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
48996         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
48997         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
48998         Moved ...
48999         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
49000         ... here.
49001         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
49002         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
49003         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
49004         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
49005         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
49006         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
49007         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
49008         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
49009         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
49010         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
49011         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
49012         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
49013         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
49014         Moved ...
49015         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
49016         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
49017         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
49018         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
49019         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
49020         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
49021         Moved ...
49022         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
49023         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
49024         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
49025         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
49026         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
49028         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
49029         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
49030         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
49031         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
49032         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
49033         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
49034         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
49035         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
49036         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
49037         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
49038         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
49039         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
49040         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
49041         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
49042         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
49043         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
49044         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
49045         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
49046         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
49047         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
49048         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
49049         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
49050         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
49051         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
49052         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
49053         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
49054         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
49055         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
49057 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
49059         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
49060         (FALLOC_FL_COLLAPSE_RANGE): New macro.
49061         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
49062         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
49063         (IPV6_PMTUDISC_INTERFACE): Likewise.
49064         (IPV6_PMTUDISC_OMIT): Likewise.
49066 2014-06-23  Andreas Schwab  <schwab@suse.de>
49068         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
49069         Remove unused errout label.
49071 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49073         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
49074         macro: hardware supports Vector Crypto instructions.
49076 2014-06-23  Will Newton  <will.newton@linaro.org>
49078         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
49079         rather than __builtin_expect.
49081         * elf/dl-lookup.c (undefined_msg): Remove variable.
49082         (_dl_lookup_symbol_x): Replace undefined_msg with string
49083         literal.
49085         * elf/dl-lookup.c (do_lookup_unique): New function.
49086         (do_lookup_x): Move STB_GNU_UNIQUE handling code
49087         to a separate function.
49089 2014-06-23  Andreas Schwab  <schwab@suse.de>
49091         [BZ #17079]
49092         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
49093         before reading the next line.
49095 2014-06-23  Will Newton  <will.newton@linaro.org>
49097         * test-skeleton.c (signal_handler): Use printf and %m
49098         rather than perror.  Use printf rather than fprintf to
49099         stderr.  Use puts rather than fputs to stderr.
49100         (main): Likewise.
49102 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
49104         * nscd/nscd.c (thread_info_t): Remove typedef.
49105         (thread_info): Remove variable.
49107 2014-06-21  Allan McRae  <allan@archlinux.org>
49109         * NEWS: Mention CVE-2014-4043.
49111 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49113         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
49114         * nptl/smp.h: ... here.
49116         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
49118         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
49119         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
49120         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
49121         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
49123         * nptl/allocatestack.c: Include <stack-aliasing.h>.
49124         * nptl/stack-aliasing.h: New file.
49125         * sysdeps/i386/i686/stack-aliasing.h: New file.
49126         * sysdeps/i386/i686/nptl/Makefile: File removed.
49127         * sysdeps/x86_64/stack-aliasing.h: New file.
49128         * sysdeps/x86_64/nptl/Makefile
49129         (CFLAGS-pthread_create.c): Variable removed.
49131         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
49132         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
49133         old file.
49134         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
49135         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
49136         old file.
49138 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
49140         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49141         (__ASSUME_SIGFRAME_V2): Remove macro.
49142         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
49143         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
49144         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
49145         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
49146         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
49147         Declare as function.  Remove conditional macro definitions.
49148         (__default_rt_sa_restorer): Likewise.
49149         (__default_sa_restorer_v1): Remove declaration.
49150         (__default_sa_restorer_v2): Likewise.
49151         (__default_rt_sa_restorer_v1): Likewise.
49152         (__default_rt_sa_restorer_v2): Likewise.
49153         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
49154         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
49155         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
49157 2014-06-20  Roland McGrath  <roland@hack.frob.com>
49159         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
49160         (libpthread-routines): Add sysdep.
49161         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
49162         * sysdeps/unix/sysv/linux/sparc/Versions
49163         (libpthread: GLIBC_2.3.3): New version set.
49164         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
49165         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
49166         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
49167         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
49168         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
49169         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
49170         Moved ...
49171         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
49172         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
49173         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
49174         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
49175         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
49176         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
49177         * sysdeps/sparc/nptl/sem_init.c: ... here.
49178         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
49179         * sysdeps/sparc/nptl/sem_post.c: ... here.
49180         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
49181         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
49182         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
49183         * sysdeps/sparc/nptl/sem_wait.c: ... here.
49184         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
49185         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
49186         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
49187         (libpthread-routines): Add cpu_relax.
49188         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
49189         File removed.
49190         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
49191         (librt: GLIBC_2.3.3): New version set.
49192         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
49193         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
49194         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
49195         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
49196         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
49197         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
49198         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
49199         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
49200         Moved ...
49201         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
49202         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
49203         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
49204         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
49205         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
49206         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
49207         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
49208         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
49209         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
49210         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
49211         Moved ...
49212         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
49213         Update #include.
49214         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
49215         Moved ...
49216         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
49217         Update #include.
49218         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
49219         Moved ...
49220         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
49221         Update #include.
49222         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
49223         Moved ...
49224         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
49225         Update #include.
49226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
49227         Moved ...
49228         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
49229         Update #include.
49230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
49231         Moved ...
49232         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
49233         Update #include.
49234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
49235         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
49236         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
49237         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
49238         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
49239         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
49240         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
49241         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
49242         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
49243         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
49244         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49245         Moved ...
49246         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
49247         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
49248         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
49249         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
49250         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
49252 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49254         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
49255         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
49256         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
49257         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
49258         * nscd/nscd.c: Likewise.
49259         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
49260         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
49261         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
49262         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
49264         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
49265         <kernel-features.h>.
49266         (init_mq_netlink): Remove conditional have_sock_cloexec
49267         definitions.  Remove code conditional on have_sock_cloexec < 0.
49268         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
49269         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
49270         * sysdeps/unix/sysv/linux/opensock.c: Do not include
49271         <kernel-features.h>.
49272         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
49273         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
49275 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49277         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49278         Add tests for memset_chk and memset.
49280         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
49281         with AVX2_Usable.
49283 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49285         [BZ #16046]
49286         * elf/tst-dl-iter-static.c: New file.
49287         * elf/Makefile (tests-static): Add tst-dl-iter-static.
49289         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
49290         error.
49292 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49294         * sysdeps/unix/sysv/linux/kernel-features.h
49295         (__ASSUME_F_GETOWN_EX): Remove macro.
49296         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
49297         <kernel-features.h>.
49298         (miss_F_GETOWN_EX): Remove variable or macro.
49299         (do_fcntl): Do not check miss_F_GETOWN_EX.
49300         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
49302         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
49303         Remove macro.
49304         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
49305         [!__ASSUME_AT_RANDOM]: Remove conditional code.
49306         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
49308         * sysdeps/unix/sysv/linux/kernel-features.h
49309         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
49310         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
49311         [ADJ_OFFSET_SS_READ]: Make code unconditional.
49312         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
49314 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
49316         [BZ #17075]
49317         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
49318         Fix calculation of the symbol's value.
49319         * sysdeps/arm/tst-armtlsdescloc.c: New file.
49320         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
49321         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
49322         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
49323         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
49324         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
49325         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
49326         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
49327         (modules-names): Add `tst-armtlsdescmod',
49328         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
49329         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
49330         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49331         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
49332         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
49333         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
49334         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
49335         ($(objpfx)tst-armtlsdescloc): New dependency.
49336         ($(objpfx)tst-armtlsdescextnow): Likewise.
49337         ($(objpfx)tst-armtlsdescextlazy): Likewise.
49338         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
49339         TLS scheme support.
49340         * sysdeps/arm/configure: Regenerate.
49342 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
49344         * include/fcntl.h (__atfct_seterrno): Remove prototype.
49345         (__atfct_seterrno_2): Likewise.
49346         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
49347         <kernel-features.h>.
49348         (__ASSUME_ATFCTS): Do not undefine and redefine.
49349         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
49350         (__have_atfcts): Remove conditional definition.
49351         (__fxstatat([__NR_fstatat64]: Make code unconditional.
49352         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
49353         unreachable if [__ASSUME_ATFCTS].
49354         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
49355         not undefine and redefine.
49356         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
49357         <kernel-features.h>.
49358         (faccessat) [__NR_faccessat]: Make code unconditional.
49359         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
49360         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
49361         <kernel-features.h>.
49362         (fchmodat) [__NR_fchmodat]: Make code unconditional.
49363         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49364         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
49365         <kernel-features.h>.
49366         (fchownat) [__NR_fchownat]: Make code unconditional.
49367         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
49368         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
49369         <kernel-features.h>.
49370         (futimesat) [__NR_futimesat]: Make code unconditional.
49371         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
49372         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
49373         <kernel-features.h>.
49374         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49375         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49376         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
49377         <kernel-features.h>.
49378         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
49379         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49380         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
49381         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
49382         <kernel-features.h>.
49383         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
49384         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49385         * sysdeps/unix/sysv/linux/linkat.c: Do not include
49386         <kernel-features.h>.
49387         (linkat) [__NR_linkat]: Make code unconditional.
49388         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49389         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
49390         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
49391         <kernel-features.h>.
49392         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
49393         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
49394         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
49395         <kernel-features.h>.
49396         (mkdirat) [__NR_mkdirat]: Make code unconditional.
49397         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
49398         * sysdeps/unix/sysv/linux/openat.c: Do not include
49399         <kernel-features.h>.
49400         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
49401         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
49402         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
49403         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
49404         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
49405         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
49406         <kernel-features.h>.
49407         (readlinkat) [__NR_readlinkat]: Make code unconditional.
49408         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
49409         result of INLINE_SYSCALL directly, not via int variable.
49410         * sysdeps/unix/sysv/linux/renameat.c: Do not include
49411         <kernel-features.h>.
49412         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
49413         (renameat) [__NR_renameat]: Make code unconditional.
49414         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
49415         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
49416         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
49417         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
49418         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
49419         (__ASSUME_ATFCTS): Do not undefine and redefine.
49420         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
49421         <kernel-features.h>.
49422         (symlinkat) [__NR_symlinkat]: Make code unconditional.
49423         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49424         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
49425         <kernel-features.h>.
49426         (unlinkat) [__NR_unlinkat]: Make code unconditional.
49427         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
49428         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
49429         (__ASSUME_ATFCTS): Do not undefine and redefine.
49430         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
49431         <kernel-features.h>.
49432         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
49433         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
49434         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
49435         <kernel-features.h>.
49436         (__xmknodat) [__NR_mknodat]: Make code unconditional.
49437         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
49439 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
49441         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
49443 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
49445         [BZ #17069]
49446         * posix/regcomp.c (parse_reg_exp): Deallocate partially
49447         constructed tree before returning error.
49448         * posix/bug-regexp36.c: Expand test case.
49450 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
49452         [BZ #6803]
49453         * math/libm-test.inc (scalbln_test_date):
49454         Add errno expectations.
49455         * math/w_scalblnf.c: New File.
49456         Add wrapper which checks for setting errno to ERANGE.
49457         Add weak_alias for corresponding scalbln function.
49458         * math/w_scalbln.c: Likewise.
49459         * math/w_scalblnl.c: Likewise.
49460         * math/Makefile (libm-calls): Add w_scalbln.
49461         * sysdeps/ieee754/flt-32/s_scalblnf.c:
49462         Remove weak_alias for corresponding scalbln function.
49463         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
49464         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
49465         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49466         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49467         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
49468         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
49469         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
49470         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
49471         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
49472         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
49473         Remove long_double_symbol for scalblnl function in libm, libc.
49474         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
49475         Add wrapper which checks for setting errno to ERANGE.
49476         Add long_double_symbol for scalblnl function in libm, libc.
49477         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
49478         Remove long_double_symbol for scalblnl in libm.
49479         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
49480         Add wrapper which checks for setting errno to ERANGE.
49481         Add long_double_symbol for scalblnl function in libm.
49482         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
49483         Do not use wrapper because of own implementation.
49485 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
49487         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
49488         3 bytes for __pad1 for x32.
49489         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
49491 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
49492             H.J. Lu  <hongjiu.lu@intel.com>
49494         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
49495         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
49496         * sysdeps/x86_64/multiarch/memset.S: Likewise.
49497         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
49498         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
49500 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
49502         [BZ #17069]
49503         * posix/regcomp.c (parse_expression): Deallocate partially
49504         constructed tree before returning error.
49505         * posix/Makefile.c (tests): Add bug-regex36.
49506         (generated): Add bug-regex36.mtrace.
49507         (tests-special): Add $(objpfx)bug-regex36-mem.out
49508         (bug-regex36-ENV): New variable.
49509         ($(objpfx)bug-regex36-mem.out): New rule.
49510         * posix/bug-regex36.c: New file.
49512 2014-06-19  Will Newton  <will.newton@linaro.org>
49514         * malloc/malloc.c (systrim): If extra is zero then return
49515         early.
49517 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
49519         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
49521 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
49523         * sysdeps/aarch64/strchr.S: New file.
49525 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49527         [BZ #17022]
49528         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
49529         from arguments -2 or below.
49530         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
49531         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
49533 2014-06-18  Andreas Schwab  <schwab@suse.de>
49535         [BZ #17062]
49536         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
49537         of a bracket expr not to run off the end of the string.
49538         * posix/Makefile (tests): Add tst-fnmatch3.
49539         * posix/tst-fnmatch3.c: New file.
49541 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
49543         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
49544         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
49545         [$(cross-compiling) = no]: Likewise.
49546         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
49547         [$(cross-compiling) = no]: Likewise.
49549 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
49551         [BZ #17031]
49552         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
49553         double, adjusted for any remainder from the high double.
49554         * math/libm-test.inc (nearbyint): Add tests.
49555         (rint): Likewise.
49557 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49559         * nptl/sysdeps/powerpc/Makefile: Moved ...
49560         * sysdeps/powerpc/nptl/Makefile: ... here.
49561         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
49562         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
49563         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
49564         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
49565         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
49566         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
49567         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
49568         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
49569         * nptl/sysdeps/powerpc/tls.h: Moved ...
49570         * sysdeps/powerpc/nptl/tls.h: ... here.
49572 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
49574         [BZ #16681]
49575         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
49576         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
49577         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
49578         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
49579         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
49580         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
49581         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
49582         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
49583         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
49585 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
49587         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
49589 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
49591         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
49592         defined operator.
49594         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
49595         $TIMEOUTFACTOR.
49597 2014-06-16  Florian Weimer  <fweimer@redhat.com>
49599         [BZ #17058]
49600         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
49601         non-executed part of the test.
49603 2014-06-16  Andreas Schwab  <schwab@suse.de>
49605         * string/bits/string2.h (strdup, strndup): Update feature guard.
49607 2014-06-14  David S. Miller  <davem@davemloft.net>
49609         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49611 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
49613         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
49614         that was previously under [RESET_PID].
49615         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
49617         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
49618         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
49619         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
49620         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49621         (__libc_vfork): New strong alias.
49622         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
49624 2014-06-14 Andi Kleen  <ak@linux.intel.com>
49626         * sysdeps/generic/elide.h: New file.
49628 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
49630         * Makefile (installed-headers): Adjust path of pthread.h header.
49632 2014-06-13  Roland McGrath  <roland@hack.frob.com>
49634         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
49635         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
49636         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
49637         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
49639         * nptl/sysdeps/s390/Makefile: Moved ...
49640         * sysdeps/s390/nptl/Makefile: ... here.
49641         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
49642         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
49643         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
49644         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
49645         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
49646         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
49647         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
49648         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
49649         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
49650         * sysdeps/s390/nptl/pthreaddef.h: ... here.
49651         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
49652         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
49653         * nptl/sysdeps/s390/tls.h: Moved ...
49654         * sysdeps/s390/nptl/tls.h: ... here.
49656         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
49657         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
49659 2014-06-13  David S. Miller  <davem@davemloft.net>
49661         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
49662         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
49663         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
49664         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
49665         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
49666         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
49667         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
49668         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
49669         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
49670         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
49671         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
49672         Remove RESET_PID cpp guards.
49673         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
49674         Remove RESET_PID cpp guards.
49675         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
49677 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
49679         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
49680         __sp to uintptr_t.
49682 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49684         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
49685         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
49686         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
49687         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
49688         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
49689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
49690         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
49691         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
49692         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
49693         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
49694         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
49695         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
49696         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
49697         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
49698         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
49699         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
49700         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
49701         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
49702         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
49703         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
49705         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
49706         (pthread_rwlock_rdlock): Add elision.
49707         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
49708         (pthread_rwlock_wrlock): Add elision.
49709         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
49710         (pthread_rwlock_trywrlock): Add elision.
49711         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
49712         (pthread_rwlock_tryrdlock): Add elision.
49713         * nptl/pthread_rwlock_unlock.c: Include elide.h.
49714         (pthread_rwlock_tryrdlock): Add elision unlock.
49715         * nptl/sysdeps/pthread/pthread.h:
49716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
49717         (PTHREAD_RWLOCK_INITIALIZER,
49718         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
49719         Handle new elision field.
49720         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
49721         * sysdeps/arm/nptl/bits/pthreadtypes.h
49722         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49723         * sysdeps/sh/nptl/bits/pthreadtypes.h
49724         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49725         * sysdeps/tile/nptl/bits/pthreadtypes.h
49726         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49727         * sysdeps/a/nptl/bits/pthreadtypes.h
49728         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49729         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
49730         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49731         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
49732         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49733         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
49734         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49735         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
49736         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49737         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
49738         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49739         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
49740         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49741         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
49742         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49743         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
49744         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49745         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
49746         (elision_init): Set try_xbegin to zero when no RTM.
49747         * sysdeps/x86/nptl/bits/pthreadtypes.h
49748         (pthread_rwlock_t): Change __pad1 to __rwelision.
49749         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
49751 2014-06-13  Andi Kleen  <ak@linux.intel.com>
49753         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
49754         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
49755         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
49756         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
49758 2014-06-13  Meador Inge  <meadori@codesourcery.com>
49760         [BZ #16996]
49761         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
49762         that the cached result has been set before returning it.
49764 2014-06-12  Roland McGrath  <roland@hack.frob.com>
49766         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
49767         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
49768         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
49769         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
49770         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
49771         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
49773         * nptl/sysdeps/sparc/Makefile: Moved ...
49774         * sysdeps/sparc/nptl/Makefile: ... here.
49775         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
49776         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
49777         * nptl/sysdeps/sparc/tls.h: Moved ...
49778         * sysdeps/sparc/nptl/tls.h: ... here.
49779         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
49780         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
49781         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
49782         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
49783         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
49784         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
49785         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
49786         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
49787         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
49788         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
49789         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
49790         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
49791         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
49792         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
49793         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
49794         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
49795         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
49796         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
49797         Update #include.
49798         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
49799         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
49800         Update #include.
49801         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
49802         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
49803         Update #include.
49804         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
49805         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
49806         Update #include.
49808         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
49810         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
49811         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
49813         * sysdeps/pthread/posix-timer.h: Include <list.h>.
49814         (struct list_links): Type removed.
49815         (struct thread_node, struct timer_node): Replace struct list_links
49816         with struct list_head.
49817         (list_unlink_ip): Likewise.
49818         * sysdeps/pthread/timer_routines.c
49819         (timer_free_list, thread_free_list, thread_active_list): Likewise.
49820         (list_append, list_insbefore): Likewise.
49821         (list_init): Function removed.
49822         (thread_init, init_module): Use INIT_LIST_HEAD instead.
49823         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
49824         * sysdeps/pthread/Makefile: ... here, new file.
49826         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
49827         * sysdeps/nptl/Implies: ... here.
49828         * sysdeps/unix/sysv/linux/Implies: Add nptl.
49829         * nptl/sysdeps/pthread/list.h: Moved ...
49830         * include/list.h: ... here.
49831         * nptl/sysdeps/pthread/createthread.c: Moved ...
49832         * nptl/createthread.c: ... here.
49833         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
49834         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
49835         * nptl/pt-longjmp.c: ... here.
49836         * nptl/sysdeps/pthread/Makefile: Moved ...
49837         * sysdeps/nptl/Makefile: ... here.
49838         * nptl/sysdeps/pthread/Subdirs: Moved ...
49839         * sysdeps/nptl/Subdirs: ... here.
49840         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
49841         * sysdeps/nptl/aio_misc.h: ... here.
49842         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
49843         * sysdeps/nptl/bits/libc-lock.h: ... here.
49844         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
49845         * sysdeps/nptl/bits/libc-lockP.h: ... here.
49846         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
49847         * sysdeps/nptl/bits/stdio-lock.h: ... here.
49848         * nptl/sysdeps/pthread/configure: Moved ...
49849         * sysdeps/nptl/configure: ... here.
49850         * nptl/sysdeps/pthread/configure.ac: Moved ...
49851         * sysdeps/nptl/configure.ac: ... here.
49852         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
49853         * sysdeps/nptl/gai_misc.h: ... here.
49854         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
49855         * sysdeps/nptl/librt-cancellation.c: ... here.
49856         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
49857         * sysdeps/nptl/malloc-machine.h: ... here.
49858         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
49859         * sysdeps/nptl/pthread-functions.h: ... here.
49860         * nptl/sysdeps/pthread/pthread.h: Moved ...
49861         * sysdeps/nptl/pthread.h: ... here.
49862         * nptl/sysdeps/pthread/setxid.h: Moved ...
49863         * sysdeps/nptl/setxid.h: ... here.
49864         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
49865         * sysdeps/nptl/sigfillset.c: ... here.
49866         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
49867         * sysdeps/nptl/tcb-offsets.h: ... here.
49868         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
49869         * sysdeps/nptl/tst-mqueue8x.c: ... here.
49870         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
49871         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
49872         * nptl/sysdeps/pthread/allocalim.h: Moved ...
49873         * sysdeps/pthread/allocalim.h: ... here.
49874         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
49875         * sysdeps/pthread/bits/sigthread.h: ... here.
49876         * nptl/sysdeps/pthread/flockfile.c: Moved ...
49877         * sysdeps/pthread/flockfile.c: ... here.
49878         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
49879         * sysdeps/pthread/ftrylockfile.c: ... here.
49880         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
49881         * sysdeps/pthread/funlockfile.c: ... here.
49882         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
49883         * sysdeps/pthread/posix-timer.h: ... here.
49884         * nptl/sysdeps/pthread/timer_create.c: Moved ...
49885         * sysdeps/pthread/timer_create.c: ... here.
49886         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
49887         * sysdeps/pthread/timer_delete.c: ... here.
49888         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
49889         * sysdeps/pthread/timer_getoverr.c: ... here.
49890         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
49891         * sysdeps/pthread/timer_gettime.c: ... here.
49892         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
49893         * sysdeps/pthread/timer_routines.c: ... here.
49894         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
49895         * sysdeps/pthread/timer_settime.c: ... here.
49896         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
49897         * sysdeps/pthread/tst-timer.c: ... here.
49898         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
49899         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
49901         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
49902         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
49904         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
49905         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
49906         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
49907         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
49908         Update #include target.
49909         * nptl/sysdeps/i386/i686/Makefile: Moved ...
49910         * sysdeps/i386/i686/nptl/Makefile: ... here.
49911         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
49912         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
49913         Update #include target.
49914         * nptl/sysdeps/i386/i686/tls.h: Moved ...
49915         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
49916         * nptl/sysdeps/i386/Makefile: Moved ...
49917         * sysdeps/i386/nptl/Makefile: ... here.
49918         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
49919         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
49920         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
49921         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
49922         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
49923         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
49924         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
49925         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
49926         * sysdeps/i386/nptl/pthreaddef.h: ... here.
49927         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
49928         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
49929         * nptl/sysdeps/i386/tls.h: Moved ...
49930         * sysdeps/i386/nptl/tls.h: ... here.
49932         * sysdeps/sh/Makefile [$(subdir) = csu]
49933         (gen-as-const-headers): Add tcb-offsets.sym.
49934         * nptl/sysdeps/sh/Makefile: File removed.
49935         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
49936         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
49937         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
49938         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
49939         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
49940         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
49941         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
49942         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
49943         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
49944         * sysdeps/sh/nptl/pthreaddef.h: ... here.
49945         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
49946         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
49947         * nptl/sysdeps/sh/tls.h: Moved ...
49948         * sysdeps/sh/nptl/tls.h: ... here.
49949         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
49950         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
49951         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
49952         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
49953         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
49954         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
49955         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
49956         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
49957         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
49958         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
49959         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
49960         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
49961         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
49962         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
49963         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
49964         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
49965         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
49966         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
49967         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
49968         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
49969         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
49970         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
49971         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
49972         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
49973         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
49974         Moved ...
49975         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
49976         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
49977         Moved ...
49978         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
49979         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
49980         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
49981         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
49982         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
49983         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
49984         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
49985         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
49986         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
49987         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
49988         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
49989         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
49990         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
49991         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
49992         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
49993         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
49994         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
49995         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
49996         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
49998 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
50000         * posix/spawn_faction_addopen.c: Include string.h.
50002 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50004         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
50005         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
50006         * nptl/sysdeps/x86_64/Makefile: Moved ...
50007         * sysdeps/x86_64/nptl/Makefile: ... here.
50008         * nptl/sysdeps/x86_64/configure: Moved ...
50009         * sysdeps/x86_64/nptl/configure: ... here.
50010         * nptl/sysdeps/x86_64/configure.ac: Moved ...
50011         * sysdeps/x86_64/nptl/configure.ac: ... here.
50012         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
50013         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
50014         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
50015         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
50016         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
50017         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
50018         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
50019         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
50020         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
50021         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
50022         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
50023         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
50024         * nptl/sysdeps/x86_64/tls.h: Moved ...
50025         * sysdeps/x86_64/nptl/tls.h: ... here.
50026         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
50027         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
50028         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
50029         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
50031         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
50033 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50037 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
50039         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
50040         type.
50041         [POSIX] (off_t): Likewise.
50042         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
50043         [POSIX] (S_ISBLK): Require macro.
50044         [POSIX] (S_ISCHR): Likewise.
50045         [POSIX] (S_ISDIR): Likewise.
50046         [POSIX] (S_ISFIFO): Likewise.
50047         [POSIX] (S_ISREG): Likewise.
50048         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
50049         optional-macro.
50050         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
50051         type.
50052         [POSIX] (time_t): Likewise.
50053         [POSIX] (timer_t): Likewise.
50055 2014-06-11  Florian Weimer  <fweimer@redhat.com>
50057         [BZ #17048]
50058         * posix/spawn_int.h (struct __spawn_action): Make the path string
50059         non-const to support deallocation.
50060         * posix/spawn_faction_addopen.c
50061         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
50062         * posix/spawn_faction_destroy.c
50063         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
50064         path in all spawn_do_open actions.
50065         * posix/tst-spawn.c (do_test): Exercise the copy operation in
50066         posix_spawn_file_actions_addopen.
50068 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
50070         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
50071         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
50072         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
50073         conditional code always true.
50074         (__libc_vfork): New alias.
50076 2014-06-11  Roland McGrath  <roland@hack.frob.com>
50078         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50079         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
50081         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
50083         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50084         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
50086         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
50087         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
50089         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50090         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
50092 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
50094         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
50095         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
50096         multiarch strcmp for PPC64.
50097         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
50098         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
50099         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
50100         multiarch optimizations.
50101         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
50102         (__libc_ifunc_impl_list): Likewise.
50104 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50106         * benchtests/scripts/validate_benchout.py: New script.
50107         * benchtests/Makefile (bench-func): Call it.
50108         * benchtests/scripts/benchout.schema.json: New file.
50110 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
50112         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
50113         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
50114         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
50115         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
50116         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
50117         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
50118         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
50119         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
50120         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
50121         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
50122         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
50123         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
50124         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
50125         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
50126         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
50127         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
50128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
50129         Moved ...
50130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
50131         ... here.
50132         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
50133         Moved ...
50134         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
50135         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
50136         Moved ...
50137         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
50138         ... here.
50139         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
50140         Moved ...
50141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
50142         ... here.
50143         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
50144         Moved ...
50145         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
50146         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
50147         Moved ...
50148         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
50149         ... here.
50150         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
50151         Moved ...
50152         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
50153         ... here.
50154         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
50155         Moved ...
50156         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
50157         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
50158         Moved ...
50159         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
50160         ... here.
50161         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
50162         Moved ...
50163         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
50164         ... here.
50165         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
50166         Moved ...
50167         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
50168         ... here.
50169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
50170         Moved ...
50171         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
50172         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
50173         Moved ...
50174         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
50175         ... here.
50176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
50177         Moved ...
50178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
50179         ... here.
50180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
50181         Moved ...
50182         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
50183         ... here.
50184         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
50185         Moved ...
50186         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
50187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
50188         Moved ...
50189         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
50190         ... here.
50191         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
50192         Moved ...
50193         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
50194         ... here.
50195         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
50196         Moved ...
50197         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
50198         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
50199         Moved ...
50200         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
50201         ... here.
50202         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
50203         Moved ...
50204         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
50205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
50206         Moved ...
50207         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
50208         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
50209         Moved ...
50210         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
50211         ... here.
50212         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
50213         Moved ...
50214         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
50215         ... here.
50216         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
50217         Moved ...
50218         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
50219         ... here.
50220         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
50221         Moved ...
50222         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
50223         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
50224         Moved ...
50225         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
50226         ... here.
50227         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
50228         Moved ...
50229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
50230         ... here.
50231         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
50232         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
50233         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
50234         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
50235         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
50236         Moved ...
50237         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
50238         ... here.
50239         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
50240         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
50241         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
50242         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
50243         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
50244         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
50245         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
50246         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
50247         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
50248         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
50249         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
50250         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
50251         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
50252         Moved ...
50253         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
50254         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
50255         Moved ...
50256         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
50257         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
50258         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
50259         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
50260         Moved ...
50261         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
50262         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
50263         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
50264         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
50265         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
50266         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
50267         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
50269 2014-06-10  Wilco  <wdijkstr@arm.com>
50271         * math/test-fenv-return.c: New file.
50272         * math/Makefile: Add new test test-fenv-return.
50274 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
50276         [BZ #17042]
50277         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
50278         when x - 1 is zero.
50279         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
50280         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
50281         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
50282         0.0L for an argument of 1.0L.
50283         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
50284         Likewise.
50285         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
50286         value when x - 1 is zero.
50287         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
50288         * sysdeps/i386/fpu/libm-test-ulps: Update.
50289         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50291 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
50293         [BZ #15119]
50294         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
50296 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50298         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
50299         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
50301 2014-06-09  Roland McGrath  <roland@hack.frob.com>
50303         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50304         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
50306         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50307         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
50309         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50310         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
50312         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
50313         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
50315         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
50316         if not already defined.
50317         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
50318         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
50319         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
50320         (TLS_INIT_TP): Use it.
50321         (TLS_DEFINE_INIT_TP): New macro.
50322         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
50324 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
50326         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
50327         constant.
50328         [POSIX] (IXANY): Likewise.
50329         [POSIX] (OLCUC): Likewise.
50330         [POSIX || POSIX2008] (CBAUD): Do not allow.
50331         [POSIX || POSIX2008] (DEFECHO): Likewise.
50332         [POSIX || POSIX2008] (ECHOCTL): Likewise.
50333         [POSIX || POSIX2008] (ECHOKE): Likewise.
50334         [POSIX || POSIX2008] (ECHOPRT): Likewise.
50335         [POSIX || POSIX2008] (EXTA): Likewise.
50336         [POSIX || POSIX2008] (EXTB): Likewise.
50337         [POSIX || POSIX2008] (FLUSHO): Likewise.
50338         [POSIX || POSIX2008] (LOBLK): Likewise.
50339         [POSIX || POSIX2008] (PENDIN): Likewise.
50340         [POSIX || POSIX2008] (SWTCH): Likewise.
50341         [POSIX || POSIX2008] (VDISCARD): Likewise.
50342         [POSIX || POSIX2008] (VDSUSP): Likewise.
50343         [POSIX || POSIX2008] (VLNEXT): Likewise.
50344         [POSIX || POSIX2008] (VREPRINT): Likewise.
50345         [POSIX || POSIX2008] (VSTATUS): Likewise.
50346         [POSIX || POSIX2008] (VWERASE): Likewise.
50347         (B*): Change to B[0123456789]*.
50348         * conform/data/time.h-data [POSIX || UNIX98]
50349         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
50350         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
50351         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
50352         [POSIX] (tm_*): Do not allow.
50354 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
50356         * Makefile (install): Don't set LANGUAGE.
50357         * Makefile.in (install): Likewise.
50358         * assert/Makefile (test-assert-ENV): Remove variable.
50359         (test-assert-perr-ENV): Likewise.
50360         * elf/Makefile (neededtest4-ENV): Likewise.
50361         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
50362         [$(cross-compiling) = no]: Don't set LANGUAGE.
50363         * io/ftwtest-sh (LANG): Remove variable.
50364         * libio/Makefile (tst-widetext-ENV): Likewise.
50365         * manual/install.texi (Running make install): Don't refer to
50366         environment settings for make install.
50367         * INSTALL: Regenerated.
50368         * nptl/tst-tls6.sh: Don't set LANG.
50369         * posix/globtest.sh (LANG): Remove variable.
50370         * string/Makefile (tester-ENV): Likewise.
50371         (inl-tester-ENV): Likewise.
50372         (noinl-tester-ENV): Likewise.
50373         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
50374         [$(cross-compiling) = no]: Don't set LANGUAGE.
50375         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
50376         without explicit environment settings.
50378 2014-06-06  Roland McGrath  <roland@hack.frob.com>
50380         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
50381         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
50382         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
50383         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
50385 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
50387         * crypt/crypt-private.h [DOS]: Add some includes taken from the
50388         other files in the crypt directory.
50389         * crypt/crypt.c: Remove duplicate includes.
50390         * crypt/crypt-entry.c: Likewise.
50391         * crypt/crypt_util.c: Likewise.
50393 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
50395         * Makeconfig (run-program-env): New variable.
50396         (run-program-prefix-before-env): Likewise.
50397         (run-program-prefix-after-env): Likewise.
50398         (run-program-prefix): Define in terms of new variables.
50399         (built-program-cmd-before-env): New variable.
50400         (built-program-cmd-after-env): Likewise.
50401         (built-program-cmd): Define in terms of new variables.
50402         (test-program-prefix-before-env): New variable.
50403         (test-program-prefix-after-env): Likewise.
50404         (test-program-prefix): Define in terms of new variables.
50405         (test-program-cmd-before-env): New variable.
50406         (test-program-cmd-after-env): Likewise.
50407         (test-program-cmd): Define in terms of new variables.
50408         * Rules (make-test-out): Use $(run-program-env).
50409         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
50410         (help): Do not mention environment variables.  Mention
50411         --timeoutfactor option.
50412         (timeoutfactor): New variable.
50413         (blacklist_exports): Remove function.
50414         (exports): Remove variable.
50415         (command): Do not include ${exports}.
50416         * manual/install.texi (Configuring and compiling): Do not mention
50417         test wrappers preserving environment variables.  Mention that last
50418         assignment to a variable must take precedence.
50419         * INSTALL: Regenerated.
50420         * benchtests/Makefile (run-bench): Use $(run-program-env).
50421         * catgets/Makefile ($(objpfx)test1.cat): Use
50422         $(built-program-cmd-before-env), $(run-program-env) and
50423         $(built-program-cmd-after-env).
50424         ($(objpfx)test2.cat): Do not specify environment variables
50425         explicitly.
50426         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
50427         $(run-program-env) and $(built-program-cmd-after-env).
50428         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
50429         $(run-program-env) and $(test-program-cmd-after-env).
50430         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
50431         explicitly.
50432         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
50433         run_program_env and test_program_cmd_after_env arguments.
50434         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
50435         * elf/tst-pathopt.sh: Use run_program_env argument.
50436         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
50437         $(test-wrapper-env) and $(run-program-env).
50438         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
50439         run_program_env arguments.
50440         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
50441         * intl/Makefile ($(objpfx)tst-gettext.out): Use
50442         $(test-program-prefix-before-env), $(run-program-env) and
50443         $(test-program-prefix-after-env).
50444         ($(objpfx)tst-gettext2.out): Likewise.
50445         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
50446         run_program_env and test_program_prefix_after_env arguments.
50447         * intl/tst-gettext2.sh: Likewise.
50448         * intl/tst-gettext4.sh: Do not set environment variables
50449         explicitly.
50450         * intl/tst-gettext6.sh: Likewise.
50451         * intl/tst-translit.sh: Likewise.
50452         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
50453         $(test-program-prefix-before-env), $(run-program-env) and
50454         $(test-program-prefix-after-env).
50455         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
50456         run_program_env and test_program_prefix_after_env arguments.
50457         * math/Makefile (run-regen-ulps): Use $(run-program-env).
50458         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
50459         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
50460         explicitly with each use of ${test_wrapper_env}.
50461         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
50462         $(test-program-prefix-before-env), $(run-program-env) and
50463         $(test-program-prefix-after-env).
50464         * posix/tst-getconf.sh: Do not set environment variables
50465         explicitly.
50466         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
50467         run_program_env and test_program_prefix_after_env arguments.
50468         * stdio-common/tst-printf.sh: Do not set environment variables
50469         explicitly.
50470         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
50471         $(test-program-prefix-before-env), $(run-program-env) and
50472         $(test-program-prefix-after-env).
50473         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
50474         run_program_env and test_program_prefix_after_env arguments.
50475         Split $test calls into $test_pre and $test.
50476         * timezone/Makefile (build-testdata): Use
50477         $(built-program-cmd-before-env), $(run-program-env) and
50478         $(built-program-cmd-after-env).
50480 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50482         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
50483         strlen for non SHARED builds.
50485 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
50487         * nptl/allocatestack.c (check_list): Inlined function...
50488         (__reclaim_stacks): ... here.
50490 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50492         [BZ #15698]
50493         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
50494         memory overrun.
50496 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
50498         * Rules (make-test-out): Include
50499         LOCPATH=$(common-objpfx)localedata in default environment.
50500         * debug/Makefile (tst-chk1-ENV): Remove variable.
50501         (tst-chk2-ENV): Likewise.
50502         (tst-chk3-ENV): Likewise.
50503         (tst-chk4-ENV): Likewise.
50504         (tst-chk5-ENV): Likewise.
50505         (tst-chk6-ENV): Likewise.
50506         (tst-lfschk1-ENV): Likewise.
50507         (tst-lfschk2-ENV): Likewise.
50508         (tst-lfschk3-ENV): Likewise.
50509         (tst-lfschk4-ENV): Likewise.
50510         (tst-lfschk5-ENV): Likewise.
50511         (tst-lfschk6-ENV): Likewise.
50512         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
50513         (tst-iconv7-ENV): Likewise.
50514         * intl/Makefile (LOCPATH-ENV): Likewise.
50515         (tst-codeset-ENV): Likewise.
50516         (tst-gettext3-ENV): Likewise.
50517         (tst-gettext5-ENV): Likewise.
50518         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
50519         (tst-fopenloc-ENV): Likewise.
50520         (tst-fgetws-ENV): Remove variable.
50521         (tst-ungetwc1-ENV): Likewise.
50522         (tst-ungetwc2-ENV): Likewise.
50523         (bug-ungetwc2-ENV): Likewise.
50524         (tst-swscanf-ENV): Likewise.
50525         (bug-ftell-ENV): Likewise.
50526         (tst-fgetwc-ENV): Likewise.
50527         (tst-fseek-ENV): Likewise.
50528         (tst-ftell-partial-wide-ENV): Likewise.
50529         (tst-ftell-active-handler-ENV): Likewise.
50530         (tst-ftell-append-ENV): Likewise.
50531         * posix/Makefile (tst-fnmatch-ENV): Likewise.
50532         (tst-regexloc-ENV): Likewise.
50533         (bug-regex1-ENV): Likewise.
50534         (tst-regex-ENV): Likewise.
50535         (tst-regex2-ENV): Likewise.
50536         (bug-regex5-ENV): Likewise.
50537         (bug-regex6-ENV): Likewise.
50538         (bug-regex17-ENV): Likewise.
50539         (bug-regex18-ENV): Likewise.
50540         (bug-regex19-ENV): Likewise.
50541         (bug-regex20-ENV): Likewise.
50542         (bug-regex22-ENV): Likewise.
50543         (bug-regex23-ENV): Likewise.
50544         (bug-regex25-ENV): Likewise.
50545         (bug-regex26-ENV): Likewise.
50546         (bug-regex30-ENV): Likewise.
50547         (bug-regex32-ENV): Likewise.
50548         (bug-regex33-ENV): Likewise.
50549         (bug-regex34-ENV): Likewise.
50550         (bug-regex35-ENV): Likewise.
50551         (tst-rxspencer-ENV): Likewise.
50552         (tst-rxspencer-no-utf8-ENV): Likewise.
50553         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
50554         (tst-sscanf-ENV): Likewise.
50555         (tst-swprintf-ENV): Likewise.
50556         (tst-swscanf-ENV): Likewise.
50557         (test-vfprintf-ENV): Likewise.
50558         (scanf13-ENV): Likewise.
50559         (bug14-ENV): Likewise.
50560         (tst-grouping-ENV): Likewise.
50561         * stdlib/Makefile (tst-strtod-ENV): Likewise.
50562         (tst-strtod3-ENV): Likewise.
50563         (tst-strtod4-ENV): Likewise.
50564         (tst-strtod5-ENV): Likewise.
50565         (testmb2-ENV): Likewise./
50566         * string/Makefile (tst-strxfrm-ENV): Likewise.
50567         (tst-strxfrm2-ENV): Likewise.
50568         (bug-strcoll1-ENV): Likewise.
50569         (test-strcasecmp-ENV): Likewise.
50570         (test-strncasecmp-ENV): Likewise.
50571         * time/Makefile (tst-strptime-ENV): Likewise.
50572         (tst-ftime_l-ENV): Likewise.
50573         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
50574         (tst-mbrtowc-ENV): Likewise.
50575         (tst-wcrtomb-ENV): Likewise.
50576         (tst-mbrtowc2-ENV): Likewise.
50577         (tst-c16c32-1-ENV): Likewise.
50578         (tst-mbsnrtowcs-ENV): Likewise.
50580 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
50582         * manual/resource.texi (How to get information about the memory
50583         subsystem?): Fix typo.
50584         Reported by Peon de la Parra Ivan <peon@keba.com>
50586 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
50588         [BZ #16882]
50589         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
50590         (pthread_spin_lock): Branch out of spin loop to proper location.
50591         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
50592         (pthread_spin_lock): Likewise.
50594         * nptl/tst-spin4.c: New test.
50595         * nptl/Makefile (tests): Add tst-spin4.
50597 2014-06-03  Andreas Schwab  <schwab@suse.de>
50599         [BZ #15946]
50600         * resolv/res_send.c (send_dg): Reload file descriptor after
50601         calling reopen.
50603 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
50605         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50607 2014-06-03  Richard Henderson  <rth@redhat.com>
50609         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
50610         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
50611         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
50612         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
50613         in the SAVE_PID block.
50614         (__libc_vfork): New alias.
50615         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
50617         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
50618         child in registers, not on the stack.  Remove RESET_PID conditionals.
50619         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
50621 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50623         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50625 2014-06-03  Wilco  <wdijkstr@arm.com>
50627         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
50628         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
50629         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50630         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
50631         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
50632         Likewise.
50634 2014-06-03  Wilco  <wdijkstr@arm.com>
50636         * sysdeps/aarch64/fpu/math_private.h
50637         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
50638         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
50639         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
50640         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
50641         Fix declarations.
50643 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
50645         * crypt/crypt-private.h: Include ufc-crypt.h.
50646         (__b64_from_24bit): Declare extern.
50647         * crypt/crypt_util.c(__b64_from_24bit): New function.
50648         (b64t): New static const variable.
50649         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
50650         (b64t): Remove variable.
50651         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
50652         * crypt/sha256-crypt.c: Include crypt-private.h.
50653         (b64t): Remove variable.
50654         (__sha256_crypt_r): Remove b64_from_24bit and replace
50655         with __b64_from_24bit.
50656         * crypt/sha512-crypt.c: Likewise.
50658 2014-06-02  Roland McGrath  <roland@hack.frob.com>
50660         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
50661         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
50662         Label the code __libc_vfork rather than __vfork.
50663         [!NOT_IN_libc] (vfork): Define as weak alias.
50664         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
50665         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
50666         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
50668 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
50670         * malloc/malloc.c (malloc_info): Fix format specifier for
50671         n_mmaps.
50673 2014-06-02  Wilco  <wdijkstr@arm.com>
50675         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
50676         FPCR write.
50678 2014-06-02  Wilco  <wdijkstr@arm.com>
50680         [BZ #17009]
50681         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
50682         Rewrite to reduce FPCR/FPSR accesses.
50684 2014-06-01  David S. Miller  <davem@davemloft.net>
50686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50688 2014-05-31  David S. Miller  <davem@davemloft.net>
50690         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
50691         to occur in round to nearest mode when |x| >= 2.0
50693 2014-05-30  Richard Henderson  <rth@twiddle.net>
50695         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
50696         (PSEUDO_RET_NOERRNO): Remove.
50697         (ret): Don't redefine.
50698         (ret_NOERRNO): Define in terms of ret.
50699         (ret_ERRVAL): Likewise.
50701         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
50702         use of PSEUDO_RET; perform the error check directly.
50704 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
50706         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
50707         with __int128_t.
50709 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50711         * malloc/malloc (malloc_info): Fix formatting.
50713 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50714             Roland McGrath  <roland@hack.frob.com>
50716         * malloc/malloc (malloc_info): Also print mmapped statistics.
50718 2014-05-30  Roland McGrath  <roland@hack.frob.com>
50720         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
50721         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
50723 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
50725         * malloc/malloc.c (malloc_info): Inline mi_arena.
50727 2014-05-29  Richard Henderson  <rth@twiddle.net>
50729         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
50730         Remove comma before expanding ASM_ARGS_##nr.
50731         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
50732         Make _x0 a strict output; make _x8 a strict input; adjust expansion
50733         of ASM_ARGS_##nr.
50734         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
50735         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
50736         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
50737         (ASM_ARGS_1): Add leading comma.
50739         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
50740         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
50741         to __errno_location.
50742         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
50743         Remove the expected plt for __errno_location.
50745         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50746         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
50747         call to __read_tp.
50749         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50750         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
50751         it and break it down.
50752         (DOCARGS_0, DOCARGS_1): Do nothing.
50753         (DOCARGS_2): Update to store into the new stack frame.
50754         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
50755         (UNDOCARGS_1): Update to restore from the new stack frame.
50756         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
50757         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
50759         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50760         (SINGLE_THREAD_P): New parameter for result regno.
50761         (PSEUDO): Update to match; use cbz instead of beq.
50763         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
50764         Use ENTRY to define the _nocancel entry point.  Share the syscall
50765         and syscall error check paths with the cancel path.
50766         (PSEUDO_END): New.
50768         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
50769         whitespace; tabs before and after asm mnemonics.
50771 2014-05-29  Eric Wong  <normalperson@yhbt.net>
50773         [BZ #15132]
50774         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
50775         Call fstat64 or stat64 internally, depending on arguments passed.
50776         Replace stat buffer argument with file descriptor argument.
50777         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
50778         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
50779         Pass fd to __internal_statvfs instead of calling fstat64.
50780         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
50781         Pass fd to __internal_statvfs64 instead of calling fstat64.
50782         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
50783         Pass -1 to __internal_statvfs instead of calling stat64.
50784         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
50785         Pass -1 to __internal_statvfs64 instead of calling stat64.
50787 2014-05-28  Roland McGrath  <roland@hack.frob.com>
50789         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
50790         that was previously under [RESET_PID].
50791         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
50793         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
50794         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
50796 2014-05-27  Roland McGrath  <roland@hack.frob.com>
50798         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
50800         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
50801         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
50803 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
50805         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
50807 2014-05-27  Andreas Schwab  <schwab@suse.de>
50809         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
50810         TLS_INIT_TP macro.
50811         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
50812         * elf/rtld.c (init_tls, dl_main): Likewise.
50813         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
50814         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
50815         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
50816         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
50817         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
50818         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
50819         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
50820         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
50821         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
50822         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
50823         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
50824         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
50825         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
50826         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
50827         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
50828         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
50829         * sysdeps/generic/tls.h: Update description.
50831 2014-05-27  Will Newton  <will.newton@linaro.org>
50833         [BZ #16990]
50834         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
50835         and restore r2 rather than just restoring.
50837 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50839         [BZ #16724]
50840         * libio/tst-ftell-append.c: New test case.
50841         * libio/Makefile (tests): Add test case.
50842         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
50843         append mode.
50844         * libio/wfileops.c (do_ftell_wide): Likewise.
50846 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50848         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50850         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
50851         ...
50852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
50853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
50854         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
50855         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
50856         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
50857         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
50858         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
50859         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
50860         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
50861         Moved ...
50862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
50863         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
50864         Moved ...
50865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
50866         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
50867         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
50868         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
50869         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
50870         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
50871         ...
50872         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
50873         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
50874         Moved ...
50875         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
50876         here.
50877         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
50878         ...
50879         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
50880         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
50881         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
50883         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
50884         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
50885         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
50886         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
50888         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
50889         merge into ...
50890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
50891         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
50892         ...
50893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
50894         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
50895         ...
50896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
50897         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
50898         Moved ...
50899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
50900         here.
50901         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
50902         Moved ...
50903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
50904         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
50905         Moved ...
50906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
50908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
50909         conditional [RESET_PID].
50910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
50911         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
50912         removed.
50913         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
50914         removed.
50916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
50917         <tcb-offsets.h>.
50918         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
50919         (__libc_vfork): New strong alias.
50920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
50921         removed.
50922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
50923         Removed.
50925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
50926         <tcb-offsets.h>.
50927         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
50928         (__libc_vfork): New strong alias.
50929         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
50930         removed.
50931         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
50932         removed.
50934 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
50936         * malloc/malloc.c (mi_arena): New function.
50937         (malloc_info): Remove nested function mi_arena. Call non-nosted
50938         function mi_arena.
50940 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50942         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
50943         by insrwi.
50944         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
50945         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
50946         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
50947         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
50948         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
50949         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
50950         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
50952 2014-05-26  Andreas Schwab  <schwab@suse.de>
50954         [BZ #16984]
50955         * locale/programs/repertoire.c (repertoire_read): Add slash
50956         between I18NPATH element and file name.
50957         * locale/programs/locfile.c (locfile_read): Likewise.
50959 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50961         * nptl/pthread_mutexattr_settype.c
50962         (__pthread_mutexattr_settype):
50963         Disable lock elision for PTHREAD_MUTEX_NORMAL.
50965 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
50967         * nptl/tst-mutex5 (do_test):
50968         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
50970 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50972         * benchtests/README: Document 'init' directive.
50973         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
50974         BENCH_INIT.
50975         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
50976         (parse_file): Recognize 'init' directive.
50978 2014-05-26  Kyle McMartin  <kyle@redhat.com>
50980         [BZ #16796]
50981         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
50982         alignment of struct pthread.
50984 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
50986         [BZ #16878]
50987         * nscd/netgroupcache.c (addgetnetgrentX): Look for
50988         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50989         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
50990         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
50992 2014-05-25  Richard Henderson  <rth@twiddle.net>
50994         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
50995         (SINGLE_THREAD_P_PIC): Remove.
50996         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
50997         (SINGLE_THREAD_P_PIC): Remove.
50999         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
51000         branch to syscall error ...
51001         (PSEUDO): ... here.
51002         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
51003         from __local_syscall_error to .Lsyscall_error.
51004         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
51005         (SYSCALL_ERROR): Update label name.
51007         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51008         Do not use DOARGS/UNDOARGS.
51009         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
51010         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
51011         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
51012         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
51013         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
51015         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
51016         block comment.
51018         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
51019         define if !NOT_IN_libc.
51020         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
51021         define with non-default symbol versions.
51023 2014-05-23  Richard Henderson  <rth@twiddle.net>
51025         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
51026         (vfork, __vfork): Define via compat_symbol.
51028         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
51029         [!HAVE_IFUNC] (vfork_compat): Remove.
51030         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
51032 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51034         [BZ #16978]
51035         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
51036         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
51037         variable.
51039 2014-05-23  Richard Henderson  <rth@twiddle.net>
51041         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
51042         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
51043         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
51044         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
51046         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
51047         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
51048         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
51049         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
51050         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
51051         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
51052         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
51053         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
51054         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
51055         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
51056         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
51057         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
51058         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
51059         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
51060         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
51061         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
51062         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
51063         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
51064         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
51065         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
51066         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
51067         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
51068         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
51069         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
51070         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
51071         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
51072         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
51073         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
51074         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
51075         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
51076         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
51077         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
51078         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
51079         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
51080         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
51081         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
51082         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
51083         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
51084         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
51085         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
51086         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
51087         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
51088         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
51089         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
51090         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
51091         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
51092         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
51093         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
51094         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
51095         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
51096         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
51097         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
51098         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
51099         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
51100         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
51101         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
51103         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
51104         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
51105         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
51106         before exiting on error.
51107         (__libc_vfork): New strong alias.
51108         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
51109         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
51111         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
51112         that was previously under [RESET_PID].
51113         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
51115         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
51117 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
51119         [BZ #16977]
51120         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
51121         value when x - 1 is zero.
51122         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
51123         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
51124         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
51125         0.0L for an argument of 1.0L.
51126         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
51127         Likewise.
51128         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
51129         value when x - 1 is zero.
51130         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
51131         * sysdeps/i386/fpu/libm-test-ulps: Update.
51132         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51134 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
51136         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
51137         alphasort and versionsort.
51139 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51141         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
51142         macro.
51143         [copysignf]: Likewise.
51145 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51147         * crypt/md5-crypt.c: Fix formatting.
51149 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
51151         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
51152         (b64_from_24bit): New function.
51154 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51156         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
51157         libc_hidden_builtin_def to ifunc.
51158         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
51159         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
51161 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51163         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
51164         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
51166 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
51168         * nscd/Depend (linuxthreads): Remove.
51169         (nptl): Add.
51170         * resolv/Depend (linuxthreads): Remove.
51171         * rt/Depend (linuxthreads): Remove.
51173         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
51174         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
51175         $(common-objpfx)elf/.
51176         (link-libc-before-gnulib): Likewise.
51177         (elfobjdir): Remove variable.
51178         * Makefile (install): Use $(elf-objpfx) instead of
51179         $(common-objpfx)elf/.
51180         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
51181         $(elfobjdir)/.
51182         (link-libc-deps): Likewise.
51183         ($(common-objpfx)libc.so): Likewise.
51184         ($(common-objpfx)linkobj/libc.so): Likewise.
51185         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
51186         instead of $(common-objpfx)elf/.
51187         (symbolic-link-list): Likewise.
51188         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
51189         [$(cross-compiling) = no]: Likewise.
51190         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
51191         $(elfobjdir)/.
51192         (static-gnulib-arch): Likewise.
51193         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
51194         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
51195         $(common-objpfx)elf/.
51197 2014-05-21  Richard Henderson  <rth@redhat.com>
51199         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
51200         (SINGLE_THREAD_P): Use the correct width load.  Fold
51201         into the ldr offset.
51203         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
51204         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
51206 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
51208         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
51209         (libgcc_s_resume): Use __attribute_used__.
51210         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
51211         Likewise.
51213 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51215         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
51216         optimization when used with float constants.
51218         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51220 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
51222         [BZ #16915]
51223         * locale/nl_langinfo_l.c: Make direct reference to every
51224         _nl_current_CATEGORY symbol.
51225         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
51226         (tests-static): Add tst-langinfo-static.
51227         (tests-special): Add tst-langinfo-static.out.
51228         ($(objpfx)tst-langinfo.out): Redirect output.
51229         ($(objpfx)tst-langinfo-static.out): New.
51230         * localedata/tst-langinfo.sh: Send output to stdout.
51231         * localedata/tst-langinfo-static.c: New file.
51233         [BZ #16965]
51234         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
51235         when the shift amount is modulo the limb size.
51237 2014-05-20  Richard Henderson  <rth@redhat.com>
51239         [BZ #16967]
51240         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
51241         Change type of sa_flags from unsigned int to int.
51243         [BZ #16966]
51244         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
51246         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
51248 2014-05-20  Will Newton  <will.newton@linaro.org>
51250         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
51251         Test the return value of the system call in the nocancel case.
51253 2014-05-20  Will Newton  <will.newton@linaro.org>
51254             Yvan Roux  <yvan.roux@linaro.org>
51256         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
51257         #include of asm/ptrace.h.
51258         (PTRACE_GET_THREAD_AREA): Remove #undef.
51259         (PTRACE_GETHBPREGS): Likewise.
51260         (PTRACE_SETHBPREGS): Likewise.
51261         (struct user_regs_struct): New structure.
51262         (struct user_fpsimd_struct): New structure.
51263         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
51264         #include of asm/ptrace.h and second #include of sys/user.h.
51265         (PTRACE_GET_THREAD_AREA): Remove #undef.
51266         (PTRACE_GETHBPREGS): Likewise.
51267         (PTRACE_SETHBPREGS): Likewise.
51268         (ELF_NGREG): Use new struct user_regs_struct.
51269         (elf_fpregset_t): Use new struct user_fpsimd_struct.
51271 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51273         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
51274         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
51276 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
51278         [BZ #16958]
51279         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
51280         membar to avoid block loads/stores to overlap previous stores.
51282 2014-05-17  Richard Henderson  <rth@redhat.com>
51284         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
51285         Create the __##syscall_name##_nocancel entry point.
51286         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
51287         Remove; let the sysdep-cancel.h code create it.
51289 2014-05-17  David S. Miller  <davem@davemloft.net>
51291         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
51292         Protect with __USE_GNU.
51293         (TIOCSET_TEMPT): Likewise.
51294         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
51295         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
51296         these are already provided in bits/ioctl-types.h
51298 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51300         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
51301         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
51303         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
51304         Use wait4 regardless of [__NR_waitpid].
51306 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
51308         PR libgcc/60166
51309         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
51310         (_FP_NANSIGN_Q): Set the quiet bit.
51312 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
51314         * benchtests/Makefile
51315         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
51316         not $(common-objpfx)math/libm.so.
51317         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
51318         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
51319         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
51320         $(common-objpfx)dlfcn/libdl.so.
51321         ($(objpfx)tst-audit8): Depend on $(libm), not
51322         $(common-objpfx)math/libm.so.
51323         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
51324         not $(common-objpfx)dlfcn/libdl.so.
51325         * math/Makefile
51326         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
51327         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
51328         [$(build-shared) = yes].
51329         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
51330         $(common-objpfx)nptl/libpthread.so.
51331         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
51332         $(common-objpfx)math/libm.so$(libm.so-version) or
51333         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
51334         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
51335         $(common-objpfx)dlfcn/libdl.so.
51336         * setjmp/Makefile (link-libm): Remove variable.
51337         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
51338         * stdio-common/Makefile (link-libm): Remove variable.
51339         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
51340         * stdlib/Makefile (link-libm): Remove variable.
51341         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
51342         ($(objpfx)tst-strtod-round): Likewise.
51343         ($(objpfx)tst-tininess): Likewise.
51344         ($(objpfx)tst-strtod-underflow): Likewise.
51345         ($(objpfx)tst-strtod6): Likewise.
51346         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
51347         $(libdl), not $(common-objpfx)nptl/libpthread.so and
51348         $(common-objpfx)dlfcn/libdl.so.
51350 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51352         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
51353         BSD terminal modes definitions.
51355 2014-05-16  Roland McGrath  <roland@hack.frob.com>
51357         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
51358         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
51360         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
51361         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
51362         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
51363         Don't do #include_next.
51364         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
51365         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
51366         Don't do #include_next.
51367         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
51368         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
51369         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
51370         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
51372 2014-05-16  Allan McRae  <allan@archlinux.org>
51374         * po/sv.po: Update Swedish translation from translation project.
51376         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
51377         in sed expression.
51379 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
51381         [BZ #16917]
51382         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
51383         errno if the TIOCGPTN ioctl fails with an error different than
51384         EINVAL.
51385         * login/tst-ptsname.c: New file.
51386         * login/Makefile (tests): Add tst-ptsname.
51388         [BZ #16943]
51389         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
51390         and prlimit64.
51392 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51394         [BZ #16849]
51395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
51396         herrno to return EAI_AGAIN.
51398 2014-05-14  Roland McGrath  <roland@hack.frob.com>
51400         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
51401         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
51402         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
51403         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
51404         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
51405         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
51406         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
51407         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
51408         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
51409         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
51410         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
51411         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
51412         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
51413         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
51414         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
51415         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
51416         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
51417         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
51418         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
51419         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
51420         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
51421         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
51422         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
51423         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
51424         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
51425         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
51426         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
51427         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
51428         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
51429         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
51430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
51431         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
51432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
51433         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
51434         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
51435         Moved ...
51436         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
51437         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
51438         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
51439         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
51440         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
51441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
51442         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
51443         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
51444         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
51445         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
51446         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
51447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
51448         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
51449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
51450         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
51451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
51452         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
51453         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
51454         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
51455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
51456         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
51457         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
51458         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
51459         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
51460         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
51461         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
51462         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
51463         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
51464         Moved ...
51465         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
51466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
51467         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
51468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
51469         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
51470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
51471         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
51472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
51473         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
51474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
51475         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
51476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
51477         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
51478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
51479         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
51480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
51481         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
51482         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
51483         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
51484         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
51485         Moved ...
51486         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
51487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
51488         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
51490         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
51491         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
51492         (libpthread-sysdep_routines): Add elision-related stuff here instead.
51493         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
51494         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
51495         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
51496         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
51497         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
51498         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
51499         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
51500         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
51501         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
51502         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
51503         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
51504         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
51505         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
51506         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
51507         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
51508         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
51509         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
51510         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
51511         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
51512         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
51513         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
51514         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
51515         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
51516         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
51517         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
51518         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
51519         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
51520         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
51522         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
51523         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
51525         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
51526         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
51527         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
51528         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
51529         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
51530         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
51531         Moved ...
51532         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
51533         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
51534         Moved ...
51535         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
51536         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
51537         Moved ...
51538         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
51539         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
51540         Moved ...
51541         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
51542         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
51543         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
51544         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
51545         Moved ...
51546         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
51547         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
51548         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
51549         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
51550         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
51551         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
51552         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
51553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
51554         Moved ...
51555         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
51556         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51557         Moved ...
51558         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
51559         ... here.
51560         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
51561         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
51562         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
51563         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
51564         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51565         Moved ...
51566         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
51567         ... here.
51568         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
51569         Moved ...
51570         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
51571         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
51572         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
51573         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
51574         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
51575         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
51576         Moved ...
51577         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
51578         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
51579         Moved ...
51580         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
51581         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
51582         Moved ...
51583         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
51584         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
51585         Moved ...
51586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
51587         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
51588         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
51589         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
51590         Moved ...
51591         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
51592         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
51593         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
51594         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
51595         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
51596         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
51597         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
51598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
51599         Moved ...
51600         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
51601         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51602         Moved ...
51603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
51604         ... here.
51605         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
51606         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
51607         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
51608         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
51609         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51610         Moved ...
51611         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
51612         ... here.
51613         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
51614         Moved ...
51615         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
51616         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
51617         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
51618         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
51619         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
51620         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
51621         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
51622         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
51623         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
51624         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
51625         Moved ...
51626         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
51627         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
51628         Moved ...
51629         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
51630         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
51631         Moved ...
51632         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
51633         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
51634         Moved ...
51635         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
51636         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
51637         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
51638         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
51639         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
51640         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
51641         Moved ...
51642         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
51643         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
51644         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
51645         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
51646         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
51647         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
51648         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
51649         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
51650         Moved ...
51651         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
51652         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51653         Moved ...
51654         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
51655         ... here.
51656         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
51657         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
51658         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
51659         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
51660         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51661         Moved ...
51662         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
51663         ... here.
51664         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
51665         Moved ...
51666         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
51667         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
51668         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
51669         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
51670         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
51671         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
51672         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
51673         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
51674         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
51675         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
51676         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
51678         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
51679         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
51681         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
51682         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
51684         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
51685         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
51686         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
51687         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
51688         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
51689         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
51690         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
51691         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
51692         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
51693         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
51694         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
51695         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
51696         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
51697         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
51698         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
51699         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
51700         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
51701         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
51702         Moved ...
51703         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
51704         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
51705         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
51706         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
51707         Moved ...
51708         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
51709         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
51710         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
51711         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
51712         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
51713         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
51714         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
51715         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
51716         Moved ...
51717         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
51718         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
51719         Moved ...
51720         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
51721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
51722         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
51723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
51724         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
51725         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
51726         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
51727         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
51728         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
51729         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
51730         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
51731         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
51732         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
51733         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
51734         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
51735         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
51736         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
51738         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
51739         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
51740         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
51741         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
51742         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
51744         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
51745         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
51746         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
51747         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
51748         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
51749         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
51750         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
51751         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
51752         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
51753         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
51755         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
51756         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
51758         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
51759         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
51760         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
51761         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
51762         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
51763         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
51764         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
51765         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
51766         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
51767         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
51768         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
51769         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
51770         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
51771         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
51772         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
51773         Update #include.
51774         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
51775         Likewise.
51776         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
51777         Likewise.
51778         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
51779         Likewise.
51780         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
51781         Likewise.
51782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
51783         Likewise.
51784         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
51785         Likewise.
51786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
51787         Likewise.
51788         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
51789         Likewise.
51790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
51791         Likewise.
51792         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
51793         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
51794         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
51795         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
51796         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
51797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
51798         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
51799         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
51800         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
51801         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
51802         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
51803         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
51804         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
51805         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
51806         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
51808         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
51809         that was previously under [RESET_PID].
51810         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
51811         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
51812         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
51814         * sysdeps/i386/nptl/Implies: New file.
51815         * sysdeps/x86_64/nptl/Implies: New file.
51816         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
51817         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
51818         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
51819         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
51821         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
51822         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51823         (__libc_vfork): New strong alias.
51824         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
51825         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
51827         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
51828         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51829         (__libc_vfork): New strong alias.
51830         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
51831         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
51833         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
51834         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
51835         (__libc_vfork): New strong alias.
51836         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
51837         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
51838         * nptl/pt-vfork.c: New file.
51839         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
51840         (libpthread: GLIBC_2.20): New version set (empty).
51842 2014-05-14  Will Newton  <will.newton@linaro.org>
51844         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
51845         rather than #if.
51847 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51849         [BZ #16564]
51850         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
51851         arguments with exponent 65 or above.
51852         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
51853         arguments 0x1p113L or above.
51854         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
51855         to arguments 0x1p107L or above.
51856         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
51857         positive arguments with exponent 65 or above.
51858         * math/auto-libm-test-in: Add more tests of log1p.
51859         * math/auto-libm-test-out: Regenerated.
51861         [BZ #16928]
51862         * math/s_cacos.c (__cacos): Ensure zero real part of result from
51863         non-finite arguments is +0.
51864         * math/s_cacosf.c (__cacosf): Likewise.
51865         * math/s_cacosl.c (__cacosl): Likewise.
51866         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
51867         * sysdeps/i386/fpu/libm-test-ulps: Update.
51868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51870         [BZ #16927]
51871         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
51872         value.
51873         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
51874         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
51875         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
51876         for explicit high bit of mantissa when testing for argument equal
51877         to 1.
51878         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
51879         * sysdeps/i386/fpu/libm-test-ulps: Update.
51880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51882         [BZ #16516]
51883         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
51884         (__erf): Scale by 16 instead of 8 in potentially underflowing
51885         case.  Ensure exception if result actually underflows.
51886         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
51887         (__erff): Scale by 16 instead of 8 in potentially underflowing
51888         case.  Ensure exception if result actually underflows.
51889         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
51890         (efx8): Remove variable.
51891         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51892         case.  Ensure exception if result actually underflows.
51893         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
51894         (efx8): Remove variable.
51895         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51896         case.  Ensure exception if result actually underflows.
51897         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
51898         (efx8): Remove variable.
51899         (__erfl): Scale by 16 instead of 8 in potentially underflowing
51900         case.  Ensure exception if result actually underflows.
51901         * math/auto-libm-test-in: Add more tests of erf.
51902         * math/auto-libm-test-out: Regenerated.
51904 2014-05-14  Andreas Schwab  <schwab@suse.de>
51906         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
51907         Remove code conditionalized on USE___THREAD.
51909         * config.h.in (HAVE_PT_CHOWN): Define as 0.
51910         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
51911         not definedness.
51913 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
51915         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
51916         Define unconditionally.
51917         (__ASSUME_O_CLOEXEC): Likewise.
51918         (__ASSUME_SOCK_CLOEXEC): Likewise.
51919         (__ASSUME_IN_NONBLOCK): Likewise.
51920         (__ASSUME_PIPE2): Likewise.
51921         (__ASSUME_EVENTFD2): Likewise.
51922         (__ASSUME_SIGNALFD4): Likewise.
51923         (__ASSUME_DUP3): Likewise.
51924         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
51925         (__ASSUME_DUP3): Do not define.
51926         (__ASSUME_EVENTFD2): Likewise.
51927         (__ASSUME_IN_NONBLOCK): Likewise.
51928         (__ASSUME_O_CLOEXEC): Likewise.
51929         (__ASSUME_PIPE2): Likewise.
51930         (__ASSUME_SIGNALFD4): Likewise.
51931         (__ASSUME_SOCK_CLOEXEC): Likewise.
51932         (__ASSUME_UTIMES): Undefine.
51933         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51934         (__ASSUME_UTIMES): Do not define.
51935         (__ASSUME_O_CLOEXEC): Likewise.
51936         (__ASSUME_SOCK_CLOEXEC): Likewise.
51937         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
51938         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
51939         0x020621].
51940         (__ASSUME_PIPE2): Likewise.
51941         (__ASSUME_EVENTFD2): Likewise.
51942         (__ASSUME_SIGNALFD4): Likewise.
51943         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
51944         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
51945         Do not define.
51946         (__ASSUME_EVENTFD2): Likewise.
51947         (__ASSUME_SIGNALFD4): Likewise.
51948         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
51949         (__ASSUME_32BITUIDS): Likewise.
51950         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
51951         (__ASSUME_IPC64): Likewise.
51952         (__ASSUME_ST_INO_64_BIT): Likewise.
51953         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
51954         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
51955         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
51956         (__ASSUME_UTIMES): Do not define.
51957         (__ASSUME_PSELECT): Likewise.
51958         (__ASSUME_PPOLL): Likewise.
51959         (__ASSUME_O_CLOEXEC): Likewise.
51960         (__ASSUME_SOCK_CLOEXEC): Likewise.
51961         (__ASSUME_IN_NONBLOCK): Likewise.
51962         (__ASSUME_PIPE2): Likewise.
51963         (__ASSUME_EVENTFD2): Likewise.
51964         (__ASSUME_SIGNALFD4): Likewise.
51965         (__ASSUME_DUP3): Likewise.
51966         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
51967         (__ASSUME_UTIMES): Likewise.
51968         (__ASSUME_O_CLOEXEC): Likewise.
51969         (__ASSUME_SOCK_CLOEXEC): Likewise.
51970         (__ASSUME_IN_NONBLOCK): Likewise.
51971         (__ASSUME_PIPE2): Likewise.
51972         (__ASSUME_EVENTFD2): Likewise.
51973         (__ASSUME_SIGNALFD4): Likewise.
51974         (__ASSUME_DUP3): Likewise.
51975         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51976         (__ASSUME_UTIMES): Likewise.
51977         (__ASSUME_O_CLOEXEC): Likewise.
51978         (__ASSUME_SOCK_CLOEXEC): Likewise.
51979         (__ASSUME_IN_NONBLOCK): Likewise.
51980         (__ASSUME_PIPE2): Likewise.
51981         (__ASSUME_EVENTFD2): Likewise.
51982         (__ASSUME_SIGNALFD4): Likewise.
51983         (__ASSUME_DUP3): Likewise.
51984         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
51985         Likewise.
51986         (__ASSUME_UTIMES): Likewise.
51987         (__ASSUME_EVENTFD2): Likewise.
51988         (__ASSUME_SIGNALFD4): Likewise.
51989         * sysdeps/unix/sysv/linux/tile/kernel-features.h
51990         (__ASSUME_O_CLOEXEC): Likewise.
51991         (__ASSUME_SOCK_CLOEXEC): Likewise.
51992         (__ASSUME_IN_NONBLOCK): Likewise.
51993         (__ASSUME_PIPE2): Likewise.
51994         (__ASSUME_EVENTFD2): Likewise.
51995         (__ASSUME_SIGNALFD4): Likewise.
51996         (__ASSUME_DUP3): Likewise.
51997         (__ASSUME_UTIMES): Undefine.
51999         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
52000         feclearexcept.  Remove symbol versioning code.
52001         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
52002         symbol versioning code.
52003         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
52004         symbol versioning code.
52005         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
52006         feupdateenv.  Remove symbol versioning code.
52007         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
52008         fegetexceptflag.  Remove symbol versioning code.
52009         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
52010         fesetexceptflag.  Remove symbol versioning code.
52011         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
52012         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
52013         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
52014         (__posix_fadvise64_l32): Remove prototype.
52015         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
52016         code.
52018 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52020         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
52021         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
52022         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
52023         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
52025 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
52027         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
52028         current working directory
52030 2014-05-13  Roland McGrath  <roland@hack.frob.com>
52032         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
52033         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
52034         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
52035         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
52036         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
52037         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
52038         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
52039         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
52040         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
52041         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
52042         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
52043         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
52044         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
52045         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
52046         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
52047         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
52048         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
52049         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
52050         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
52051         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
52052         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
52053         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
52054         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
52055         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
52056         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
52057         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
52058         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
52059         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
52060         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
52061         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
52062         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
52063         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
52064         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
52065         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
52066         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
52067         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
52068         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
52069         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
52070         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
52071         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
52072         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
52073         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
52075         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
52076         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
52078         * sysdeps/unix/sysv/linux/arm/Makefile
52079         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
52080         Add rt-aeabi_unwind_cpp_pr1.
52081         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
52082         Add nptl-aeabi_unwind_cpp_pr1.
52083         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
52084         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
52085         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
52086         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
52087         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
52088         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
52090         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
52091         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
52092         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
52093         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
52095         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
52096         Deconditionalize the code that was previously under [RESET_PID].
52097         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
52099         * sysdeps/generic/exit-thread.h: New file.
52100         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
52101         * include/unistd.h (__exit_thread): Remove declaration.
52102         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
52103         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
52104         * csu/libc-start.c: Include <exit-thread.h>.
52105         (LIBC_START_MAIN): Pass no argument to __exit_thread.
52106         * nptl/pthread_create.c: Include <exit-thread.h>.
52107         (start_thread): Call __exit_thread in place of __exit_thread_inline.
52108         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
52109         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
52110         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
52111         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
52112         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
52113         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
52114         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
52115         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
52116         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
52117         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
52118         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
52119         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
52120         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
52121         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
52122         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
52123         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
52125 2014-05-13  Andreas Schwab  <schwab@suse.de>
52127         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
52129 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
52131         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
52132         (__ASSUME_UTIMES): Do not condition on kernel version.
52133         (__ASSUME_PSELECT): Define unconditionally.
52134         (__ASSUME_PPOLL): Likewise.
52135         (__ASSUME_ATFCTS): Likewise.
52136         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
52137         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
52138         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
52139         (__ASSUME_UTIMENSAT): Define unconditionally.
52140         (__ASSUME_PRIVATE_FUTEX): Likewise.
52141         (__ASSUME_FALLOCATE): Likewise.
52142         (__ASSUME_O_CLOEXEC): Likewise.
52143         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
52144         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
52145         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
52146         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
52147         (__ASSUME_IN_NONBLOCK): Likewise.
52148         (__ASSUME_PIPE2): Likewise.
52149         (__ASSUME_EVENTFD2): Likewise.
52150         (__ASSUME_SIGNALFD4): Likewise.
52151         (__ASSUME_DUP3): Likewise.
52152         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52153         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
52154         (__ASSUME_AT_RANDOM): Likewise.
52155         (__ASSUME_PREADV): Likewise.
52156         (__ASSUME_PWRITEV): Likewise.
52157         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
52158         (__ASSUME_F_GETOWN_EX): Define unconditionally.
52159         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
52160         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
52161         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
52162         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
52163         (__ASSUME_O_CLOEXEC): Define unconditionally.
52164         (__ASSUME_PSELECT): Do not undefine conditionally.
52165         (__ASSUME_PPOLL): Likewise.
52166         (__ASSUME_ATFCTS): Likewise.
52167         (__ASSUME_SET_ROBUST_LIST): Likewise.
52168         (__ASSUME_UTIMENSAT): Likewise.
52169         (__ASSUME_FDATASYNC): Define unconditionally.
52170         * sysdeps/unix/sysv/linux/arm/kernel-features.h
52171         (__ASSUME_SIGFRAME_V2): Likewise.
52172         )__ASSUME_EVENTFD2): Likewise.
52173         (__ASSUME_SIGNALFD4): Likewise.
52174         (__ASSUME_PSELECT): Do not undefine conditionally.
52175         (__ASSUME_PPOLL): Likewise.
52176         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
52177         (__ASSUME_PSELECT): Define unconditionally.
52178         (__ASSUME_PPOLL): Likewise.
52179         (__ASSUME_O_CLOEXEC): Likewise.
52180         (__ASSUME_SOCK_CLOEXEC): Likewise.
52181         (__ASSUME_IN_NONBLOCK): Likewise.
52182         (__ASSUME_PIPE2): Likewise.
52183         (__ASSUME_EVENTFD2): Likewise.
52184         (__ASSUME_SIGNALFD4): Likewise.
52185         (__ASSUME_DUP3): Likewise.
52186         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
52187         (__ASSUME_O_CLOEXEC): Likewise.
52188         (__ASSUME_SOCK_CLOEXEC): Likewise.
52189         (__ASSUME_IN_NONBLOCK): Likewise.
52190         (__ASSUME_PIPE2): Likewise.
52191         (__ASSUME_EVENTFD2): Likewise.
52192         (__ASSUME_SIGNALFD4): Likewise.
52193         (__ASSUME_DUP3): Likewise.
52194         * sysdeps/unix/sysv/linux/mips/kernel-features.h
52195         (__ASSUME_EVENTFD2): Likewise.
52196         (__ASSUME_SIGNALFD4): Likewise.
52197         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
52199 2014-05-12  Andreas Schwab  <schwab@suse.de>
52201         [BZ #16932]
52202         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
52203         (_nss_nis_gethostbyname4_r): Return error if item length is larger
52204         than maximum RPC packet size.
52205         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
52206         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
52207         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
52208         (_nss_nis_getservbyport_r): Likewise.
52210 2014-05-12  Will Newton  <will.newton@linaro.org>
52212         * malloc/Makefile (tests): Add tst-mallopt.
52213         * malloc/tst-mallopt.c: New file.
52215 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52217         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
52218         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
52220 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52222         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
52223         (tst-tlsmod6.so): Likewise.
52225 2014-05-09  Roland McGrath  <roland@hack.frob.com>
52227         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
52229 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
52231         [BZ #16064]
52232         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
52233         and <dl-procinfo.h>.
52234         (__fegetenv): Save SSE state in envp->__eip if supported.
52235         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
52236         envp->__eip if supported.
52237         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
52238         and <dl-procinfo.h>.
52239         (__fesetenv): Always set __eip, __cs_selector, __opcode,
52240         __data_offset and __data_selector in environment to 0.  Set SSE
52241         state if supported.
52242         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
52243         test-fenv-sse.
52244         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
52245         -mfpmath=sse.
52246         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
52248 2014-05-09  Will Newton  <will.newton@linaro.org>
52250         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
52251         and libc_relro_required for ARM.
52252         * sysdeps/arm/preconfigure: Regenerate.
52254 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
52255             Stefan Liebler  <stli@linux.vnet.ibm.com>
52257         * config.make.in (enable-lock-elision): New Makefile variable.
52258         * configure.ac: Likewise.
52259         * configure: Regenerate.
52260         * sysdeps/s390/configure.ac:
52261         Add check for gcc transactions support.
52262         * sysdeps/s390/configure: Regenerate.
52263         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
52264         Build elision files if enabled.
52265         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
52266         Add lock elision support for s390.
52267         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
52268         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
52269         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
52270         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
52271         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
52272         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
52273         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
52274         Likewise.
52275         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
52276         Likewise.
52277         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
52278         Likewise.
52279         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
52280         Likewise.
52281         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
52282         (__lll_timedlock_elision, __lll_lock_elision)
52283         (__lll_unlock_elision, __lll_trylock_elision)
52284         (lll_timedlock_elision, lll_lock_elision)
52285         (lll_unlock_elision, lll_trylock_elision): Add.
52286         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
52287         (pthread_mutex_t): Add lock elision support for s390.
52289 2014-05-14  Wilco  <wdijkstr@arm.com>
52291         * sysdeps/arm/fclrexcpt.c: Cleanup.
52292         * sysdeps/arm/fedisblxcpt.c: Cleanup.
52293         * sysdeps/arm/feenablxcpt.c: Cleanup.
52294         * sysdeps/arm/fegetenv.c: Cleanup.
52295         * sysdeps/arm/fegetexcept.c: Cleanup.
52296         * sysdeps/arm/fegetround.c: Cleanup.
52297         * sysdeps/arm/feholdexcpt.c: Cleanup.
52298         * sysdeps/arm/fesetenv.c: Cleanup.
52299         * sysdeps/arm/fesetround.c: Cleanup.
52300         * sysdeps/arm/feupdateenv.c: Cleanup.
52301         * sysdeps/arm/fgetexcptflg.c: Cleanup.
52302         * sysdeps/arm/fraiseexcpt.c: Cleanup.
52303         * sysdeps/arm/fsetexcptflg.c: Cleanup.
52304         * sysdeps/arm/ftestexcept.c: Cleanup.
52305         * sysdeps/arm/get-rounding-mode.h: Cleanup.
52306         * sysdeps/arm/setfpucw.c: Cleanup.
52308 2014-05-09  Will Newton  <will.newton@linaro.org>
52310         * sysdeps/arm/armv7/strcmp.S: New file.
52311         * NEWS: Mention addition of ARMv7 optimized strcmp.
52313 2014-05-08  Roland McGrath  <roland@hack.frob.com>
52315         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
52316         look for %.ac rather than %.in.
52318         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
52319         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
52320         * sysdeps/mach/hurd/configure: Regenerated.
52321         * sysdeps/unix/sysv/linux/configure: Regenerated.
52323         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
52325 2014-05-07  Steve Ellcey  <sellcey@mips.com>
52327         [BZ #16922]
52328         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
52329         (LONG_SUB): Ditto.
52330         (PTR_SUB): Ditto.
52332 2014-05-07  Andreas Schwab  <schwab@suse.de>
52334         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
52335         when skipping over non-matching result from nscd.
52337 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
52339         [BZ #16876]
52340         * nptl/sockperf.c (client): Check socket return value.
52342         [BZ #16877]
52343         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
52344         nscd security class.
52346 2014-05-06  Roland McGrath  <roland@hack.frob.com>
52348         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
52349         * sysdeps/arm/unwind.h: ... here.
52351 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
52353         [BZ #16916]
52354         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
52355         Define.
52357 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
52359         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
52360         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
52361         multiarch strncpy for PPC64.
52362         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
52363         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
52364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
52365         multiarch optimizations.
52366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
52367         (__libc_ifunc_impl_list): Likewise.
52368         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
52369         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
52370         multiarch stpncpy for PPC64.
52371         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
52372         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
52374 2014-05-06  Andreas Schwab  <schwab@suse.de>
52376         [BZ #16912]
52377         * gmon/mcount.c (_MCOUNT_DECL): Use
52378         atomic_compare_and_exchange_bool_acq instead of
52379         catomic_compare_and_exchange_bool_acq.
52381 2014-05-05  Roland McGrath  <roland@hack.frob.com>
52383         * elf/Makefile (others, install-bin): Remove pldd.
52384         (pldd-modules): Variable removed.
52385         ($(objpfx)pldd): Target removed.
52386         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
52387         (others, install-bin): Append pldd here.
52388         ($(objpfx)pldd): New target.
52390         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
52391         to 0, so the first #if test emitted later doesn't see it undefined.
52392         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
52393         * sysdeps/gnu/errlist.c: Regenerated.
52395 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52397         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
52398         [libc_hidden_builtin_def]: Define to empty value.
52399         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
52400         [libc_hidden_builtin_def]: Likewise.
52401         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
52402         [libc_hidden_builtin_def]: Likewise.
52403         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
52404         [libc_hidden_builtin_def]: Likewise.
52405         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
52406         __redirect_memcpy and define ifunc as default hidden symbol.
52407         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
52408         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
52410 2014-05-04  Adam Conrad  <adconrad@0c3.net>
52412         * locale/iso-4217.def: Reintroduce XDR currency.
52414 2014-05-04  Allan McRae  <allan@archlinux.org>
52416         * po/eo.po: Update Esperanto translation from translation project.
52418 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
52420         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
52421         and FEATURE_INDEX_MAX to 1.
52422         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
52424 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52426         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
52427         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
52428         * iconvdata/big5.c (ONE_DIRECTION): Define.
52429         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
52430         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
52431         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
52432         * iconvdata/cp932.c (ONE_DIRECTION): Define.
52433         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
52434         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
52435         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
52436         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
52437         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
52438         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
52439         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
52440         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
52441         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
52442         * iconvdata/gbk.c (ONE_DIRECTION): Define.
52443         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
52444         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
52445         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
52446         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
52447         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
52448         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
52449         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
52450         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
52451         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
52452         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
52453         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
52454         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
52455         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
52456         * iconvdata/iso646.c (ONE_DIRECTION): Define.
52457         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
52458         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
52459         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
52460         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
52461         * iconvdata/johab.c (ONE_DIRECTION): Define.
52462         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
52463         * iconvdata/sjis.c (ONE_DIRECTION): Define.
52464         * iconvdata/t.61.c (ONE_DIRECTION): Define.
52465         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
52466         * iconvdata/tscii.c (ONE_DIRECTION): Define.
52467         * iconvdata/uhc.c (ONE_DIRECTION): Define.
52468         * iconvdata/unicode.c (ONE_DIRECTION): Define.
52469         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
52470         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
52471         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
52473 2014-05-01  Roland McGrath  <roland@hack.frob.com>
52475         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
52476         (_IO_JUMPS_OFFSET): Define to 0.
52478         * nptl/sysdeps/pthread/bits/libc-lock.h
52479         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
52480         (__libc_lock_define_initialized_recursive): Always define using
52481         initializer.  Modern compilers treat uninitialized (implicit zero) and
52482         explicit zero initializers the same (i.e. put the datum in bss).
52484 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52486         * nscd/nscd-client.h: Include <string.h>.
52488 2014-05-01  David S. Miller  <davem@davemloft.net>
52490         [BZ #16885]
52491         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
52492         multiple zero bytes exist at the end of a string.
52493         Reported by Aurelien Jarno <aurelien@aurel32.net>
52495         * string/test-strcmp.c (check): Add explicit test for situations where
52496         there are multiple zero bytes after the first.
52498 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
52500         [BZ #16890]
52501         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
52502         when compiling wprintf.
52503         * stdio-common/tstdiomisc.c (t3): New function.
52504         (main): Call it.
52506 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52508         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
52509         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
52510         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
52511         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
52513 2014-05-01  Steve Ellcey  <sellcey@mips.com>
52515         * stdlib/longlong.h: Updated from GCC.
52517 2014-05-01  Will Newton  <will.newton@linaro.org>
52518             Bernard Ogden  <bernie.ogden@linaro.org>
52520         * NEWS: Update fixed bug list.
52522         [BZ #15119]
52523         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
52525 2014-04-30  David S. Miller  <davem@davemloft.net>
52527         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
52528         (libc_feholdexcept_setround_sparc_ctx): New function.
52529         (libc_fesetenv_sparc_ctx): Likewise.
52530         (libc_feupdateenv_sparc_ctx): Likewise.
52531         (libc_feholdsetround_sparc_ctx): Likewise.
52532         (libc_feholdexcept_setround_ctx): Define.
52533         (libc_feholdexcept_setroundf_ctx): Likewise.
52534         (libc_feholdexcept_setroundl_ctx): Likewise.
52535         (libc_fesetenv_ctx): Likewise.
52536         (libc_fesetenvf_ctx): Likewise.
52537         (libc_fesetenvl_ctx): Likewise.
52538         (libc_feupdateenv_ctx): Likewise.
52539         (libc_feupdateenvf_ctx): Likewise.
52540         (libc_feupdateenvl_ctx): Likewise.
52541         (libc_feresetround_ctx): Likewise.
52542         (libc_feresetroundf_ctx): Likewise.
52543         (libc_feresetroundl_ctx): Likewise.
52544         (libc_feholdsetround_ctx): Likewise.
52545         (libc_feholdsetroundf_ctx): Likewise.
52546         (libc_feholdsetroundl_ctx): Likewise.
52548         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52549         with __USE_GNU instead of XOPEN cpp guards.
52551         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
52552         0.
52554         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
52555         with XOPEN cpp guards.
52557 2014-04-30  Julian Brown  <julian@codesourcery.com>
52559         [BZ #16888]
52560         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
52561         handling.
52563 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
52565         [BZ #9894]
52566         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
52567         Change to 2.6.32.
52568         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
52569         * sysdeps/unix/sysv/linux/configure: Regenerated.
52570         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
52571         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
52572         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
52573         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
52574         * README: Update reference to required Linux kernel version.
52575         * manual/install.texi (Linux): Update reference to required Linux
52576         kernel headers version.
52577         * INSTALL: Regenerated.
52579         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
52580         header inclusion.
52581         [POSIX] (limits.h): Likewise.
52582         [POSIX] (math.h): Likewise.
52583         [POSIX] (sys/wait.h): Likewise.
52584         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
52585         function.
52586         [POSIX] (stddef.h): Do not allow header inclusion.
52588 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52590         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
52592 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
52594         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
52595         Return immediately after lll_futex_wake.
52597 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52599         [BZ #16791]
52600         * nscd/nscd-client.h (datahead_init_common): Initialize entire
52601         structure.
52602         (datahead_init_pos): Call datahead_init_common early.
52603         (datahead_init_neg): Likewise.
52605         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
52606         datahead_init_neg): New functions.
52607         * nscd/aicache.c (addhstaiX): Use them.
52608         * nscd/grpcache.c (cache_addgr): Likewise.
52609         * nscd/hstcache.c (cache_addhst): Likewise.
52610         * nscd/initgrcache.c (addinitgroupsX): Likewise.
52611         * nscd/netgroupcache.c (do_notfound): Likewise.
52612         (addgetnetgrentX): Likewise.
52613         (addinnetgrX): Likewise.
52614         * nscd/pwdcache.c (cache_addpw): Likewise.
52615         * nscd/servicescache.c (cache_addserv): Likewise.
52617 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
52618             Atsushi Onoe  <atsushi@onoe.org>
52620         [BZ #14308]
52621         [BZ #12994]
52622         [BZ #13651]
52623         * resolv/res_query.c (__libc_res_nsearch): Return if at least
52624         one response is valid.
52625         * resolv/res_send.c (send_dg): Check for validity of other
52626         response if the current response is a referral.
52628 2014-04-29  Steve Ellcey  <sellcey@mips.com>
52630         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
52632 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
52634         [BZ #16823]
52635         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
52636         Always divide by positive zero when computing -Inf result.
52637         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
52638         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
52640 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52642         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
52643         FPSCR if value do not change.
52644         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
52645         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
52646         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
52647         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
52648         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
52649         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
52650         function.
52652 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
52654         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
52655         * sysdeps/unix/sysv/linux/hppa: Move directory from
52656         ports/systeps/unix/sysv/linux/hppa.
52657         * README: Update listing for hppa-*-linux-gnu.
52659 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
52661         [BZ #16754]
52662         * manual/stdio.texi (Hook functions): Fix types of stream hook
52663         functions.
52664         [BZ #16854]
52665         * socket/sys/socket.h: Fix typo in comment.
52667 2014-04-28  Wilco  <wdijkstr@arm.com>
52669         * sysdeps/arm/fenv_private.h: New file.
52670         * sysdeps/arm/math_private.h: New file.
52671         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
52673 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
52675         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
52676         with __int128_t.
52677         (La_x86_64_retval): Likewise.
52679 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
52681         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
52682         fpsr if value didn't change.
52683         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
52684         to fpcr if value didn't change.
52685         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
52686         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
52687         fpsr or fpcr if value didn't change.
52688         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52689         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
52690         fpcr if value didn't change.
52691         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
52692         to fpsr if value didn't change.
52694 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
52696         * nptl/tst-sem3.c: Use test-skeleton.c
52697         (main): Rename to do_test.  Use return instead of
52698         exit.
52699         * nptl/tst-sem4.c: Use test-skeleton.c
52700         (main): Rename to do_test.
52702 2014-04-22  David S. Miller  <davem@davemloft.net>
52704         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
52705         (struct sigaction): New struct member __glibc_reserved0, change
52706         type of sa_flags to int.
52708 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
52710         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
52711         (COUNT_LEADING_ZEROS_0): Define for AArch64.
52713 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
52715         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
52716         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
52718 2014-04-22  Will Newton  <will.newton@linaro.org>
52719             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
52721         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
52722         (__longjmp): Add longjmp and longjmp_target SystemTap
52723         probes.
52724         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
52725         (__sigsetjmp): Add setjmp SystemTap probe.
52727 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
52729         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
52730         match manual order.
52732 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52734         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
52736         * sysdeps/powerpc/fpu/fenv_private.h
52737         (libc_feholdexcept_setroundl_ctx): Define to
52738         libc_feholdexcept_setround_ppc_ctx.
52739         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
52740         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
52741         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
52742         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
52744 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52746         * sysdeps/aarch64/math-tests.h: New file.
52748 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
52750         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
52751         New.
52752         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52753         Check and set bit_AVX2_Usable.
52754         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
52755         macro.
52756         (bit_AVX2): Likewise.
52757         (index_AVX2_Usable): Likewise.
52758         (CPUID_AVX2): Likewise.
52759         (HAS_AVX2): Likewise.
52761 2014-04-17  Will Newton  <will.newton@linaro.org>
52763         * manual/setjmp.texi (System V contexts): Add note that
52764         calling setcontext on a context created by a call to a
52765         signal handler is undefined.  Update text to note that
52766         setcontext from a signal handler is possible but not
52767         recommended.
52769         [BZ #16629]
52770         * stdlib/tst-setcontext.c: Include signal.h.
52771         (main): Check that the signal stack before and
52772         after swapcontext is the same.
52774         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
52775         Re-implement to restore registers in user code and avoid
52776         rt_sigreturn system call.
52778 2014-04-17  Wilco  <wdijkstr@arm.com>
52780         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
52781         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
52782         * math/test-fenv.c: Skip exception trap tests on targets which only
52783         support non-stop mode.
52785 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
52786             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52788         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
52789         (libc_feholdsetround_aarch64_ctx)
52790         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
52791         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
52792         (libc_feresetround_ctx, libc_feresetroundf_ctx)
52793         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
52794         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
52795         (libc_feresetround_noexl_ctx): Define.
52797 2014-04-16  Richard Henderson  <rth@redhat.com>
52799         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
52801         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
52802         unwind tables.
52804         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
52805         const from the non-libc, non-ldso copy.
52807         * sysdeps/alpha/libm-test-ulps: Regenerate.
52809 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
52810             Wilco Dijkstra  <wilco.dijkstra@arm.com>
52812         * sysdeps/aarch64/fpu/math_private.h: New file.
52814 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52816         * sysdeps/aarch64/libm-test-ulps: Regenerate.
52818 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
52820         [BZ #16275]
52821         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
52822         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
52823         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
52824         Intel MPX bound registers before _dl_profile_fixup.
52825         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
52826         registers after _dl_profile_fixup.  Save and restore bound
52827         registers bnd0/bnd1 when calling _dl_call_pltexit.
52828         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
52829         (LR_BND_OFFSET): Likewise.
52830         (LRV_BND0_OFFSET): Likewise.
52831         (LRV_BND1_OFFSET): Likewise.
52833 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52835         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
52836         to...
52837         * sysdeps/mach/hurd/i386/tls.h: ... here.
52838         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
52839         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
52840         fields.
52842 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52844         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
52846 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52848         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
52850 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
52852         [BZ #14770]
52853         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
52854         * sysdeps/s390/configure: Regenerate.
52856         [BZ #16824]
52857         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
52858         Set round-to-nearest internally to reduce error accumulation.
52860 2014-04-16  Alan Modra  <amodra@gmail.com>
52862         [BZ #16740]
52863         [BZ #16619]
52864         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
52865         * math/libm-test.inc (frexp_test_data): Add tests.
52866         * NEWS: Update fixed bug list.
52868 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52870         * benchtests/Makefile: Depend on libraries in build directory.
52871         (bench-math): Separate out math tests.
52872         (bench-pthread): Separate out pthread tests.
52873         (bench): Include math and pthread tests.
52875 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
52877         [BZ #16831]
52878         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
52879         _dl_debug_initialize.
52881         * configure.ac: Remove SELinux header check.
52882         * configure: Regenerate.
52883         * nscd/selinux.c (perms): Array of const char* to permission names.
52884         (nscd_request_avc_has_perm): Call security_deny_unknown to find
52885         default policy. Call string_to_security_class and string_to_av_perm to
52886         translate strings. Enforce default policy and call avs_has_perm with
52887         results of translated strings.
52889 2014-04-13  David S. Miller  <davem@davemloft.net>
52891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52893 2014-04-12  Allan McRae  <allan@archlinux.org>
52895         [BZ #16838]
52896         * manual/string.texi (Collation Functions): Fix qsort argument
52897         order in example.
52898         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
52900 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
52902         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
52903         Make the test a no-op if there are no exceptions defined.
52905 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
52907         * elf/Makefile (tests): make tst-dlopen-aout conditional on
52908         enable-hardcoded-path-in-tests
52910 2014-04-11  Will Newton  <will.newton@linaro.org>
52912         * benchtests/Makefile (extra-objs): Add json-lib.o.
52913         (bench-func): Tidy up JSON output.
52914         * benchtests/bench-skeleton.c: Include json-lib.h.
52915         (main): Use JSON library functions to do output of
52916         benchmark results.
52917         * benchtests/bench-timing-type.c (main): Output the
52918         timing type simply, leaving formatting to the user.
52919         * benchtests/json-lib.c: New file.
52920         * benchtests/json-lib.h: Likewise.
52922 2014-04-11  Torvald Riegel  <triegel@redhat.com>
52924         [BZ #15215]
52925         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
52926         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
52927         memory barriers.  Add comments.
52928         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
52929         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
52930         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
52931         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
52932         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
52933         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
52935 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
52937         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
52938         * sysdeps/s390/s390-64/configure.ac: ... this ...
52939         * sysdeps/s390/configure.ac: ... to here.
52940         * sysdeps/s390/s390-32/configure: Delete file.
52941         * sysdeps/s390/s390-64/configure: Delete file.
52942         * sysdeps/s390/configure: Regenerate.
52944 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
52946         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
52948 2014-04-11  Will Newton  <will.newton@linaro.org>
52950         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
52951         to zero if it is not defined elsewhere.  (mtrim): Test
52952         the value of MALLOC_DEBUG with #if rather than #ifdef.
52954 2014-04-10 Torvald Riegel  <triegel@redhat.com>
52956         * benchtests/pthread_once-inputs: New file.
52957         * benchtests/pthread_once-source.c: New file.
52958         * benchtests/README: Update documentation.
52960 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
52961             H.J. Lu  <hongjiu.lu@intel.com>
52963         [BZ #16275]
52964         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
52965         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
52966         * sysdeps/x86_64/configure: Regenerated.
52967         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
52968         macro.
52969         (REGISTER_SAVE_RAX): Likewise.
52970         (REGISTER_SAVE_RCX): Likewise.
52971         (REGISTER_SAVE_RDX): Likewise.
52972         (REGISTER_SAVE_RSI): Likewise.
52973         (REGISTER_SAVE_RDI): Likewise.
52974         (REGISTER_SAVE_R8): Likewise.
52975         (REGISTER_SAVE_R9): Likewise.
52976         (REGISTER_SAVE_BND0): Likewise.
52977         (REGISTER_SAVE_BND1): Likewise.
52978         (REGISTER_SAVE_BND2): Likewise.
52979         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
52980         bound registers when calling _dl_fixup.
52982 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52984         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
52985         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
52986         of its definition.
52987         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
52988         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
52989         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
52990         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
52991         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
52992         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
52993         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
52995 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
52997         [BZ #15514]
52998         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
52999         pathconf(_PC_NAME_MAX).
53001 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53003         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
53004         Remove macro usage.
53005         (__PTHREAD_SPINS): Move definition to ...
53006         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53007         (__PTHREAD_SPINS): ... here.
53008         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53009         (__PTHREAD_SPIN): Likewise.
53010         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
53011         (__PTHREAD_SPIN): Likewise.
53012         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
53013         (__PTHREAD_SPIN): Likewise.
53014         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
53015         (__PTHREAD_SPIN): Likewise.
53016         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
53017         (__PTHREAD_SPIN): Likewise.
53018         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
53019         (__PTHREAD_SPIN): Likewise.
53020         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
53021         (__PTHREAD_SPIN): Likewise.
53022         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
53023         (__PTHREAD_SPIN): Likewise.
53024         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
53025         (__PTHREAD_SPIN): Likewise.
53026         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
53027         (__PTHREAD_SPIN): Likewise.
53028         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
53029         (__PTHREAD_SPIN): Likewise.
53030         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
53031         (__PTHREAD_SPIN): Likewise.
53033         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
53034         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
53035         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
53036         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
53037         imply folder.
53038         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
53039         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
53040         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
53041         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
53042         correct imply path.
53043         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
53044         strlen symbol for non multi-arch builds.
53045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
53046         missing hidden_def and weak_alias.
53048 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
53050         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
53052 2014-04-07  Will Newton  <will.newton@linaro.org>
53054         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
53055         and contents.  [!_LIBC] Remove #ifndef and contents.
53056         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
53057         * string/memccpy.c (__memccpy): Use ANSI prototype.
53058         * string/memfrob.c (memfrob): Likewise.
53059         * string/strcoll.c (STRCOLL): Likewise.
53060         * string/strlen.c (strlen): Likewise.
53061         * string/strtok.c (STRTOK): Likewise.
53062         * string/strcat.c: Remove unused #include of memcopy.h.
53063         (strcat): Use ANSI prototype.
53064         * string/strchr.c: Remove unused #include of memcopy.h.
53065         (strchr): Use ANSI prototype.
53066         * string/strcmp.c: Remove unused #include of memcopy.h.
53067         (strcmp): Use ANSI prototype.
53068         * string/strcpy.c: Remove unused #include of memcopy.h.
53069         (strcpy): Use ANSI prototype.
53071 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53073         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
53074         * config.make.in (config-extra-cppflags): Set it from
53075         libc_extra_cppflags.
53076         * configure.ac (libc_extra_cflags): Make it accumulate over
53077         configure fragments.
53078         (libc_extra_cppflags): New flag.
53079         * configure. Regenerate.
53080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
53081         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
53082         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
53083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
53085         [BZ #16815]
53086         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
53087         result for FE_DOWNWARD rounding mode.
53088         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
53089         Likewise.
53090         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53092 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
53094         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
53095         in function argument name.
53097 2014-04-03  David Svoboda  <svoboda@cert.org>
53099         [BZ #5666]
53100         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
53101         explicitly.
53103 2014-04-03  Roland McGrath  <roland@hack.frob.com>
53105         * elf/dl-unmap-segments.h: New file.
53106         * sysdeps/generic/ldsodefs.h
53107         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
53108         * elf/dl-close.c: Include <dl-unmap-segments.h>.
53109         * elf/dl-fptr.c: Likewise.
53110         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
53111         * sysdeps/aarch64/tlsdesc.c: Likewise.
53112         * sysdeps/arm/tlsdesc.c: Likewise.
53113         * sysdeps/i386/tlsdesc.c: Likewise.
53114         * sysdeps/tile/dl-runtime.c: Likewise.
53115         * sysdeps/x86_64/tlsdesc.c: Likewise.
53116         * elf/dl-load.h: New file.
53117         * elf/dl-load.c: Include it.
53118         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
53119         Macros moved to dl-load.h.
53120         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
53121         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
53122         Use _dl_unmap_segments in place of __munmap.
53123         Break out segment-mapping loop into ...
53124         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
53126 2014-04-03  Will Newton  <will.newton@linaro.org>
53128         * elf/dl-lookup.c (do_lookup_x): Remove comment
53129         referring to nested function and move variable
53130         declarations down to before first use.
53132 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
53134         [BZ #16799]
53135         [BZ #16800]
53136         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
53137         with 0 numerator.
53138         * math/s_catanf.c (__catanf): Likewise.
53139         * math/s_catanh.c (__catanh): Likewise.
53140         * math/s_catanhf.c (__catanhf): Likewise.
53141         * math/s_catanhl.c (__catanhl): Likewise.
53142         * math/s_catanl.c (__catanl): Likewise.
53143         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
53144         by positive zero when computing -Inf result.
53145         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
53146         (catanh_test): Likewise.
53147         * sysdeps/i386/fpu/libm-test-ulps: Update.
53148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53150         [BZ #16789]
53151         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
53152         instead of using underflowing value in computing result.
53153         * math/s_clog10.c (__clog10): Likewise.
53154         * math/s_clog10f.c (__clog10f): Likewise.
53155         * math/s_clog10l.c (__clog10l): Likewise.
53156         * math/s_clogf.c (__clogf): Likewise.
53157         * math/s_clogl.c (__clogl): Likewise.
53158         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
53159         (clog10_test): Likewise.
53160         * sysdeps/i386/fpu/libm-test-ulps: Update.
53161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53163 2014-04-02  Alan Modra  <amodra@gmail.com>
53165         [BZ #16739]
53166         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
53167         output when value is near a power of two.  Use int64_t for lx and
53168         remove casts.  Use decimal rather than hex exponent constants.
53169         Don't use long double multiplication when double will suffice.
53170         * math/libm-test.inc (nextafter_test_data): Add tests.
53171         * NEWS: Add 16739 and 16786 to bug list.
53173         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
53175         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
53177 2014-04-01  Will Newton  <will.newton@linaro.org>
53179         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
53180         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
53182 2014-04-01  Florian Weimer  <fweimer@redhat.com>
53184         [BZ #13347]
53185         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
53186         * nptl/tst-setuid2.c: New file.
53187         * nptl/Makefile (xtests): Add tst-setuid2.
53189 2014-04-01  Alan Modra  <amodra@gmail.com>
53191         [BZ #16786]
53192         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
53194 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53196         [BZ #6803]
53197         [BZ #6804]
53198         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
53199         set errno as appropriate.
53200         * math/w_scalbf.c (__scalbf): Likewise.
53201         * math/w_scalbl.c (__scalbl): Likewise.
53202         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
53203         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
53204         * math/libm-test.inc (scalb_test_data): Add errno expectations.
53205         Add more NaN tests.
53207         [BZ #16349]
53208         * math/w_atan2.c: Include <errno.h>.
53209         (__atan2): Set errno for result underflowing to zero.
53210         * math/w_atan2f.c: Include <errno.h>.
53211         (__atan2f): Set errno for result underflowing to zero.
53212         * math/w_atan2l.c: Include <errno.h>.
53213         (__atan2l): Set errno for result underflowing to zero.
53214         * math/auto-libm-test-in: Don't allow missing errno for some atan2
53215         tests.
53216         * math/auto-libm-test-out: Regenerated.
53218 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53220         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
53221         Encode instruction correctly in little endian.
53222         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
53223         Likewise.
53224         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
53225         Likewise.
53226         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
53227         Likewise.
53228         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
53229         Likewise.
53231 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
53233         [BZ #9894]
53234         * sysdeps/unix/sysv/linux/kernel-features.h
53235         [__sparc__ && !__arch64__ && !__sparc_v9__]
53236         (__ASSUME_SET_ROBUST_LIST): Do not define.
53237         [__sparc__ && !__arch64__ && !__sparc_v9__]
53238         (__ASSUME_FUTEX_LOCK_PI): Likewise.
53239         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
53240         Likewise.
53241         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53242         (__ASSUME_FUTEX_LOCK_PI): Undefine.
53243         (__ASSUME_REQUEUE_PI): Likewise.
53244         (__ASSUME_SET_ROBUST_LIST): Likewise.
53245         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53246         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
53247         Undefine.
53248         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53249         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
53250         Likewise.
53251         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
53252         Likewise.
53253         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
53254         Likewise.
53255         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53256         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
53257         Undefine.
53258         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
53259         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
53260         Likewise.
53262         [BZ #16648]
53263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53264         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
53265         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
53267 2014-03-31  Will Newton  <will.newton@linaro.org>
53269         * benchtests/Makefile (bench): Add ffs and ffsll to list
53270         of tests.
53271         * benchtests/ffs-inputs: New file.
53272         * benchtests/ffsll-inputs: Likewise.
53274 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
53276         [BZ #16770]
53277         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
53278         too large before casting to int.
53279         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
53280         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
53281         * math/libm-test.inc (scalb_test_data): Add more tests.
53283 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
53285         * benchtests/Makefile (DETAILED_OPT): New make option.
53286         (bench-func): Run benchmark program with -d if DETAILED_OPT is
53287         set.
53288         * benchtests/bench-skeleton.c: Include stdbool.h.
53289         (main): Store and print timings per input.
53290         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
53291         member to each argument value.
53292         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
53293         (_print_arg_data): Initialize per-input timing to 0.
53295         * benchtests/Makefile (timing-type): New binary.
53296         (bench-clean): Also remove bench-timing-type.
53297         (bench): New target for timing-type.
53298         (bench-func): Print output in JSON format.
53299         * benchtests/bench-skeleton.c (main): Print output in JSON
53300         format.
53301         * benchtests/bench-timing-type.c: New file.
53302         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
53303         (TIMING_PRINT_STATS): Remove.
53304         * benchtests/scripts/bench.py (_print_arg_data): Store variant
53305         name separately.
53307         * benchtests/bench-modf.c: Remove.
53308         * benchtests/modf-inputs: New inputs file.
53310 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
53312         [BZ #16362]
53313         * math/s_clog10.c (M_PI_LOG10E): New macro.
53314         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
53315         imaginary parts are 0.
53316         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
53317         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
53318         imaginary parts are 0.
53319         * math/s_clog10l.c (M_PI_LOG10El): New macro.
53320         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
53321         imaginary parts are 0.
53322         * math/libm-test.inc (clog10_test_data): Update expected results
53323         for when real and imaginary parts are 0.
53325 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
53327         * elf/dl-load.c: Finish conversion of __builtin_expect into
53328         __glibc_{un}likely.
53330 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
53332         [BZ #16348]
53333         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
53334         1+x for argument with exponent below -67.
53335         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
53336         Likewise.
53337         * math/auto-libm-test-in: Add more tests of exp.
53338         * math/auto-libm-test-out: Regenerated.
53340 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53342         [BZ #16759]
53343         * inet/getnetgrent_r.c (get_nonempty_val): New function.
53344         (nscd_getnetgrent): Use it.
53346         [BZ #16760]
53347         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
53348         of stpcpy.
53350 2014-03-27  Andi Kleen  <ak@linux.intel.com>
53352         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
53353         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53354         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53355         (lll_robust_unlock): Remove out of line section. Use cfi
53356         intrinsics.
53357         (LLL_STUB_UNWIND_INFO*): Remove.
53358         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
53359         (lll_robust_lock, lll_cond_lock, lll_timedlock)
53360         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
53361         (lll_robust_unlock): Remove out of line section. Use cfi
53362         intrinsics.
53363         (LLL_STUB_UNWIND_INFO*): Remove.
53365 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53367         [BZ #16758]
53368         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
53369         blank values.
53371 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
53373         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
53375 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
53377         [BZ #16198]
53378         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
53379         fnstenv.
53380         * math/test-fenv-preserve.c: New file.
53381         * math/Makefile (tests): Add test-fenv-preserve.
53383 2014-03-26  Will Newton <will.newton@linaro.org>
53385         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
53387 2014-03-25  Roland McGrath  <roland@hack.frob.com>
53389         * scripts/versionlist.awk: Partition the version sets and emit all
53390         GLIBC_* (sorted) before all others (sorted).
53392 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53394         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
53395         GLIBC_2.2.5 version.
53397 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53399         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
53400         calls.
53402         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
53403         previous change.
53405         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53407 2014-03-25  Andreas Schwab  <schwab@suse.de>
53409         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
53410         label to be used after in6ailist is initialized.
53412 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53414         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
53415         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53417 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
53419         [BZ #16357]
53420         [BZ #16599]
53421         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
53422         min_plus_half.
53423         (fp_formats): Update initializers.
53424         (init_fp_formats): Initialize new field.
53425         (output_for_one_input_case): Allow underflow for results up to
53426         min_plus_half.
53427         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
53428         * math/auto-libm-test-in: Don't mark some underflows from asin and
53429         atanh as spurious.
53430         * math/auto-libm-test-out: Regenerated.
53431         * sysdeps/i386/fpu/libm-test-ulps: Update.
53432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53434 2014-03-25  Andreas Schwab  <schwab@suse.de>
53436         * libio/Makefile (tst-ftell-partial-wide-ENV)
53437         (tst-ftell-active-handler-ENV): Define.
53439 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
53441         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
53443 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53445         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
53447 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53449         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
53450         * sysdeps/x86_64/fpu/multiarch/e_exp.c
53451         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
53453 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
53455         [BZ #16634]
53456         * elf/dl-load.c (open_verify): Add mode parameter.
53457         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
53458         (open_path): Change from boolean 'secure' to complete flag 'mode'
53459         (_dl_map_object): Adjust.
53460         * elf/Makefile (tests): Add tst-dlopen-aout.
53461         * elf/tst-dlopen-aout.c: New test.
53463 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
53465         [BZ #16714]
53466         * sysdeps/unix/sysv/linux/s390/bits/stat.h
53467         (struct stat): Rename member pad0 to __glibc_reserved0.
53469         [BZ #16712]
53470         * sysdeps/s390/s390-32/bits/wordsize.h
53471         (__WORDSIZE32_SIZE_ULONG): New define.
53472         * sysdeps/s390/s390-64/bits/wordsize.h
53473         (__WORDSIZE32_SIZE_ULONG): Likewise.
53474         * sysdeps/generic/stdint.h (SIZE_MAX):
53475         Define as UL if __WORDSIZE32_SIZE_ULONG.
53477         [BZ #16713]
53478         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
53479         (__glibc_reserved0): New variable.
53480         (sa_flags): Change type to int.
53482         * posix/Makefile (before-compile): Use += before-compile instead
53483         of a :=.
53485         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
53486         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
53488 2014-03-20  Andreas Schwab  <schwab@suse.de>
53490         [BZ #16743]
53491         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
53492         non-matching result from nscd.
53494 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53496         * scripts/bench.py: Moved to ...
53497         * benchtests/scripts/bench.py: ... here.
53498         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
53500 2014-03-24  Andreas Schwab  <schwab@suse.de>
53502         [BZ #16002]
53503         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
53504         alloca_account and account alloca use for struct in6ailist.
53506 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
53508         [BZ #16284]
53509         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
53510         rounding mode to recompute results that overflow to infinity or
53511         underflow to zero.
53512         * math/auto-libm-test-in: Don't mark tests as expected to fail for
53513         bug 16284.
53514         * math/auto-libm-test-out: Regenerated.
53515         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
53516         (ccosh_test): Likewise.
53517         (csin_test_data): Use plus_oflow.
53518         (csin_test): Use ALL_RM_TEST.
53519         (csinh_test_data): Use plus_oflow.
53520         (csinh_test): Use ALL_RM_TEST.
53521         * sysdeps/i386/fpu/libm-test-ulps: Update.
53522         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53524 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
53526         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
53527         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
53528         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
53530         [BZ #16731]
53531         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
53532         when x - 1 is zero.
53533         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
53534         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
53535         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
53536         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
53537         argument is 1.
53538         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
53539         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
53540         zero.
53541         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
53542         * sysdeps/i386/fpu/libm-test-ulps: Update.
53543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53545 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53547         * scripts/bench.pl: Remove file.
53548         * scripts/bench.py: New benchmark script.
53549         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
53550         * benchtests/README: Mention python dependency.
53551         * scripts/pylintrc: New file.
53552         * scripts/pylint: New file.
53554         * bits/mathdef.h: Use #ifdef instead of #if.
53555         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
53556         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53557         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
53558         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53559         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
53560         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
53562 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53563             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
53565         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
53566         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
53567         and strpbrk-ppc64 objects.
53568         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53569         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
53570         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
53571         multiarch strpbrk for POWER7.
53572         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
53573         multiarch strpbrk for PPC64.
53574         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
53575         ifunc selector.
53576         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
53577         strpbrk for POWER7.
53579 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53581         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
53582         (atan_test): Likewise.
53583         (atanh_test_data): Use NO_TEST_INLINE for two tests.
53584         (atanh_test): Use ALL_RM_TEST.
53585         (atan2_test_data): Likewise.
53586         (cabs_test): Likewise.
53587         (cacosh_test): Likewise.
53588         (carg_test): Likewise.
53589         (casin_test): Likewise.
53590         (casinh_test): Likewise.
53591         (cbrt_test): Likewise.
53592         (csqrt_test): Likewise.
53593         (erf_test): Likewise.
53594         (erfc_test): Likewise.
53595         (pow10_test): Likewise.
53596         (exp2_test): Likewise.
53597         (hypot_test): Likewise.
53598         (j0_test): Likewise.
53599         (j1_test): Likewise.
53600         (lgamma_test): Likewise.
53601         (gamma_test): Likewise.
53602         (sincos_test): Likewise.
53603         (tanh_test): Likewise.
53604         (y0_test): Likewise.
53605         (y1_test): Likewise.
53606         * sysdeps/i386/fpu/libm-test-ulps: Update.
53607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53609 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53611         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
53612         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
53613         and strcspn-ppc64 objects.
53614         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
53615         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
53616         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
53617         multiarch strcspn for POWER7.
53618         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
53619         multiarch strcspn for PPC64.
53620         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
53621         ifunc selector.
53622         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
53623         strcspn for POWER7.
53625 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
53627         * math/gen-libm-test.pl (generate_testfile): Expect only function
53628         name as argument to AUTO_TESTS_* and pass results for all rounding
53629         modes to parse_args.
53630         (parse_auto_input): Separate inputs of automatic tests from
53631         outputs before storing in %auto_tests.
53632         * math/libm-test.inc (acos_test_data): Update call to
53633         AUTO_TESTS_f_f.
53634         (acos_test): Use ALL_RM_TEST.
53635         (acos_tonearest_test_data): Remove.
53636         (acos_test_tonearest): Likewise.
53637         (acos_towardzero_test_data): Likewise.
53638         (acos_test_towardzero): Likewise.
53639         (acos_downward_test_data): Likewise.
53640         (acos_test_downward): Likewise.
53641         (acos_upward_test_data): Likewise.
53642         (acos_test_upward): Likewise.
53643         (acosh_test_data): Update call to AUTO_TESTS_f_f.
53644         (asin_test_data): Likewise.
53645         (asin_test): Use ALL_RM_TEST.
53646         (asin_tonearest_test_data): Remove.
53647         (asin_test_tonearest): Likewise.
53648         (asin_towardzero_test_data): Likewise.
53649         (asin_test_towardzero): Likewise.
53650         (asin_downward_test_data): Likewise.
53651         (asin_test_downward): Likewise.
53652         (asin_upward_test_data): Likewise.
53653         (asin_test_upward): Likewise.
53654         (asinh_test_data): Update call to AUTO_TESTS_f_f.
53655         (atan_test_data): Likewise.
53656         (atanh_test_data): Likewise.
53657         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
53658         (cabs_test_data): Update call to AUTO_TESTS_c_f.
53659         (carg_test_data): Likewise.
53660         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
53661         (ccos_test_data): Update call to AUTO_TESTS_c_c.
53662         (ccosh_test_data): Likewise.
53663         (cexp_test_data): Likewise.
53664         (clog_test_data): Likewise.
53665         (clog10_test_data): Likewise.
53666         (cos_test_data): Update call to AUTO_TESTS_f_f.
53667         (cos_test): Use ALL_RM_TEST.
53668         (cos_tonearest_test_data): Remove.
53669         (cos_test_tonearest): Likewise.
53670         (cos_towardzero_test_data): Likewise.
53671         (cos_test_towardzero): Likewise.
53672         (cos_downward_test_data): Likewise.
53673         (cos_test_downward): Likewise.
53674         (cos_upward_test_data): Likewise.
53675         (cos_test_upward): Likewise.
53676         (cosh_test_data): Update call to AUTO_TESTS_f_f.
53677         (cosh_test): Use ALL_RM_TEST.
53678         (cosh_tonearest_test_data): Remove.
53679         (cosh_test_tonearest): Likewise.
53680         (cosh_towardzero_test_data): Likewise.
53681         (cosh_test_towardzero): Likewise.
53682         (cosh_downward_test_data): Likewise.
53683         (cosh_test_downward): Likewise.
53684         (cosh_upward_test_data): Likewise.
53685         (cosh_test_upward): Likewise.
53686         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
53687         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
53688         (ctan_test_data): Likewise.
53689         (ctan_test): Use ALL_RM_TEST.
53690         (ctan_tonearest_test_data): Remove.
53691         (ctan_test_tonearest): Likewise.
53692         (ctan_towardzero_test_data): Likewise.
53693         (ctan_test_towardzero): Likewise.
53694         (ctan_downward_test_data): Likewise.
53695         (ctan_test_downward): Likewise.
53696         (ctan_upward_test_data): Likewise.
53697         (ctan_test_upward): Likewise.
53698         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
53699         (ctanh_test): Use ALL_RM_TEST.
53700         (ctanh_tonearest_test_data): Remove.
53701         (ctanh_test_tonearest): Likewise.
53702         (ctanh_towardzero_test_data): Likewise.
53703         (ctanh_test_towardzero): Likewise.
53704         (ctanh_downward_test_data): Likewise.
53705         (ctanh_test_downward): Likewise.
53706         (ctanh_upward_test_data): Likewise.
53707         (ctanh_test_upward): Likewise.
53708         (erf_test_data): Update call to AUTO_TESTS_f_f.
53709         (erfc_test_data): Likewise.
53710         (exp_test_data): Likewise.
53711         (exp_test): Use ALL_RM_TEST.
53712         (exp_tonearest_test_data): Remove.
53713         (exp_test_tonearest): Likewise.
53714         (exp_towardzero_test_data): Likewise.
53715         (exp_test_towardzero): Likewise.
53716         (exp_downward_test_data): Likewise.
53717         (exp_test_downward): Likewise.
53718         (exp_upward_test_data): Likewise.
53719         (exp_test_upward): Likewise.
53720         (exp10_test_data): Update call to AUTO_TESTS_f_f.
53721         (exp10_test): Use ALL_RM_TEST.
53722         (exp10_tonearest_test_data): Remove.
53723         (exp10_test_tonearest): Likewise.
53724         (exp10_towardzero_test_data): Likewise.
53725         (exp10_test_towardzero): Likewise.
53726         (exp10_downward_test_data): Likewise.
53727         (exp10_test_downward): Likewise.
53728         (exp10_upward_test_data): Likewise.
53729         (exp10_test_upward): Likewise.
53730         (exp2_test_data): Update call to AUTO_TESTS_f_f.
53731         (expm1_test_data): Likewise.
53732         (expm1_test): Use ALL_RM_TEST.
53733         (expm1_tonearest_test_data): Remove.
53734         (expm1_test_tonearest): Likewise.
53735         (expm1_towardzero_test_data): Likewise.
53736         (expm1_test_towardzero): Likewise.
53737         (expm1_downward_test_data): Likewise.
53738         (expm1_test_downward): Likewise.
53739         (expm1_upward_test_data): Likewise.
53740         (expm1_test_upward): Likewise.
53741         (fma_test_data): Update call to AUTO_TESTS_fff_f.
53742         (fma_test): Use ALL_RM_TEST.
53743         (fma_towardzero_test_data): Remove.
53744         (fma_test_towardzero): Likewise.
53745         (fma_downward_test_data): Likewise.
53746         (fma_test_downward): Likewise.
53747         (fma_upward_test_data): Likewise.
53748         (fma_test_upward): Likewise.
53749         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
53750         (j0_test_data): Update call to AUTO_TESTS_f_f.
53751         (j1_test_data): Likewise.
53752         (jn_test_data): Update call to AUTO_TESTS_if_f.
53753         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
53754         (log_test_data): Update call to AUTO_TESTS_f_f.
53755         (log10_test_data): Likewise.
53756         (log1p_test_data): Likewise.
53757         (log2_test_data): Likewise.
53758         (pow_test_data): Update call to AUTO_TESTS_ff_f.
53759         (pow_tonearest_test_data): Likewise.
53760         (sin_test_data): Update call to AUTO_TESTS_f_f.
53761         (sin_test): Use ALL_RM_TEST.
53762         (sin_tonearest_test_data): Remove.
53763         (sin_test_tonearest): Likewise.
53764         (sin_towardzero_test_data): Likewise.
53765         (sin_test_towardzero): Likewise.
53766         (sin_downward_test_data): Likewise.
53767         (sin_test_downward): Likewise.
53768         (sin_upward_test_data): Likewise.
53769         (sin_test_upward): Likewise.
53770         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
53771         (sinh_test_data): Update call to AUTO_TESTS_f_f.
53772         (sinh_test): Use ALL_RM_TEST.
53773         (sinh_tonearest_test_data): Remove.
53774         (sinh_test_tonearest): Likewise.
53775         (sinh_towardzero_test_data): Likewise.
53776         (sinh_test_towardzero): Likewise.
53777         (sinh_downward_test_data): Likewise.
53778         (sinh_test_downward): Likewise.
53779         (sinh_upward_test_data): Likewise.
53780         (sinh_test_upward): Likewise.
53781         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
53782         (sqrt_test): Use ALL_RM_TEST.
53783         (sqrt_tonearest_test_data): Remove.
53784         (sqrt_test_tonearest): Likewise.
53785         (sqrt_towardzero_test_data): Likewise.
53786         (sqrt_test_towardzero): Likewise.
53787         (sqrt_downward_test_data): Likewise.
53788         (sqrt_test_downward): Likewise.
53789         (sqrt_upward_test_data): Likewise.
53790         (sqrt_test_upward): Likewise.
53791         (tan_test_data): Update call to AUTO_TESTS_f_f.
53792         (tan_test): Use ALL_RM_TEST.
53793         (tan_tonearest_test_data): Remove.
53794         (tan_test_tonearest): Likewise.
53795         (tan_towardzero_test_data): Likewise.
53796         (tan_test_towardzero): Likewise.
53797         (tan_downward_test_data): Likewise.
53798         (tan_test_downward): Likewise.
53799         (tan_upward_test_data): Likewise.
53800         (tan_test_upward): Likewise.
53801         (tanh_test_data): Update call to AUTO_TESTS_f_f.
53802         (tgamma_test_data): Likewise.
53803         (y0_test_data): Likewise.
53804         (y1_test_data): Likewise.
53805         (yn_test_data): Update call to AUTO_TESTS_if_f.
53806         (main): Do not call removed functions.
53808 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53810         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
53811         (ldexp_test_data): Remove.
53812         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
53813         scalbn_test_data.
53814         (scalb_test): Use ALL_RM_TEST.
53816 2014-03-19  Andreas Schwab  <schwab@suse.de>
53818         * nscd/nscd.service: Also invalidate netgroup cache on reload.
53820 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
53822         [BZ #16649]
53823         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53824         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
53825         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
53826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53827         (__ASSUME_PREADV): Undefine.
53828         (__ASSUME_PWRITEV): Likewise.
53830 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53832         * bits/mman-linux.h: Add comment about non-Linux use.
53833         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
53834         bits/mman-linux.h resting place.
53836         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
53837         * bits/mman-linux.h: ... here.
53839 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53841         * conform/conformtest.pl: Add standard definition when calling C
53842         preprocessor on data files.
53843         (checknamespace): Remove unused variable.
53845 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53847         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
53848         minus_oflow, plus_uflow and minus_uflow in expected results.
53849         * math/libm-test.inc (scalbn_test_data): Add more tests of
53850         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
53851         minus_uflow.
53852         (scalbn_test): Use ALL_RM_TEST.
53853         (scalbln_test_data): Add more tests of negative arguments.  Use
53854         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
53855         (scalbln_test): Use ALL_RM_TEST.
53857 2014-03-18  Roland McGrath  <roland@hack.frob.com>
53859         * scripts/abilist.awk: Ignore symbols marked with .hidden.
53861 2014-03-18  Will Newton  <will.newton@linaro.org>
53863         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
53864         inaccurate comment.
53866 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
53868         * Makerules [!subdir] (check-abi): Exit with error status if a
53869         test failed.
53871 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53873         * math/libm-test.inc (nearbyint_test_data): Include all tests used
53874         for rint.  Include results for all rounding modes.
53875         (nearbyint_test): Use ALL_RM_TEST.
53876         (rint_test_data): Include all tests used for nearbyint.
53878 2014-03-17  Will Newton  <will.newton@linaro.org>
53880         * nptl/sysdeps/pthread/pthread.h: Revert previous
53881         change.
53883         * sysdeps/generic/ldsodefs.h: Revert previous
53884         change.
53886         * libio/genops.c: Revert previous change.
53887         * libio/libioP.h: Likewise.
53888         * stdio-common/vfprintf.c: Likewise.
53890         * sysdeps/generic/math_private.h: Revert previous
53891         change.
53893         * sysdeps/generic/math_private.h: Check whether
53894         HAVE_RM_CTX is defined with #ifdef rather
53895         than #if.
53897         * argp/argp-fmtstream.h: Check whether
53898         __STRICT_ANSI__ is defined with #ifdef rather
53899         than #if.
53900         * argp/argp.h: Likewise.
53902         * libio/genops.c: Check whether
53903         _IO_JUMPS_OFFSET is defined with #ifdef rather
53904         than #if.
53905         * libio/libioP.h: Likewise.
53906         * stdio-common/vfprintf.c: Likewise.
53908         * sysdeps/generic/ldsodefs.h: Check whether
53909         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
53910         than #if.
53912         * nptl/sysdeps/pthread/pthread.h: Check
53913         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
53914         its value.
53916 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53918         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
53919         setting O_APPEND.
53920         * libio/tst-ftell-active-handler.c (do_append_test): Add a
53921         test case.
53923         [BZ #16680]
53924         * libio/fileops.c (_IO_file_open): Seek to end of file but
53925         don't cache the offset.
53926         (get_file_offset): Remove function.
53927         (do_ftell): Use cached offset when available.
53928         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
53929         don't cache the offset.
53930         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
53931         case.
53932         (do_one_test): Call it.
53933         (do_ftell_test): Fix up expected old offset for a+ mode.
53934         * libio/wfileops.c (do_ftell_wide): Used cached offset when
53935         available.
53937         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
53938         up test status with function return status.
53939         (do_write_test): Likewise.
53940         (do_append_test): Likewise.
53942         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
53943         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
53944         Remove.
53946 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
53948         * math/gen-libm-test.pl (parse_args): Handle results specified for
53949         each rounding mode separately.
53950         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
53951         tests and results from lrint_tonearest_test_data,
53952         lrint_towardzero_test_data, lrint_downward_test_data and
53953         lrint_upward_test_data.
53954         (lrint_test): Use ALL_RM_TEST.
53955         (lrint_tonearest_test_data): Remove.
53956         (lrint_test_tonearest): Likewise.
53957         (lrint_towardzero_test_data): Likewise.
53958         (lrint_test_towardzero): Likewise.
53959         (lrint_downward_test_data): Likewise.
53960         (lrint_test_downward): Likewise.
53961         (lrint_upward_test_data): Likewise.
53962         (lrint_test_upward): Likewise.
53963         (llrint_test_data): Merge in per-rounding-mode tests and results
53964         from llrint_tonearest_test_data, llrint_towardzero_test_data,
53965         llrint_downward_test_data and llrint_upward_test_data.
53966         (llrint_test): Use ALL_RM_TEST.
53967         (llrint_tonearest_test_data): Remove.
53968         (llrint_test_tonearest): Likewise.
53969         (llrint_towardzero_test_data): Likewise.
53970         (llrint_test_towardzero): Likewise.
53971         (llrint_downward_test_data): Likewise.
53972         (llrint_test_downward): Likewise.
53973         (llrint_upward_test_data): Likewise.
53974         (llrint_test_upward): Likewise.
53975         (rint_test_data): Merge in per-rounding-mode tests and results
53976         from rint_tonearest_test_data, rint_towardzero_test_data,
53977         rint_downward_test_data and rint_upward_test_data.  Add
53978         per-rounding-mode results for tests not in those arrays.
53979         (rint_test): Use ALL_RM_TEST.
53980         (rint_tonearest_test_data): Remove.
53981         (rint_test_tonearest): Likewise.
53982         (rint_towardzero_test_data): Likewise.
53983         (rint_test_towardzero): Likewise.
53984         (rint_downward_test_data): Likewise.
53985         (rint_test_downward): Likewise.
53986         (rint_upward_test_data): Likewise.
53987         (rint_test_upward): Likewise.
53988         (main): Don't call removed functions.
53990 2014-03-14  Roland McGrath  <roland@hack.frob.com>
53992         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
53993         "Compiled on ..." crapola.  It is anti-useful.
53995 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
53997         * scripts/evaluate-test.sh: Handle fourth argument to determine
53998         whether test run should stop on failure.
53999         * Makeconfig (stop-on-test-failure): New variable.
54000         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
54001         $(stop-on-test-failure).
54002         * Makefile (tests): Give a summary of results from testing and
54003         exit with failure status if they include an ERROR or FAIL.
54004         (xtests): Likewise.
54005         * manual/install.texi (Configuring and compiling): Mention
54006         stop-on-test-failure=y.
54007         * INSTALL: Regenerated.
54009 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54011         * scripts/versionlist.awk: New file.
54012         * Makerules [$(build-shared) = yes]
54013         (postclean-generated): Add Versions.def, not Versions.def.v and
54014         Versions.def.v.i.
54015         ($(common-objpfx)Versions.def.v.i): Target removed.
54016         ($(common-objpfx)Versions.def): New target.
54017         ($(common-objpfx)Versions.all): Depend on that rather that
54018         $(common-objpfx)Versions.def.v.
54019         * Versions.def: File removed.
54021         * Makeconfig (+gccwarn): Add -Wundef.
54022         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
54023         a dl-sysdep.h breaking its contract.
54024         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
54025         * include/stackinfo.h: New file.
54026         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
54027         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
54028         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
54029         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
54030         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
54031         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
54032         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54033         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54034         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54035         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54036         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54037         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
54038         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54039         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54040         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
54042 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54044         [BZ #16707]
54045         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
54046         implementation.
54047         * math/libm-test.inc (round_test_data): Add more tests.
54049         [BZ #16706]
54050         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
54051         implementation.
54052         * math/libm-test.inc (nearbyint_test_data): Add more tests.
54054         [BZ #16701]
54055         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
54056         implementation.
54057         * math/libm-test.inc (ceil_test_data): Add more tests.
54059         * math/libm-test.inc (trunc_test_data): Add more tests related to
54060         BZ#16414.
54062 2014-03-14  Roland McGrath  <roland@hack.frob.com>
54064         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
54065         with #if rather than #ifdef.
54066         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
54068 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
54070         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
54071         first.  Disable AVX-512 GCC support if assembler doesn't support
54072         it.
54073         * sysdeps/x86_64/configure: Regenerated.
54075 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
54077         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
54078         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
54079         (__old_pthread_attr_setstack): Likewise.
54080         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
54081         [!_STACK_GROWS_DOWN]: Likewise.
54083 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
54085         * config.make.in (have-bash2): Delete.
54086         * configure.ac (libc_cv_have_bash2): Delete.
54087         * configure: Regenerate.
54088         * elf/Makefile (common-ldd-rewrite): Rename to ...
54089         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
54090         (sh-ldd-rewrite): Delete.
54091         (bash-ldd-rewrite): Delete.
54092         (have-bash2): Delete checks.
54093         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
54094         ldd-rewrite.
54096         * config.make.in (have-ksh): Delete.
54097         (KSH): Delete.
54098         * configure.ac (libc_cv_have_ksh): Delete.
54099         * configure: Regenerate.
54101         * elf/Makefile: Delete $(have-ksh) check.
54102         ($(objpfx)sotruss): Change KSH to BASH.
54103         * elf/sotruss.ksh: Rename to ...
54104         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
54105         function style to match POSIX.  Drop ksh vim mode setting.
54107         * manual/time.texi (Specifying the Time Zone with TZ): Change
54108         Tuesday to Thursday.
54110         * debug/tst-longjmp_chk2.c: Update header comment.
54111         (stackoverflow_handler): Add comment.  Call assert on pass value.
54113 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
54115         [BZ #16194]
54116         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
54117         (HAVE_AVX512_ASM_SUPPORT): Likewise.
54118         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
54119         (La_x86_64_vector): Add zmm.
54120         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
54121         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
54122         ($(objpfx)tst-audit10): New target.
54123         ($(objpfx)tst-audit10.out): Likewise.
54124         (tst-audit10-ENV): New.
54125         (AVX512-CFLAGS): Likewise.
54126         (CFLAGS-tst-audit10.c): Likewise.
54127         (CFLAGS-tst-auditmod10a.c): Likewise.
54128         (CFLAGS-tst-auditmod10b.c): Likewise.
54129         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
54130         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
54131         * sysdeps/x86_64/configure: Regenerated.
54132         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
54133         AVX-512 zmm register support.
54134         (_dl_x86_64_save_sse): Likewise.
54135         (_dl_x86_64_restore_sse): Likewise.
54136         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
54137         size vector registers.
54138         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
54139         (ZMM_SIZE): Likewise.
54140         * sysdeps/x86_64/tst-audit10.c: New file.
54141         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
54142         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
54144 2014-03-13  Roland McGrath  <roland@hack.frob.com>
54146         * configure.ac (HAVE_EHDR_START): New check.
54147         * configure: Regenerated.
54148         * config.h.in (HAVE_EHDR_START): New #undef.
54149         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
54150         assuming the lowest-addressed segment maps the start of the file.
54152 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
54154         * INSTALL: Regenerated.
54156 2014-03-13  Will Newton  <will.newton@linaro.org>
54158         * manual/setjmp.texi (System V contexts): Improve
54159         clarity and grammar of documentation.
54161 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
54163         [BZ #16381]
54164         * elf/Makefile (tests): Add tst-pie2.
54165         (tests-pie): Add tst-pie2.
54166         * elf/tst-pie2.c: New file.
54167         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
54168         for ET_EXEC.
54169         * elf/rtld.c (map_doit): Load executable as lt_executable.
54170         (dl_main): Likewise.
54172 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
54174         [BZ #16642]
54175         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
54176         (__ASSUME_PSELECT): Undefine.
54178 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54180         [BZ #16689]
54181         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
54182         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
54183         static build.
54184         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
54185         selector for static builds.
54187 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
54189         [BZ #16695]
54190         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
54191         key in the buffer.
54193 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54195         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
54196         IFUNC selector for static builds.
54198 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
54200         * sysdeps/mips/math_private.h [__mips_hard_float]
54201         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
54202         libc_feresetround_mips_ctx.
54203         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
54204         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
54205         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
54207         [BZ #16677]
54208         * math/s_nextafter.c (__nextafter): Do not return value from
54209         overflowing computation.
54210         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
54211         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
54212         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
54213         Likewise.
54214         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
54215         Likewise.
54216         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
54217         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
54219 2014-03-11  Roland McGrath  <roland@hack.frob.com>
54221         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
54222         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
54223         Move sfi_sp use from the load-multiple (that no longer sets sp) to
54224         the new mov targetting sp.
54226 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54228         [BZ #16683]
54229         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
54230         Define it for static builds as well.
54231         (NO_BZERO_IMPL): Likewise.
54233 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54235         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
54236         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
54237         multiarch strspn for PPC64.
54238         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
54239         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
54240         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54241         (__libc_ifunc_impl_list): Likewise.
54242         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
54243         multiarch optimizations
54244         * string/strspn.c (strspn): Using macro to redefine symbol name.
54246 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
54247             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54249         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
54250         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
54251         multiarch strncat for PPC64.
54252         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
54253         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
54254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
54255         (__libc_ifunc_impl_list): Likewise.
54256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
54257         multiarch optimizations
54259 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
54261         [BZ #16639]
54262         * nscd/nscd.service: Make service type forking.
54264 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54266         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
54267         sign in non default rounding modes.
54268         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
54270 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
54272         * math/libm-test.inc (ALL_RM_TEST): New macro.
54273         (ceil_test): Use ALL_RM_TEST.
54274         (cimag_test): Likewise.
54275         (conj_test): Likewise.
54276         (copysign_test): Likewise.
54277         (cproj_test): Likewise.
54278         (creal_test): Likewise.
54279         (fabs_test): Likewise.
54280         (floor_test): Likewise.
54281         (fmax_test): Likewise.
54282         (fmin_test): Likewise.
54283         (fmod_test): Likewise.
54284         (fpclassify_test): Likewise.
54285         (frexp_test): Likewise.
54286         (ilogb_test): Likewise.
54287         (isfinite_test): Likewise.
54288         (finite_test): Likewise.
54289         (isgreater_test): Likewise.
54290         (isgreaterequal_test): Likewise.
54291         (isinf_test): Likewise.
54292         (isless_test): Likewise.
54293         (islessequal_test): Likewise.
54294         (islessgreater_test): Likewise.
54295         (isnan_test): Likewise.
54296         (isnormal_test): Likewise.
54297         (issignaling_test): Likewise.
54298         (isunordered_test): Likewise.
54299         (logb_test): Likewise.
54300         (logb_downward_test_data): Remove.
54301         (logb_test_downward): Likewise.
54302         (lround_test): Use ALL_RM_TEST.
54303         (llround_test): Likewise.
54304         (modf_test): Likewise.
54305         (nexttoward_test): Likewise.
54306         (remainder_test): Likewise.
54307         (drem_test): Likewise.
54308         (remainder_tonearest_test_data): Likewise.
54309         (remainder_test_tonearest): Likewise.
54310         (drem_test_tonearest): Likewise.
54311         (remainder_towardzero_test_data): Likewise.
54312         (remainder_test_towardzero): Likewise.
54313         (drem_test_towardzero): Likewise.
54314         (remainder_downward_test_data): Likewise.
54315         (remainder_test_downward): Likewise.
54316         (drem_test_downward): Likewise.
54317         (remainder_upward_test_data): Likewise.
54318         (remainder_test_upward): Likewise.
54319         (drem_test_upward): Likewise.
54320         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
54321         (round_test): Use ALL_RM_TEST.
54322         (signbit_test): Likewise.
54323         (trunc_test): Likewise.
54324         (significand_test): Likewise.
54325         (main): Don't call removed functions.
54327 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54329         [BZ #16674]
54330         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
54331         || __USE_XOPEN2K8].
54332         (ILL_ILLOPN): Likewise.
54333         (ILL_ILLADR): Likewise.
54334         (ILL_ILLTRP): Likewise.
54335         (ILL_PRVOPC): Likewise.
54336         (ILL_PRVREG): Likewise.
54337         (ILL_COPROC): Likewise.
54338         (ILL_BADSTK): Likewise.
54339         (FPE_INTDIV): Likewise.
54340         (FPE_INTOVF): Likewise.
54341         (FPE_FLTDIV): Likewise.
54342         (FPE_FLTOVF): Likewise.
54343         (FPE_FLTUND): Likewise.
54344         (FPE_FLTRES): Likewise.
54345         (FPE_FLTINV): Likewise.
54346         (FPE_FLTSUB): Likewise.
54347         (SEGV_MAPERR): Likewise.
54348         (SEGV_ACCERR): Likewise.
54349         (BUS_ADRALN): Likewise.
54350         (BUS_ADRERR): Likewise.
54351         (BUS_OBJERR): Likewise.
54352         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54353         (TRAP_TRACE): Likewise.
54354         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54355         __USE_XOPEN2K8].
54356         (CLD_KILLED): Likewise.
54357         (CLD_DUMPED): Likewise.
54358         (CLD_TRAPPED): Likewise.
54359         (CLD_STOPPED): Likewise.
54360         (CLD_CONTINUED): Likewise.
54361         (POLL_IN): Likewise.
54362         (POLL_OUT): Likewise.
54363         (POLL_MSG): Likewise.
54364         (POLL_ERR): Likewise.
54365         (POLL_PRI): Likewise.
54366         (POLL_HUP): Likewise.
54367         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
54368         Likewise.
54369         (ILL_ILLOPN): Likewise.
54370         (ILL_ILLADR): Likewise.
54371         (ILL_ILLTRP): Likewise.
54372         (ILL_PRVOPC): Likewise.
54373         (ILL_PRVREG): Likewise.
54374         (ILL_COPROC): Likewise.
54375         (ILL_BADSTK): Likewise.
54376         (FPE_INTDIV): Likewise.
54377         (FPE_INTOVF): Likewise.
54378         (FPE_FLTDIV): Likewise.
54379         (FPE_FLTOVF): Likewise.
54380         (FPE_FLTUND): Likewise.
54381         (FPE_FLTRES): Likewise.
54382         (FPE_FLTINV): Likewise.
54383         (FPE_FLTSUB): Likewise.
54384         (SEGV_MAPERR): Likewise.
54385         (SEGV_ACCERR): Likewise.
54386         (BUS_ADRALN): Likewise.
54387         (BUS_ADRERR): Likewise.
54388         (BUS_OBJERR): Likewise.
54389         (BUS_MCEERR_AR): Likewise.
54390         (BUS_MCEERR_AO): Likewise.
54391         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54392         (TRAP_TRACE): Likewise.
54393         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54394         __USE_XOPEN2K8].
54395         (CLD_KILLED): Likewise.
54396         (CLD_DUMPED): Likewise.
54397         (CLD_TRAPPED): Likewise.
54398         (CLD_STOPPED): Likewise.
54399         (CLD_CONTINUED): Likewise.
54400         (POLL_IN): Likewise.
54401         (POLL_OUT): Likewise.
54402         (POLL_MSG): Likewise.
54403         (POLL_ERR): Likewise.
54404         (POLL_PRI): Likewise.
54405         (POLL_HUP): Likewise.
54406         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
54407         (ILL_ILLOPN): Likewise.
54408         (ILL_ILLADR): Likewise.
54409         (ILL_ILLTRP): Likewise.
54410         (ILL_PRVOPC): Likewise.
54411         (ILL_PRVREG): Likewise.
54412         (ILL_COPROC): Likewise.
54413         (ILL_BADSTK): Likewise.
54414         (FPE_INTDIV): Likewise.
54415         (FPE_INTOVF): Likewise.
54416         (FPE_FLTDIV): Likewise.
54417         (FPE_FLTOVF): Likewise.
54418         (FPE_FLTUND): Likewise.
54419         (FPE_FLTRES): Likewise.
54420         (FPE_FLTINV): Likewise.
54421         (FPE_FLTSUB): Likewise.
54422         (SEGV_MAPERR): Likewise.
54423         (SEGV_ACCERR): Likewise.
54424         (BUS_ADRALN): Likewise.
54425         (BUS_ADRERR): Likewise.
54426         (BUS_OBJERR): Likewise.
54427         (BUS_MCEERR_AR): Likewise.
54428         (BUS_MCEERR_AO): Likewise.
54429         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54430         (TRAP_TRACE): Likewise.
54431         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54432         __USE_XOPEN2K8].
54433         (CLD_KILLED): Likewise.
54434         (CLD_DUMPED): Likewise.
54435         (CLD_TRAPPED): Likewise.
54436         (CLD_STOPPED): Likewise.
54437         (CLD_CONTINUED): Likewise.
54438         (POLL_IN): Likewise.
54439         (POLL_OUT): Likewise.
54440         (POLL_MSG): Likewise.
54441         (POLL_ERR): Likewise.
54442         (POLL_PRI): Likewise.
54443         (POLL_HUP): Likewise.
54444         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
54445         Likewise.
54446         (ILL_ILLOPN): Likewise.
54447         (ILL_ILLADR): Likewise.
54448         (ILL_ILLTRP): Likewise.
54449         (ILL_PRVOPC): Likewise.
54450         (ILL_PRVREG): Likewise.
54451         (ILL_COPROC): Likewise.
54452         (ILL_BADSTK): Likewise.
54453         (ILL_BADIADDR): Likewise.
54454         (ILL_BREAK): Likewise.
54455         (FPE_INTDIV): Likewise.
54456         (FPE_INTOVF): Likewise.
54457         (FPE_FLTDIV): Likewise.
54458         (FPE_FLTOVF): Likewise.
54459         (FPE_FLTUND): Likewise.
54460         (FPE_FLTRES): Likewise.
54461         (FPE_FLTINV): Likewise.
54462         (FPE_FLTSUB): Likewise.
54463         (FPE_DECOVF): Likewise.
54464         (FPE_DECDIV): Likewise.
54465         (FPE_DECERR): Likewise.
54466         (FPE_INVASC): Likewise.
54467         (FPE_INVDEC): Likewise.
54468         (SEGV_MAPERR): Likewise.
54469         (SEGV_ACCERR): Likewise.
54470         (SEGV_PSTKOVF): Likewise.
54471         (BUS_ADRALN): Likewise.
54472         (BUS_ADRERR): Likewise.
54473         (BUS_OBJERR): Likewise.
54474         (BUS_MCEERR_AR): Likewise.
54475         (BUS_MCEERR_AO): Likewise.
54476         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54477         (TRAP_TRACE): Likewise.
54478         (TRAP_BRANCH): Likewise.
54479         (TRAP_HWBKPT): Likewise.
54480         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54481         __USE_XOPEN2K8].
54482         (CLD_KILLED): Likewise.
54483         (CLD_DUMPED): Likewise.
54484         (CLD_TRAPPED): Likewise.
54485         (CLD_STOPPED): Likewise.
54486         (CLD_CONTINUED): Likewise.
54487         (POLL_IN): Likewise.
54488         (POLL_OUT): Likewise.
54489         (POLL_MSG): Likewise.
54490         (POLL_ERR): Likewise.
54491         (POLL_PRI): Likewise.
54492         (POLL_HUP): Likewise.
54493         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
54494         (ILL_ILLOPN): Likewise.
54495         (ILL_ILLADR): Likewise.
54496         (ILL_ILLTRP): Likewise.
54497         (ILL_PRVOPC): Likewise.
54498         (ILL_PRVREG): Likewise.
54499         (ILL_COPROC): Likewise.
54500         (ILL_BADSTK): Likewise.
54501         (FPE_INTDIV): Likewise.
54502         (FPE_INTOVF): Likewise.
54503         (FPE_FLTDIV): Likewise.
54504         (FPE_FLTOVF): Likewise.
54505         (FPE_FLTUND): Likewise.
54506         (FPE_FLTRES): Likewise.
54507         (FPE_FLTINV): Likewise.
54508         (FPE_FLTSUB): Likewise.
54509         (SEGV_MAPERR): Likewise.
54510         (SEGV_ACCERR): Likewise.
54511         (BUS_ADRALN): Likewise.
54512         (BUS_ADRERR): Likewise.
54513         (BUS_OBJERR): Likewise.
54514         (BUS_MCEERR_AR): Likewise.
54515         (BUS_MCEERR_AO): Likewise.
54516         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54517         (TRAP_TRACE): Likewise.
54518         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54519         __USE_XOPEN2K8].
54520         (CLD_KILLED): Likewise.
54521         (CLD_DUMPED): Likewise.
54522         (CLD_TRAPPED): Likewise.
54523         (CLD_STOPPED): Likewise.
54524         (CLD_CONTINUED): Likewise.
54525         (POLL_IN): Likewise.
54526         (POLL_OUT): Likewise.
54527         (POLL_MSG): Likewise.
54528         (POLL_ERR): Likewise.
54529         (POLL_PRI): Likewise.
54530         (POLL_HUP): Likewise.
54531         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
54532         (ILL_ILLOPN): Likewise.
54533         (ILL_ILLADR): Likewise.
54534         (ILL_ILLTRP): Likewise.
54535         (ILL_PRVOPC): Likewise.
54536         (ILL_PRVREG): Likewise.
54537         (ILL_COPROC): Likewise.
54538         (ILL_BADSTK): Likewise.
54539         (FPE_INTDIV): Likewise.
54540         (FPE_INTOVF): Likewise.
54541         (FPE_FLTDIV): Likewise.
54542         (FPE_FLTOVF): Likewise.
54543         (FPE_FLTUND): Likewise.
54544         (FPE_FLTRES): Likewise.
54545         (FPE_FLTINV): Likewise.
54546         (FPE_FLTSUB): Likewise.
54547         (SEGV_MAPERR): Likewise.
54548         (SEGV_ACCERR): Likewise.
54549         (BUS_ADRALN): Likewise.
54550         (BUS_ADRERR): Likewise.
54551         (BUS_OBJERR): Likewise.
54552         (BUS_MCEERR_AR): Likewise.
54553         (BUS_MCEERR_AO): Likewise.
54554         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54555         (TRAP_TRACE): Likewise.
54556         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54557         __USE_XOPEN2K8].
54558         (CLD_KILLED): Likewise.
54559         (CLD_DUMPED): Likewise.
54560         (CLD_TRAPPED): Likewise.
54561         (CLD_STOPPED): Likewise.
54562         (CLD_CONTINUED): Likewise.
54563         (POLL_IN): Likewise.
54564         (POLL_OUT): Likewise.
54565         (POLL_MSG): Likewise.
54566         (POLL_ERR): Likewise.
54567         (POLL_PRI): Likewise.
54568         (POLL_HUP): Likewise.
54569         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
54570         (ILL_ILLOPN): Likewise.
54571         (ILL_ILLADR): Likewise.
54572         (ILL_ILLTRP): Likewise.
54573         (ILL_PRVOPC): Likewise.
54574         (ILL_PRVREG): Likewise.
54575         (ILL_COPROC): Likewise.
54576         (ILL_BADSTK): Likewise.
54577         (FPE_INTDIV): Likewise.
54578         (FPE_INTOVF): Likewise.
54579         (FPE_FLTDIV): Likewise.
54580         (FPE_FLTOVF): Likewise.
54581         (FPE_FLTUND): Likewise.
54582         (FPE_FLTRES): Likewise.
54583         (FPE_FLTINV): Likewise.
54584         (FPE_FLTSUB): Likewise.
54585         (SEGV_MAPERR): Likewise.
54586         (SEGV_ACCERR): Likewise.
54587         (BUS_ADRALN): Likewise.
54588         (BUS_ADRERR): Likewise.
54589         (BUS_OBJERR): Likewise.
54590         (BUS_MCEERR_AR): Likewise.
54591         (BUS_MCEERR_AO): Likewise.
54592         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54593         (TRAP_TRACE): Likewise.
54594         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54595         __USE_XOPEN2K8].
54596         (CLD_KILLED): Likewise.
54597         (CLD_DUMPED): Likewise.
54598         (CLD_TRAPPED): Likewise.
54599         (CLD_STOPPED): Likewise.
54600         (CLD_CONTINUED): Likewise.
54601         (POLL_IN): Likewise.
54602         (POLL_OUT): Likewise.
54603         (POLL_MSG): Likewise.
54604         (POLL_ERR): Likewise.
54605         (POLL_PRI): Likewise.
54606         (POLL_HUP): Likewise.
54607         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
54608         (ILL_ILLOPN): Likewise.
54609         (ILL_ILLADR): Likewise.
54610         (ILL_ILLTRP): Likewise.
54611         (ILL_PRVOPC): Likewise.
54612         (ILL_PRVREG): Likewise.
54613         (ILL_COPROC): Likewise.
54614         (ILL_BADSTK): Likewise.
54615         (ILL_DBLFLT): Likewise.
54616         (ILL_HARDWALL): Likewise.
54617         (FPE_INTDIV): Likewise.
54618         (FPE_INTOVF): Likewise.
54619         (FPE_FLTDIV): Likewise.
54620         (FPE_FLTOVF): Likewise.
54621         (FPE_FLTUND): Likewise.
54622         (FPE_FLTRES): Likewise.
54623         (FPE_FLTINV): Likewise.
54624         (FPE_FLTSUB): Likewise.
54625         (SEGV_MAPERR): Likewise.
54626         (SEGV_ACCERR): Likewise.
54627         (BUS_ADRALN): Likewise.
54628         (BUS_ADRERR): Likewise.
54629         (BUS_OBJERR): Likewise.
54630         (BUS_MCEERR_AR): Likewise.
54631         (BUS_MCEERR_AO): Likewise.
54632         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54633         (TRAP_TRACE): Likewise.
54634         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54635         __USE_XOPEN2K8].
54636         (CLD_KILLED): Likewise.
54637         (CLD_DUMPED): Likewise.
54638         (CLD_TRAPPED): Likewise.
54639         (CLD_STOPPED): Likewise.
54640         (CLD_CONTINUED): Likewise.
54641         (POLL_IN): Likewise.
54642         (POLL_OUT): Likewise.
54643         (POLL_MSG): Likewise.
54644         (POLL_ERR): Likewise.
54645         (POLL_PRI): Likewise.
54646         (POLL_HUP): Likewise.
54647         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
54648         (ILL_ILLOPN): Likewise.
54649         (ILL_ILLADR): Likewise.
54650         (ILL_ILLTRP): Likewise.
54651         (ILL_PRVOPC): Likewise.
54652         (ILL_PRVREG): Likewise.
54653         (ILL_COPROC): Likewise.
54654         (ILL_BADSTK): Likewise.
54655         (FPE_INTDIV): Likewise.
54656         (FPE_INTOVF): Likewise.
54657         (FPE_FLTDIV): Likewise.
54658         (FPE_FLTOVF): Likewise.
54659         (FPE_FLTUND): Likewise.
54660         (FPE_FLTRES): Likewise.
54661         (FPE_FLTINV): Likewise.
54662         (FPE_FLTSUB): Likewise.
54663         (SEGV_MAPERR): Likewise.
54664         (SEGV_ACCERR): Likewise.
54665         (BUS_ADRALN): Likewise.
54666         (BUS_ADRERR): Likewise.
54667         (BUS_OBJERR): Likewise.
54668         (BUS_MCEERR_AR): Likewise.
54669         (BUS_MCEERR_AO): Likewise.
54670         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
54671         (TRAP_TRACE): Likewise.
54672         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
54673         __USE_XOPEN2K8].
54674         (CLD_KILLED): Likewise.
54675         (CLD_DUMPED): Likewise.
54676         (CLD_TRAPPED): Likewise.
54677         (CLD_STOPPED): Likewise.
54678         (CLD_CONTINUED): Likewise.
54679         (POLL_IN): Likewise.
54680         (POLL_OUT): Likewise.
54681         (POLL_MSG): Likewise.
54682         (POLL_ERR): Likewise.
54683         (POLL_PRI): Likewise.
54684         (POLL_HUP): Likewise.
54685         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
54686         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54688         [BZ #16670]
54689         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
54690         before #include of <time.h>.
54691         [!__USE_XOPEN2K] (__need_timespec): Likewise.
54692         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
54693         (test-xfail-UNIX98/sched.h/conform): Likewise.
54695 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54697         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
54698         error absence of trapping exception support.
54699         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
54701 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
54703         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
54704         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
54705         * timezone/Makefile (testdata): Move definition above include of
54706         Rules.
54707         (test-zones): New variable.
54708         (tests-special): Add zone files.
54709         (build-testdata): Use $(evaluate-test).
54711         * elf/Makefile (tests-special): Rename tests to end with .out.
54712         ($(objpfx)noload-mem): Likewise.
54713         ($(objpfx)tst-leaks1-mem): Likewise.
54714         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
54715         * iconv/Makefile (xtests-special): Change test-iconvconfig to
54716         $(objpfx)test-iconvconfig.out.
54717         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
54718         set -e inside subshell and redirect output to file.
54719         * iconvdata/Makefile (generated): Rename tests to end with .out.
54720         Correct type.
54721         (tests-special): Rename tests to end with .out.
54722         ($(objpfx)mtrace-tst-loading): Likewise.
54723         * intl/Makefile (generated): Likewise.
54724         (tests-special): Likewise.
54725         ($(objpfx)mtrace-tst-gettext): Likewise.
54726         * misc/Makefile (generated): Likewise.
54727         (tests-special): Likewise.
54728         ($(objpfx)tst-error1-mem): Likewise.
54729         * nptl/Makefile (tests-special): Likewise.
54730         ($(objpfx)tst-stack3-mem): Likewise.
54731         (generated): Likewise.
54732         * posix/Makefile (generated): Likewise.
54733         (tests-special): Likewise.
54734         (xtests-special): Likewise.
54735         ($(objpfx)tst-fnmatch-mem): Likewise.
54736         ($(objpfx)bug-regex2-mem): Likewise.
54737         ($(objpfx)bug-regex14-mem): Likewise.
54738         ($(objpfx)bug-regex21-mem): Likewise.
54739         ($(objpfx)bug-regex31-mem): Likewise.
54740         ($(objpfx)tst-vfork3-mem): Likewise.
54741         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
54742         ($(objpfx)tst-pcre-mem): Likewise.
54743         ($(objpfx)tst-boost-mem): Likewise.
54744         ($(objpfx)bug-ga2-mem): Likewise.
54745         ($(objpfx)bug-glob2-mem): Likewise.
54746         * resolv/Makefile (generate): Likewise.
54747         (tests-special): Likewise.
54748         (xtests-special): Likewise.
54749         (generated): Likewise.
54750         ($(objpfx)mtrace-tst-leaks): Likewise.
54751         ($(objpfx)mtrace-tst-leaks2): Likewise.
54753         * scripts/merge-test-results.sh: New file.
54754         * Makefile (tests-special-notdir): New variable.
54755         (tests): Run merge-test-results.sh.
54756         (xtests): Likewise.
54757         * Rules (tests-special-notdir): New variable.
54758         (xtests-special-notdir): Likewise.
54759         (tests): Run merge-test-results.sh
54760         (xtests): Likewise.
54762         * Makeconfig (test-xfail-name): New variable.
54763         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
54764         compute variable name for expected failures.
54765         * conform/Makefile (conformtest-headers-data): New variable.
54766         (conformtest-standards): Likewise.
54767         (conformtest-headers-ISO): Likewise.
54768         (conformtest-headers-ISO99): Likewise.
54769         (conformtest-headers-ISO11): Likewise.
54770         (conformtest-headers-POSIX): Likewise.
54771         (conformtest-headers-XPG3): Likewise.
54772         (conformtest-headers-XPG4): Likewise.
54773         (conformtest-headers-UNIX98): Likewise.
54774         (conformtest-headers-XOPEN2K): Likewise.
54775         (conformtest-headers-POSIX2008): Likewise.
54776         (conformtest-headers-XOPEN2K8): Likewise.
54777         (conformtest-header-list-base): Likewise.
54778         (conformtest-header-list-tests): Likewise.
54779         (conformtest-header-base): Likewise.
54780         (conformtest-header-tests): Likewise.
54781         (tests-special): Add $(conformtest-header-list-tests).  If
54782         [$(fast-check) && !$(cross-compiling)], add
54783         $(conformtest-header-tests) instead of
54784         $(objpfx)run-conformtest.out.
54785         (generated): Add $(conformtest-header-list-base).  If
54786         [$(fast-check) && !$(cross-compiling)], add
54787         $(conformtest-header-base).  Remove previous setting.
54788         ($(conformtest-header-list-tests)): New target.
54789         (test-xfail-run-conformtest): Remove variable.
54790         ($(objpfx)run-conformtest.out): Remove target.
54791         (test-xfail-ISO11/complex.h/conform): New variable.
54792         (test-xfail-ISO11/stdalign.h/conform): Likewise.
54793         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
54794         (test-xfail-XPG3/varargs.h/conform): Likewise.
54795         (test-xfail-XPG4/varargs.h/conform): Likewise.
54796         (test-xfail-UNIX98/varargs.h/conform): Likewise.
54797         (test-xfail-XPG4/ndbm.h/conform): Likewise.
54798         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
54799         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
54800         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
54801         (test-xfail-XPG3/fcntl.h/conform): Likewise.
54802         (test-xfail-XPG3/ftw.h/conform): Likewise.
54803         (test-xfail-XPG3/grp.h/conform): Likewise.
54804         (test-xfail-XPG3/langinfo.h/conform): Likewise.
54805         (test-xfail-XPG3/limits.h/conform): Likewise.
54806         (test-xfail-XPG3/pwd.h/conform): Likewise.
54807         (test-xfail-XPG3/search.h/conform): Likewise.
54808         (test-xfail-XPG3/signal.h/conform): Likewise.
54809         (test-xfail-XPG3/stdio.h/conform): Likewise.
54810         (test-xfail-XPG3/stdlib.h/conform): Likewise.
54811         (test-xfail-XPG3/string.h/conform): Likewise.
54812         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
54813         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
54814         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
54815         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
54816         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
54817         (test-xfail-XPG3/sys/types.h/conform): Likewise.
54818         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
54819         (test-xfail-XPG3/termios.h/conform): Likewise.
54820         (test-xfail-XPG3/time.h/conform): Likewise.
54821         (test-xfail-XPG3/unistd.h/conform): Likewise.
54822         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
54823         (test-xfail-XPG4/fcntl.h/conform): Likewise.
54824         (test-xfail-XPG4/langinfo.h/conform): Likewise.
54825         (test-xfail-XPG4/netdb.h/conform): Likewise.
54826         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
54827         (test-xfail-XPG4/signal.h/conform): Likewise.
54828         (test-xfail-XPG4/stdio.h/conform): Likewise.
54829         (test-xfail-XPG4/stdlib.h/conform): Likewise.
54830         (test-xfail-XPG4/stropts.h/conform): Likewise.
54831         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
54832         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
54833         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
54834         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
54835         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
54836         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
54837         (test-xfail-XPG4/sys/time.h/conform): Likewise.
54838         (test-xfail-XPG4/sys/types.h/conform): Likewise.
54839         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
54840         (test-xfail-XPG4/termios.h/conform): Likewise.
54841         (test-xfail-XPG4/ucontext.h/conform): Likewise.
54842         (test-xfail-XPG4/unistd.h/conform): Likewise.
54843         (test-xfail-XPG4/utmpx.h/conform): Likewise.
54844         (test-xfail-POSIX/sched.h/conform): Likewise.
54845         (test-xfail-POSIX/signal.h/conform): Likewise.
54846         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
54847         (test-xfail-POSIX/tar.h/conform): Likewise.
54848         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
54849         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
54850         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
54851         (test-xfail-UNIX98/netdb.h/conform): Likewise.
54852         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
54853         (test-xfail-UNIX98/sched.h/conform): Likewise.
54854         (test-xfail-UNIX98/signal.h/conform): Likewise.
54855         (test-xfail-UNIX98/stdio.h/conform): Likewise.
54856         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
54857         (test-xfail-UNIX98/stropts.h/conform): Likewise.
54858         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
54859         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
54860         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
54861         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
54862         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
54863         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
54864         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
54865         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
54866         (test-xfail-UNIX98/unistd.h/conform): Likewise.
54867         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
54868         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
54869         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
54870         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
54871         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
54872         (test-xfail-XOPEN2K/math.h/conform): Likewise.
54873         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
54874         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
54875         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
54876         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
54877         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
54878         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
54879         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
54880         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
54881         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
54882         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
54883         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
54884         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
54885         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
54886         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
54887         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
54888         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
54889         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
54890         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
54891         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
54892         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
54893         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
54894         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
54895         (test-xfail-POSIX2008/signal.h/conform): Likewise.
54896         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
54897         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
54898         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
54899         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
54900         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
54901         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
54902         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
54903         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
54904         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
54905         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
54906         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
54907         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
54908         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
54909         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
54910         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
54911         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
54912         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
54913         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
54914         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
54915         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
54916         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
54917         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
54918         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
54919         (conformtest-cc-flags): Likewise.
54920         ($(conformtest-header-tests): New target.
54921         * conform/check-header-lists.sh: New file.
54922         * conform/run-conformtest.sh: Remove.
54924         * conform/conformtest.pl: Allow ' and \ in values given for
54925         constants.
54926         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
54927         inclusion.
54928         [POSIX] (sys/types.h): Likewise.
54929         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
54930         inclusion.
54931         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
54932         inclusion.
54933         * conform/data/signal.h-data (SIGIO): Remove expectation.
54934         [XPG3] (SIGBUS): Do not expect.
54935         [POSIX || XPG3] (SIGPOLL): Likewise.
54936         [POSIX || XPG3] (SIGPROF): Likewise.
54937         [POSIX || XPG3] (SIGSYS): Likewise.
54938         [XPG3] (SIGTRAP): Likewise.
54939         [POSIX || XPG3] (SIGURG): Likewise.
54940         [POSIX || XPG3] (SIGVTALRM): Likewise.
54941         [POSIX || XPG3] (SIGXCPU): Likewise.
54942         [POSIX || XPG3] (SIGXFSZ): Likewise.
54943         [POSIX] (SA_SIGINFO): Expect.
54944         [XPG3] (siginfo_t): Do not expect type or contents.
54945         [POSIX] (si_pid): Do not expect element.
54946         [POSIX] (si_uid): Likewise.
54947         [POSIX] (si_addr): Likewise.
54948         [POSIX] (si_status): Likewise.
54949         [POSIX] (si_band): Likewise.
54950         [XPG4] (si_value): Likewise.
54951         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
54952         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
54953         [POSIX || XPG3] (ILL_ILLADR): Likewise.
54954         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
54955         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
54956         [POSIX || XPG3] (ILL_PRVREG): Likewise.
54957         [POSIX || XPG3] (ILL_COPROC): Likewise.
54958         [POSIX || XPG3] (ILL_BADSTK): Likewise.
54959         [POSIX || XPG3] (FPE_INTDIV): Likewise.
54960         [POSIX || XPG3] (FPE_INTOVF): Likewise.
54961         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
54962         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
54963         [POSIX || XPG3] (FPE_FLTUND): Likewise.
54964         [POSIX || XPG3] (FPE_FLTRES): Likewise.
54965         [POSIX || XPG3] (FPE_FLTINV): Likewise.
54966         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
54967         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
54968         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
54969         [POSIX || XPG3] (BUS_ADRALN): Likewise.
54970         [POSIX || XPG3] (BUS_ADRERR): Likewise.
54971         [POSIX || XPG3] (BUS_OBJERR): Likewise.
54972         [POSIX || XPG3] (CLD_EXITED): Likewise.
54973         [POSIX || XPG3] (CLD_KILLED): Likewise.
54974         [POSIX || XPG3] (CLD_DUMPED): Likewise.
54975         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
54976         [POSIX || XPG3] (CLD_STOPPED): Likewise.
54977         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
54978         [POSIX || XPG3] (POLL_IN): Likewise.
54979         [POSIX || XPG3] (POLL_OUT): Likewise.
54980         [POSIX || XPG3] (POLL_MSG): Likewise.
54981         [POSIX || XPG3] (POLL_ERR): Likewise.
54982         [POSIX || XPG3] (POLL_PRI): Likewise.
54983         [POSIX || XPG3] (POLL_HUP): Likewise.
54984         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
54985         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
54986         (SIG*): Do not allow.
54987         [XPG3] (si_*): Likewise.
54988         [XPG3] (SI_*): Likewise.
54989         [XPG3 || XPG4] (sigev_*): Likewise.
54990         [XPG3 || XPG4] (SIGEV_*): Likewise.
54991         [XPG3 || XPG4] (sival_*): Likewise.
54992         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
54993         [POSIX || XPG3] (BUS_*): Likewise.
54994         [POSIX || XPG3] (CLD_*): Likewise.
54995         [POSIX || XPG3] (FPE_*): Likewise.
54996         [POSIX || XPG3] (ILL_*): Likewise.
54997         [POSIX || XPG3] (POLL_*): Likewise.
54998         [POSIX || XPG3] (SEGV_*): Likewise.
54999         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
55000         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
55001         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
55002         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
55003         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
55004         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
55005         Specify type and value.
55006         (TVERSLEN): Likewise.
55007         (REGTYPE): Likewise.
55008         (AREGTYPE): Likewise.
55009         (LNKTYPE): Likewise.
55010         (SYMTYPE): Likewise.
55011         (CHRTYPE): Likewise.
55012         (BLKTYPE): Likewise.
55013         (DIRTYPE): Likewise.
55014         (FIFOTYPE): Likewise.
55015         (CONTTYPE): Likewise.
55016         (TSUID): Likewise.
55017         (TSGID): Likewise.
55018         (TSVTX): Likewise.
55019         (TUREAD): Likewise.
55020         (TUWRITE): Likewise.
55021         (TUEXEC): Likewise.
55022         (TGREAD): Likewise.
55023         (TGWRITE): Likewise.
55024         (TGEXEC): Likewise.
55025         (TOREAD): Likewise.
55026         (TOWRITE): Likewise.
55027         (TOEXEC): Likewise.
55028         [POSIX] (TSVTX): Expect constant.
55030 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
55032         * Makefile (tests): Change dependencies to ....
55033         (tests-special): ... additions to this variable.
55034         (tests): Depend on $(tests-special).
55035         * Makerules (check-abi-list): New variable.
55036         (check-abi): Depend on $(check-abi-list).
55037         [$(subdir) = elf] (tests-special): Add
55038         $(objpfx)check-abi-libc.out.
55039         [$(build-shared) = yes && subdir] (tests-special): Add
55040         $(check-abi-list).
55041         [$(build-shared) = yes && subdir] (tests): Do not depend on
55042         check-abi.
55043         * Rules (tests): Depend on $(tests-special).
55044         (xtests): Depend on $(xtests-special).
55045         * catgets/Makefile (tests): Change dependencies to ....
55046         (tests-special): ... additions to this variable.
55047         * conform/Makefile (tests): Change dependencies to ....
55048         (tests-special): ... additions to this variable.
55049         * elf/Makefile (tests): Change dependencies to ....
55050         (tests-special): ... additions to this variable.
55051         * grp/Makefile (tests): Change dependencies to ....
55052         (tests-special): ... additions to this variable.
55053         * iconv/Makefile (xtests): Change dependencies to ....
55054         (xtests-special): ... additions to this variable.
55055         * iconvdata/Makefile (tests): Change dependencies to ....
55056         (tests-special): ... additions to this variable.
55057         * intl/Makefile (tests): Change dependencies to ....
55058         (tests-special): ... additions to this variable.  Also add
55059         $(objpfx)tst-gettext.out.
55060         * io/Makefile (tests): Change dependencies to ....
55061         (tests-special): ... additions to this variable.
55062         * libio/Makefile (tests): Change dependencies to ....
55063         (tests-special): ... additions to this variable.
55064         * malloc/Makefile (tests): Change dependencies to ....
55065         (tests-special): ... additions to this variable.
55066         * misc/Makefile (tests): Change dependencies to ....
55067         (tests-special): ... additions to this variable.
55068         * nptl/Makefile (tests): Change dependencies to ....
55069         (tests-special): ... additions to this variable.
55070         * nptl_db/Makefile (tests): Change dependencies to ....
55071         (tests-special): ... additions to this variable.
55072         * posix/Makefile (tests): Change dependencies to ....
55073         (tests-special): ... additions to this variable.
55074         (xtests): Change dependencies to ....
55075         (xtests-special): ... additions to this variable.
55076         * resolv/Makefile (tests): Change dependencies to ....
55077         (tests-special): ... additions to this variable.
55078         (xtests): Change dependencies to ....
55079         (xtests-special): ... additions to this variable.
55080         * stdio-common/Makefile (tests): Change dependencies to ....
55081         (tests-special): ... additions to this variable.
55082         (do-tst-unbputc): Remove target.
55083         (do-tst-printf): Likewise.
55084         * stdlib/Makefile (tests): Change dependencies to ....
55085         (tests-special): ... additions to this variable.
55086         * string/Makefile (tests): Change dependencies to ....
55087         (tests-special): ... additions to this variable.
55088         * sysdeps/x86/Makefile (tests): Change dependencies to ....
55089         (tests-special): ... additions to this variable.
55091         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
55092         whole file.
55093         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
55094         whole file.
55095         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
55096         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
55098         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
55099         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
55100         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
55101         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
55102         * conform/data/libgen.h-data [XPG3]: Likewise.
55103         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
55104         * conform/data/ndbm.h-data [XPG3]: Likewise.
55105         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55106         * conform/data/netdb.h-data [XPG3]: Likewise.
55107         * conform/data/netinet/in.h-data [XPG3]: Likewise.
55108         * conform/data/poll.h-data [XPG3]: Likewise.
55109         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
55110         * conform/data/strings.h-data [XPG3]: Likewise.
55111         * conform/data/stropts.h-data [XPG3]: Likewise.
55112         * conform/data/sys/mman.h-data [XPG3]: Likewise.
55113         * conform/data/sys/resource.h-data [XPG3]: Likewise.
55114         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
55115         Likewise.
55116         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
55117         * conform/data/sys/time.h-data [XPG3]: Likewise.
55118         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
55119         * conform/data/sys/uio.h-data [XPG3]: Likewise.
55120         * conform/data/sys/un.h-data [XPG3]: Likewise.
55121         * conform/data/syslog.h-data [XPG3]: Likewise.
55122         * conform/data/ucontext.h-data [XPG3]: Likewise.
55123         * conform/data/utmpx.h-data [XPG3]: Likewise.
55124         * conform/data/varargs.h-data [UNIX98]: Enable file.
55126         * manual/Makefile (INSTALL_INFO): Remove variable setting.
55128         * math/libm-test.inc (struct test_f_f_data): Move expected results
55129         into structure for each rounding mode.
55130         (struct test_ff_f_data): Likewise.
55131         (struct test_ff_f_data_nexttoward): Likewise.
55132         (struct test_fi_f_data): Likewise.
55133         (struct test_fl_f_data): Likewise.
55134         (struct test_if_f_data): Likewise.
55135         (struct test_fff_f_data): Likewise.
55136         (struct test_c_f_data): Likewise.
55137         (struct test_f_f1_data): Likewise.
55138         (struct test_fF_f1_data): Likewise.
55139         (struct test_ffI_f1_data): Likewise.
55140         (struct test_c_c_data): Likewise.
55141         (struct test_cc_c_data): Likewise.
55142         (struct test_f_i_data): Likewise.
55143         (struct test_ff_i_data): Likewise.
55144         (struct test_f_l_data): Likewise.
55145         (struct test_f_L_data): Likewise.
55146         (struct test_fFF_11_data): Likewise.
55147         (RM_): New macro.
55148         (RM_FE_DOWNWARD): Likewise.
55149         (RM_FE_TONEAREST): Likewise.
55150         (RM_FE_TOWARDZERO): Likewise.
55151         (RM_FE_UPWARD): Likewise.
55152         (RUN_TEST_LOOP_f_f): Update references to expected results.
55153         (RUN_TEST_LOOP_2_f): Likewise.
55154         (RUN_TEST_LOOP_fff_f): Likewise.
55155         (RUN_TEST_LOOP_c_f): Likewise.
55156         (RUN_TEST_LOOP_f_f1): Likewise.
55157         (RUN_TEST_LOOP_fF_f1): Likewise.
55158         (RUN_TEST_LOOP_fI_f1): Likewise.
55159         (RUN_TEST_LOOP_ffI_f1): Likewise.
55160         (RUN_TEST_LOOP_c_c): Likewise.
55161         (RUN_TEST_LOOP_cc_c): Likewise.
55162         (RUN_TEST_LOOP_f_i): Likewise.
55163         (RUN_TEST_LOOP_f_i_tg): Likewise.
55164         (RUN_TEST_LOOP_ff_i_tg): Likewise.
55165         (RUN_TEST_LOOP_f_b): Likewise.
55166         (RUN_TEST_LOOP_f_b_tg): Likewise.
55167         (RUN_TEST_LOOP_f_l): Likewise.
55168         (RUN_TEST_LOOP_f_L): Likewise.
55169         (RUN_TEST_LOOP_fFF_11): Likewise.
55170         * math/gen-libm-test.pl (parse_args): Output four copies of
55171         expected results for each test.
55173         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
55174         (__ASSUME_UTIMES): Remove.
55175         * sysdeps/unix/sysv/linux/tile/kernel-features.h
55176         (__ASSUME_UTIMES): Likewise.
55178         * math/gen-auto-libm-tests.c: Update comment on output format.
55179         (output_for_one_input_case): Generate before-rounding and
55180         after-rounding information as conditions on output flags not
55181         floating-point format.
55182         * math/auto-libm-test-out: Regenerated.
55183         * math/gen-libm-test.pl (cond_value): New function.
55184         (or_cond_value): Use cond_value.
55185         (generate_testfile): Handle conditional exceptions.
55187 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
55189         * math/libm-test.inc (max_valid_error): New variable.
55190         (init_max_error): Take new argument specifying whether function
55191         results are exactly determined.  Set max_valid_error and bound
55192         other variables for errors based on this argument.
55193         (set_max_error): Do not record results above max_valid_error.
55194         (check_float_internal): Only accept errors of up to 0.5ulps if
55195         also at most max_valid_error.
55196         (START): Take new argument EXACT and pass it to init_max_error.
55197         (acos_test): Update call to START.
55198         (acos_test_tonearest): Likewise.
55199         (acos_test_towardzero): Likewise.
55200         (acos_test_downward): Likewise.
55201         (acos_test_upward): Likewise.
55202         (acosh_test): Likewise.
55203         (asin_test): Likewise.
55204         (asin_test_tonearest): Likewise.
55205         (asin_test_towardzero): Likewise.
55206         (asin_test_downward): Likewise.
55207         (asin_test_upward): Likewise.
55208         (asinh_test): Likewise.
55209         (atan_test): Likewise.
55210         (atanh_test): Likewise.
55211         (atan2_test): Likewise.
55212         (cabs_test): Likewise.
55213         (cacos_test): Likewise.
55214         (cacosh_test): Likewise.
55215         (carg_test): Likewise.
55216         (casin_test): Likewise.
55217         (casinh_test): Likewise.
55218         (catan_test): Likewise.
55219         (catanh_test): Likewise.
55220         (cbrt_test): Likewise.
55221         (ccos_test): Likewise.
55222         (ccosh_test): Likewise.
55223         (ceil_test): Likewise.
55224         (cexp_test): Likewise.
55225         (cimag_test): Likewise.
55226         (clog_test): Likewise.
55227         (clog10_test): Likewise.
55228         (conj_test): Likewise.
55229         (copysign_test): Likewise.
55230         (cos_test): Likewise.
55231         (cos_test_tonearest): Likewise.
55232         (cos_test_towardzero): Likewise.
55233         (cos_test_downward): Likewise.
55234         (cos_test_upward): Likewise.
55235         (cosh_test): Likewise.
55236         (cosh_test_tonearest): Likewise.
55237         (cosh_test_towardzero): Likewise.
55238         (cosh_test_downward): Likewise.
55239         (cosh_test_upward): Likewise.
55240         (cpow_test): Likewise.
55241         (cproj_test): Likewise.
55242         (creal_test): Likewise.
55243         (csin_test): Likewise.
55244         (csinh_test): Likewise.
55245         (csqrt_test): Likewise.
55246         (ctan_test): Likewise.
55247         (ctan_test_tonearest): Likewise.
55248         (ctan_test_towardzero): Likewise.
55249         (ctan_test_downward): Likewise.
55250         (ctan_test_upward): Likewise.
55251         (ctanh_test): Likewise.
55252         (ctanh_test_tonearest): Likewise.
55253         (ctanh_test_towardzero): Likewise.
55254         (ctanh_test_downward): Likewise.
55255         (ctanh_test_upward): Likewise.
55256         (erf_test): Likewise.
55257         (erfc_test): Likewise.
55258         (exp_test): Likewise.
55259         (exp_test_tonearest): Likewise.
55260         (exp_test_towardzero): Likewise.
55261         (exp_test_downward): Likewise.
55262         (exp_test_upward): Likewise.
55263         (exp10_test): Likewise.
55264         (exp10_test_tonearest): Likewise.
55265         (exp10_test_towardzero): Likewise.
55266         (exp10_test_downward): Likewise.
55267         (exp10_test_upward): Likewise.
55268         (pow10_test): Likewise.
55269         (exp2_test): Likewise.
55270         (expm1_test): Likewise.
55271         (expm1_test_tonearest): Likewise.
55272         (expm1_test_towardzero): Likewise.
55273         (expm1_test_downward): Likewise.
55274         (expm1_test_upward): Likewise.
55275         (fabs_test): Likewise.
55276         (fdim_test): Likewise.
55277         (floor_test): Likewise.
55278         (fma_test): Likewise.
55279         (fma_test_towardzero): Likewise.
55280         (fma_test_downward): Likewise.
55281         (fma_test_upward): Likewise.
55282         (fmax_test): Likewise.
55283         (fmin_test): Likewise.
55284         (fmod_test): Likewise.
55285         (fpclassify_test): Likewise.
55286         (frexp_test): Likewise.
55287         (hypot_test): Likewise.
55288         (ilogb_test): Likewise.
55289         (isfinite_test): Likewise.
55290         (finite_test): Likewise.
55291         (isgreater_test): Likewise.
55292         (isgreaterequal_test): Likewise.
55293         (isinf_test): Likewise.
55294         (isless_test): Likewise.
55295         (islessequal_test): Likewise.
55296         (islessgreater_test): Likewise.
55297         (isnan_test): Likewise.
55298         (isnormal_test): Likewise.
55299         (issignaling_test): Likewise.
55300         (isunordered_test): Likewise.
55301         (j0_test): Likewise.
55302         (j1_test): Likewise.
55303         (jn_test): Likewise.
55304         (ldexp_test): Likewise.
55305         (lgamma_test): Likewise.
55306         (gamma_test): Likewise.
55307         (lrint_test): Likewise.
55308         (lrint_test_tonearest): Likewise.
55309         (lrint_test_towardzero): Likewise.
55310         (lrint_test_downward): Likewise.
55311         (lrint_test_upward): Likewise.
55312         (llrint_test): Likewise.
55313         (llrint_test_tonearest): Likewise.
55314         (llrint_test_towardzero): Likewise.
55315         (llrint_test_downward): Likewise.
55316         (llrint_test_upward): Likewise.
55317         (log_test): Likewise.
55318         (log10_test): Likewise.
55319         (log1p_test): Likewise.
55320         (log2_test): Likewise.
55321         (logb_test): Likewise.
55322         (logb_test_downward): Likewise.
55323         (lround_test): Likewise.
55324         (llround_test): Likewise.
55325         (modf_test): Likewise.
55326         (nearbyint_test): Likewise.
55327         (nextafter_test): Likewise.
55328         (nexttoward_test): Likewise.
55329         (pow_test): Likewise.
55330         (pow_test_tonearest): Likewise.
55331         (pow_test_towardzero): Likewise.
55332         (pow_test_downward): Likewise.
55333         (pow_test_upward): Likewise.
55334         (remainder_test): Likewise.
55335         (drem_test): Likewise.
55336         (remainder_test_tonearest): Likewise.
55337         (drem_test_tonearest): Likewise.
55338         (remainder_test_towardzero): Likewise.
55339         (drem_test_towardzero): Likewise.
55340         (remainder_test_downward): Likewise.
55341         (drem_test_downward): Likewise.
55342         (remainder_test_upward): Likewise.
55343         (drem_test_upward): Likewise.
55344         (remquo_test): Likewise.
55345         (rint_test): Likewise.
55346         (rint_test_tonearest): Likewise.
55347         (rint_test_towardzero): Likewise.
55348         (rint_test_downward): Likewise.
55349         (rint_test_upward): Likewise.
55350         (round_test): Likewise.
55351         (scalb_test): Likewise.
55352         (scalbn_test): Likewise.
55353         (scalbln_test): Likewise.
55354         (signbit_test): Likewise.
55355         (sin_test): Likewise.
55356         (sin_test_tonearest): Likewise.
55357         (sin_test_towardzero): Likewise.
55358         (sin_test_downward): Likewise.
55359         (sin_test_upward): Likewise.
55360         (sincos_test): Likewise.
55361         (sinh_test): Likewise.
55362         (sinh_test_tonearest): Likewise.
55363         (sinh_test_towardzero): Likewise.
55364         (sinh_test_downward): Likewise.
55365         (sinh_test_upward): Likewise.
55366         (sqrt_test): Likewise.
55367         (sqrt_test_tonearest): Likewise.
55368         (sqrt_test_towardzero): Likewise.
55369         (sqrt_test_downward): Likewise.
55370         (sqrt_test_upward): Likewise.
55371         (tan_test): Likewise.
55372         (tan_test_tonearest): Likewise.
55373         (tan_test_towardzero): Likewise.
55374         (tan_test_downward): Likewise.
55375         (tan_test_upward): Likewise.
55376         (tanh_test): Likewise.
55377         (tgamma_test): Likewise.
55378         (trunc_test): Likewise.
55379         (y0_test): Likewise.
55380         (y1_test): Likewise.
55381         (yn_test): Likewise.
55382         (significand_test): Likewise.
55384         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
55385         individual tests in comment.
55386         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
55387         (prev_max_error): New variable.
55388         (prev_real_max_error): Likewise.
55389         (prev_imag_max_error): Likewise.
55390         (compare_ulp_data): Don't refer to test names in comment.
55391         (find_test_ulps): Remove function.
55392         (find_function_ulps): Likewise.
55393         (find_complex_function_ulps): Likewise.
55394         (init_max_error): Take function name as argument.  Look up ulps
55395         for that function.
55396         (print_ulps): Remove function.
55397         (print_max_error): Use prev_max_error instead of calling
55398         find_function_ulps.
55399         (print_complex_max_error): Use prev_real_max_error and
55400         prev_imag_max_error instead of calling find_complex_function_ulps.
55401         (check_float_internal): Take max_ulp parameter instead of calling
55402         find_test_ulps.  Don't call print_ulps.
55403         (check_float): Update call to check_float_internal.
55404         (check_complex): Update calls to check_float_internal.
55405         (START): Pass argument to init_max_error.
55406         * math/gen-libm-test.pl (%results): Don't include "kind"
55407         information.
55408         (parse_ulps): Don't handle ulps of individual tests.
55409         (print_ulps_file): Likewise.
55410         (output_ulps): Likewise.
55411         * math/README.libm-test: Update.
55412         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
55413         individual tests.
55414         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
55415         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
55416         * sysdeps/arm/libm-test-ulps: Likewise.
55417         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
55418         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
55419         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
55420         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
55421         * sysdeps/microblaze/libm-test-ulps: Likewise.
55422         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
55423         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
55424         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
55425         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
55426         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
55427         * sysdeps/sh/libm-test-ulps: Likewise.
55428         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
55429         * sysdeps/tile/libm-test-ulps: Likewise.
55430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55432 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
55434         * math/libm-test.inc (print_complex_max_error): Check separately
55435         whether real and imaginary errors are within allowed range and
55436         pass 0 to print_complex_function_ulps instead of value within
55437         allowed range.
55439 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55441         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
55442         formatting.
55443         (get_handles_fopen): Likewise.
55444         (do_write_test): Likewise.
55446         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
55448         * libio/fileops.c (do_ftell): Use cached offset when
55449         available.
55450         * libio/iofwide.c (do_ftell_wide): Likewise.
55451         * libio/iofdopen.c (_IO_new_fdopen): Don't use
55452         _IO_file_attach.
55453         * libio/wfileops.c (_IO_fwide): Don't cache offset.
55455         [BZ #16532]
55456         * libio/libioP.h (get_file_offset): New function.
55457         * libio/fileops.c (get_file_offset): Likewise.
55458         (do_ftell): Likewise.
55459         (_IO_new_file_seekoff): Split out ftell logic.
55460         * libio/wfileops.c (do_ftell_wide): Likewise.
55461         (_IO_wfile_seekoff): Split out ftell logic.
55462         * libio/tst-ftell-active-handler.c: New test case.
55463         * libio/Makefile (tests): Add it.
55465 2014-03-03  Roland McGrath  <roland@hack.frob.com>
55467         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
55468         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
55470 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
55472         [BZ #16639]
55473         * nscd/connections.c (nscd_init): Call do_exit.
55474         (start_threads): Call do_exit and notify_parent.
55475         (begin_drop_privileges): Call do_exit.
55476         (finish_drop_privileges): Likewise.
55477         * nscd/selinux.c (preserve_capabilities): Likewise.
55478         (install_real_capabilities): Likewise.
55479         (nscd_selinux_enabled): Likewise.
55480         (avc_create_thread): Likewise.
55481         (avc_alloc_lock): Likewise.
55482         (nscd_avc_init): Likewise.
55483         * nscd/nscd.c (parent_fd): New static variable.
55484         (main): Create a pipe between parent and child processes.
55485         Skip closing parent_fd.
55486         (monitor_child): New function.
55487         (do_exit): Likewise.
55488         (notify_parent): Likewise.
55489         * nscd/nscd.h (notify_parent): Likewise.
55490         (do_exit): Likewise.
55492 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
55494         * malloc/malloc.c (__libc_calloc): Revert last change.
55496 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55498         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55500 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
55502         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
55503         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
55504         implementation.
55505         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
55506         (__libc_ifunc_impl_list): Likewise.
55507         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
55508         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
55509         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
55510         * string/strrchr.c: Define STRRCHR.
55512 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
55514         * benchtest/bench-strtok.c (simple_strtok): Delete.
55515         (strtok_string): Use as benchmark.
55516         * string/strtok (STRTOK): New macro.
55518 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
55520         * manual/threads.texi: Add header and standard comments to all
55521         functions.
55523         * elf/dl-lookup.c (check_match): New function.
55524         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
55525         (do_lookup_x): Remove nested function check_match. Use non-nested
55526         function check_match.
55528 2014-02-28  Roland McGrath  <roland@hack.frob.com>
55530         * csu/Makefile (generated, before-compile): Use += rather than =.
55531         * catgets/Makefile (generated, generated-dirs): Likewise.
55532         * debug/Makefile (generated): Likewise.
55533         * dlfcn/Makefile (generated): Likewise.
55534         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
55535         * iconvdata/Makefile (before-compile, generated): Likewise.
55536         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
55537         * libio/Makefile (generated): Likewise.
55538         * malloc/Makefile (generated): Likewise.
55539         * manual/Makefile (generated, generated-dirs): Likewise.
55540         * misc/Makefile (generated): Likewise.
55541         * posix/Makefile (generated): Likewise.
55542         * resolv/Makefile (generated): Likewise.
55543         * sunrpc/Makefile (generated, generated-dirs): Likewise.
55544         * timezone/Makefile (generated, generated-dirs): Likewise.
55546         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
55548 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55550         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
55551         power8 implementation.
55552         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
55553         file: POWER8 llround ifunc implementation.
55554         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
55555         (__lllround): Add POWER8 implementation.
55556         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
55557         POWER8 llround implementation.
55559         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
55560         power8 implementation.
55561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
55562         file: POWER8 llrint ifunc implementation.
55563         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
55564         Add POWER8 implementation.
55565         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
55566         POWER8 llrint implementation.
55568         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
55569         power8 implementation.
55570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
55571         file: POWER8 finite ifunc implementation.
55572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
55573         Add POWER8 implementation.
55574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
55575         Likewise.
55576         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
55577         POWER8 finite implementation.
55578         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
55580         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
55581         power8 implementation.
55582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
55583         file: POWER8 isinf ifunc implementation.
55584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
55585         POWER8 implementation.
55586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
55587         Likewise.
55588         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
55589         isinf implementation.
55590         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
55592         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
55593         (INIT_ARCH): Add hwcap2 initialization.
55594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
55595         power8 implementation.
55596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
55597         file: POWER8 isnan ifunc implementation.
55598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
55599         POWER8 implementation.
55600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
55601         Likewise.
55602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
55603         isnan implementation.
55604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
55606 2014-02-27  Joey Ye  <joey.ye@arm.com>
55608         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
55609         (_FP_NANFRAC_Q): Set to zero.
55611 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55613         [BZ #16623]
55614         * math/auto-libm-test-in: New test inputs.
55615         * math/auto-libm-test-out: Regenerate.
55616         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
55617         and DA.
55618         (__cos): Likewise.
55619         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
55621 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
55623         * scripts/evaluate-test.sh: Take new argument indicating whether
55624         failure is expected.
55625         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
55626         indicating whether failure is expected.
55627         * conform/Makefile (test-xfail-run-conformtest): New variable.
55628         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
55629         level.
55630         * posix/Makefile (test-xfail-annexc): New variable.
55631         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
55633 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
55635         * argp/Makefile: Include Makeconfig immediately after defining
55636         subdir.
55637         * assert/Makefile: Likewise.
55638         * benchtests/Makefile: Likewise.
55639         * catgets/Makefile: Likewise.
55640         * conform/Makefile: Likewise.
55641         * crypt/Makefile: Likewise.
55642         * csu/Makefile: Likewise.
55643         (all): Remove target.
55644         * ctype/Makefile: Include Makeconfig immediately after defining
55645         subdir.
55646         * debug/Makefile: Likewise.
55647         * dirent/Makefile: Likewise.
55648         * dlfcn/Makefile: Likewise.
55649         * gmon/Makefile: Likewise.
55650         * gnulib/Makefile: Likewise.
55651         * grp/Makefile: Likewise.
55652         * gshadow/Makefile: Likewise.
55653         * hesiod/Makefile: Likewise.
55654         * hurd/Makefile: Likewise.
55655         (all): Remove target.
55656         * iconvdata/Makefile: Include Makeconfig immediately after
55657         defining subdir.
55658         * inet/Makefile: Likewise.
55659         * intl/Makefile: Likewise.
55660         * io/Makefile: Likewise.
55661         * libio/Makefile: Likewise.
55662         (all): Remove target.
55663         * locale/Makefile: Include Makeconfig immediately after defining
55664         subdir.
55665         * login/Makefile: Likewise.
55666         * mach/Makefile: Likewise.
55667         (all): Remove target.
55668         * malloc/Makefile: Include Makeconfig immediately after defining
55669         subdir.
55670         (all): Remove target.
55671         * manual/Makefile: Include Makeconfig immediately after defining
55672         subdir.
55673         * math/Makefile: Likewise.
55674         * misc/Makefile: Likewise.
55675         * nis/Makefile: Likewise.
55676         * nss/Makefile: Likewise.
55677         * po/Makefile: Likewise.
55678         (all): Remove target.
55679         * posix/Makefile: Include Makeconfig immediately after defining
55680         subdir.
55681         * pwd/Makefile: Likewise.
55682         * resolv/Makefile: Likewise.
55683         * resource/Makefile: Likewise.
55684         * rt/Makefile: Likewise.
55685         * setjmp/Makefile: Likewise.
55686         * shadow/Makefile: Likewise.
55687         * signal/Makefile: Likewise.
55688         * socket/Makefile: Likewise.
55689         * soft-fp/Makefile: Likewise.
55690         * stdio-common/Makefile: Likewise.
55691         * stdlib/Makefile: Likewise.
55692         * streams/Makefile: Likewise.
55693         * string/Makefile: Likewise.
55694         * sunrpc/Makefile: Likewise.
55695         (all): Remove target.
55696         * sysvipc/Makefile: Include Makeconfig immediately after defining
55697         subdir.
55698         * termios/Makefile: Likewise.
55699         * time/Makefile: Likewise.
55700         * timezone/Makefile: Likewise.
55701         (all): Remove target.
55702         * wcsmbs/Makefile: Include Makeconfig immediately after defining
55703         subdir.
55704         * wctype/Makefile: Likewise.
55706 2014-02-26  Steve Ellcey  <sellcey@mips.com>
55708         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
55709         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
55710         (libc_feholdexcept_setround_mips): Ditto.
55711         (libc_feholdsetround): New.
55712         (libc_feholdsetroundf): New.
55713         (libc_feholdsetroundl): New.
55714         (libc_feupdateenv_test_mips): New.
55715         (libc_feupdateenv_test): New.
55716         (libc_feupdateenv_testf): New.
55717         (libc_feupdateenv_testl): New.
55718         (libc_feresetround): New.
55719         (libc_feresetroundf): New.
55720         (libc_feresetroundl): New.
55721         (libc_fetestexcept_mips): New.
55722         (libc_fetestexcept): New.
55723         (libc_fetestexceptf): New.
55724         (libc_fetestexceptl): New.
55725         (HAVE_RM_CTX): New.
55726         (libc_feholdexcept_setround_mips_ctx): New.
55727         (libc_feholdexcept_setround_ctx): New.
55728         (libc_feholdexcept_setroundf_ctx): New.
55729         (libc_feholdexcept_setroundl_ctx): New.
55730         (libc_fesetenv_mips_ctx): New.
55731         (libc_fesetenv_ctx): New.
55732         (libc_fesetenv_ctxf): New.
55733         (libc_fesetenv_ctxl): New.
55734         (libc_feupdateenv_mips_ctx): New.
55735         (libc_feupdateenv_ctx): New.
55736         (libc_feupdateenvf_ctx): New.
55737         (libc_feupdateenvl_ctx): New.
55738         (libc_feholdsetround_mips_ctx): New.
55739         (libc_feholdsetround_ctx): New.
55740         (libc_feholdsetroundf_ctx): New.
55741         (libc_feholdsetroundl_ctx): New.
55742         (libc_feresetround_mips_ctx): New.
55743         (libc_feresetround_ctx): New.
55744         (libc_feresetroundf_ctx): New.
55745         (libc_feresetroundl_ctx): New.
55747 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
55749         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
55751         * manual/ipc.texi: New file.
55752         * manual/Makefile (chapters): Add ipc.
55753         * manual/job.texi: Add "Inter-Process Communication" to next.
55754         * manual/process.texi: Add "Inter-Process Communication" to prev.
55756 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55760 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
55762         * malloc/malloc.c (__libc_calloc): Simplify implementation.
55764         * manual/arith.texi: Fix spaces after sentences.
55765         * manual/charset.texi: Likewise.
55766         * manual/errno.texi: Likewise.
55767         * manual/install.texi: Likewise.
55768         * manual/llio.texi: Likewise.
55769         * manual/locale.texi: Likewise.
55770         * manual/maint.texi: Likewise.
55771         * manual/math.texi: Likewise.
55772         * manual/memory.texi: Likewise.
55773         * manual/message.texi: Likewise.
55774         * manual/probes.texi: Likewise.
55775         * manual/resource.texi: Likewise.
55776         * manual/signal.texi: Likewise.
55777         * manual/socket.texi: Likewise.
55778         * manual/stdio.texi: Likewise.
55779         * manual/string.texi: Likewise.
55780         * manual/time.texi: Likewise.
55781         * manual/users.texi: Likewise.
55783 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
55785         [BZ #16632]
55786         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
55787         _DEFAULT_SOURCE is defined.
55789 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
55790             Carlos O'Donell  <carlos@redhat.com>
55792         [BZ #16613]
55793         * elf/dl-tls.c (_dl_count_modids): New function.
55794         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
55795         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
55796         audit library and increment generation counter.
55797         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
55798         * elf/tst-audit9.c: New file.
55799         * elf/tst-auditmod9a.c: New file.
55800         * elf/tst-auditmod9b.c: New file.
55801         * elf/Makefile: Add rules to build and run tst-audit9.
55803 2014-02-25  Florian Weimer  <fweimer@redhat.com>
55805         [BZ #15347]
55806         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
55808 2014-02-25  Will Newton  <will.newton@linaro.org>
55810         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
55811         (__longjmp): Restore sp and lr before restoring callee
55812         saved registers.  Add longjmp and longjmp_target
55813         SystemTap probe point.
55814         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
55815         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
55816         Define to zero to match jmpbuf layout.
55817         * sysdeps/arm/setjmp.S: Include stap-probe.h.
55818         (__sigsetjmp): Save sp and lr before saving callee
55819         saved registers.  Add setjmp SystemTap probe point.
55821 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
55823         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55825 2014-02-24  Andreas Schwab  <schwab@suse.de>
55827         [BZ #15804]
55828         * elf/pldd.c (wait_for_ptrace_stop): New function.
55829         (main): Call it after attaching.
55831 2014-02-22  Roland McGrath  <roland@hack.frob.com>
55833         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
55834         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
55835         Versions files is now verboten.
55836         * hurd/Versions (libc: GLIBC_2.0):
55837         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
55838         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
55839         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
55840         * mach/Versions: Likewise.
55842         * csu/Versions: Remove unused %include.
55843         * resolv/Versions: Likewise.
55845 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
55847         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
55848         ($(objpfx)check-local-headers.out): Likewise.
55849         ($(objpfx)begin-end-check.out): Likewise.
55850         * Makerules (check-abi-%.out): Likewise.
55851         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
55852         ($(objpfx)test2.cat): Likewise.
55853         ($(objpfx)de/libc.cat): Likewise.
55854         ($(objpfx)test-gencat.out): Likewise.
55855         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
55856         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
55857         ($(objpfx)noload-mem): Likewise.
55858         ($(objpfx)tst-pathopt.out): Likewise.
55859         ($(objpfx)tst-rtld-load-self.out): Likewise.
55860         ($(objpfx)tst-array1-cmp.out): Likewise.
55861         ($(objpfx)tst-array1-static-cmp.out): Likewise.
55862         ($(objpfx)tst-array2-cmp.out): Likewise.
55863         ($(objpfx)tst-array3-cmp.out): Likewise.
55864         ($(objpfx)tst-array4-cmp.out): Likewise.
55865         ($(objpfx)tst-array5-cmp.out): Likewise.
55866         ($(objpfx)tst-array5-static-cmp.out): Likewise.
55867         ($(objpfx)check-textrel.out): Likewise.
55868         ($(objpfx)check-execstack.out): Likewise.
55869         ($(objpfx)check-localplt.out): Likewise.
55870         ($(objpfx)order2-cmp.out): Likewise.
55871         ($(objpfx)tst-leaks1-mem): Likewise.
55872         ($(objpfx)tst-leaks1-static-mem): Likewise.
55873         ($(objpfx)tst-initorder-cmp.out): Likewise.
55874         ($(objpfx)tst-initorder2-cmp.out): Likewise.
55875         ($(objpfx)tst-unused-dep.out): Likewise.
55876         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
55877         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
55878         * iconv/Makefile (test-iconvconfig): Likewise.
55879         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
55880         ($(objpfx)iconv-test.out): Likewise.
55881         ($(objpfx)tst-tables.out): Likewise.
55882         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
55883         ($(objpfx)tst-gettext.out): Likewise.
55884         ($(objpfx)tst-translit.out): Likewise.
55885         ($(objpfx)tst-gettext2.out): Likewise.
55886         ($(objpfx)tst-gettext4.out): Likewise.
55887         ($(objpfx)tst-gettext6.out): Likewise.
55888         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
55889         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
55890         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
55891         ($(objpfx)tst-fopenloc-mem.out): Likewise.
55892         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
55893         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
55894         * posix/Makefile ($(objpfx)globtest.out): Likewise.
55895         ($(objpfx)wordexp-tst.out): Likewise.
55896         ($(objpfx)annexc.out): Likewise.
55897         ($(objpfx)tst-fnmatch-mem): Likewise.
55898         ($(objpfx)bug-regex2-mem): Likewise.
55899         ($(objpfx)bug-regex14-mem): Likewise.
55900         ($(objpfx)bug-regex21-mem): Likewise.
55901         ($(objpfx)bug-regex31-mem): Likewise.
55902         ($(objpfx)tst-vfork3-mem): Likewise.
55903         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
55904         ($(objpfx)tst-pcre-mem): Likewise.
55905         ($(objpfx)tst-boost-mem): Likewise.
55906         ($(objpfx)tst-getconf.out): Likewise.
55907         ($(objpfx)bug-ga2-mem): Likewise.
55908         ($(objpfx)bug-glob2-mem): Likewise.
55909         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
55910         ($(objpfx)mtrace-tst-leaks2): Likewise.
55911         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
55912         ($(objpfx)tst-printf.out): Likewise.
55913         ($(objpfx)tst-setvbuf1.out): Likewise.
55914         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
55915         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
55916         ($(objpfx)tst-fmtmsg.out): Likewise.
55917         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
55918         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
55920         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
55921         * bits/sigaction.h [__USE_MISC]: Likewise.
55922         * bits/waitstatus.h: Update #endif comments.
55923         * ctype/ctype.h: Likewise.
55924         * dirent/dirent.h: Likewise.
55925         [__USE_MISC]: Remove redundant conditionals.
55926         * grp/grp.h: Update #endif comments.
55927         [__USE_GNU]: Remove redundant conditionals.
55928         [__USE_MISC]: Likewise.
55929         * inet/netinet/in.h [__USE_GNU]: Likewise.
55930         * io/sys/stat.h [__USE_MISC]: Likewise.
55931         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
55932         * libio/bits/stdio.h: Update #endif comments.
55933         [__USE_MISC]: Remove redundant conditionals.
55934         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
55935         * libio/stdio.h: Update #endif comments.
55936         [__USE_MISC]: Remove redundant conditionals.
55937         * math/bits/math-finite.h [__USE_MISC]: Likewise.
55938         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
55939         * math/math.h: Update #else and #endif comments.
55940         [__USE_MISC]: Remove redundant conditionals.
55941         * misc/sys/uio.h: Update #endif comments.
55942         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
55943         * posix/glob.h [__USE_MISC]: Likewise.
55944         * posix/sys/types.h: Update #endif comments.
55945         [__USE_MISC]: Remove redundant conditionals.
55946         * posix/sys/wait.h: Update #endif comments.
55947         [__USE_MISC]: Remove redundant conditionals.
55948         * posix/unistd.h: Update #endif comments.
55949         [__USE_MISC]: Remove redundant conditionals.
55950         * pwd/pwd.h [__USE_GNU]: Likewise.
55951         [__USE_MISC]: Likewise.
55952         * resolv/netdb.h [__USE_GNU]: Likewise.
55953         * signal/signal.h: Update #endif comments.
55954         [__USE_MISC]: Remove redundant conditionals.
55955         * stdlib/stdlib.h: Update #else and #endif comments.
55956         [__USE_MISC]: Remove redundant conditionals.
55957         [__USE_GNU]: Likewise.
55958         * string/bits/string2.h [__USE_MISC]: Likewise.
55959         * string/string.h: Update #endif comments.
55960         [__USE_MISC]: Remove redundant conditionals.
55961         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
55962         Likewise.
55963         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
55964         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
55965         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
55966         Likewise.
55967         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
55968         Likewise.
55969         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
55970         comments.
55971         [__USE_MISC]: Remove redundant conditionals.
55972         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
55973         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
55974         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
55975         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
55976         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
55977         Likewise.
55978         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
55979         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
55980         Likewise.
55981         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
55982         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
55983         Likewise.
55984         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
55985         Likewise.
55986         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
55987         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
55988         Likewise.
55989         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
55990         Likewise.
55991         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
55992         * sysdeps/x86/bits/string.h: Update #endif comments.
55993         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
55994         conditionals.
55995         * time/sys/time.h: Update #endif comments.
55996         * time/time.h: Likewise.
55997         [__USE_MISC]: Remove redundant conditionals.
55999 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
56001         [BZ #16600]
56002         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
56004 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
56006         * Versions.def (librt): Add GLIBC_2.17.
56008 2014-02-21  Adam Conrad  <adconrad@0c3.net>
56010         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
56011         synonym for _SYS_AUXV_H to allow direct inclusion.
56012         * sysdeps/sparc/bits/hwcap.h: Likewise.
56013         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
56014         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
56015         * sysdeps/sparc/sysdep.h: Likewise.
56017 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
56019         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
56021 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
56023         * benchtests/bench-strrchr.c: Print length instead of position.
56025 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
56027         [BZ #16611]
56028         * sysdeps/unix/sysv/linux/kernel-features.h
56029         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
56030         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
56031         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
56032         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
56033         Likewise.
56034         [__i386__ || __powerpc__ || __sh__ || __sparc__]
56035         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56036         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
56037         (__ASSUME_SENDMMSG): Define instead of using previous
56038         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
56039         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56040         (__ASSUME_SENDMMSG_SYSCALL): Define.
56041         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56042         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
56043         Likewise.
56044         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56045         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56046         Likewise.
56047         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56048         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56049         Likewise.
56050         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
56051         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56052         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56053         [__ASSUME_SENDMMSG]: Change conditionals to
56054         [__ASSUME_SENDMMSG_SOCKETCALL].
56055         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56056         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
56057         Define.
56058         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56059         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
56060         Likewise.
56061         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
56062         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
56063         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
56064         [!__ASSUME_SENDMMSG]: Change conditional to
56065         [!__ASSUME_SENDMMSG_SOCKETCALL].
56066         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56067         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
56068         Define.
56070         [BZ #16610]
56071         * sysdeps/unix/sysv/linux/kernel-features.h
56072         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
56073         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
56074         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
56075         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
56076         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
56077         [__i386__ || __sparc__]
56078         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56079         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
56080         (__ASSUME_RECVMMSG): Define instead of using previous
56081         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
56082         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56083         (__ASSUME_RECVMMSG_SYSCALL): Define.
56084         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56085         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56086         Likewise.
56087         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56088         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56089         Likewise.
56090         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56091         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56092         Likewise.
56093         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
56094         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56095         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56096         [__ASSUME_RECVMMSG]: Change condition to
56097         [__ASSUME_RECVMMSG_SOCKETCALL].
56098         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56099         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56100         Define.
56101         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
56102         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56103         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
56104         Likewise.
56105         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
56106         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
56107         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
56108         [!__ASSUME_RECVMMSG]: Change condition to
56109         [!__ASSUME_RECVMMSG_SOCKETCALL].
56110         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56111         (__ASSUME_RECVMMSG_SYSCALL): Define.
56113         [BZ #16609]
56114         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
56115         __powerpc__ || __s390__ || __sh__ || __sparc__]
56116         (__ASSUME_SOCKETCALL): Define.
56117         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
56118         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
56119         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
56120         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
56121         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
56122         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
56123         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
56124         (__ASSUME_ACCEPT4): Define instead of using previous
56125         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
56126         __powerpc__ || __sparc__ || __s390__)] condition.
56127         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
56128         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56129         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
56130         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56131         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56132         [!__ASSUME_ACCEPT4]: Change condition to
56133         [!__ASSUME_ACCEPT4_SOCKETCALL].
56134         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
56135         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
56136         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
56137         * sysdeps/unix/sysv/linux/arm/kernel-features.h
56138         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
56139         __ASSUME_ACCEPT4_SYSCALL.
56140         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
56141         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
56142         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
56143         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
56144         __ASSUME_ACCEPT4_SYSCALL.
56145         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
56146         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
56147         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
56148         [__ASSUME_ACCEPT4]: Change condition to
56149         [__ASSUME_ACCEPT4_SOCKETCALL].
56150         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
56151         (__ASSUME_SOCKETCALL): Define.
56152         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
56153         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
56154         (__ASSUME_SOCKETCALL): Define.
56155         (__ASSUME_ACCEPT4): Remove.
56156         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
56157         Define.
56158         * sysdeps/unix/sysv/linux/mips/kernel-features.h
56159         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
56160         Likewise.
56161         * sysdeps/unix/sysv/linux/tile/kernel-features.h
56162         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
56164         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
56165         macro.
56166         (HWCAP_ARM_LPAE): Likewise.
56167         (HWCAP_ARM_EVTSTRM): Likewise.
56168         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
56169         Add vpfd32, lpae and evtstrm.
56170         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
56171         Increase to 22.
56173 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
56175         * math/auto-libm-test-in: Add tests of clog10.
56176         * math/auto-libm-test-out: Regenerated.
56177         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
56178         * sysdeps/i386/fpu/libm-test-ulps: Update.
56179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56181 2014-02-18  Andreas Schwab  <schwab@suse.de>
56183         [BZ #16574]
56184         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
56185         Store non-zero if the second buffer was newly allocated.
56186         (send_dg): Likewise.
56187         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
56188         to send_vc and send_dg.
56189         (res_nsend): Pass NULL for ansp2_malloced.
56190         * resolv/res_query.c (__libc_res_nquery): Add parameter
56191         answerp2_malloced and pass it down to __libc_res_nsend.
56192         (res_nquery): Pass additional NULL to __libc_res_nquery.
56193         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
56194         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
56195         second answer buffer if answerp2_malloced was set.
56196         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
56197         (__libc_res_nquerydomain): Add parameter
56198         answerp2_malloced and pass it down to __libc_res_nquery.
56199         (res_nquerydomain): Pass additional NULL to
56200         __libc_res_nquerydomain.
56201         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
56202         additional NULL to __libc_res_nsend and __libc_res_nquery.
56203         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
56204         additional NULL to __libc_res_nsearch.
56205         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
56206         parameter of __libc_res_nsearch to check for separately allocated
56207         second buffer.
56208         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
56209         __libc_res_nquery.
56210         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
56211         additional NULL to __libc_res_nquery.
56212         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
56213         __libc_res_nsearch.
56214         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
56215         * include/resolv.h: Update prototypes of __libc_res_nquery,
56216         __libc_res_nsearch, __libc_res_nsend.
56218 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
56220         * math/auto-libm-test-in: Add tests of fma.
56221         * math/auto-libm-test-out: Regenerated.
56222         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
56223         (fma_towardzero_test_data): Likewise.
56224         (fma_downward_test_data): Likewise.
56225         (fma_upward_test_data): Likewise.
56226         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
56227         mpc_mode.
56228         (rounding_modes): Add values for new field.
56229         (func_calc_method): Add value mpfr_fff_f.
56230         (func_calc_desc): Add mpfr_fff_f union field.
56231         (test_function): Add field exact_args.
56232         (FUNC): Add macro argument EXACT_ARGS.
56233         (FUNC_mpfr_f_f): Update call to FUNC.
56234         (FUNC_mpfr_f_f): Likewise.
56235         (FUNC_mpfr_ff_f): Likewise.
56236         (FUNC_mpfr_if_f): Likewise.
56237         (FUNC_mpc_c_f): Likewise.
56238         (FUNC_mpc_c_c): Likewise.
56239         (test_functions): Add fma.  Update calls to FUNC.
56240         (handle_input_arg): Add argument exact_args.
56241         (add_test): Update call to handle_input_arg.
56242         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
56243         (output_for_one_input_case): Update call to calc_generic_results.
56244         Recalculate exact zero results in each rounding mode.
56246         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
56247         non-negative before setting low bit.
56248         * math/auto-libm-test-in: Mark one asin test possibly having
56249         spurious underflow.
56250         * math/auto-libm-test-out: Regenerated.
56251         * sysdeps/i386/fpu/libm-test-ulps: Update.
56252         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56254 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
56256         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
56257         * sysdeps/unix/sysv/linux/microblaze: Move directory from
56258         ports/sysdeps/unix/sysv/linux/microblaze.
56259         * README: Add missing listing for microblaze*-*-linux-gnu.
56261 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
56263         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
56264         duplicate code
56266 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
56268         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
56269         * sysdeps/unix/sysv/linux/ia64: Move directory from
56270         ports/sysdeps/unix/sysv/linux/ia64.
56271         * README: Update listing for ia64-*-linux-gnu.
56273 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
56274             Joseph Myers  <joseph@codesourcery.com>
56276         * Makeconfig (test-name): New variable.
56277         (evaluate-test): Likewise.
56278         * Makerules (do-test-clean): Remove .test-result files.
56279         (common-mostlyclean): Likewise.
56280         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
56281         * scripts/evaluate-test.sh: New file.
56283 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
56285         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
56286         separate $(objpfx)tst-fopenloc-cmp.out and
56287         $(objpfx)tst-fopenloc-mem.out targets.
56288         (tests): Update dependencies.
56289         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
56290         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
56291         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
56292         (tst-rxspencer-no-utf8-ARGS): New variable.
56293         (tst-rxspencer-no-utf8-ENV): Likewise.
56294         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
56295         instead of $(objpfx)tst-rxspencer-mem.
56296         ($(objpfx)tst-rxspencer-mem): Change target to
56297         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
56298         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
56299         * posix/tst-rxspencer-no-utf8.c: New file.
56301         * elf/Makefile ($(objpfx)order.out): Remove rule.
56302         [$(run-built-tests) = yes] (tests): Depend on
56303         $(objpfx)order-cmp.out.
56304         ($(objpfx)order-cmp.out): New rule.
56305         [$(run-built-tests) = yes] (tests): Depend on
56306         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
56307         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
56308         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
56309         $(objpfx)tst-array5-static-cmp.out.
56310         ($(objpfx)tst-array1.out): Remove rule.
56311         ($(objpfx)tst-array1-cmp.out): New rule.
56312         ($(objpfx)tst-array1-static.out): Remove rule.
56313         ($(objpfx)tst-array1-static-cmp.out): New rule.
56314         ($(objpfx)tst-array2.out): Remove rule.
56315         ($(objpfx)tst-array2-cmp.out): New rule.
56316         ($(objpfx)tst-array3.out): Remove rule.
56317         ($(objpfx)tst-array3-cmp.out): New rule.
56318         ($(objpfx)tst-array4.out): Remove rule.
56319         ($(objpfx)tst-array4-cmp.out): New rule.
56320         ($(objpfx)tst-array5.out): Remove rule.
56321         ($(objpfx)tst-array5-cmp.out): New rule.
56322         ($(objpfx)tst-array5-static.out): Remove rule.
56323         ($(objpfx)tst-array5-static-cmp.out): New rule.
56324         [$(run-built-tests) = yes] (tests): Depend on
56325         $(objpfx)order2-cmp.out.
56326         ($(objpfx)order2.out): Remove rule.
56327         ($(objpfx)order2-cmp.out): New rule.
56328         ($(objpfx)tst-initorder.out): Remove rule.
56329         [$(run-built-tests) = yes] (tests): Depend on
56330         $(objpfx)tst-initorder-cmp.out.
56331         ($(objpfx)tst-initorder-cmp.out): New rule.
56332         ($(objpfx)tst-initorder2.out): Remove rule.
56333         [$(run-built-tests) = yes] (tests): Depend on
56334         $(objpfx)tst-initorder2-cmp.out.
56335         ($(objpfx)tst-initorder2-cmp.out): New rule.
56336         [$(run-built-tests) = yes] (tests): Depend on
56337         $(objpfx)tst-unused-dep-cmp.out.
56338         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
56339         ($(objpfx)tst-unused-dep-cmp.out): New rule.
56340         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
56341         on $(objpfx)tst-setvbuf1-cmp.out.
56342         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
56343         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
56344         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
56345         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
56346         ($(objpfx)tst-svc.out): Remove rule.
56347         ($(objpfx)tst-svc-cmp.out): New rule.
56349 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
56351         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
56352         * ctype/ctype.h [__USE_MISC]: Likewise.
56353         * dirent/dirent.h [__USE_MISC]: Likewise.
56354         * grp/grp.h [__USE_MISC]: Likewise.
56355         * io/fcntl.h [__USE_MISC]: Likewise.
56356         * io/sys/stat.h [__USE_MISC]: Likewise.
56357         * libio/stdio.h [__USE_MISC]: Likewise.
56358         * posix/unistd.h [__USE_MISC]: Likewise.
56359         * pwd/pwd.h [__USE_MISC]: Likewise.
56360         * stdlib.h [__USE_MISC]: Likewise.
56361         * string/bits/string2.h [__USE_MISC]: Likewise.
56362         * string/string.h [__USE_MISC]: Likewise.
56363         * time/time.h [__USE_MISC]: Likewise.
56365 2014-02-13  Andreas Schwab  <schwab@suse.de>
56367         [BZ #16574]
56368         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
56369         second answer buffer if it was separately allocated.
56371 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
56373         * sysdeps/mips/math-tests.h: Include <features.h>.
56374         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56375         (ROUNDING_TESTS_long_double): Do not define.
56376         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
56377         (EXCEPTION_TESTS_long_double): Likewise.
56378         * sysdeps/mips/mips64/libm-test-ulps: Update.
56380         * include/features.h (__USE_BSD): Remove macro definitions.
56381         (__USE_SVID): Likewise.
56382         (_BSD_SOURCE): Likewise.
56383         (_SVID_SOURCE): Likewise.
56384         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
56385         from definition of _DEFAULT_SOURCE.
56386         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
56387         [_DEFAULT_SOURCE].
56388         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
56389         * bits/mman.h [__USE_BSD]: Likewise.
56390         * bits/termios.h [__USE_BSD]: Likewise.
56391         * bits/waitstatus.h [__USE_BSD]: Likewise.
56392         * ctype/ctype.h [__USE_SVID]: Likewise.
56393         * dirent/dirent.h [__USE_BSD]: Likewise.
56394         * grp/grp.h [__USE_SVID]: Likewise.
56395         [__USE_BSD]: Likewise.
56396         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
56397         * io/fcntl.h [__USE_BSD]: Likewise.
56398         * io/ftw.h [__USE_BSD]: Likewise.
56399         * io/sys/stat.h [__USE_BSD]: Likewise.
56400         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
56401         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
56402         * libio/stdio.h [__USE_SVID]: Likewise.
56403         [__USE_BSD]: Likewise.
56404         * math/math.h [__USE_SVID]: Likewise.
56405         [__USE_BSD]: Likewise.
56406         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
56407         * misc/bits/syslog.h [__USE_BSD]: Likewise.
56408         * misc/search.h [__USE_SVID]: Likewise.
56409         * misc/sys/mman.h [__USE_BSD]: Likewise.
56410         * misc/sys/syslog.h [__USE_BSD]: Likewise.
56411         * misc/sys/uio.h [__USE_BSD]: Likewise.
56412         * posix/bits/unistd.h [__USE_BSD]: Likewise.
56413         * posix/glob.h [__USE_BSD]: Likewise.
56414         * posix/regex.h [__USE_BSD]: Likewise.
56415         * posix/sys/types.h [__USE_BSD]: Likewise.
56416         [__USE_SVID]: Likewise.
56417         * posix/sys/utsname.h [__USE_SVID]: Likewise.
56418         * posix/sys/wait.h [__USE_BSD]: Likewise.
56419         [__USE_SVID]: Likewise.
56420         * posix/unistd.h [__USE_BSD]: Likewise.
56421         [__USE_SVID]: Likewise.
56422         * pwd/pwd.h [__USE_SVID]: Likewise.
56423         * resolv/netdb.h [__USE_BSD]: Likewise.
56424         * setjmp/setjmp.h [__USE_BSD]: Likewise.
56425         * signal/signal.h [__USE_BSD]: Likewise.
56426         [__USE_SVID]: Likewise.
56427         * socket/sys/socket.h [__USE_BSD]: Likewise.
56428         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
56429         * stdlib/stdlib.h [__USE_BSD]: Likewise.
56430         [__USE_SVID]: Likewise.
56431         * string/bits/string2.h [__USE_BSD]: Likewise.
56432         [__USE_SVID]: Likewise.
56433         * string/bits/string3.h [__USE_BSD]: Likewise.
56434         * string/endian.h [__USE_BSD]: Likewise.
56435         * string/string.h [__USE_SVID]: Likewise.
56436         [__USE_BSD]: Likewise.
56437         * string/strings.h [__USE_BSD]: Likewise.
56438         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
56439         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
56440         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
56441         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
56442         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
56443         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
56444         Likewise.
56445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
56446         Likewise.
56447         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
56448         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
56449         Likewise.
56450         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
56451         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
56452         Likewise.
56453         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
56454         Likewise.
56455         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
56456         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
56457         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
56458         Likewise.
56459         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
56460         Likewise.
56461         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
56462         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
56463         * termios/termios.h [__USE_BSD]: Likewise.
56464         * time/sys/time.h [__USE_BSD]: Likewise.
56465         * time/time.h [__USE_BSD]: Likewise.
56466         [__USE_SVID]: Likewise.
56468         * Makefile (subdir_targets): Remove subdir_lint.out.
56470         * stdio-common/Makefile (do-tst-unbputc): Remove target.
56471         (do-tst-printf): Likewise.
56472         (tests): Depend directly on $(objpfx)tst-unbputc.out and
56473         $(objpfx)tst-printf.out.
56475         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
56477         * Makerules (check-abi-%): Change target to
56478         $(objpfx)check-abi-%.out.
56479         (check-abi target): Update dependencies.
56480         (check-abi-pattern variable): Redirect output of diff to $@.
56481         (check-abi variable): Likewise.
56482         * elf/Makefile (check-abi): Update dependencies.
56484         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
56485         unused.
56486         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
56487         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
56488         subnormal range.
56489         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
56490         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
56491         value has largest subnormal exponent.
56492         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
56493         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
56494         * sysdeps/aarch64/soft-fp/sfp-machine.h
56495         (_FP_TININESS_AFTER_ROUNDING): New macro.
56496         * sysdeps/alpha/soft-fp/sfp-machine.h
56497         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56498         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56499         Likewise.
56500         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
56501         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56502         * sysdeps/mips/soft-fp/sfp-machine.h
56503         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56504         * sysdeps/powerpc/soft-fp/sfp-machine.h
56505         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56506         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56507         Likewise.
56508         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
56509         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56510         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
56511         (_FP_TININESS_AFTER_ROUNDING): Likewise.
56512         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
56513         Likewise.
56515 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
56517         [BZ #16545]
56518         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
56519         model 1.
56521 2014-02-12  Richard Henderson  <rth@redhat.com>
56523         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
56524         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
56525         * sysdeps/unix/sysv/linux/alpha: Move directory from
56526         ports/sysdeps/unix/sysv/linux/alpha.
56527         * README: Update listing for alpha-*-linux-gnu.
56529 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
56531         * include/features.h: Update comment documenting feature test
56532         macros.
56533         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
56534         _DEFAULT_SOURCE.
56535         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
56536         (_SVID_SOURCE): Likewise.
56537         (_DEFAULT_SOURCE): Update description of default features.
56538         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
56539         with _GNU_SOURCE.
56540         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
56541         (S_ISVTX): Likewise.
56542         * manual/math.texi (Mathematical Constants): Likewise.
56543         * manual/signal.texi (Interrupted Primitives): Likewise.
56544         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
56545         * math/test-matherr.c (_SVID_SOURCE): Do not define.
56546         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
56547         Don't refer to _SVID_SOURCE in warning text.
56549         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56551         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
56552         already defined.
56553         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
56554         * sysdeps/mips/dl-lookup.c: Remove.
56555         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
56557 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
56559         [BZ #16447]
56560         * math/auto-libm-test-in: Add testcase for expl.
56561         * math/auto-libm-test-out: Regenerate.
56562         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
56563         calculation of unsafe.
56564         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
56566 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
56568         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
56569         * sysdeps/unix/sysv/linux/aarch64: Move directory from
56570         ports/sysdeps/unix/sysv/linux/aarch64.
56571         * README: Update listing for aarch64*-*-linux-gnu.
56573 2014-02-11  Will Newton  <will.newton@linaro.org>
56575         * manual/probes.texi (Mathematical Function Probes): Use
56576         "triggered" instead of "hit".
56578         * manual/probes.texi (Internal Probes): Add documentation
56579         of setjmp, longjmp and longjmp_target probes.
56581         * include/stap-probe.h: Add comment about probe argument
56582         format.
56584         * malloc/mtrace.c (attribute_hidden): Remove unused macro
56585         definition.  (tr_where, tr_freehook, tr_mallochook,
56586         tr_reallochook, tr_memalignhook): Use ANSI protoype.
56588 2014-02-11  David S. Miller  <davem@davemloft.net>
56590         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
56591         processing int_tests.
56593 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
56595         * sysdeps/mips: Move directory from ports/sysdeps/mips.
56596         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
56597         * sysdeps/unix/sysv/linux/mips: Move directory from
56598         ports/sysdeps/unix/sysv/linux/mips.
56599         * README: Update listing for mips-*-linux-gnu and
56600         mips64-*-linux-gnu.
56602 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
56604         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
56605         * sysdeps/unix/sysv/linux/m68k: Move directory from
56606         ports/sysdeps/unix/sysv/linux/m68k.
56607         * README: Update listing for m68k-*-linux-gnu.
56609 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
56611         * sysdeps/tile: Move directory from ports/sysdeps/tile.
56612         * sysdeps/unix/sysv/linux/generic: Move directory from
56613         ports/sysdeps/unix/sysv/linux/generic.
56614         * sysdeps/unix/sysv/linux/tile: Move directory from
56615         ports/sysdeps/unix/sysv/linux/tile.
56616         * README: Update listing for tile*-*-linux-gnu.
56618 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
56620         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
56621         __builtin_expect.
56622         * benchtests/bench-memmem.c (simple_memmem): Likewise.
56623         * catgets/open_catalog.c (__open_catalog): Likewise.
56624         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
56625         * debug/confstr_chk.c: Likewise.
56626         * debug/fread_chk.c (__fread_chk): Likewise.
56627         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
56628         * debug/getgroups_chk.c: Likewise.
56629         * debug/mbsnrtowcs_chk.c: Likewise.
56630         * debug/mbsrtowcs_chk.c: Likewise.
56631         * debug/mbstowcs_chk.c: Likewise.
56632         * debug/memcpy_chk.c: Likewise.
56633         * debug/memmove_chk.c: Likewise.
56634         * debug/mempcpy_chk.c: Likewise.
56635         * debug/memset_chk.c: Likewise.
56636         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
56637         * debug/strcat_chk.c (__strcat_chk): Likewise.
56638         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
56639         * debug/strncat_chk.c (__strncat_chk): Likewise.
56640         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
56641         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
56642         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
56643         * debug/wcpncpy_chk.c: Likewise.
56644         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
56645         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
56646         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
56647         * debug/wcsncpy_chk.c: Likewise.
56648         * debug/wcsnrtombs_chk.c: Likewise.
56649         * debug/wcsrtombs_chk.c: Likewise.
56650         * debug/wcstombs_chk.c: Likewise.
56651         * debug/wmemcpy_chk.c: Likewise.
56652         * debug/wmemmove_chk.c: Likewise.
56653         * debug/wmempcpy_chk.c: Likewise.
56654         * debug/wmemset_chk.c: Likewise.
56655         * dirent/scandirat.c (SCANDIRAT): Likewise.
56656         * dlfcn/dladdr1.c (dladdr1): Likewise.
56657         * dlfcn/dladdr.c (dladdr): Likewise.
56658         * dlfcn/dlclose.c (dlclose_doit): Likewise.
56659         * dlfcn/dlerror.c (__dlerror): Likewise.
56660         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
56661         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
56662         * dlfcn/dlopen.c (dlopen_doit): Likewise.
56663         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
56664         * dlfcn/dlsym.c (dlsym_doit): Likewise.
56665         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
56666         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
56667         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
56668         Likewise.
56669         * elf/dl-conflict.c: Likewise.
56670         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
56671         * elf/dl-dst.h: Likewise.
56672         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
56673         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
56674         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
56675         * elf/dl-init.c (call_init, _dl_init): Likewise.
56676         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
56677         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
56678         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
56679         Likewise.
56680         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
56681         Likewise.
56682         * elf/dl-minimal.c (__libc_memalign): Likewise.
56683         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
56684         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
56685         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
56686         * elf/dl-sym.c (do_sym): Likewise.
56687         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
56688         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
56689         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
56690         * elf/dl-writev.h (_dl_writev): Likewise.
56691         * elf/ldconfig.c (search_dir): Likewise.
56692         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
56693         (dl_main): Likewise.
56694         * elf/setup-vdso.h (setup_vdso): Likewise.
56695         * grp/compat-initgroups.c (compat_call): Likewise.
56696         * grp/fgetgrent.c (fgetgrent): Likewise.
56697         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
56698         * grp/putgrent.c (putgrent): Likewise.
56699         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
56700         Likewise.
56701         * hurd/hurdinit.c: Likewise.
56702         * iconvdata/8bit-gap.c (struct): Likewise.
56703         * iconvdata/ansi_x3.110.c : Likewise.
56704         * iconvdata/big5.c : Likewise.
56705         * iconvdata/big5hkscs.c : Likewise.
56706         * iconvdata/cp1255.c: Likewise.
56707         * iconvdata/cp1258.c : Likewise.
56708         * iconvdata/cp932.c : Likewise.
56709         * iconvdata/euc-cn.c: Likewise.
56710         * iconvdata/euc-jisx0213.c : Likewise.
56711         * iconvdata/euc-jp.c: Likewise.
56712         * iconvdata/euc-jp-ms.c : Likewise.
56713         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
56714         * iconvdata/gb18030.c : Likewise.
56715         * iconvdata/gbbig5.c (const): Likewise.
56716         * iconvdata/gbgbk.c: Likewise.
56717         * iconvdata/gbk.c : Likewise.
56718         * iconvdata/ibm1364.c : Likewise.
56719         * iconvdata/ibm930.c : Likewise.
56720         * iconvdata/ibm932.c: Likewise.
56721         * iconvdata/ibm933.c : Likewise.
56722         * iconvdata/ibm935.c : Likewise.
56723         * iconvdata/ibm937.c : Likewise.
56724         * iconvdata/ibm939.c : Likewise.
56725         * iconvdata/ibm943.c: Likewise.
56726         * iconvdata/iso_11548-1.c: Likewise.
56727         * iconvdata/iso-2022-cn.c : Likewise.
56728         * iconvdata/iso-2022-cn-ext.c : Likewise.
56729         * iconvdata/iso-2022-jp-3.c: Likewise.
56730         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
56731         * iconvdata/iso-2022-kr.c : Likewise.
56732         * iconvdata/iso646.c (gconv_end): Likewise.
56733         * iconvdata/iso_6937-2.c : Likewise.
56734         * iconvdata/iso_6937.c : Likewise.
56735         * iconvdata/iso8859-1.c: Likewise.
56736         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
56737         * iconvdata/shift_jisx0213.c : Likewise.
56738         * iconvdata/sjis.c : Likewise.
56739         * iconvdata/t.61.c : Likewise.
56740         * iconvdata/tcvn5712-1.c : Likewise.
56741         * iconvdata/tscii.c: Likewise.
56742         * iconvdata/uhc.c : Likewise.
56743         * iconvdata/unicode.c (gconv_end): Likewise.
56744         * iconvdata/utf-16.c (gconv_end): Likewise.
56745         * iconvdata/utf-32.c (gconv_end): Likewise.
56746         * iconvdata/utf-7.c (base64): Likewise.
56747         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
56748         * iconv/gconv_close.c (__gconv_close): Likewise.
56749         * iconv/gconv_open.c (__gconv_open): Likewise.
56750         * iconv/gconv_simple.c (internal_ucs4_loop_single)
56751         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
56752         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
56753         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
56754         (ucs4le_internal_loop_single): Likewise.
56755         * iconv/iconv.c (iconv): Likewise.
56756         * iconv/iconv_close.c: Likewise.
56757         * iconv/loop.c (SINGLE): Likewise.
56758         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
56759         * include/atomic.h: Likewise.
56760         * inet/inet6_option.c (option_alloc): Likewise.
56761         * intl/bindtextdom.c (set_binding_values): Likewise.
56762         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
56763         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
56764         * intl/localealias.c (read_alias_file): Likewise.
56765         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
56766         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
56767         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
56768         * libio/fmemopen.c (fmemopen): Likewise.
56769         * libio/iofgets.c (_IO_fgets): Likewise.
56770         * libio/iofgets_u.c (fgets_unlocked): Likewise.
56771         * libio/iofgetws.c (fgetws): Likewise.
56772         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
56773         * libio/iogetdelim.c (_IO_getdelim): Likewise.
56774         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
56775         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
56776         * locale/findlocale.c (_nl_find_locale): Likewise.
56777         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
56778         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
56779         Likewise.
56780         * locale/setlocale.c (setlocale): Likewise.
56781         * login/programs/pt_chown.c (main): Likewise.
56782         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
56783         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
56784         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
56785         (mmap, mmap64, mremap, munmap): Likewise.
56786         * math/e_exp2l.c: Likewise.
56787         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
56788         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
56789         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
56790         * math/s_catan.c (__catan): Likewise.
56791         * math/s_catanf.c (__catanf): Likewise.
56792         * math/s_catanh.c (__catanh): Likewise.
56793         * math/s_catanhf.c (__catanhf): Likewise.
56794         * math/s_catanhl.c (__catanhl): Likewise.
56795         * math/s_catanl.c (__catanl): Likewise.
56796         * math/s_ccosh.c (__ccosh): Likewise.
56797         * math/s_ccoshf.c (__ccoshf): Likewise.
56798         * math/s_ccoshl.c (__ccoshl): Likewise.
56799         * math/s_cexp.c (__cexp): Likewise.
56800         * math/s_cexpf.c (__cexpf): Likewise.
56801         * math/s_cexpl.c (__cexpl): Likewise.
56802         * math/s_clog10.c (__clog10): Likewise.
56803         * math/s_clog10f.c (__clog10f): Likewise.
56804         * math/s_clog10l.c (__clog10l): Likewise.
56805         * math/s_clog.c (__clog): Likewise.
56806         * math/s_clogf.c (__clogf): Likewise.
56807         * math/s_clogl.c (__clogl): Likewise.
56808         * math/s_csin.c (__csin): Likewise.
56809         * math/s_csinf.c (__csinf): Likewise.
56810         * math/s_csinh.c (__csinh): Likewise.
56811         * math/s_csinhf.c (__csinhf): Likewise.
56812         * math/s_csinhl.c (__csinhl): Likewise.
56813         * math/s_csinl.c (__csinl): Likewise.
56814         * math/s_csqrt.c (__csqrt): Likewise.
56815         * math/s_csqrtf.c (__csqrtf): Likewise.
56816         * math/s_csqrtl.c (__csqrtl): Likewise.
56817         * math/s_ctan.c (__ctan): Likewise.
56818         * math/s_ctanf.c (__ctanf): Likewise.
56819         * math/s_ctanh.c (__ctanh): Likewise.
56820         * math/s_ctanhf.c (__ctanhf): Likewise.
56821         * math/s_ctanhl.c (__ctanhl): Likewise.
56822         * math/s_ctanl.c (__ctanl): Likewise.
56823         * math/w_pow.c: Likewise.
56824         * math/w_powf.c: Likewise.
56825         * math/w_powl.c: Likewise.
56826         * math/w_scalb.c (sysv_scalb): Likewise.
56827         * math/w_scalbf.c (sysv_scalbf): Likewise.
56828         * math/w_scalbl.c (sysv_scalbl): Likewise.
56829         * misc/error.c (error_tail): Likewise.
56830         * misc/pselect.c (__pselect): Likewise.
56831         * nis/nis_callback.c (__nis_create_callback): Likewise.
56832         * nis/nis_call.c (__nisfind_server): Likewise.
56833         * nis/nis_creategroup.c (nis_creategroup): Likewise.
56834         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
56835         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
56836         * nis/nis_getservlist.c (nis_getservlist): Likewise.
56837         * nis/nis_lookup.c (nis_lookup): Likewise.
56838         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
56839         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
56840         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
56841         * nis/nis_xdr.c (xdr_endpoint): Likewise.
56842         * nis/nss_compat/compat-grp.c (getgrent_next_file)
56843         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
56844         * nis/nss_compat/compat-initgroups.c (add_group)
56845         (internal_getgrent_r): Likewise.
56846         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
56847         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
56848         * nis/nss_compat/compat-spwd.c (getspent_next_file)
56849         (internal_getspnam_r): Likewise.
56850         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
56851         (_nss_nis_getaliasbyname_r): Likewise.
56852         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
56853         (_nss_nis_getntohost_r): Likewise.
56854         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
56855         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
56856         (_nss_nis_getgrgid_r): Likewise.
56857         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
56858         (internal_nis_gethostent_r, internal_gethostbyname2_r)
56859         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
56860         (_nss_nis_gethostbyname4_r): Likewise.
56861         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
56862         (initgroups_netid): Likewise.
56863         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
56864         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
56865         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
56866         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
56867         (_nss_nis_getprotobynumber_r): Likewise.
56868         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
56869         (_nss_nis_getsecretkey): Likewise.
56870         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
56871         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
56872         (_nss_nis_getpwuid_r): Likewise.
56873         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
56874         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
56875         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
56876         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
56877         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
56878         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
56879         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
56880         Likewise.
56881         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
56882         (_nss_nisplus_getntohost_r): Likewise.
56883         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
56884         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
56885         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
56886         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
56887         Likewise.
56888         * nis/nss_nisplus/nisplus-initgroups.c
56889         (_nss_nisplus_initgroups_dyn): Likewise.
56890         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
56891         (_nss_nisplus_getnetbyaddr_r): Likewise.
56892         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
56893         (_nss_nisplus_getprotobynumber_r): Likewise.
56894         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
56895         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
56896         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
56897         Likewise.
56898         * nis/nss_nisplus/nisplus-service.c
56899         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
56900         (_nss_nisplus_getservbyport_r): Likewise.
56901         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
56902         (_nss_nisplus_getspnam_r): Likewise.
56903         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
56904         Likewise.
56905         * nscd/aicache.c (addhstaiX): Likewise.
56906         * nscd/cache.c (cache_search, prune_cache): Likewise.
56907         * nscd/connections.c (register_traced_file, send_ro_fd)
56908         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
56909         (main_loop_epoll): Likewise.
56910         * nscd/grpcache.c (addgrbyX): Likewise.
56911         * nscd/hstcache.c (addhstbyX): Likewise.
56912         * nscd/initgrcache.c (addinitgroupsX): Likewise.
56913         * nscd/mem.c (gc, mempool_alloc): Likewise.
56914         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
56915         (addinnetgrX): Likewise.
56916         * nscd/nscd-client.h (__nscd_acquire_maplock)
56917         (__nscd_drop_map_ref): Likewise.
56918         * nscd/nscd_getai.c (__nscd_getai): Likewise.
56919         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
56920         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
56921         Likewise.
56922         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
56923         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
56924         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
56925         (__nscd_get_map_ref): Likewise.
56926         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
56927         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
56928         Likewise.
56929         * nscd/pwdcache.c (addpwbyX): Likewise.
56930         * nscd/selinux.c (preserve_capabilities): Likewise.
56931         * nscd/servicescache.c (addservbyX): Likewise.
56932         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
56933         * posix/fnmatch.c (fnmatch): Likewise.
56934         * posix/getopt.c (_getopt_internal_r): Likewise.
56935         * posix/glob.c (glob, glob_in_dir): Likewise.
56936         * posix/wordexp.c (exec_comm_child): Likewise.
56937         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
56938         (getanswer_r, gaih_getanswer_slice): Likewise.
56939         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
56940         * resolv/res_init.c: Likewise.
56941         * resolv/res_mkquery.c (res_nmkquery): Likewise.
56942         * resolv/res_query.c (__libc_res_nquery): Likewise.
56943         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
56944         Likewise.
56945         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
56946         * stdio-common/perror.c (perror): Likewise.
56947         * stdio-common/printf_fp.c (___printf_fp): Likewise.
56948         * stdio-common/tmpnam.c (tmpnam): Likewise.
56949         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
56950         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
56951         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
56952         Likewise.
56953         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
56954         * stdlib/putenv.c (putenv): Likewise.
56955         * stdlib/setenv.c (__add_to_environ): Likewise.
56956         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
56957         * stdlib/strtol_l.c (INTERNAL): Likewise.
56958         * string/memmem.c (memmem): Likewise.
56959         * string/strerror.c (strerror): Likewise.
56960         * string/strnlen.c (__strnlen): Likewise.
56961         * string/test-memmem.c (simple_memmem): Likewise.
56962         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
56963         * sunrpc/pm_getport.c (__get_socket): Likewise.
56964         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
56965         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
56966         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
56967         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
56968         Likewise.
56969         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
56970         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
56971         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
56972         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
56973         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
56974         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
56975         Likewise.
56976         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
56977         Likewise.
56978         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
56979         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
56980         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
56981         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
56982         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
56983         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
56984         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
56985         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
56986         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
56987         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
56988         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
56989         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
56990         Likewise.
56991         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
56992         Likewise.
56993         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
56994         Likewise.
56995         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
56996         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
56997         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
56998         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
56999         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
57000         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
57001         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
57002         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
57003         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
57004         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
57005         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
57006         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
57007         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
57008         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
57009         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57010         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
57011         Likewise.
57012         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
57013         Likewise.
57014         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
57015         Likewise.
57016         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
57017         Likewise.
57018         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
57019         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57020         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
57021         Likewise.
57022         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
57023         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
57024         * sysdeps/posix/opendir.c (__opendirat): Likewise.
57025         * sysdeps/posix/sleep.c: Likewise.
57026         * sysdeps/posix/tempname.c: Likewise.
57027         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
57028         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
57029         Likewise.
57030         * sysdeps/powerpc/powerpc32/dl-machine.h
57031         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
57032         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57033         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
57034         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
57035         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
57036         Likewise.
57037         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
57038         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
57039         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57040         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
57041         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
57042         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
57043         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
57044         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
57045         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
57046         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
57047         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
57048         (elf_machine_lazy_rel): Likewise.
57049         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
57050         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
57051         (elf_machine_lazy_rel): Likewise.
57052         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
57053         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
57054         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
57055         * sysdeps/unix/grantpt.c (grantpt): Likewise.
57056         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
57057         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
57058         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
57059         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
57060         Likewise.
57061         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
57062         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
57063         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
57064         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
57065         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
57066         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
57067         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
57068         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
57069         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
57070         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
57071         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
57072         Likewise.
57073         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
57074         (__posix_fallocate64_l64): Likewise.
57075         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
57076         (posix_fallocate): Likewise.
57077         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
57078         Likewise.
57079         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
57080         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
57081         (getifaddrs_internal): Likewise.
57082         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
57083         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
57084         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
57085         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
57086         * sysdeps/unix/sysv/linux/posix_fallocate64.c
57087         (__posix_fallocate64_l64): Likewise.
57088         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
57089         Likewise.
57090         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
57091         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
57092         (__get_clockfreq): Likewise.
57093         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
57094         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
57095         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
57096         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
57097         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
57098         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
57099         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
57100         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
57101         Likewise.
57102         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
57103         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
57104         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
57105         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
57106         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
57107         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
57108         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
57109         Likewise.
57110         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
57111         (posix_fallocate): Likewise.
57112         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
57113         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
57114         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
57115         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
57116         (elf_machine_rela, elf_machine_rela_relative)
57117         (elf_machine_lazy_rel): Likewise.
57118         * time/asctime.c (asctime_internal): Likewise.
57119         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
57120         * time/tzset.c (__tzset_parse_tz): Likewise.
57121         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
57122         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
57123         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
57124         * wcsmbs/wcsmbsload.h: Likewise.
57126         [BZ #15894]
57127         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
57129         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
57130         (arena_get2): Remove THREAD_STATS conditionals.
57131         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
57132         (__malloc_stats, int): Likewise.
57134 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
57136         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
57137         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
57139         * manual/setjmp.texi: Fix typos/grammar errors.
57141         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
57142         Only return early when n is <= 0.  Delete unused return statement.
57144         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
57145         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
57146         * debug/tst-longjmp_chk3.c: New file.
57148         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
57149         (test_main): Replace code with set_fortify_handler call.
57150         * debug/test-strcpy_chk.c: Likewise.
57151         * debug/tst-chk1.c: Likewise.
57152         * debug/tst-longjmp_chk.c: Likewise.
57153         * test-skeleton.c: Include fcntl.h & paths.h
57154         (set_fortify_handler): Define.
57156         * debug/tst-longjmp_chk.c: Add header comment and include
57157         ../test-skeleton.c.
57158         (do_test): Mark static.
57159         (TEST_FUNCTION): Define.
57161         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
57162         (IP_PMTUDISC_INTERFACE): Likewise.
57163         (IP_MULTICAST_IF): Likewise.
57164         (IP_MULTICAST_TTL): Likewise.
57165         (IP_MULTICAST_LOOP): Likewise.
57166         (IP_ADD_MEMBERSHIP): Likewise.
57167         (IP_DROP_MEMBERSHIP): Likewise.
57168         (IP_UNBLOCK_SOURCE): Likewise.
57169         (IP_BLOCK_SOURCE): Likewise.
57170         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
57171         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
57172         (IP_MSFILTER): Likewise.
57173         (MCAST_JOIN_GROUP): Likewise.
57174         (MCAST_BLOCK_SOURCE): Likewise.
57175         (MCAST_UNBLOCK_SOURCE): Likewise.
57176         (MCAST_LEAVE_GROUP): Likewise.
57177         (MCAST_JOIN_SOURCE_GROUP): Likewise.
57178         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
57179         (MCAST_MSFILTER): Likewise.
57180         (IP_MULTICAST_ALL): Likewise.
57181         (IP_UNICAST_IF): Likewise.
57183         * timezone/Makefile: Delete $(have-ksh) check.
57184         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
57185         * timezone/tzselect.ksh: Add +x mode bits.
57187         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
57188         (ANON_INODE_FS_MAGIC): Likewise.
57189         (BDEVFS_MAGIC): Likewise.
57190         (BINFMTFS_MAGIC): Likewise.
57191         (BTRFS_TEST_MAGIC): Likewise.
57192         (CRAMFS_MAGIC_WEND): Likewise.
57193         (DEBUGFS_MAGIC): Likewise.
57194         (ECRYPTFS_SUPER_MAGIC): Likewise.
57195         (EXT3_SUPER_MAGIC): Likewise.
57196         (EXT4_SUPER_MAGIC): Likewise.
57197         (FUTEXFS_SUPER_MAGIC): Likewise.
57198         (HOSTFS_SUPER_MAGIC): Likewise.
57199         (HUGETLBFS_MAGIC): Likewise.
57200         (MINIX3_SUPER_MAGIC): Likewise.
57201         (MTD_INODE_FS_MAGIC): Likewise.
57202         (NILFS_SUPER_MAGIC): Likewise.
57203         (OPENPROM_SUPER_MAGIC): Likewise.
57204         (PIPEFS_MAGIC): Likewise.
57205         (PSTOREFS_MAGIC): Likewise.
57206         (QNX6_SUPER_MAGIC): Likewise.
57207         (RAMFS_MAGIC): Likewise.
57208         (REISERFS_SUPER_MAGIC_STRING): Likewise.
57209         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
57210         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
57211         (SECURITYFS_MAGIC): Likewise.
57212         (SELINUX_MAGIC): Likewise.
57213         (SMACK_MAGIC): Likewise.
57214         (SOCKFS_MAGIC): Likewise.
57215         (SQUASHFS_MAGIC): Likewise.
57216         (STACK_END_MAGIC): Likewise.
57217         (TMPFS_MAGIC): Likewise.
57218         (USBDEVICE_SUPER_MAGIC): Likewise.
57219         (V9FS_MAGIC): Likewise.
57220         (XENFS_SUPER_MAGIC): Likewise.
57221         (CRAMFS_MAGIC): Fix typo in comment.
57222         (EXT2_SUPER_MAGIC): Update comment.
57223         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
57225 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
57227         * sysdeps/arm: Move directory from ports/sysdeps/arm.
57228         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
57229         * sysdeps/unix/sysv/linux/arm: Move directory from
57230         ports/sysdeps/unix/sysv/linux/arm.
57231         * README: Update listing for arm-*-linux-gnueabi.
57233         * README: Remove mention of am33.
57235 2014-02-07  Roland McGrath  <roland@hack.frob.com>
57237         * bits/sigset.h (__sigemptyset): Use a statement expression rather
57238         than the comma operator, to avoid "rhs of comma has no effect"
57239         compiler warnings.
57240         (__sigfillset, __sigandset, __sigorset): Likewise.
57241         * include/signal.h (__sigemptyset): Likewise.
57242         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
57244 2014-02-07  Allan McRae  <allan@archlinux.org>
57246         * version.h (RELEASE): Set to "development".
57247         (VERSION): Set to "2.19.90"
57248         * NEWS: Add 2.20 section.
57250 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
57252         [BZ #16529]
57253         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
57255 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57257         * manual/contrib.texi: Update entry for Carlos O'Donell,
57258         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
57260 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
57262         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
57264         * sysdeps/unix/sysv/linux/kernel-features.h
57265         [__LINUX_KERNEL_VERSION >= 0x020621]
57266         (__ASSUME_PROC_PID_TASK_COMM): Define.
57268 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57270         [BZ #16398]
57271         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
57272         conversion when destination buffer does not have enough space.
57273         * libio/tst-ftell-partial-wide.c: New test case.
57274         * libio/Makefile (tests): Add tst-ftell-partial-wide.
57276         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
57277         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
57278         Leonard and Allan McRae.
57280 2014-02-04  David S. Miller  <davem@davemloft.net>
57282         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
57283         32-bit.
57285 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
57288         New file
57289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
57290         New file
57291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
57292         New file.
57293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
57294         New file.
57295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
57296         New file.
57297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
57298         New file.
57299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
57300         New file.
57301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
57302         New file.
57303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
57304         New file.
57305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
57306         New file.
57307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
57308         New file.
57309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
57310         New file.
57311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
57312         New file.
57314 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57316         * nptl/shlib-versions: Change powerpc*le start to 2.17.
57317         * shlib-versions: Likewise.
57319 2014-02-04  Roland McGrath  <roland@hack.frob.com>
57320             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57322         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
57323         (abilist-pattern): New variable, set to %-le.abilist.
57325         * Makerules (abilist-pattern): New variable.
57326         (vpath): Use $(abilist-pattern) in place of %.abilist.
57327         (check-abi-% pattern rule): Likewise.
57328         (check-abi, update-abi): Likewise.
57330 2014-02-04  Eric Wong  <normalperson@yhbt.net>
57332         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57334 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
57336         * manual/startup.texi: Add next, previous, and top entries for
57337         the `Program Arguments' and `Environment Variables' nodes.
57339 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
57341         * manual/macros.texi: Add comments before MTASC-safety macros.
57343         * manual/users.texi: Document MTASC-safety properties.
57345         * manual/threads.texi (pthread_key_create, pthread_key_delete)
57346         (pthread_getspecific, pthread_setspecific): Format with
57347         @deftypefun, and add @safety note.
57348         * manual/signal.texi: Move comments that analyze the above
57349         functions to their home place.
57351 2014-02-03  Allan McRae  <allan@archlinux.org>
57353         * po/sl.po: Update Slovenian translation from translation project.
57355 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
57357         * manual/time.texi (timegm): Add missing blank after @c.
57358         Reported by Joseph Myers <joseph@codesourcery.com>.
57360 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
57362         * manual/check-safety.sh: New.
57363         * manual/Makefile ($(objpfx)stamp-summary): Run it.
57365         * manual/terminal.texi: Document MTASC-safety properties.
57367         * manual/filesys.texi: Document MTASC-safety properties.
57369         * manual/errno.texi: Document MTASC-safety properties.
57371         * manual/intro.texi: Document safety identifiers and
57372         conditionals.
57374         * manual/string.texi (wcstok): Fix prototype.
57375         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
57377         * manual/time.texi: Document MTASC-safety properties.
57379         * manual/string.texi: Document MTASC-safety properties.
57381         * manual/threads.texi: Document MTASC-safety properties.
57383         * manual/stdio.texi: Document MTASC-safety properties.
57385         * manual/syslog.texi: Document MTASC-safety properties.
57387         * manual/sysinfo.texi: Document MTASC-safety properties.
57389         * manual/startup.texi: Document MTASC-safety properties.
57391         * manual/socket.texi: Document MTASC-safety properties.
57393         * manual/signal.texi: Document MTASC-safety properties.
57395 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
57397         * manual/setjmp.texi: Document MTASC-safety properties.
57399         * manual/search.texi: Document MTASC-safety properties.
57401         * manual/resource.texi: Document MTASC-safety properties.
57403         * manual/process.texi: Document MTASC-safety properties.
57405         * manual/platform.texi: Document MTASC-safety properties.
57407         * manual/pipe.texi: Document MTASC-safety properties.
57409         * manual/pattern.texi: Document MTASC-safety properties.
57411         * manual/message.texi: Document MTASC-safety properties.
57413         [BZ #12751]
57414         * manual/memory.texi: Document MTASC-safety properties.
57416         * manual/math.texi: Document MTASC-safety properties.
57418         * manual/locale.texi: Document MTASC-safety properties.
57420         * manual/llio.texi: Document MTASC-safety properties.
57422         * manual/libdl.texi: New.
57424         * manual/lang.texi: Document MTASC-safety properties.
57426         * manual/job.texi: Document MTASC-safety properties.
57428         * manual/getopt.texi: Document MTASC-safety properties.
57430         * manual/ctype.texi: Document MTASC-safety properties.
57432 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
57434         [BZ #16046]
57435         * csu/libc-tls.c (static_map): Remove variable.
57436         (__libc_setup_tls): Use main executable's link map for TLS data.
57437         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
57438         casing for LM_ID_BASE and GL(dl_nns).
57439         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
57440         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
57441         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
57442         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
57443         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
57444         member.
57445         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
57446         l_phnum members.
57448 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
57450         * manual/debug.texi: Document MTASC-safety properties.
57452 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
57454         [BZ #16510]
57455         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
57456         of __x86_64__ when disabling x87 inline functions.
57458 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
57460         * manual/charset.texi: Document MTASC-safety properties.
57462         * manual/crypt.texi: Document MTASC-safety properties.
57464         * manual/conf.texi: Document MTASC-safety properties.
57466         * manual/arith.texi: Document MTASC-safety properties.
57468         * manual/argp.texi: Document MTASC-safety properties.
57470         * manual/macros.texi: Introduce macros to document multi
57471         thread, asynchronous signal and asynchronous cancellation
57472         safety properties.
57473         * manual/intro.texi: Introduce the properties themselves.
57475 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57477         * sysdeps/sh/sh4/Makefile: New file.
57479 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
57481         * math/gen-libm-test.pl ($srcdir): New variable.
57482         ($auto_input): Use it.
57484 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
57486         [BZ #16506]
57487         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
57488         access beyond array bounds when parsing netgroups file.
57490         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
57491         the old buffer before realloc.
57493 2014-01-27  Allan McRae  <allan@archlinux.org>
57495         * po/fr.po: Update French translation from translation project.
57497 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57499         * sysdeps/sh/libm-test-ulps: Regenerate.
57501 2014-01-24  David S. Miller  <davem@davemloft.net>
57503         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
57505 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57507         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
57508         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
57510 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
57512         [BZ #16474]
57513         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
57514         string pointers after reallocation.
57516 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57518         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
57519         __SH4A__ instead of __SH_FPU_ANY__.
57521 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57523         * sysdeps/sh/fpu_control.h: New file.
57524         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
57525         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
57526         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
57527         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
57528         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
57529         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
57530         * sysdeps/sh/sys/ucontext.h: Remove.
57531         * sysdeps/sh/sys: Remove directory.
57533 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57535         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
57536         s390/sys/ucontext.h.
57537         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
57538         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
57540 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
57542         [BZ #15605]
57543         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
57545 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57547         [BZ #16431]
57548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
57549         Adjust the vDSO correctly for internal calls.
57550         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
57552 2014-01-20  Allan McRae  <allan@archlinux.org>
57554         * po/ca.po: Update Catalan translation from translation project.
57556 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
57558         * sysdeps/s390/sotruss-lib.c: New file.
57560 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57562         [BZ #16430]
57563         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
57564         (__GI___gettimeofday): Alias for a different internal symbol to avoid
57565         local calls issues by not having a PLT stub required for IFUNC calls.
57566         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
57568 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
57570         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
57571         * math/test-fpucw-static.c: Likewise.
57573 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57575         [BZ #16453]
57576         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
57578 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57580         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
57581         implementation for powerpc.
57583 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
57585         [BZ #14782]
57586         * sysdeps/posix/system.c (__libc_system): Do not enable
57587         asynchronous cancellation.
57589 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57591         [BZ #16427]
57592         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
57593         handling only for numbers special also in the IEEE case.
57595 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57597         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
57599 2014-01-11  Allan McRae  <allan@archlinux.org>
57601         * po/bg.po: Update Bulgarian translation from translation project.
57603         * po/de.po: Update German translation from translation project.
57605 2014-01-10  Roland McGrath  <roland@hack.frob.com>
57607         * sysdeps/generic/gcc-compat.h: New file.
57609 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57611         * benchtests/asin-inputs: Correct slow inputs.
57612         * benchtests/acos-inputs: Likewise.
57614 2014-01-10  Allan McRae  <allan@archlinux.org>
57616         * po:sv.po: Update Swedish translation from translation project.
57618         * po/vi.po: Update Vietnamese translation from translation project.
57620         * po/eo.po: Update Esperanto translation from translation project.
57622         * po/cs.po: Update Czech translation from translation project.
57624         * po/nl.po: Update Dutch translation from translation project.
57626         * po/pl.po: Update Polish translation from translation project.
57628         * po/ru.po: Update Russian translation from translation project.
57630         * po/uk.po: Update Ukrainian translation from translation project.
57632 2014-01-08  Brooks Moses  <bmoses@google.com>
57634         * elf/dl-load.c: Fix comment typo.
57636 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
57638         * po/header.pot: Rename to...
57639         * po/pot.header: ... this.
57640         * po/Makefile: Use pot.header.
57642 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
57643             Maxim Kuvyrkov  <maxim@kugelworks.com>
57645         [BZ #16394]
57646         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
57647         SRC and DEST against LEN.
57649 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57651         [BZ #16414]
57652         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
57653         implementation.
57654         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
57656 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57660 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
57662         [BZ #16408]
57663         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
57664         for large positive arguments.
57666 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
57668         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57670         * math/auto-libm-test-in: Mark various tests with
57671         xfail-rounding:ldbl-128ibm.
57672         * math/auto-libm-test-out: Regenerated.
57674         [BZ #16407]
57675         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
57676         Increase overflow threshold.
57678 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
57680         [BZ #14286]
57681         * stdio-common/vfprintf.c: Check for integer overflow.
57683 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57685         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
57686         the first argument and return value of __tls_get_addr_internal.
57688 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57690         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
57691         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
57693 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57695         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
57696         * sysdeps/s390/rtld-global-offsets.sym: New file.
57697         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
57698         GLIBC_2.19 symbol.
57699         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
57700         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
57701         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
57702         ... this.
57703         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
57704         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
57705         ... this.
57706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57707         Regenerate.
57708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57709         Regenerate.
57710         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
57711         halfs of GPRs for high_gprs contexts.
57712         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
57713         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
57714         field.
57715         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
57716         uc_flags field.
57717         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
57718         64 bit versions:
57719         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
57720         for high GPRs (uc_high_gprs) and for future extensions
57721         (__reserved).
57722         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
57723         for future extensions (__reserved).
57724         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
57725         64 bit versions:
57726         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
57727         SC_HIGHGPRS offset definition.
57728         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
57729         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
57731         * Versions.def: Add GLIBC_2.19 for libpthread.
57732         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
57733         siglongjmp for libpthread with GLIBC_2.19 symver.
57734         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
57735         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
57736         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
57737         * sysdeps/s390/__longjmp.c: New file.
57738         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
57739         * sysdeps/s390/longjmp.c: New file.
57740         * sysdeps/s390/setjmp.S: New file.
57741         * sysdeps/s390/sigjmp.S: New file.
57742         * sysdeps/s390/v1-longjmp.c: New file.
57743         * sysdeps/s390/v1-setjmp.h: New file.
57744         * sysdeps/s390/v1-sigjmp.c: New file.
57745         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
57746         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
57747         GLIBC_2.19 version.
57748         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
57749         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
57750         versioned symbols for ____longjmp_chk.
57751         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
57752         Likewise.
57753         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
57754         Regenerate.
57755         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
57756         Regenerate.
57757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
57758         Regenerate.
57759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
57760         Regenerate.
57761         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
57762         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
57763         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
57764         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
57765         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
57766         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
57767         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
57768         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
57769         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
57770         * sysdeps/s390/rtld-__longjmp.c: New file.
57771         * sysdeps/s390/rtld-setjmp.S: New file.
57773 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
57775         [BZ #16400]
57776         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
57777         Return -__logl (x) for small positive arguments without evaluating
57778         a polynomial.
57780 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
57782         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
57783         Rename to ...
57784         (__ptrace_peeksiginfo_args): ... this.
57785         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
57786         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
57787         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
57789 2014-01-06  Allan McRae  <allan@archlinux.org>
57791         * inet/netinet/in.h: Fix typo in comment.
57793 2014-01-05  Andreas Jaeger  <aj@suse.de>
57795         * sysdeps/i386/fpu/libm-test-ulps: Update.
57797 2014-01-05  Allan McRae  <allan@archlinux.org>
57799         * po/libc.pot: Regenerated.
57801         * malloc/memusagestat.c: Fix gettext call formatting.
57803 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
57805         * nscd/nscd.c: Improve usage() output.
57807 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
57809         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
57810         * sysdeps/unix/sysv/linux/configure: Regenerated.
57811         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
57812         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
57814 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57816         [BZ #16390]
57817         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
57818         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
57820 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57822         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
57823         extra tokens at end of #undef directive.
57824         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
57825         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
57826         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
57828 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
57830         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
57832         * math/auto-libm-test-in: Mark various tests with
57833         xfail-rounding:ldbl-128ibm.
57834         * math/auto-libm-test-out: Regenerated.
57836 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
57838         [BZ #16386]
57839         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
57840         numbers with subnormal high part when calculating exponent.
57842         [BZ #16385]
57843         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
57844         fabs.
57846         [BZ #16384]
57847         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
57848         M_LN2l.
57849         (__ieee754_acoshl): Use __log1pl not __log1p.
57851 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
57853         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
57854         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
57855         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
57856         (grow_heap, heap_trim, _int_new_arena, get_free_list)
57857         (reused_arena, arena_get2): Convert to GNU style.
57858         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
57859         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
57860         (memalign_check, __malloc_set_state): Likewise.
57861         * malloc/mallocbug.c (main): Likewise.
57862         * malloc/malloc.c (__malloc_assert, malloc_init_state)
57863         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
57864         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
57865         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
57866         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
57867         (__posix_memalign, malloc_info): Likewise.
57868         * malloc/malloc.h: Likewise.
57869         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
57870         (mallochook, memalignhook, reallochook, mabort): Likewise.
57871         * malloc/mcheck.h: Likewise.
57872         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
57873         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
57874         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
57875         * malloc/morecore.c (__default_morecore): Likewise.
57876         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
57877         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
57878         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
57879         (print_and_abort): Likewise.
57880         * malloc/obstack.h: Likewise.
57881         * malloc/set-freeres.c (__libc_freeres): Likewise.
57882         * malloc/tst-mallocstate.c (main): Likewise.
57883         * malloc/tst-mtrace.c (main): Likewise.
57884         * malloc/tst-realloc.c (do_test): Likewise.
57886 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57888         [BZ #16366]
57889         * nscd/netgroupcache.c (do_notfound): New function.
57890         (addgetnetgrentX): Use it.
57892         [BZ # 16365]
57893         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
57894         NSS_STATUS_NOTFOUND.
57896 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
57898         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
57899         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57901 2014-01-01  Allan McRae  <allan@archlinux.org>
57903         * scripts/update-copyrights: Update configure input file suffix.
57905         * NEWS: Update copyright year.
57906         * catgets/gencat.c: Likewise.
57907         * csu/version.c: Likewise.
57908         * debug/catchsegv.sh: Likewise.
57909         * debug/pcprofiledump.c: Likewise.
57910         * debug/xtrace.sh: Likewise.
57911         * elf/ldconfig.c: Likewise.
57912         * elf/ldd.bash.in: Likewise.
57913         * elf/pldd.c: Likewise.
57914         * elf/sotruss.ksh: Likewise.
57915         * elf/sprof.c: Likewise.
57916         * iconv/iconv_prog.c: Likewise.
57917         * iconv/iconvconfig.c: Likewise.
57918         * locale/programs/locale.c: Likewise.
57919         * locale/programs/localedef.c: Likewise.
57920         * login/programs/pt_chown.c: Likewise.
57921         * malloc/memusage.sh: Likewise.
57922         * malloc/memusagestat.c: Likewise.
57923         * malloc/mtrace.pl: Likewise.
57924         * manual/libc.texinfo: Likewise.
57925         * nscd/nscd.c: Likewise.
57926         * nss/getent.c: Likewise.
57927         * nss/makedb.c: Likewise.
57928         * posix/getconf.c: Likewise.
57929         * scripts/test-installation.pl: Likewise.
57931         * All files with FSF copyright notices: Update copyright dates
57932         using scripts/update-copyrights.
57933         * intl/plural.c: Regenerated.
57934         * locale/programs/charmap-kw.h: Likewise.
57935         * locale/programs/locfile-kw.h: Likewise.
57937 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
57939         * sysdeps/unix/sysv/linux/configure: Regenerated.
57940         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
57941         the linux/fanotify.h header.
57942         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
57943         HAVE_LINUX_FANOTIFY_H is defined.
57945 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
57947         * benchtests/cos-inputs: New inputs.
57948         * benchtests/sin-inputs: Likewise.
57950         * benchtests/atan-inputs: New inputs. Fix name of multiple
57951         precision fallback inputs.
57953         * benchtests/atanh-inputs: New inputs.
57954         * benchtests/tanh-inputs: Likewise.
57956         * benchtests/acosh-inputs: New inputs.
57957         * benchtests/asinh-inputs: Likewise.
57959         * benchtests/cosh-inputs: New inputs.
57960         * benchtests/sinh-inputs: Likewise.
57962         * benchtests/acos-inputs: Add more inputs.
57963         * benchtests/asin-inputs: Likewise.
57965 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
57967         [BZ #16375]
57968         * manual/arith.texi: Fix spelling.
57969         * manual/charset.texi: Likewise.
57970         * manual/errno.texi: Likewise.
57971         * manual/filesys.texi: Likewise.
57972         * manual/lang.texi: Likewise.
57973         * manual/llio.texi: Likewise.
57974         * manual/locale.texi: Likewise.
57975         * manual/message.texi: Likewise.
57976         * manual/resource.texi: Likewise.
57977         * manual/search.texi: Likewise.
57978         * manual/setjmp.texi: Likewise.
57979         * manual/stdio.texi: Likewise.
57980         * manual/string.texi: Likewise.
57981         * manual/sysinfo.texi: Likewise.
57982         * manual/time.texi: Likewise.
57984 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
57986         * po/sl.po: New file.
57988 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
57990         * .gitignore: Add core/.gdbinit/.gdb_history.
57992 2013-12-27  Allan McRae  <allan@archlinux.org>
57994         [BZ #16369]
57995         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
57996         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
57998 2013-12-24  Brooks Moses  <bmoses@google.com>
58000         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
58001         all compilers that claim C++98 compliance, not just GCC.
58002         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
58003         Likewise.
58005 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58007         * NEWS: Restore accidentally deleted bug-fix entries.
58009 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
58010             Ondřej Bílka  <neleai@seznam.cz>
58012         [BZ #15073]
58013         * malloc/malloc.c (_int_free): Perform sanity check only if we
58014         have_lock.
58016 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
58018         [BZ #12986]
58019         * manual/stdio.texi (String Input Conversions): Clarify that character
58020         classes are not supported.
58022 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58024         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58026 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
58028         [BZ #16337]
58029         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
58030         Calculate results for small negative arguments directly rather
58031         than using reflection formula with special underflow handling.
58033         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
58034         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
58035         sysdeps/unix/bsd/bsd4.4/syscalls.list.
58036         (fchflags): Likewise.
58037         (revoke): Likewise.
58038         (setlogin): Likewise.
58039         (sigaltstack): Likewise.
58040         (wait4): Likewise.
58041         (sigblock): Remove.
58042         (sigsetmask): Likewise.
58043         (wait3): Likewise.
58044         (waitpid): Likewise.
58045         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
58046         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
58047         file.
58048         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
58049         * sysdeps/unix/bsd/Makefile: ... here.
58050         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
58051         * sysdeps/unix/bsd/Versions: ... here.
58052         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
58053         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
58054         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
58055         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
58056         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
58057         * sysdeps/unix/bsd/sigblock.c: ... here.
58058         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
58059         * sysdeps/unix/bsd/sigsetmask.c: ... here.
58060         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
58061         * sysdeps/unix/bsd/sigvec.c: ... here.
58062         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
58063         * sysdeps/unix/bsd/tcdrain.c: ... here.
58064         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
58065         * sysdeps/unix/bsd/tcgetattr.c: ... here.
58066         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
58067         * sysdeps/unix/bsd/tcsetattr.c: ... here.
58068         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
58069         * sysdeps/unix/bsd/wait.c: ... here.
58070         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
58071         * sysdeps/unix/bsd/wait3.c: ... here.
58072         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
58073         * sysdeps/unix/bsd/waitpid.c: ... here.
58075 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
58077         [BZ #16356]
58078         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
58079         round-to-nearest for [!USE_AS_EXPM1L].
58080         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
58081         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
58082         more tests of exp and exp10.  Expect some exp10 tests to miss
58083         exceptions or fail in directed rounding modes.
58084         * math/auto-libm-test-out: Regenerated.
58085         * math/libm-test.inc (exp10_tonearest_test_data): New array.
58086         (exp10_test_tonearest): New function.
58087         (exp10_towardzero_test_data): New array.
58088         (exp10_test_towardzero): New function.
58089         (exp10_downward_test_data): New array.
58090         (exp10_test_downward): New function.
58091         (exp10_upward_test_data): New array.
58092         (exp10_test_upward): New function.
58093         (main): Call the new functions.
58094         * sysdeps/i386/fpu/libm-test-ulps: Update.
58095         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58097 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
58099         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
58100         asinh, atan, atan2, atanh, cbrt, cos and cosh.
58101         * math/auto-libm-test-out: Regenerated.
58102         * math/libm-test.inc (acosh_test_data): Add more tests.
58103         (atanh_test_data): Likewise.
58104         (ceil_test_data): Likewise.
58105         (copysign_test_data): Likewise.
58106         * sysdeps/i386/fpu/libm-test-ulps: Update.
58107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58109         * timezone/checktab.awk: Update from tzcode 2013i.
58110         * timezone/private.h: Likewise.
58111         * timezone/scheck.c: Likewise.
58112         * timezone/tzfile.h: Likewise.
58113         * timezone/tzselect.ksh: Likewise.
58114         * timezone/zdump.c: Likewise.
58115         * timezone/zic.c: Likewise.
58117         * math/auto-libm-test-in: Add tests of cpow.
58118         * math/auto-libm-test-out: Regenerated.
58119         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
58120         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58121         mpc_cc_c.
58122         (func_calc_desc): Add mpc_cc_c union field.
58123         (test_functions): Add cpow.
58124         (special_fill_2pi): New function.
58125         (special_real_inputs): Add 2pi.
58126         (calc_generic_results): Handle mpc_cc_c.
58127         * sysdeps/i386/fpu/libm-test-ulps: Update.
58128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58130         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
58131         csqrt, ctan and ctanh.
58132         * math/auto-libm-test-out: Regenerated.
58133         * math/libm-test.inc (TEST_COND_x86_64): New macro.
58134         (TEST_COND_x86): Likewise.
58135         (ccos_test_data): Use AUTO_TESTS_c_c.
58136         (ccosh_test_data): Likewise.
58137         (cexp_test_data): Likewise.
58138         (clog_test_data): Likewise.
58139         (csqrt_test_data): Likewise.
58140         (ctan_test_data): Likewise.
58141         (ctan_tonearest_test_data): Likewise.
58142         (ctan_towardzero_test_data): Likewise.
58143         (ctan_downward_test_data): Likewise.
58144         (ctan_upward_test_data): Likewise.
58145         (ctanh_test_data): Likewise.
58146         (ctanh_tonearest_test_data): Likewise.
58147         (ctanh_towardzero_test_data): Likewise.
58148         (ctanh_downward_test_data): Likewise.
58149         (ctanh_upward_test_data): Likewise.
58150         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58151         mpc_c_c.
58152         (func_calc_desc): Add mpc_c_c union field.
58153         (FUNC_mpc_c_c): New macro.
58154         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
58155         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
58156         ctanh.
58157         (special_fill_min_subnorm_p120): New function.
58158         (special_real_inputs): Add min_subnorm_p120.
58159         (calc_generic_results): Handle mpc_c_c.
58160         * sysdeps/i386/fpu/libm-test-ulps: Update.
58161         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58163 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58165         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
58166         (do_sin_slow): New functions.
58167         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
58168         (cslow2, csloww1, csloww2): Use the new functions.
58170         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
58171         Use M to change sign of result instead of X.  Assume X is
58172         positive.
58173         (csloww1): Likewise.
58174         (__sin): Adjust.
58175         (__cos): Adjust.
58177         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
58178         arguments A and DA.
58179         (__sin): Adjust.
58180         (__cos): Likewise.
58182         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
58183         (__cos): Likewise.
58184         (sloww1): Don't adjust sign of DX.
58185         (csloww1): Likewise.
58186         (sloww2): Use X directly and don't adjust sign of DX.
58187         (csloww2): Likewise.
58189 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58191         * math/auto-libm-test-in: Add tests of cabs and carg.
58192         * math/auto-libm-test-out: Regenerated.
58193         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
58194         (carg_test_data): Likewise.
58195         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58196         mpc_c_f.
58197         (func_calc_desc): Add mpc_c_f union field.
58198         (test_functions): Add cabs and carg.
58199         (calc_generic_results): Handle mpc_c_f.
58201         * sysdeps/powerpc/powerpc32/libgcc-compat.S
58202         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
58203         as a macro and a compat symbol.
58204         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
58205         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
58206         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
58207         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
58208         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
58209         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
58210         not use .hidden.
58211         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
58212         Likewise.
58213         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
58214         Likewise.
58215         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
58216         Likewise.
58217         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
58218         Likewise.
58219         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
58220         Likewise.
58221         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
58222         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
58223         from GLIBC_2.3.2.
58225 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58227         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58229 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58231         * manual/texinfo.tex: Update to version 2013-11-26.10 with
58232         trailing whitespace removed.
58233         * scripts/config.guess: Update to version 2013-11-29.
58234         * scripts/config.sub: Update to version 2013-10-01.
58236         * math/auto-libm-test-in: Add tests of sincos.
58237         * math/auto-libm-test-out: Regenerated.
58238         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
58239         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58240         mpfr_f_11.
58241         (func_calc_desc): Add mpfr_f_11 union field.
58242         (test_functions): Add sincos.
58243         (calc_generic_results): Handle mpfr_f_11.
58244         * sysdeps/i386/fpu/libm-test-ulps: Update.
58245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58247 2013-12-19  Andreas Schwab  <schwab@suse.de>
58249         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
58250         CALL_MCOUNT.
58251         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
58252         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
58253         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
58255 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
58257         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
58258         * sysdeps/i386/fpu/libm-test-ulps: Update.
58259         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58261         [BZ #16293]
58262         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
58263         round-to-nearest mode when using frndint.
58264         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
58265         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
58266         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
58267         Likewise.
58268         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
58269         sinh test to fail.
58270         * math/auto-libm-test-out: Regenerated.
58271         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
58272         (TEST_COND_x86): Likewise.
58273         (expm1_tonearest_test_data): New array.
58274         (expm1_test_tonearest): New function.
58275         (expm1_towardzero_test_data): New array.
58276         (expm1_test_towardzero): New function.
58277         (expm1_downward_test_data): New array.
58278         (expm1_test_downward): New function.
58279         (expm1_upward_test_data): New array.
58280         (expm1_test_upward): New function.
58281         (main): Run the new test functions.
58282         * sysdeps/i386/fpu/libm-test-ulps: Update.
58283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58285         * include/features.h: Update comment documenting feature test
58286         macros.  Mention _DEFAULT_SOURCE in comment.
58287         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
58288         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
58289         _BSD_SOURCE and _SVID_SOURCE.
58290         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
58291         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
58292         !_SVID_SOURCE]: Likewise.
58293         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58294         (__USE_POSIX_IMPLICITLY): Define.
58295         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58296         (_POSIX_SOURCE): Undefine and redefine.
58297         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
58298         (_POSIX_C_SOURCE): Likewise.
58299         * manual/creature.texi (_DEFAULT_SOURCE): Document.
58300         (Feature Test Macros): Update documentation of default features.
58302 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58304         * benchtests/Makefile: Add bench-strtok.
58305         * benchtests/bench-strtok.c: New file: strtok benchtest.
58307 2013-12-19  Allan McRae  <allan@archlinux.org>
58309         * manual/install.texi: Suppress menu for plain text output.
58310         * INSTALL: Regenerated.
58312 2013-12-18  Brooks Moses  <bmoses@google.com>
58314         [BZ #15846]
58315         * misc/getauxval.c: Include errno.h.
58316         (__getauxval): Set errno to ENOENT if the requested type is not
58317         found.
58318         * misc/sys/auxv.h (getauxval): Document that it may set errno;
58319         don't declare with __attribute_const__.
58320         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
58321         * manual/startup.texi: Document that getauxval sets errno.
58323 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58325         * math/auto-libm-test-in: Add tests of jn and yn.
58326         * math/auto-libm-test-out: Regenerated.
58327         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
58328         (yn_test_data): Likewise.
58329         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58330         mpfr_if_f.
58331         (func_calc_desc): Add mpfr_if_f union field.
58332         (FUNC_mpfr_if_f): New macro.
58333         (test_functions): Add jn and yn.
58334         (calc_generic_results): Assert type of second input for
58335         mpfr_ff_f.  Handle mpfr_if_f.
58336         (output_for_one_input_case): Disable all checking for arguments
58337         fitting floating-point types in case of an integer argument.
58338         * sysdeps/i386/fpu/libm-test-ulps: Update.
58339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58342         Don't expect fegetround reference in libm.so.
58344 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58346         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
58347         $(config-cflags-nofma).
58349 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
58351         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
58352         * math/auto-libm-test-out: Regenerated.
58354         [BZ #16338]
58355         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
58356         to determine exponent and adjust argument to have exponent of -1.
58357         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
58358         log2.
58359         * math/auto-libm-test-out: Regenerated.
58360         * sysdeps/i386/fpu/libm-test-ulps: Update.
58361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58363 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
58365         * manual/probes.texi: Remove cases when per-thread arenas are
58366         disabled.
58368 2013-12-18  Andreas Schwab  <schwab@suse.de>
58370         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
58371         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
58372         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
58373         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
58374         * sysdeps/i386/i686/multiarch/Makefile: Update.
58375         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
58377 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58379         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
58380         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
58382 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
58384         [BZ #15968]
58385         Support TZ transition times < 00:00:00.
58386         This is needed for version-3 tz-format files; it supports time
58387         stamps past 2037 for America/Godthab (the only entry in the tz
58388         database for which this change is relevant).
58389         * manual/time.texi (TZ Variable): Document transition times
58390         from -167:59:59 through -00:00:01.
58391         * time/tzset.c (tz_rule): Time of day is now signed.
58392         (__tzset_parse_tz): Parse negative time of day.
58394         Document TZ transition times >= 25:00:00.
58395         * manual/time.texi (TZ Variable): Document transition times from
58396         25:00:00 through 167:59:59.  These are already supported, and this
58397         support will help with version-3 tz-format files.
58399         * manual/time.texi (TZ Variable): Modernize North America example
58400         to reflect current (i.e., 2007-and-later) daylight saving rules.
58402         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
58404 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58406         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
58407         * sysdeps/unix/bsd/bits/stat.h: Likewise.
58408         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
58409         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
58410         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
58411         * sysdeps/unix/bsd/bsdstat.h: Likewise.
58412         * sysdeps/unix/bsd/clock.c: Likewise.
58413         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
58414         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
58415         * sysdeps/unix/bsd/init-posix.c: Likewise.
58416         * sysdeps/unix/bsd/poll.c: Likewise.
58417         * sysdeps/unix/bsd/ptsname.c: Likewise.
58418         * sysdeps/unix/bsd/seekdir.c: Likewise.
58419         * sysdeps/unix/bsd/setegid.c: Likewise.
58420         * sysdeps/unix/bsd/seteuid.c: Likewise.
58421         * sysdeps/unix/bsd/setgid.c: Likewise.
58422         * sysdeps/unix/bsd/setrgid.c: Likewise.
58423         * sysdeps/unix/bsd/setruid.c: Likewise.
58424         * sysdeps/unix/bsd/setsid.c: Likewise.
58425         * sysdeps/unix/bsd/setuid.c: Likewise.
58426         * sysdeps/unix/bsd/sigaction.c: Likewise.
58427         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
58428         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
58429         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
58430         * sysdeps/unix/bsd/telldir.c: Likewise.
58431         * sysdeps/unix/bsd/times.c: Likewise.
58432         * sysdeps/unix/bsd/usleep.c: Likewise.
58434         * misc/Makefile (install-lib): Remove libbsd-compat.a.
58435         ($(objpfx)libbsd-compat.a): Remove rule.
58437         * include/features.h (__FAVOR_BSD): Do not define.
58438         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
58439         features conflicting with POSIX.
58440         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
58441         (_BSD_SOURCE): Remove description of not being a subset of other
58442         feature test macros.
58443         * manual/job.texi (getpgrp): Do not document BSD version.
58444         (getpgid): Do not document by reference to BSD getpgrp.
58445         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
58446         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
58447         * signal/signal.h [__FAVOR_BSD]: Likewise.
58448         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
58449         instead of making contents conditional on [__FAVOR_BSD].
58450         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
58452 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58454         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58456 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
58458         [BZ #16314]
58459         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
58460         values below 2**-450, not 2**-500.
58461         * math/auto-libm-test-in: Don't allow spurious underflow from
58462         hypot.
58463         * math/auto-libm-test-out: Regenerated.
58465         [BZ #16316]
58466         [BZ #16330]
58467         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
58468         values of ha and hb and sort them after adjusting subnormal
58469         arguments.
58470         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
58471         Likewise.
58472         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
58473         values of ea and eb and sort them after adjusting subnormal
58474         arguments.
58475         * math/auto-libm-test-in: Do not expect some hypot tests of
58476         subnormals to fail.  Add more hypot tests.
58477         * math/auto-libm-test-out: Regenerated.
58479 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58481         [BZ #13304]
58482         * sysdeps/sh/s_fma.c: New file.
58483         * sysdeps/sh/s_fmaf.c: New file.
58484         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
58485         version.
58486         * sysdeps/sh/Implies: Add sh/soft-fp.
58488 2013-12-16  Roland McGrath  <roland@hack.frob.com>
58490         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
58491         level of indirection to members `objname', `errstring', `malloced'.
58492         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
58493         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
58494         it as the __longjmp argument (just pass 1 instead).
58495         (_dl_catch_error): Initialize C with argument pointers and address of
58496         volatile local ERRCODE rather than copying values out of C at return.
58498 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
58500         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
58501         * math/auto-libm-test-out: Regenerated.
58502         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
58503         (hypot_test_data): Likewise.
58504         (pow_test_data): Likewise.
58505         (pow_tonearest_test_data): Likewise.
58506         * math/gen-auto-libm-tests.c (func_calc_method): Add value
58507         mpfr_ff_f.
58508         (func_calc_desc): Add mpfr_ff_f union field.
58509         (FUNC_mpfr_ff_f): New macro.
58510         (test_functions): Add atan2, hypot and pow.
58511         (special_fill_min): New function.
58512         (special_fill_minus_min): Likewise.
58513         (special_fill_min_subnorm): Likewise.
58514         (special_fill_minus_min_subnorm): Likewise.
58515         (special_real_inputs): Add min, -min, min_subnorm and
58516         -min_subnorm.
58517         (calc_generic_results): Handle mpfr_ff_f.
58518         * sysdeps/i386/fpu/libm-test-ulps: Update.
58519         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58521 2013-12-16  Will Newton  <will.newton@linaro.org>
58523         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
58524         (Aligned Memory Blocks): Add documentation for aligned_alloc
58525         and suggest it as an alternative to posix_memalign.
58526         (Hooks for Malloc): Document __memalign_hook is also called
58527         for aligned_alloc.  (Summary of Malloc): Add summary for
58528         aligned alloc.  Document __memalign_hook is also called
58529         for aligned_alloc.
58531 2013-12-16  Will Newton  <will.newton@linaro.org>
58533         * manual/memory.texi (Malloc Examples): Clarify default
58534         alignment documentation.  Suggest posix_memalign rather
58535         than memalign or valloc.
58536         (Aligned Memory Blocks): Remove suggestion to use memalign
58537         or valloc.  Remove obsolete comment about BSD.
58538         Document memalign errno values and mark the function obsolete.
58539         Document posix_memalign returned error codes.  Mark valloc
58540         as obsolete.  (Hooks for Malloc): __memalign_hook is also
58541         called for posix_memalign and valloc.
58542         (Summary of Malloc): Add posix_memalign to function summary.
58543         __memalign_hook is also called for posix_memalign and valloc.
58545 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
58547         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
58548         TAYLOR_SIN.
58549         (__sin): Adjust.
58550         (__cos): Likewise.
58551         (sloww): Use mynumber union.  Expand ternary operator into
58552         if-else statements.
58553         (cslow): use mynumber union.
58555 2013-12-16  Allan McRae  <allan@archlinux.org>
58557         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
58558         * configure: Regenerated.
58560         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
58562         [BZ #14120]
58563         * configure.ac: Added --enable-maintainer-mode. Check for
58564         autoconf when enabled.
58565         * configure: Regenerated.
58567         * nscd/nscd.service: New file.
58568         * nscd/nscd.tmpfiles: New file.
58570 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
58572         [BZ #12100]
58573         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
58574         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
58575         * sysdeps/x86_64/multiarch/strstr.c: ... here.
58576         (strstr): Add __strstr_sse2_unaligned ifunc.
58577         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
58578         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
58579         (strcasestr): Remove __strcasestr_sse42 ifunc.
58580         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
58581         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
58582         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
58584 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
58586         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
58587         * sysdeps/sh/bits/fenv.h: ... here.
58588         * sysdeps/sh/sh4/fpu/bits: Remove directory.
58590 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58592         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
58594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
58595         hypotf multiarch implementations.
58596         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
58597         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
58598         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
58599         multiarch hypot for PPC64.
58600         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
58601         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
58602         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
58603         multiarch hypotf for PPC64.
58605         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
58606         modff multiarch implementations.
58607         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
58608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
58609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
58610         multiarch modf for PPC64.
58611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
58612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
58613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
58614         multiarch modff for PPC64.
58616         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
58617         and logl multiarch implementations.
58618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
58619         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
58620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
58621         multiarch logb for PPC64.
58622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
58623         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
58624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
58625         multiarch logb for PPC64.
58626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
58627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
58628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
58629         multiarch logb for PPC64.
58631         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
58632         isinff multiarch implementation.
58633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
58634         file.
58635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
58636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
58637         multiarch isinf for PPC64.
58638         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
58639         file.
58640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
58641         multiarch isinff for PPC64.
58643         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
58644         finitef multiarch implementation.
58645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
58646         file.
58647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
58648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
58649         multiarch finite for PPC64.
58650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
58651         file.
58652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
58653         multiarch finitef for PPC64.
58655         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
58656         lrint multiarch implementation.
58657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
58658         file.
58659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
58660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
58661         multiarch llrint for PPC64.
58662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
58663         multiarch lrint for PPC64.
58665         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
58666         copysignf multiarch implementation.
58667         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
58668         file.
58669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
58670         file.
58671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
58672         multiarch copysign for PPC64.
58673         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
58674         multiarch copysignf for PPC64.
58676         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
58677         multiarch implementation.
58678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
58679         file.
58680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
58681         file.
58682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
58683         file.
58684         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
58685         file.
58686         multiarch llround for PPC64.
58687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
58688         multiarch trunc for PPC64.
58689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
58690         multiarch truncf for PPC64.
58692         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
58693         multiarch implementation.
58694         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
58695         file.
58696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
58697         file.
58698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
58699         file.
58700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
58701         file.
58702         multiarch llround for PPC64.
58703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
58704         multiarch round for PPC64.
58705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
58706         multiarch roundf for PPC64.
58708         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
58709         multiarch implementation.
58710         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
58711         file.
58712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
58713         file.
58714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
58715         file.
58716         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
58717         file.
58718         multiarch llround for PPC64.
58719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
58720         multiarch floor for PPC64.
58721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
58722         multiarch floorf for PPC64.
58724         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
58725         multiarch implementation.
58726         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
58727         file.
58728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
58729         file.
58730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
58731         file.
58732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
58733         file.
58734         multiarch llround for PPC64.
58735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
58736         multiarch ceil for PPC64.
58737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
58738         multiarch ceilf for PPC64.
58740         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
58741         multiarch implementation.
58742         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
58743         file.
58744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
58745         file.
58746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
58747         file.
58748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
58749         multiarch llround for PPC64.
58750         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
58751         multiarch lround for PPC64.
58753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
58754         multiarch implementation.
58755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
58756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
58757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
58758         file.
58759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
58760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
58761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
58762         multiarch isnan for PPC64.
58763         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
58764         multiarch isnanf for PPC64.
58766         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
58767         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
58768         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
58769         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
58770         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
58771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
58773         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
58774         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
58775         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
58776         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
58778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
58779         multiarch implementations.
58780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58781         (__libc_ifunc_impl_list): Likewise.
58782         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
58783         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
58784         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
58785         multiarch stpcpy for PPC64.
58787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
58788         multiarch implementations.
58789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58790         (__libc_ifunc_impl_list): Likewise.
58791         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
58792         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
58793         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
58794         multiarch strcpy for PPC64.
58796         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
58797         redefine function name.
58798         (_wordcopy_fwd_dest_aligned): Likewise.
58799         (_wordcopy_bwd_aligned): Likewise.
58800         (_wordcopy_bwd_dest_aligned): Likewise.
58801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
58802         multiarch implementations.
58803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58804         (__libc_ifunc_impl_list): Likewise.
58805         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
58806         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
58807         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
58808         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
58809         multiarch wcscpy for PPC64.
58811         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
58812         multiarch implementations.
58813         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58814         (__libc_ifunc_impl_list): Likewise.
58815         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
58816         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
58817         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
58818         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
58819         multiarch wcscpy for PPC64.
58821         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
58822         multiarch implementations.
58823         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58824         (__libc_ifunc_impl_list): Likewise.
58825         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
58826         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
58827         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
58828         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
58829         multiarch wcsrchr for PPC64.
58831         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
58832         multiarch implementations.
58833         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58834         (__libc_ifunc_impl_list): Likewise.
58835         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
58836         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
58837         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
58838         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
58839         multiarch wcschr for PPC64.
58841         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
58842         multiarch implementations.
58843         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58844         (__libc_ifunc_impl_list): Likewise.
58845         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
58846         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
58847         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
58848         multiarch strchrnul for PPC64.
58850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
58851         implementations.
58852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58853         (__libc_ifunc_impl_list): Likewise.
58854         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
58855         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
58856         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
58857         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
58858         strchr for PPC64.
58860         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
58861         implementations.
58862         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58863         (__libc_ifunc_impl_list): Likewise.
58864         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
58865         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
58866         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
58867         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
58868         strncmp for PPC64.
58870         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
58871         multiarch implementations.
58872         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58873         (__libc_ifunc_impl_list): Likewise.
58874         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
58875         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
58876         strncasecmp for PPC64.
58877         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
58878         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
58879         multiarch strncasecmp_l for PPC64.
58881         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
58882         multiarch implementations.
58883         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
58884         (__libc_ifunc_impl_list): Likewise.
58885         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
58886         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
58887         multiarch strcasecmp for PPC64.
58888         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
58889         file.
58890         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
58891         multiarch strcasecmp_l for PPC64.
58893         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
58894         implementations.
58895         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58896         (__libc_ifunc_impl_list): Likewise.
58897         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
58898         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
58899         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
58900         strnlen for PPC64.
58902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
58903         implementations.
58904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58905         (__libc_ifunc_impl_list): Likewise.
58906         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
58907         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
58908         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
58909         strlen for PPC64.
58911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
58912         implementations.
58913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58914         (__libc_ifunc_impl_list): Likewise.
58915         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
58916         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
58917         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
58918         rawmemrchr for PPC64.
58920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
58921         implementation.
58922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58923         (__libc_ifunc_impl_list): Likewise.
58924         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
58925         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
58926         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
58927         memrchr for PPC64.
58929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
58930         implementation.
58931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58932         (__libc_ifunc_impl_list): Likewise.
58933         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
58934         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
58935         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
58936         memchr for PPC64.
58938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
58939         implementation.
58940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58941         (__libc_ifunc_impl_list): Likewise.
58942         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
58943         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
58944         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
58945         mempcpy for PPC64.
58947         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
58948         avoid cretion of __bzero symbol.
58949         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
58950         Likewise.
58951         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
58952         Likewise.
58953         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
58954         Likewise.
58955         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
58956         multiarch implementations.
58957         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58958         (__libc_ifunc_impl_list): Likewise.
58959         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
58960         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
58961         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
58962         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
58963         bzero for PPC32.
58964         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
58965         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
58966         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
58967         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
58968         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
58969         memset for PPC64.
58970         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
58972         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
58973         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
58974         implementations.
58975         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
58976         (__libc_ifunc_impl_list): Likewise.
58977         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
58978         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
58979         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
58980         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
58981         memcmp for PPC64.
58983         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
58984         multiarch for POWER/PPC64.
58985         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
58986         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
58987         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
58988         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
58989         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
58990         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
58991         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
58992         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
58993         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
58994         memcpy for PPC64.
58996         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
58997         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
58998         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
58999         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
59000         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
59001         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
59002         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
59003         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
59004         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
59005         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
59006         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
59007         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
59008         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
59009         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
59010         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
59011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
59012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
59013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
59014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
59015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
59016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
59017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
59019 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59021         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
59023 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
59025         * benchtests/Makefile (bench): Add exp2 and log2.
59026         (LDLIBS-bench-exp2): Add -lm.
59027         (LDLIBS-bench-log2): Likewise.
59028         * benchtests/exp2-inputs: New inputs file.
59029         * benchtests/log2-inputs: New inputs file.
59030         * benchtests/log-inputs: Add new inputs.
59031         * benchtests/tan-inputs: Likewise.
59033 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59035         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
59036         definition...
59037         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
59038         (csloww2): ... from here.
59040         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
59041         instead of structures.
59042         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
59043         (POLYNOMIAL): Likewise.
59044         (TAYLOR_SLOW): Likewise.
59045         (__sin): Likewise.
59046         (__cos): Likewise.
59047         (slow1): Likewise.
59048         (slow2): Likewise.
59049         (sloww): Likewise.
59050         (sloww1); Likewise.
59051         (sloww2): Likewise.
59052         (bsloww1): Likewise.
59053         (bsloww2): Likewise.
59054         (cslow2): Likewise.
59055         (csloww): Likewise.
59056         (csloww1): Likewise.
59057         (csloww2): Likewise.
59059 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
59061         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
59062         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
59063         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
59064         * malloc/hooks.c (realloc_check): Likewise.
59066         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
59067         * malloc/arena.c: Remove PER_THREAD conditional.
59068         [!PER_THREAD]: Remove code.
59069         (ptmalloc_unlock_all2): Likewise.
59070         (ptmalloc_init): Likewise.
59071         (_int_new_arena): Likewise.
59072         (arena_get2): Likewise.
59073         * malloc/hooks.c (__malloc_get_state): Likewise.
59074         (__malloc_set_state): Likewise.
59075         * malloc/malloc.c: Likewise.
59076         (struct malloc_state): Likewise.
59077         (struct malloc_par): Likewise.
59078         (__libc_realloc): Likewise.
59079         (__libc_mallopt): Likewise.
59081 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59083         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
59085 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
59087         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
59088         macro to a function.  Check for zero perturb_byte.
59089         (_int_malloc, _int_free): Remove zero perturb_byte checks.
59091         * malloc/malloc.c: (force_reg): Remove.
59092         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
59093         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
59094         force_reg by atomic_forced_read.
59095         * malloc/arena.c (ptmalloc_init): Likewise.
59096         * malloc/hooks.c (top_check): Likewise.
59098 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59100         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59102 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
59104         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59106 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
59108         * math/auto-libm-test-in: Add tests of lgamma.
59109         * math/auto-libm-test-out: Regenerated.
59110         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
59111         (M_LOG_2_SQRT_PIl): Likewise.
59112         (lgamma_test_data): Use AUTO_TESTS_f_f1.
59113         * math/gen-auto-libm-tests.c (func_calc_method): Add value
59114         mpfr_f_f1.
59115         (func_calc_desc): Add mpfr_f_f1 union field.
59116         (ARGS1): New macro.
59117         (ARGS2): Likewise.
59118         (ARGS3): Likewise.
59119         (ARGS4): Likewise.
59120         (RET1): Likewise.
59121         (RET2): Likewise.
59122         (CALC): Likewise.
59123         (FUNC): Likewise.
59124         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
59125         (test_functions): Add lgamma.
59126         (calc_generic_results): Handle mpfr_f_f1.
59127         * sysdeps/i386/fpu/libm-test-ulps: Update.
59128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59130 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59132         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
59133         __mpn_add_n for PowerPC64/POWER7.
59134         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
59135         __mpn_sub_n for PowerPC64/POWER7.
59137         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
59138         __mpn_addmul_1 for PowerPC64.
59139         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
59140         __mpn_submul_1 for PowerPC64.
59141         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
59142         for PowerPC64.
59143         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
59144         for PowerPC64.
59146 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
59148         [BZ #15089]
59149         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
59151 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59153         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
59155         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
59156         add multiarch folders.
59157         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
59158         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
59159         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
59160         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
59161         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
59162         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
59163         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
59164         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
59165         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
59166         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
59167         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
59168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
59169         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
59170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
59171         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
59172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
59173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
59175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59176         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
59177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
59178         New file.
59179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
59180         New file.
59181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
59182         multiarch __ieee754_hypot for PowerPC32.
59183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
59184         New file.
59185         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
59186         New file.
59187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
59188         multiarch __ieee754_hypotf for PowerPC32.
59190         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
59191         long_double_symbol only if __logbl is defined.
59192         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
59193         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
59194         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
59195         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
59196         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
59197         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
59198         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
59199         path for implementation.
59200         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
59201         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
59202         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
59203         logb, and logbl multiarch implementations for PowerPC32.
59204         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
59205         file.
59206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
59207         file.
59208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
59209         multiarch logb for PowerPC32.
59210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
59211         file.
59212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
59213         file.
59214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
59215         multiarch logbf for PowerPC32.
59216         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
59217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
59218         file.
59219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
59220         multiarch logbl implementation for PowerPC32.
59222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
59223         and modff multiarch implementations.
59224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
59225         New file.
59226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
59227         New file.
59228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
59229         multiarch modf for PowerPC32.
59230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
59231         New file.
59232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
59233         New file.
59234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
59235         multiarch modff for PowerPC32.
59237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
59238         and lrintf multiarch implementations.
59239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
59240         New file.
59241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
59242         New file.
59243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
59244         multiarch lrint for PowerPC32.
59245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
59246         file: multiarch lrintf for PowerPC32.
59248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
59249         and lroundf multiarch implementations.
59250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
59251         New file.
59252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
59253         New file.
59254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
59255         New file.
59256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
59257         multiarch lround for PowerPC32.
59258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
59259         file: multiarch lroundf for PowerPC32.
59261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
59262         copysign and copysignf multiarch implementations.
59263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
59264         New file.
59265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
59266         New file.
59267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
59268         file: multiarch copysign for PowerPC32.
59269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
59270         file: multiarch copysignf for PowerPC32.
59272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
59273         and truncf multiarch implementations.
59274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
59275         New file.
59276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
59277         file.
59278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
59279         multiarch trunc for PowerPC32.
59280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
59281         New file.
59282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
59283         New file.
59284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
59285         multiarch truncf for PowerPC32.
59287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
59288         and roundf multiarch implementations.
59289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
59290         New file.
59291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
59292         file.
59293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
59294         multiarch round for PowerPC32.
59295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
59296         New file.
59297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
59298         New file.
59299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
59300         multiarch roundf for PowerPC32.
59302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
59303         and floorf multiarch implementations.
59304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
59305         New file.
59306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
59307         file.
59308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
59309         multiarch floor for PowerPC32.
59310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
59311         New file.
59312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
59313         New file.
59314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
59315         multiarch floorf for PowerPC32.
59317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
59318         and ceilf multiarch implementations.
59319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
59320         New file.
59321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
59322         file.
59323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
59324         multiarch ceil for PowerPC32.
59325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
59326         New file.
59327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
59328         file.
59329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
59330         multiarch ceilf for PowerPC32.
59332         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
59333         is defined.
59334         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
59335         FINITEF is defined.
59336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
59337         and finitef multiarch implementations.
59338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
59339         New file.
59340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
59341         file.
59342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
59343         multiarch finite for PowerPC32.
59344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
59345         New file.
59346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
59347         file: multiarch finitef for PowerPC32.
59349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
59350         and isinff multiarch implementations.
59351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
59352         file.
59353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
59354         file.
59355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
59356         multiarch isinf for PowerPC32.
59357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
59358         New file.
59359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
59360         multiarch isinff for PowerPC32.
59362         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
59363         alias when __isnan is defined.
59364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
59365         and isnanf multiarch implementations.
59366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
59367         file.
59368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
59369         file.
59370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
59371         file.
59372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
59373         file.
59374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
59375         multiarch isnan for PowerPC32.
59376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
59377         New file.
59378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
59379         New file.
59380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
59381         multiarch isnanf for PowerPC32.
59383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
59384         and sqrtf multiarch implementations.
59385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
59386         file.
59387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
59388         file.
59389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
59390         multiarch sqrt for PowerPC32.
59391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
59392         file.
59393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
59394         file.
59395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
59396         multiarch sqrtf for PowerPC32.
59398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
59399         and llroundf multiarch implementations.
59400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
59401         New file.
59402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
59403         New file.
59404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
59405         New file.
59406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
59407         file: multiarch llround for PowerPC32.
59408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
59409         file: multiarch llroundf for PowerPC32.
59411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
59412         multiarch PowerPC32 fpu implementations.
59413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
59414         New file.
59415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
59416         New file.
59417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
59418         multiarch llrint for PowerPC32.
59419         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
59420         New file.
59421         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
59422         New file.
59423         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
59424         file.
59426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
59428         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
59429         file.
59430         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
59431         file.
59432         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
59433         file.
59434         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
59435         multiarch wordcopy for PPC32.
59436         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59437         wordcopy objects.
59438         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59439         (__libc_ifunc_impl_list): Likewise.
59440         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
59441         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
59442         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
59443         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
59444         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
59445         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
59447         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
59448         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
59449         file.
59450         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
59451         file.
59452         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
59453         file.
59454         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
59455         multiarch wcscpy for PPC32.
59456         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
59457         multiarch objects.
59458         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59459         (__libc_ifunc_impl_list): Likewise.
59460         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59461         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59462         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
59463         sysdeps/powerpc/power6/wcscpy.c.
59465         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
59466         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
59467         file.
59468         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
59469         file.
59470         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
59471         file.
59472         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
59473         multiarch wcsrchr for PPC32.
59474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59475         multiarch objects.
59476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59477         (__libc_ifunc_impl_list): Likewise.
59478         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
59479         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
59480         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
59481         sysdeps/powerpc/power6/wcsrchr.c.
59483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
59484         file.
59485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
59486         file.
59487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
59488         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
59489         multiarch wcschr for PPc32.
59490         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
59491         multiarch objects.
59492         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59493         (__libc_ifunc_impl_list): Likewise.
59494         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
59495         * sysdeps/powerpc/power6/wcschr.c: ... to here.
59496         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
59497         sysdeps/powerpc/power6/wcschr.c.
59499         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
59500         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
59501         file.
59502         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
59503         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
59504         file: multiarch strchr for PPC32.
59505         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
59506         multiarch objects.
59507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59508         (__libc_ifunc_impl_list): Likewise.
59510         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
59511         name.
59512         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
59513         file.
59514         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
59515         file.
59516         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
59517         multiarch strchrnul for PPC32.
59518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
59519         multiarch objects.
59520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59521         (__libc_ifunc_impl_list): Likewise.
59523         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
59524         file.
59525         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
59526         multiarch strncasecmp for PPC32.
59527         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
59528         file.
59529         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
59530         multiarch strncasecmp_l for PPC32.
59531         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
59532         strncasecmp multiarch objects.
59533         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59534         (__libc_ifunc_impl_list): Likewise.
59536         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
59537         file.
59538         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
59539         multiarch strncasecmp for PPC32.
59540         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
59541         New file.
59542         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
59543         multiarch strcasecmp_l for PPC32.
59544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
59545         multiarch objects.
59546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59547         (__libc_ifunc_impl_list): Likewise.
59549         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
59550         file.
59551         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
59552         file.
59553         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
59554         multiarch strncmp for PPC32.
59555         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
59556         multiarch objects.
59557         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59558         (__libc_ifunc_impl_list): Likewise.
59560         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
59561         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
59562         file.
59563         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
59564         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
59565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
59566         multiarch objects.
59567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59568         (__libc_ifunc_impl_list): Likewise.
59570         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
59571         file.
59572         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
59573         file.
59574         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
59575         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
59576         multiarch objects.
59577         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59578         (__libc_ifunc_impl_list): Likewise.
59580         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
59581         file.
59582         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
59583         file.
59584         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
59585         multiarch rawmemchr for PPC32.
59586         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
59587         multiarch objects.
59588         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59589         (__libc_ifunc_impl_list): Likewise.
59591         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
59592         file.
59593         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
59594         file.
59595         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
59596         file: memrchr multiarch for PPC32.
59597         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
59598         multiarch objects.
59599         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
59600         (__libc_ifunc_impl_list): Likewise.
59602         * string/memchr.c (__memchr): Using macro to redefine symbol name.
59603         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
59604         file.
59605         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
59606         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
59607         multiarch memchr for PPC32.
59608         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
59609         multiarch objects.
59610         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59611         (__libc_ifunc_impl_list): Likewise.
59613         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
59614         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
59615         file.
59616         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
59617         file.
59618         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
59619         file: multiarch mempcpy for PPC32.
59620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
59621         multiarch objects.
59622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59623         (__libc_ifunc_impl_list): Likewise.
59625         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
59626         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
59627         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
59628         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
59629         multiarch bzero for PPC32.
59630         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
59631         file.
59632         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
59633         file.
59634         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
59635         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
59636         file: multiarch memset for PPC32.
59637         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
59638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
59639         memset multiarch objects.
59640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59641         (__libc_ifunc_impl_list): Likewise.
59643         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
59644         file.
59645         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
59646         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
59647         memcmp for PPC32.
59648         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
59649         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
59650         multiarch objects.
59651         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59652         (__libc_ifunc_impl_list): Likewise.
59654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
59655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
59656         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
59657         file.
59658         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
59659         file.
59660         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
59661         file.
59662         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
59663         multiarch memcpy for PPC32.
59664         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
59665         multiarch objects.
59666         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
59667         (__libc_ifunc_impl_list): Likewise.
59669         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
59670         support multiarch for POWER/PPC32.
59671         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
59672         Likewise.
59673         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
59674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
59675         Implies file to make multiarch folder appers before the fpu and
59676         default folder for power4 configuration.
59678 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
59680         * scripts/bench.pl: Append volatile keyword to type.
59682 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
59684         * sysdeps/sh/sotruss-lib.c: New file.
59685         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
59687 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
59691 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
59693         [BZ #6810]
59694         * math/w_tgamma.c: Include <errno.h>.
59695         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
59696         * math/w_tgammaf.c: Include <errno.h>.
59697         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
59698         * math/w_tgammal.c: Include <errno.h>.
59699         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
59700         * math/auto-libm-test-in: Do not allow missing errno on tgamma
59701         underflow.  Add more tgamma tests.
59702         * math/auto-libm-test-out: Regenerated.
59703         * sysdeps/i386/fpu/libm-test-ulps: Update.
59704         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59706         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
59707         sin, sinh, tan, tanh, tgamma, y0 and y1.
59708         * math/auto-libm-test-out: Regenerated.
59709         * math/libm-test.inc (TEST_COND_x86_64): New macro.
59710         (TEST_COND_x86): Likewise.
59711         (M_E2l): Remove macro.
59712         (M_E3l): Likewise.
59713         (M_2_SQRT_PIl): Likewise.
59714         (M_SQRT_PIl): Likewise.
59715         (M_1_DIV_El): Likewise.
59716         (log_test_data): Use AUTO_TESTS_f_f.
59717         (log10_test_data): Likewise.
59718         (log1p_test_data): Likewise.
59719         (log2_test_data): Likewise.
59720         (sin_test_data): Likewise.
59721         (sin_tonearest_test_data): Likewise.
59722         (sin_towardzero_test_data): Likewise.
59723         (sin_downward_test_data): Likewise.
59724         (sin_upward_test_data): Likewise.
59725         (sinh_test_data): Likewise.
59726         (sinh_tonearest_test_data): Likewise.
59727         (sinh_towardzero_test_data): Likewise.
59728         (sinh_downward_test_data): Likewise.
59729         (sinh_upward_test_data): Likewise.
59730         (tan_test_data): Likewise.
59731         (tan_tonearest_test_data): Likewise.
59732         (tan_towardzero_test_data): Likewise.
59733         (tan_downward_test_data): Likewise.
59734         (tan_upward_test_data): Likewise.
59735         (tanh_test_data): Likewise.
59736         (tgamma_test_data): Likewise.
59737         (y0_test_data): Likewise.
59738         (y1_test_data): Likewise.
59739         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
59740         (special_real_inputs): Add pi/4.
59741         * sysdeps/i386/fpu/libm-test-ulps: Update.
59742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59744 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
59746         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
59747         "longjmp_target" static probes.
59748         (__longjmp): Rename to __longjmp_symbol.
59749         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
59750         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
59751         on which longjmp to generate.
59752         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59753         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
59754         probe.
59755         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59756         (__sigjmp_save): Rename to __sigjmp_save_symbol.
59757         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
59758         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
59759         and __sigjmp_save_symbol based on which sigsetjmp to generated.
59760         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
59762         __longjmp_symbol based on which __longjmp to generate.
59763         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
59764         probe.
59765         (setjmp): Rename to setjmp_symbol.
59766         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59767         (_setjmp): Rename to _setjmp_symbol.
59768         (__sigsetjmp): Rename to __sigsetjmp_symbol.
59769         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
59770         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
59771         which setjmp to generate.
59772         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
59773         "longjmp_target" static probes.
59775 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
59777         * benchtests/README: Add note about output arguments.
59778         * benchtests/bench-sincos.c: Remove file.
59779         * benchtests/sincos-inputs: New file.
59780         * scripts/bench.pl: Identify output arguments and define
59781         static variables for them.
59783         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
59785         [BZ #15941]
59786         * Makefile (INSTALL): Add install-plain.texi as the primary
59787         dependency.
59788         * manual/install-plain.texi: New file.
59789         * manual/install.texi: Include node directive only for
59790         non-plaintext output.
59792 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
59794         * stdlib/longlong.h: Update from GCC.
59796         [BZ #6807]
59797         [BZ #15901]
59798         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
59799         * math/w_j0f.c (y0f): Likewise.
59800         * math/w_j0l.c (__y0l): Likewise.
59801         * math/w_j1.c (y1): Likewise.
59802         * math/w_j1f.c (y1f): Likewise.
59803         * math/w_j1l.c (__y1l): Likewise.
59804         * math/w_jn.c (yn): Likewise.
59805         * math/w_jnf.c (ynf): Likewise.
59806         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
59807         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
59808         value for Bessel function domain errors outside _SVID_ mode.
59809         Adjust sign of return value for yn (negative integer, 0).
59810         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
59811         by zero in return for negative x and set sign appropriately for
59812         negative n.
59813         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
59814         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
59815         * math/libm-test.inc (y0_test_data): Add more tests and adjust
59816         expectations in error cases.
59817         (y1_test_data): Likewise.
59818         (yn_test_data): Likewise.
59819         * sysdeps/i386/fpu/libm-test-ulps: Update.
59820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59822 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59824         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
59825         "64" to "64-v1".  Add "64-v2".
59826         (abi-64-options): Rename to ...
59827         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
59828         (abi-64-condition): Rename to ...
59829         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
59830         (abi-64-ld-soname): Rename to ...
59831         (abi-64-v1-ld-soname): ... this.
59832         (abi-64-v2-options): Define.
59833         (abi-64-v2-condition): Likewise.
59834         (abi-64-v2-ld-soname): Likewise.
59835         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
59836         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
59837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
59838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
59839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
59841 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59842             Alan Modra  <amodra@gmail.com>
59844         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
59845         New versions for use with the ELFv2 ABI.
59846         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
59847         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
59848         declaration.
59849         (struct La_ppc64v2_retval): Likewise.
59850         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
59851         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
59852         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
59853         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
59854         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
59855         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
59856         Do not save or restore CR.
59857         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
59858         (_dl_profile_resolve): Do no save or restore CR.  Support extended
59859         return values for ELFv2 ABI.  Fix location of FPR return registers.
59860         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
59861         updated values for _CALL_ELF == 2.
59862         (La_regs, La_retval, int_retval): Likewise.
59864 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59866         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
59867         (FRAME_MIN_SIZE_PARM): Likewise.
59868         (FRAME_BACKCHAIN): Likewise.
59869         (FRAME_CR_SAVE): Likewise.
59870         (FRAME_LR_SAVE): Likewise.
59871         (FRAME_TOC_SAVE): Likewise.
59872         (FRAME_PARM_SAVE): Likewise.
59873         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
59874         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
59875         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59876         (call_mcount_parm_offset): New macro.
59877         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
59878         (PROF): Use symbolic stack frame offsets.
59879         (TAIL_CALL_SYSCALL_ERROR): Likewise.
59880         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
59881         Redefine in terms of FRAME_MIN_SIZE.
59882         (_dl_runtime_resolve): Use symbolic stack frame offsets.
59883         (_dl_profile_resolve): Likewise.  Update comment.
59884         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
59885         symbols stack frame offsets.
59886         (__sigsetjmp): Likewise.
59887         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
59888         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
59889         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
59890         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
59892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
59893         (FRAME_BACKCHAIN): Remove.
59894         (FRAME_CR_SAVE): Likewise.
59895         (FRAME_LR_SAVE): Likewise.
59896         (FRAME_COMPILER_DW): Likewise.
59897         (FRAME_LINKER_DW): Likewise.
59898         (FRAME_TOC_SAVE): Likewise.
59899         (FRAME_PARM_SAVE): Likewise.
59900         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
59901         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
59902         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
59903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
59904         (CHECK_SP): Use symbolic stack frame offsets.
59905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
59906         zone" instead of caller's parameter save area for temp storage.
59907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
59908         Likewise.  Also, use symbolic stack frame offsets.
59909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
59910         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
59911         our own stack frame instead of the caller's.
59912         (__socket): Use symbolic stack frame offsets.
59914 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59915             Alan Modra  <amodra@gmail.com>
59917         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
59918         Define.
59919         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
59920         (PPC64_LOCAL_ENTRY_OFFSET): Define.
59921         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
59922         New function.
59923         (elf_machine_fixup_plt): Call it.
59924         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
59925         reloc arguments.
59926         (elf_machine_rela): Update call to elf_machine_plt_conflict.
59927         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59928         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
59929         r2 before calling target.
59931 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59932             Alan Modra  <amodra@gmail.com>
59934         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
59935         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
59936         versions of macros to support ELFv2 ABI.
59937         (LOCALENTRY): New macro.
59938         (ENTRY, EALIGN): Use it.
59939         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
59940         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
59941         fall through into ENTRY entry point.
59942         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
59943         Only define if _CALL_ELF != 2.
59945         (elf_machine_matches_host): Verify ABI version matches.
59946         (RTLD_START): Use LOCALENTRY.
59947         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
59948         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
59949         (PLT_ENTRY_WORDS): New macro.
59950         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
59951         (elf_machine_runtime_setup): Support ELFv2 ABI.
59952         (elf_machine_fixup_plt): Likewise.
59953         (elf_machine_plt_conflict): Likewise.
59954         (resolve_ifunc): Likewise.
59955         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
59956         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
59957         Likewise.
59958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
59959         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
59960         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
59961         (makecontext): Support ELFv2 ABI.
59962         * elf/elf.h (EF_PPC64_ABI): Define.
59964 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
59966         * sysdeps/powerpc/powerpc64/sysdep.h
59967         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
59968         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
59969         (ENTRY) [ASSEMBLER]: ... but instead here ...
59970         (EALIGN) [ASSEMBLER]: ... and here.
59971         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
59972         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
59973         (ENTRY_2) [!ASSEMBLER]: Use it.
59974         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
59975         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
59976         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
59977         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
59978         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
59979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
59980         Use PPC64_LOAD_FUNCPTR.
59982         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
59984 2013-12-04  Alan Modra  <amodra@gmail.com>
59986         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
59987         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
59988         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
59989         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
59991         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
59992         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
59993         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
59994         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
59995         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
59996         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
59998 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
60000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
60001         (__makecontext): Fix incorrect CFI when backtracing out of
60002         context created via makecontext.
60003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
60004         (__setcontext): Fix incorrect CFI during switch to new context.
60005         (__novec_setcontext): Likewise.
60007 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60009         [BZ #4772]
60010         * time/strptime_l.c (__strptime_internal): Allow modifiers
60011         in strptime.
60012         * time/tst-strptime.c (day_tests): Add testcase.
60014 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
60016         * scripts/bench.pl: Skip over blank lines.
60018 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
60020         [BZ #926]
60021         * manual/time.texi (Calendar Time): Clarify what timezone functions
60022         use.
60024 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60028 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
60030         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
60031         implementation.
60032         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
60033         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
60034         * debug/memset_chk.c (__memset_chk): Likewise.
60035         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
60036         * debug/strncpy_chk.c: Likewise.
60038 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60040         [BZ #15268]
60041         [BZ #15425]
60042         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
60043         (__ieee754_exp): For possibly underflowing results, check size of
60044         result and force underflow exception if required.
60045         * math/auto-libm-test-in: Add more tests of exp.
60046         * math/auto-libm-test-out: Regenerated.
60047         * sysdeps/i386/fpu/libm-test-ulps: Update.
60048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60050         [BZ #16283]
60051         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
60052         * math/w_exp2f.c (__exp2f): Likewise.
60053         * math/w_exp2l.c (__exp2l): Likewise.
60054         * math/auto-libm-test-in: Do not allow missing errno on exp2
60055         underflow.
60056         * math/auto-libm-test-out: Regenerated.
60058 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
60060         [BZ #16274]
60061         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
60062         handle filename validation.
60063         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
60064         (do_open): Delete.
60066 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
60068         [BZ #6786]
60069         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
60070         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
60071         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
60072         <float.h>.
60073         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
60074         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
60075         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60076         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
60077         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60078         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
60079         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
60080         * math/auto-libm-test-in: Don't allow missing errno from erfc.
60081         Add more erfc tests.
60082         * math/auto-libm-test-out: Regenerated.
60083         * sysdeps/i386/fpu/libm-test-ulps: Update.
60084         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60086         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
60087         exp2, expm1, j0 and j1.
60088         * math/auto-libm-test-out: Regenerated.
60089         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
60090         (erfc_test_data): Likewise.
60091         (exp_test_data): Likewise.
60092         (exp_tonearest_test_data): Likewise.
60093         (exp_towardzero_test_data): Likewise.
60094         (exp_downward_test_data): Likewise.
60095         (exp_upward_test_data): Likewise.
60096         (exp10_test_data): Likewise.
60097         (exp2_test_data): Likewise.
60098         (expm1_test_data): Likewise.
60099         (j0_test_data): Likewise.
60100         (j1_test_data): Likewise.
60101         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
60102         (input_flag_type): Add flag_xfail_rounding.
60103         (input_flags): Add xfail-rounding.
60104         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
60105         (output_for_one_input_case): Handle flag_xfail_rounding.
60106         * sysdeps/i386/fpu/libm-test-ulps: Update.
60107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60109 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
60111         [BZ #16289]
60112         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
60113         division by 0.
60115 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
60117         [BZ #16195]
60118         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
60119         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
60120         (STAP_PROBE0): New macro.
60121         (STAP_PROBE1): Likewise.
60122         (STAP_PROBE2): Likewise.
60123         (STAP_PROBE3): Likewise.
60124         (STAP_PROBE4): Likewise.
60126 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
60128         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
60130 2013-12-02  Steve Ellcey  <sellcey@mips.com>
60132         * benchtests/Makefile (bench): Add sqrt.
60133         (LDLIBS-bench-sqrt): New.
60134         * benchtests/sqrt-input: New.
60136 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
60138         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
60139         (GAIH_EAI): Likewise.
60140         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
60141         (gaih_inet): Likewise.
60142         (getaddrinfo): Don't use GAIH_EAI.
60144         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
60145         (struct gaih): Remove definition.
60147 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
60149         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
60150         Use HERRNOP directly.
60152 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60154         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60156 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
60158         * math/gen-auto-libm-tests.c (test_functions): Add more
60159         single-argument functions.
60160         (special_fill_pi_2): New function.
60161         (special_fill_minus_pi_2): Likewise.
60162         (special_fill_pi_6): Likewise.
60163         (special_fill_minus_pi_6): Likewise.
60164         (special_fill_pi_3): Likewise.
60165         (special_fill_2pi_3): Likewise.
60166         (special_fill_e): Likewise.
60167         (special_fill_1_e): Likewise.
60168         (special_fill_e_minus_1): Likewise.
60169         (special_real_inputs): Add more special inputs.
60170         (output_for_one_input_case): Do not require ERANGE on underflow to
60171         zero if round-to-nearest result does not underflow to zero, unless
60172         exact results required.
60173         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
60174         atan, atanh, cbrt, cos and cosh.
60175         * math/auto-libm-test-out: Regenerated.
60176         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
60177         (acos_tonearest_test_data): Likewise.
60178         (acos_towardzero_test_data): Likewise.
60179         (acos_downward_test_data): Likewise.
60180         (acos_upward_test_data): Likewise.
60181         (acosh_test_data): Likewise.
60182         (asin_test_data): Likewise.
60183         (asin_tonearest_test_data): Likewise.
60184         (asin_towardzero_test_data): Likewise.
60185         (asin_upward_test_data): Likewise.
60186         (asinh_test_data): Likewise.
60187         (atan_test_data): Likewise.
60188         (atanh_test_data): Likewise.
60189         (cbrt_test_data): Likewise.
60190         (cos_test_data): Likewise.
60191         (cos_tonearest_test_data): Likewise.
60192         (cos_towardzero_test_data): Likewise.
60193         (cos_downward_test_data): Likewise.
60194         (cos_upward_test_data): Likewise.
60195         (cosh_test_data): Likewise.
60196         (cosh_tonearest_test_data): Likewise.
60197         (cosh_towardzero_test_data): Likewise.
60198         (cosh_downward_test_data): Likewise.
60199         (cosh_upward_test_data): Likewise.
60200         * sysdeps/i386/fpu/libm-test-ulps: Update.
60201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60203 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
60205         [BZ #6787]
60206         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
60207         * math/w_exp10f.c (__exp10f): Likewise.
60208         * math/w_exp10l.c (__exp10l): Likewise.
60209         * math/libm-test.inc (exp10_test_data): Add more tests and expect
60210         errno settings in existing tests.
60212         [BZ #14032]
60213         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
60214         precision control set to double precision.
60215         * sysdeps/i386/fpu/w_sqrt.c: New file.
60216         * math/auto-libm-test-in: Add more tests.
60217         * math/auto-libm-test-out: Update.
60219         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
60220         (sqrt_test_tonearest): New function.
60221         (sqrt_towardzero_test_data): New variable.
60222         (sqrt_test_towardzero): New function.
60223         (sqrt_downward_test_data): New variable.
60224         (sqrt_test_downward): New function.
60225         (sqrt_upward_test_data): New variable.
60226         (sqrt_test_upward): New function.
60227         (main): Call the new functions.
60229         * math/gen-auto-libm-tests.c: New file.
60230         * math/auto-libm-test-in: Likewise.
60231         * math/auto-libm-test-out: New generated file.
60232         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
60233         variables.
60234         (%beautify): Add generated representations of zero.
60235         (top level): Set $auto_input and call parse_auto_input.
60236         (beautify): Remove trailing "f" from hex float constants.
60237         (parse_args): Handle XFAIL_TEST.
60238         (convert_condition): New function.
60239         (or_value): Likewise.
60240         (or_cond_value): Likewise.
60241         (generate_testfile): Handle AUTO_TESTS_* lines.
60242         (parse_auto_input): New function.
60243         * math/libm-test.inc (XFAIL_TEST): New macro.
60244         (ERRNO_UNCHANGED): Update value.
60245         (ERRNO_EDOM): Likewise.
60246         (ERRNO_ERANGE): Likewise.
60247         (IGNORE_RESULT): Likewise.
60248         (TEST_COND_flt_32): New macro.
60249         (TEST_COND_dbl_64): Likewise.
60250         (TEST_COND_ldbl_96_intel): Likewise.
60251         (TEST_COND_ldbl_96_m68k): Likewise.
60252         (TEST_COND_ldbl_128): Likewise.
60253         (TEST_COND_ldbl_128ibm): Likewise.
60254         (TEST_COND_long32): Likewise.
60255         (TEST_COND_long64): Likewise.
60256         (TEST_COND_before_rounding): Likewise.
60257         (TEST_COND_after_rounding): Likewise.
60258         (enable_test): Handle XFAIL_TEST flag.
60259         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
60260         with finite results.
60261         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
60262         auto-libm-test-out.
60264 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60265             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60267         [BZ #16214]
60268         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
60269         __tls_get_addr_internal instead of __tls_get_offset in order to
60270         avoid GOT pointer dependency.  Make rtld export
60271         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
60272         __tls_get_addr since we are a __tls_get_offset platform.
60273         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
60274         GOT pointer being set up before.
60275         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
60277 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
60279         * manual/math.texi (Errors in Math Functions): Document accuracy
60280         goals.
60282         [BZ #15004]
60283         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
60284         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
60285         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
60286         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
60287         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
60288         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
60289         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
60290         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
60291         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
60292         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
60293         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
60294         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
60295         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
60296         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
60297         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
60298         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
60300         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
60301         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
60302         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
60303         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
60304         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
60305         Likewise.
60306         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
60307         Likewise.
60308         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
60309         Likewise.
60310         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
60311         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
60312         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
60313         atomic-feupdateenv and flt-rounds.
60314         * sysdeps/powerpc/nofpu/Versions (libc): Add
60315         __atomic_feholdexcept, __atomic_feclearexcept,
60316         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
60317         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
60318         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
60319         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
60320         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
60321         here.
60322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
60323         Update.
60325         * manual/arith.texi (FP Exceptions): Document that exceptions may
60326         not be raised when matherr is used.
60327         (Math Error Reporting): Document overflow in directed rounding
60328         modes.  Document that errno may not be set when finite values are
60329         returned on overflow.  Document intent to set errno on underflow
60330         only for underflow to zero.
60332         [BZ #16271]
60333         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
60334         round-to-nearest then adjust result for other rounding modes.
60335         * include/fenv.h (fegetround): Use libm_hidden_proto.
60336         * math/fegetround.c (fegetround): Use libm_hidden_def.
60337         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
60338         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
60339         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60340         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
60341         Likewise.
60342         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
60343         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
60344         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
60345         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
60347 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
60349         [BZ #16077]
60350         * nss/Versions (libnss_files): Add
60351         _nss_files_gethostbyname3_r.
60352         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
60353         New function.
60354         (HOST_DB_LOOKUP): Remove macro.
60355         (_nss_files_gethostbyname_r): Implement function without the
60356         HOST_DB_LOOKUP macro.
60357         (_nss_files_gethostbyname2_r): Likewise.
60359 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
60361         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
60363 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
60365         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
60366         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
60367         warning.
60369 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60371         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
60372         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
60373         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
60374         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
60375         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
60376         __fe_nomask_env_priv and attribute_hidden.
60377         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
60378         (libc_feupdateenv_test_ppc): Likewise.
60379         (libc_feresetround_ppc): Likewise.
60380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60381         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
60382         compat_symbol macro.
60383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60384         (__fe_nomask_env): Likewise.
60385         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
60387 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60389         * string/Makefile: Remove ifunc tests.
60390         * string/test-string.h: Define TEST_IFUNC.
60391         * string/test-bcopy-ifunc.c: Remove.
60392         * string/test-bzero-ifunc.c: Likewise.
60393         * string/test-memccpy-ifunc.c: Likewise.
60394         * string/test-memchr-ifunc.c: Likewise.
60395         * string/test-memcmp-ifunc.c: Likewise.
60396         * string/test-memcpy-ifunc.c: Likewise.
60397         * string/test-memmem-ifunc.c: Likewise.
60398         * string/test-memmove-ifunc.c: Likewise.
60399         * string/test-mempcpy-ifunc.c: Likewise.
60400         * string/test-memrchr-ifunc.c: Likewise.
60401         * string/test-memset-ifunc.c: Likewise.
60402         * string/test-rawmemchr-ifunc.c: Likewise.
60403         * string/test-stpcpy-ifunc.c: Likewise.
60404         * string/test-stpncpy-ifunc.c: Likewise.
60405         * string/test-strcasecmp-ifunc.c: Likewise.
60406         * string/test-strcasestr-ifunc.c: Likewise.
60407         * string/test-strcat-ifunc.c: Likewise.
60408         * string/test-strchr-ifunc.c: Likewise.
60409         * string/test-strchrnul-ifunc.c: Likewise.
60410         * string/test-strcmp-ifunc.c: Likewise.
60411         * string/test-strcpy-ifunc.c: Likewise.
60412         * string/test-strcspn-ifunc.c: Likewise.
60413         * string/test-strlen-ifunc.c: Likewise.
60414         * string/test-strncasecmp-ifunc.c: Likewise.
60415         * string/test-strncat-ifunc.c: Likewise.
60416         * string/test-strncmp-ifunc.c: Likewise.
60417         * string/test-strncpy-ifunc.c: Likewise.
60418         * string/test-strnlen-ifunc.c: Likewise.
60419         * string/test-strpbrk-ifunc.c: Likewise.
60420         * string/test-strrchr-ifunc.c: Likewise.
60421         * string/test-strspn-ifunc.c: Likewise.
60422         * string/test-strstr-ifunc.c: Likewise.
60424 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60426         * benchtests/Makefile: Remove ifunc tests.
60427         * benchtests/bench-string.h: Define TEST_IFUNC.
60428         * benchtests/bench-bcopy-ifunc.c: Remove.
60429         * benchtests/bench-bzero-ifunc.c: Likewise.
60430         * benchtests/bench-memccpy-ifunc.c: Likewise.
60431         * benchtests/bench-memchr-ifunc.c: Likewise.
60432         * benchtests/bench-memcmp-ifunc.c: Likewise.
60433         * benchtests/bench-memcpy-ifunc.c: Likewise.
60434         * benchtests/bench-memmem-ifunc.c: Likewise.
60435         * benchtests/bench-memmove-ifunc.c: Likewise.
60436         * benchtests/bench-mempcpy-ifunc.c: Likewise.
60437         * benchtests/bench-memrchr-ifunc.c: Likewise.
60438         * benchtests/bench-memset-ifunc.c: Likewise.
60439         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
60440         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
60441         * benchtests/bench-stpcpy-ifunc.c: Likewise.
60442         * benchtests/bench-stpncpy-ifunc.c: Likewise.
60443         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
60444         * benchtests/bench-strcasestr-ifunc.c: Likewise.
60445         * benchtests/bench-strcat-ifunc.c: Likewise.
60446         * benchtests/bench-strchr-ifunc.c: Likewise.
60447         * benchtests/bench-strchrnul-ifunc.c: Likewise.
60448         * benchtests/bench-strcmp-ifunc.c: Likewise.
60449         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
60450         * benchtests/bench-strcpy-ifunc.c: Likewise.
60451         * benchtests/bench-strcspn-ifunc.c: Likewise.
60452         * benchtests/bench-strlen-ifunc.c: Likewise.
60453         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
60454         * benchtests/bench-strncat-ifunc.c: Likewise.
60455         * benchtests/bench-strncmp-ifunc.c: Likewise.
60456         * benchtests/bench-strncpy-ifunc.c: Likewise.
60457         * benchtests/bench-strnlen-ifunc.c: Likewise.
60458         * benchtests/bench-strpbrk-ifunc.c: Likewise.
60459         * benchtests/bench-strrchr-ifunc.c: Likewise.
60460         * benchtests/bench-strsep-ifunc.c: Likewise.
60461         * benchtests/bench-strspn-ifunc.c: Likewise.
60462         * benchtests/bench-strstr-ifunc.c: Likewise.
60464 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60466         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
60468 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
60470         * resolv/netdb.h: Use __glibc_reserved instead __unused.
60471         * rt/aio.h: Likewise.
60472         * sysdeps/gnu/bits/utmp.h: Likewise.
60473         * sysdeps/gnu/bits/utmpx.h: Likewise.
60474         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
60475         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
60476         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
60477         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
60478         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
60479         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
60480         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
60481         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
60482         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
60483         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
60484         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
60485         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
60486         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
60487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
60488         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
60489         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
60490         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
60491         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
60492         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
60493         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
60494         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
60495         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
60496         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
60497         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
60498         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
60499         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
60500         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
60501         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
60502         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
60503         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
60504         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
60505         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
60506         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
60507         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
60508         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
60509         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
60510         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
60511         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
60512         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
60513         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
60514         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
60515         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
60517 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
60519         [BZ #16245]
60520         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
60521         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
60523 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
60525         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
60526         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
60527         Likewise.
60529 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60531         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
60532         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
60533         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
60534         (__fesetround): Remove define.
60535         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
60536         rounding and exceptions handling.
60537         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
60538         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
60539         (__fe_nomask_env): Likewise.
60540         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
60541         __fegetround instead of fegetround.
60542         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
60543         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
60545 2013-11-21  Roland McGrath  <roland@hack.frob.com>
60547         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
60548         it's there.
60550         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
60552 2013-11-21  Meador Inge  <meadori@codesourcery.com>
60554         [BZ #11157]
60555         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
60556         (encrypt_r): Likewise.
60557         * malloc/obstack.h (obstack_free): Likewise.
60558         * posix/unistd.h (encrypt): Likewise.
60560 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
60562         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
60563         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
60564         DL_CALL_DT_FINI() that call the functions directly.
60565         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
60566         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
60567         * elf/dl-fini.c: Likewise.
60569 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
60571         * malloc/hooks.c (memalign_check): Add alignment rounding.
60572         * malloc/malloc.c (_mid_memalign): New function.
60573         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
60574         Implement by calling _mid_memalign.
60575         * manual/probes.texi (Memory Allocation Probes): Remove
60576         memory_valloc_retry and memory_pvalloc_retry.
60578 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
60580         * locale/programs/locarchive.c (open_archive): Add const
60581         qualifier to ARCHIVEFNAME and copy default fname to
60582         DEFAULT_FNAME.
60584         [BZ #15601]
60585         * libio/tst-widetext.input: Rename Oriya to Odia.
60586         * locale/iso-639.def: Likewise.
60588         * manual/probes.texi (Mathematical Function Probes): Add
60589         documentation for sin, cos, asin and acos probes.
60590         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
60591         (__sin32): Add slowasin probe.
60592         (__cos32): Add slowacos probe.
60593         (__mpsin): Add slowsin probe.
60594         (__mpcos): Add slowcos probe.
60596 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
60598         [BZ #15483]
60599         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
60600         thread-local __sim_exceptions_thread and global
60601         __sim_exceptions_global.
60602         (__sim_disabled_exceptions): Change to thread-local
60603         __sim_disabled_exceptions_thread and global
60604         __sim_disabled_exceptions_global.
60605         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60606         and global __sim_round_mode_global.
60607         (__simulate_exceptions): Use thread-local floating-point state and
60608         set global state from it as needed.
60609         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
60610         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
60611         __sim_round_mode_thread.
60612         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
60613         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
60614         and global __sim_exceptions_global.
60615         (__sim_disabled_exceptions): Change to thread-local
60616         __sim_disabled_exceptions_thread and global
60617         __sim_disabled_exceptions_global.
60618         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
60619         and global __sim_round_mode_global.
60620         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
60621         (SIM_SET_GLOBAL): Likewise.
60622         * sysdeps/powerpc/soft-fp/sfp-machine.h
60623         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
60624         __sim_round_mode_thread.
60625         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
60626         __sim_disabled_exceptions_thread.
60627         (__sim_exceptions): Change to __sim_exceptions_thread.
60628         (__sim_disabled_exceptions): Change to
60629         __sim_disabled_exceptions_thread.
60630         (__sim_round_mode): Change to __sim_round_mode_thread.
60631         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
60632         thread-local floating-point state and set global state from it as
60633         needed.
60634         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
60635         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
60636         (__sim_disabled_exceptions): Remove extern declaration.
60637         (feenableexcept): Use thread-local floating-point state and set
60638         global state from it as needed.
60639         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
60640         extern declaration.
60641         (__sim_disabled_exceptions): Likewise.
60642         (__sim_round_mode): Likewise.
60643         (__fegetenv): Use thread-local floating-point state.
60644         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
60645         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
60646         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
60647         floating-point state and set global state from it as needed.
60648         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
60649         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
60650         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
60651         Likewise.
60652         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
60653         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
60654         Likewise.
60655         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
60656         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
60657         Use __sim_round_mode_thread.
60658         * math/test-fenv-tls.c: New file.
60659         * math/Makefile (tests): Add test-fenv-tls.
60660         ($(objpfx)test-fenv-tls): Depend on
60661         $(common-objpfx)nptl/libpthread.so.
60663 2013-11-19  Andreas Schwab  <schwab@suse.de>
60665         * locale/programs/locale.c (show_info): Decode wordarray elements.
60666         * locale/categories.def (LC_MONETARY): Add element for
60667         _NL_MONETARY_CRNCYSTR.
60668         * locale/C-monetary.c (conversion_rate): New variable.
60669         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
60670         element.
60672 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
60674         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
60675         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
60677 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
60679         * elf/Makefile (tst-auxv): New test.
60680         * elf/tst-auxv.c: New
60681         * elf/rtld.c (dl_main): Adjust AT_EXECFN
60683 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
60685         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
60686         (hidden_proto): Caller changed.
60687         (hidden_tls_proto): New macro.
60688         (libc_hidden_tls_proto): Likewise.
60689         (rtld_hidden_tls_proto): Likewise.
60690         (libm_hidden_tls_proto): Likewise.
60691         (libresolv_hidden_tls_proto): Likewise.
60692         (librt_hidden_tls_proto): Likewise.
60693         (libdl_hidden_tls_proto): Likewise.
60694         (libnss_files_hidden_tls_proto): Likewise.
60695         (libnsl_hidden_tls_proto): Likewise.
60696         (libnss_nisplus_hidden_tls_proto): Likewise.
60697         (libutil_hidden_tls_proto): Likewise.
60699 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
60701         [BZ #10253]
60702         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
60703         (decompose_rpath): Defer expansion to fillin_rpath.
60704         (_dl_init_paths): Pass linkmap to fillin_rpath.
60706 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
60708         * benchtests/Makefile: Add strsep.
60709         * benchtests/bench-strsep.c: New file: strsep benchtest.
60710         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
60712 2013-11-18  Andreas Schwab  <schwab@suse.de>
60714         * locale/programs/locale.c (show_info) [case byte]: Check for
60715         '\377' instead of '\177'.
60716         * locale/C-monetary.c (not_available): Always use "\377".
60717         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
60718         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
60719         detect unavailable sign_posn locale elements.
60720         * locale/localeconv.c (__localeconv): For grouping and
60721         mon_grouping handle "\177" and "\377" like no grouping.
60722         (INT_ELEM): New macro.  Use it to set all numeric members.
60723         * locale/programs/ld-monetary.c (monetary_read)
60724         <tok_mon_grouping>: Normalize single -1 to the empty string.
60725         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
60726         Likewise.
60728 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60730         [BZ #16055]
60731         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
60732         when we match (nil).
60733         * stdio-common/tst-sscanf.c (struct test): Add testcase.
60735 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
60737         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
60738         (NO_TEST_INLINE): Update value.
60739         (ERRNO_UNCHANGED): Likewise.
60740         (ERRNO_EDOM): Likewise.
60741         (ERRNO_ERANGE): Likewise.
60742         (IGNORE_RESULT): Likewise.
60743         (check_float_internal): Check signs of NaN results if
60744         TEST_NAN_SIGN used.
60745         (check_complex): Pass TEST_NAN_SIGN flag through to second
60746         check_float_internal call.
60747         (copysign_test_data): Add tests with quiet NaNs as second
60748         argument.  Use TEST_NAN_SIGN.
60749         (fabs_test_data): Add test of negative quiet NaN argument.  Use
60750         TEST_NAN_SIGN.
60751         (signbit_test_data): Add tests of quiet NaN argument.
60752         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
60754         * math/gen-libm-test.pl (show_exceptions): Take extra argument
60755         $ignore_result.
60756         (parse_args): Handle function results specified as IGNORE.
60757         * math/libm-test.inc (IGNORE_RESULT): New macro.
60758         (check_float_internal): Do not check numerical result if flag
60759         IGNORE_RESULT set.
60760         (check_complex): Pass through IGNORE_RESULT to second
60761         check_float_internal call.
60762         (check_int): Do not check numerical result if flag IGNORE_RESULT
60763         set.
60764         (check_long): Likewise.
60765         (check_bool): Likewise.
60766         (check_longlong): Likewise.
60767         (lrint_test_data): Add tests of infinite and NaN arguments.
60768         (lrint_tonearest_test_data): Likewise.
60769         (lrint_towardzero_test_data): Likewise.
60770         (lrint_downward_test_data): Likewise.
60771         (lrint_upward_test_data): Likewise.
60772         (llrint_test_data): Likewise.
60773         (llrint_tonearest_test_data): Likewise.
60774         (llrint_towardzero_test_data): Likewise.
60775         (llrint_downward_test_data): Likewise.
60776         (llrint_upward_test_data): Likewise.
60777         (lround_test_data): Likewise.
60778         (llround_test_data): Likewise.
60780         * math/libm-test.inc (NO_TEST_INLINE): New macro.
60781         (ERRNO_UNCHANGED): Update value.
60782         (ERRNO_EDOM): Likewise.
60783         (ERRNO_ERANGE): Likewise.
60784         (NO_TEST_INLINE_FLOAT): New macro.
60785         (NO_TEST_INLINE_DOUBLE): Likewise.
60786         (enable_test): New function.
60787         (RUN_TEST_f_f): Check enable_test before running test.
60788         (RUN_TEST_2_f): Likewise.
60789         (RUN_TEST_fff_f): Likewise.
60790         (RUN_TEST_c_f): Likewise.
60791         (RUN_TEST_f_f1): Likewise.
60792         (RUN_TEST_fF_f1): Likewise.
60793         (RUN_TEST_fI_f1): Likewise.
60794         (RUN_TEST_ffI_f1): Likewise.
60795         (RUN_TEST_c_c): Likewise.
60796         (RUN_TEST_cc_c): Likewise.
60797         (RUN_TEST_f_i): Likewise.
60798         (RUN_TEST_f_i_tg): Likewise.
60799         (RUN_TEST_ff_i_tg): Likewise.
60800         (RUN_TEST_f_b): Likewise.
60801         (RUN_TEST_f_b_tg): Likewise.
60802         (RUN_TEST_f_l): Likewise.
60803         (RUN_TEST_f_L): Likewise.
60804         (RUN_TEST_fFF_11): Likewise.
60805         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
60806         conditionals.
60807         (cosh_test_data): Likewise.
60808         (exp_test_data): Likewise.
60809         (expm1_test_data): Likewise.
60810         (hypot_test_data): Likewise.
60811         (pow_test_data): Likewise.
60812         (sinh_test_data): Likewise.
60813         (tanh_test_data): Likewise.
60814         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
60815         flags argument.
60817         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
60818         tests with quiet NaN input and output.
60819         (acosh_test_data): Likewise.
60820         (asin_test_data): Likewise.
60821         (asinh_test_data): Likewise.
60822         (atan_test_data): Likewise.
60823         (atanh_test_data): Likewise.
60824         (atan2_test_data): Likewise.
60825         (cbrt_test_data): Likewise.
60826         (cos_test_data): Likewise.
60827         (cosh_test_data): Likewise.
60828         (erf_test_data): Likewise.
60829         (erfc_test_data): Likewise.
60830         (exp_test_data): Likewise.
60831         (exp10_test_data): Likewise.
60832         (exp2_test_data): Likewise.
60833         (expm1_test_data): Likewise.
60834         (hypot_test_data): Likewise.
60835         (j0_test_data): Likewise.
60836         (j1_test_data): Likewise.
60837         (jn_test_data): Likewise.
60838         (lgamma_test_data): Likewise.
60839         (log_test_data): Likewise.
60840         (log10_test_data): Likewise.
60841         (log1p_test_data): Likewise.
60842         (log2_test_data): Likewise.
60843         (pow_test_data): Likewise.
60844         (scalb_test_data): Likewise.
60845         (sin_test_data): Likewise.
60846         (sincos_test_data): Likewise.
60847         (sinh_test_data): Likewise.
60848         (tan_test_data): Likewise.
60849         (tanh_test_data): Likewise.
60850         (tgamma_test_data): Likewise.
60851         (y0_test_data): Likewise.
60852         (y1_test_data): Likewise.
60853         (yn_test_data): Likewise.
60855         [BZ #16167]
60856         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
60857         argument being NaN and avoid computations with second argument in
60858         that case.
60859         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
60860         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
60861         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
60863 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
60865         * locale/iso-639.def: Add Chitwani Tharu (the).
60867 2013-11-14  Andreas Schwab  <schwab@suse.de>
60869         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
60870         word instead of empty string.
60872 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60875         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
60876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60877         (__fe_nomask_env): Likewise.
60879 2013-11-13  Steve Ellcey  <sellcey@mips.com>
60881         * benchtests/bench-timing.h: Include time.h.
60883 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
60885         [BZ #15997]
60886         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
60887         to 3.4.0 for x32.
60888         * sysdeps/unix/sysv/linux/configure: Regenerated.
60890 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
60892         [BZ #16151]
60893         * stdlib/strtod_l.c (round_and_return): Do not consider
60894         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
60895         exponent one less than half the least subnormal exponent.
60896         * stdlib/test-strtod-round-data: Add more tests.
60897         * stdlib/tst-strtod-round.c (tests): Regenerated.
60899 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60901         [BZ #14143]
60902         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
60903         (__fe_mask_env): Likewise.
60904         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
60905         libm_hidden_proto and add function prototype.
60906         (__fe_mask_env): Add function prototype.
60907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
60908         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
60909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
60910         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
60911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
60912         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
60914 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60916         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
60917         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
60919 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
60921         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
60922         of htab_find_slot().
60924 2013-11-11  David S. Miller  <davem@davemloft.net>
60926         [BZ #16150]
60927         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
60928         symbol in the non-vis3 case in static builds.
60929         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
60930         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
60931         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
60932         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
60934 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
60936         [BZ #387]
60937         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
60938         it is empty.
60940 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60942         * benchtests/Makefile: Add bench-strtod.
60943         * benchtests/bench-strtod.c: New file: strtod benchtest
60945 2013-11-11  Andreas Schwab  <schwab@suse.de>
60947         [BZ #16153]
60948         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
60949         terminating NUL in key length.
60951 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60953         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
60954         Add artificial ODP entry for vDSO symbol for PPC64.
60955         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
60956         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
60958 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
60960         [BZ #15374]
60961         * nss/getent.c (services_keys): Recognize services starting with digit.
60963 2013-11-06  David S. Miller  <davem@davemloft.net>
60965         [BZ #15985]
60966         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
60967         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
60969 2013-11-06  Will Newton  <will.newton@linaro.org>
60971         * manual/memory.texi (Malloc Examples): Remove register
60972         keyword from examples.
60974 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
60976         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
60978 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
60980         [BZ #6981]
60981         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
60982         depending on [__GCC_IEC_559 > 0].
60983         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
60984         depending on [__GCC_IEC_559_COMPLEX > 0].
60986 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
60988         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
60989         to iso-639.def.
60991 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
60993         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
60995 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
60997         [BZ #16112]
60998         * malloc/malloc (malloc_info): Do not handle first bin as
60999         special case.
61001 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
61003         * locale/iso-639.def: Add Central Nahuatl (nhn).
61005 2013-11-01  Bruno Haible  <bruno@clisp.org>
61007         [BZ #7003]
61008         * manual/math.texi (BSD Random): Specify range upper bound as
61009         in POSIX.
61011 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
61013         * locale/iso-639.def: Add Meadow Mari (mhr).
61015 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
61017         [BZ #14752], [BZ #15763]
61018         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
61019         Validate name.
61020         * rt/tst_shm.c: Add test for escaping directory.
61022 2013-10-31  Andreas Schwab  <schwab@suse.de>
61024         [BZ #15917]
61025         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
61026         followed by 'x' as part of digit sequence.
61027         * stdio-common/tst-sscanf.c (double_tests2): New tests.
61029 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
61031         [BZ #16037]
61032         * configure.ac: allow GNU Make 4.0 and greater.
61033         * configure: Regenerated.
61035 2013-10-30  Will Newton  <will.newton@linaro.org>
61037         [BZ #16038]
61038         * malloc/hooks.c (memalign_check): Limit alignment to the
61039         maximum representable power of two.
61040         * malloc/malloc.c (__libc_memalign): Likewise.
61041         * malloc/tst-memalign.c (do_test): Add test for very
61042         large alignment values.
61043         * malloc/tst-posix_memalign.c (do_test): Likewise.
61045 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61047         [BZ #11087]
61048         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
61049         (munmap_chunk): Likewise.
61050         (mremap_chunk): Likewise.
61052 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
61054         [BZ #15799]
61055         * stdlib/div.c (div): Remove obsolete code.
61056         * stdlib/ldiv.c (ldiv): Likewise.
61057         * stdlib/lldiv.c (lldiv): Likewise.
61059 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
61061         [BZ #16071]
61062         * nss/nss_files/files-XXX.c (get_contents_ret): New
61063         enumerator.
61064         (get_contents): New function.
61065         (internal_getent): Use it.  Expand size of LINEBUFLEN.
61067 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
61069         * configure.in: Moved to ...
61070         * configure.ac: ... here. Change reference to configure.in
61071         to configure.ac.
61072         * sysdeps/arm/preconfigure.ac: ... here.
61073         configure.in to configure.ac.
61074         * sysdeps/gnu/configure.in: Moved to ...
61075         * sysdeps/gnu/configure.ac: ... here.
61076         * sysdeps/i386/configure.in: Moved to ...
61077         * sysdeps/i386/configure.ac: ... here.
61078         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
61079         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
61080         * sysdeps/mach/configure.in: Moved to ...
61081         * sysdeps/mach/configure.ac: ... here.
61082         * sysdeps/mach/hurd/configure.in: Moved to ...
61083         * sysdeps/mach/hurd/configure.ac: ... here.
61084         * sysdeps/powerpc/configure.in: Moved to ...
61085         * sysdeps/powerpc/configure.ac: ... here.
61086         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
61087         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
61088         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
61089         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
61090         * sysdeps/s390/s390-32/configure.in: Moved to ...
61091         * sysdeps/s390/s390-32/configure.ac: ... here.
61092         * sysdeps/s390/s390-64/configure.in: Moved to ...
61093         * sysdeps/s390/s390-64/configure.ac: ... here.
61094         * sysdeps/sh/configure.in: Moved to ...
61095         * sysdeps/sh/configure.ac: ... here.
61096         * sysdeps/sparc/configure.in: Moved to ...
61097         * sysdeps/sparc/configure.ac: ... here.
61098         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
61099         * sysdeps/unix/sysv/linux/configure.ac: ... here.
61100         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
61101         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
61102         * sysdeps/x86_64/configure.in: Moved to ...
61103         * sysdeps/x86_64/configure.ac: ... here.
61104         * sysdeps/x86_64/preconfigure.in: Moved to ...
61105         * sysdeps/x86_64/preconfigure.ac: ... here.
61106         * aclocal.m4: Change reference to configure.in to configure.ac.
61107         * config.h.in: Likewise.
61108         * manual/install.texi: Likewise.
61109         * manual/maint.texi: Likewise.
61110         * Makefile: Likewise.
61111         * malloc/Makefile: Likewise.
61112         * nscd/Makefile: Likewise.
61113         * Makeconfig: Change reference to configure.in and
61114         preconfigure.in to configure.ac and preconfigure.ac
61115         respectively.
61116         * INSTALL: Regenerated.
61117         * configure: Likewise.
61118         * sysdeps/gnu/configure: Likewise.
61119         * sysdeps/i386/configure: Likewise.
61120         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
61121         * sysdeps/mach/configure: Likewise.
61122         * sysdeps/mach/hurd/configure: Likewise.
61123         * sysdeps/powerpc/configure: Likewise.
61124         * sysdeps/powerpc/powerpc32/configure: Likewise.
61125         * sysdeps/powerpc/powerpc64/configure: Likewise.
61126         * sysdeps/s390/s390-32/configure: Likewise.
61127         * sysdeps/s390/s390-64/configure: Likewise.
61128         * sysdeps/sh/configure: Likewise.
61129         * sysdeps/sparc/configure: Likewise.
61130         * sysdeps/unix/sysv/linux/configure: Likewise.
61131         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
61132         * sysdeps/x86_64/configure: Likewise.
61133         * sysdeps/x86_64/preconfigure: Likewise.
61135 2013-10-29  Andreas Schwab  <schwab@suse.de>
61137         * stdio-common/Makefile (tst-swscanf-ENV): Define.
61139 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61141         * benchtests/pow-inputs: Add new inputs.
61143         * benchtests/exp-inputs: Add new inputs.
61145         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
61146         conditional check for return value.
61147         (__cos32): Likewise.
61149 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61151         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
61152         to provide a boost for large inputs with word alignment.
61153         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
61154         implementation based on optimized PPC64 strcpy.
61155         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
61156         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
61157         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
61158         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
61160 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61162         [BZ #2801]
61163         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
61165 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61167         [BZ #14876]
61168         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
61169         * time/tst-strptime.c (day_tests): Add testcase.
61171 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
61173         [BZ #14029]
61174         * manual/pattern.texi: Acknowledge that fnmatch can fail.
61176 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
61178         [BZ #16074]
61179         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
61180         MAP_FAILED on error.
61182 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
61184         [BZ #16072]
61185         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
61186         heap for large requests.
61188 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
61190         [BZ #9954]
61191         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
61192         result if the result has no associated interface.
61193         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
61194         interface for all 127.X.Y.Z addresses.
61196 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
61198         * locale/iso-639.def: Add Ligurian (lij)
61200 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
61202         [BZ #15825]
61203         * sunrpc/rpc_main.c: Document rpcgen -5.
61205 2013-10-19  Michael Stahl  <mstahl@redhat.com>
61207         * elf/rtld.c (do_preload): Print the reason why preloading failed.
61209 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61211         [BZ #10278]
61212         * posix/glob.c: Match only directories when trailing slash is present.
61213         * posix/tst-gnuglob.c (my_opendir): Do not open files.
61214         (main): Add testcase.
61216 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
61218         [BZ #15670]
61219         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
61221 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
61223         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
61224         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
61225         AUTH_DES and cindex for FIPS 140-2.
61226         (DES Encryption): Add cindex FIPS 46-3.
61228         * locale/locarchive.h (struct locarhandle): Add fname.
61229         * locale/programs/localedef.c (main): Pass ARGV[remaining]
61230         if an optional argument was specified to --list-archive,
61231         otherwise NULL.
61232         * locale/programs/locarchive.c (show_archive_content): Take new
61233         argument fname and pass it via ah.fname to open_archive.
61234         * locale/programs/localedef.h: Update decl.
61235         (open_archive): If AH->fname is non-null, open that file
61236         rather than the default file name, and don't ignore ENOENT.
61237         (create_archive): Set AH.fname to NULL.
61238         (delete_locales_from_archive): Likewise.
61239         (add_locales_to_archive): Likewise.
61240         * locale/programs/locfile.c (write_all_categories): Likewise.
61242 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
61243             Aldy Hernandez  <aldyh@redhat.com>
61245         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
61246         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
61247         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
61248         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
61249         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
61250         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
61251         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
61252         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
61253         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
61254         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
61255         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
61256         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
61257         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
61258         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
61259         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
61260         Likewise.
61261         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
61262         Likewise.
61263         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
61264         Likewise.
61265         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
61266         Likewise.
61267         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
61268         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
61269         Likewise.
61270         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
61271         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
61272         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
61273         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
61274         Likewise.
61275         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
61276         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
61277         * sysdeps/powerpc/preconfigure: Likewise.
61278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
61279         Likewise.
61280         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
61281         Replace contents of file by #include of <fenv_libc.h>.
61282         * sysdeps/powerpc/soft-fp/sfp-machine.h
61283         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
61284         and <sys/prctl.h>.
61285         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
61286         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
61287         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
61288         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
61289         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
61290         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
61291         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
61292         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
61293         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
61294         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
61295         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
61296         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
61297         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
61298         Allow copysignl PLT reference to be missing.
61300 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
61301             Joseph Myers  <joseph@codesourcery.com
61303         [BZ #15948]
61304         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
61305         single character.
61306         (add_to_tablewc): Assert sequence of wide characters is nonempty.
61308 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61310         * elf/tst-tls-dlinfo.c: Don't include tls.h.
61311         * elf/tst-tls1.c: Likewise.
61312         * elf/tst-tls10.h: Likewise.
61313         * elf/tst-tls14.c: Likewise.
61314         * elf/tst-tls2.c: Likewise.
61315         * elf/tst-tls3.c: Likewise.
61316         * elf/tst-tls4.c: Likewise.
61317         * elf/tst-tls5.c: Likewise.
61318         * elf/tst-tls6.c: Likewise.
61319         * elf/tst-tls7.c: Likewise.
61320         * elf/tst-tls8.c: Likewise.
61321         * elf/tst-tls9.c: Likewise.
61322         * elf/tst-tlsmod1.c: Likewise.
61323         * elf/tst-tlsmod13.c: Likewise.
61324         * elf/tst-tlsmod13a.c: Likewise.
61325         * elf/tst-tlsmod14a.c: Likewise.
61326         * elf/tst-tlsmod16a.c: Likewise.
61327         * elf/tst-tlsmod16b.c: Likewise.
61328         * elf/tst-tlsmod2.c: Likewise.
61329         * elf/tst-tlsmod3.c: Likewise.
61330         * elf/tst-tlsmod4.c: Likewise.
61331         * elf/tst-tlsmod5.c: Likewise.
61332         * elf/tst-tlsmod6.c: Likewise.
61334 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
61336         [BZ #12486]
61337         * malloc/malloc.c: remove checks for statistics.
61339 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61341         [BZ #15277]
61342         * inet/inet_net.c (inet_network): Detect additional invalid strings.
61343         * inet/tst-network.c: Add testcase.
61345 2013-10-17  Andreas Schwab  <schwab@suse.de>
61347         [BZ #15218]
61348         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
61349         to determine canonical name.
61351 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
61353         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
61354         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
61355         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
61356         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
61357         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
61358         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
61359         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
61360         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
61361         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
61362         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
61363         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
61364         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
61365         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
61366         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
61367         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
61368         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
61369         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
61370         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
61371         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
61372         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
61373         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
61374         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
61375         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
61376         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
61377         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
61378         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
61379         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
61380         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
61381         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
61382         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
61383         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
61384         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
61385         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
61386         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
61387         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
61388         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
61389         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
61390         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
61391         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
61392         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
61393         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
61394         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
61395         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
61396         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
61397         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
61398         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
61399         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
61400         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
61401         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
61402         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
61403         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
61404         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
61405         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
61406         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
61407         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61408         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
61409         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
61410         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
61412 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
61414         [BZ #16041]
61415         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
61416         make result into a quiet NaN.
61418 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
61420         * soft-fp/adddf3.c: Fix horizontal whitespace.
61421         * soft-fp/addsf3.c: Likewise.
61422         * soft-fp/addtf3.c: Likewise.
61423         * soft-fp/divdf3.c: Likewise.
61424         * soft-fp/divsf3.c: Likewise.
61425         * soft-fp/divtf3.c: Likewise.
61426         * soft-fp/double.h: Likewise.
61427         * soft-fp/eqdf2.c: Likewise.
61428         * soft-fp/eqsf2.c: Likewise.
61429         * soft-fp/eqtf2.c: Likewise.
61430         * soft-fp/extenddftf2.c: Likewise.
61431         * soft-fp/extended.h: Likewise.
61432         * soft-fp/extendsfdf2.c: Likewise.
61433         * soft-fp/extendsftf2.c: Likewise.
61434         * soft-fp/extendxftf2.c: Likewise.
61435         * soft-fp/fixdfdi.c: Likewise.
61436         * soft-fp/fixdfsi.c: Likewise.
61437         * soft-fp/fixdfti.c: Likewise.
61438         * soft-fp/fixsfdi.c: Likewise.
61439         * soft-fp/fixsfsi.c: Likewise.
61440         * soft-fp/fixsfti.c: Likewise.
61441         * soft-fp/fixtfdi.c: Likewise.
61442         * soft-fp/fixtfsi.c: Likewise.
61443         * soft-fp/fixtfti.c: Likewise.
61444         * soft-fp/fixunsdfdi.c: Likewise.
61445         * soft-fp/fixunsdfsi.c: Likewise.
61446         * soft-fp/fixunsdfti.c: Likewise.
61447         * soft-fp/fixunssfdi.c: Likewise.
61448         * soft-fp/fixunssfsi.c: Likewise.
61449         * soft-fp/fixunssfti.c: Likewise.
61450         * soft-fp/fixunstfdi.c: Likewise.
61451         * soft-fp/fixunstfsi.c: Likewise.
61452         * soft-fp/fixunstfti.c: Likewise.
61453         * soft-fp/floatdidf.c: Likewise.
61454         * soft-fp/floatdisf.c: Likewise.
61455         * soft-fp/floatditf.c: Likewise.
61456         * soft-fp/floatsidf.c: Likewise.
61457         * soft-fp/floatsisf.c: Likewise.
61458         * soft-fp/floatsitf.c: Likewise.
61459         * soft-fp/floattidf.c: Likewise.
61460         * soft-fp/floattisf.c: Likewise.
61461         * soft-fp/floattitf.c: Likewise.
61462         * soft-fp/floatundidf.c: Likewise.
61463         * soft-fp/floatundisf.c: Likewise.
61464         * soft-fp/floatunditf.c: Likewise.
61465         * soft-fp/floatunsidf.c: Likewise.
61466         * soft-fp/floatunsisf.c: Likewise.
61467         * soft-fp/floatunsitf.c: Likewise.
61468         * soft-fp/floatuntidf.c: Likewise.
61469         * soft-fp/floatuntisf.c: Likewise.
61470         * soft-fp/floatuntitf.c: Likewise.
61471         * soft-fp/fmadf4.c: Likewise.
61472         * soft-fp/fmasf4.c: Likewise.
61473         * soft-fp/fmatf4.c: Likewise.
61474         * soft-fp/gedf2.c: Likewise.
61475         * soft-fp/gesf2.c: Likewise.
61476         * soft-fp/getf2.c: Likewise.
61477         * soft-fp/ledf2.c: Likewise.
61478         * soft-fp/lesf2.c: Likewise.
61479         * soft-fp/letf2.c: Likewise.
61480         * soft-fp/muldf3.c: Likewise.
61481         * soft-fp/mulsf3.c: Likewise.
61482         * soft-fp/multf3.c: Likewise.
61483         * soft-fp/negdf2.c: Likewise.
61484         * soft-fp/negsf2.c: Likewise.
61485         * soft-fp/negtf2.c: Likewise.
61486         * soft-fp/op-1.h: Likewise.
61487         * soft-fp/op-2.h: Likewise.
61488         * soft-fp/op-4.h: Likewise.
61489         * soft-fp/op-8.h: Likewise.
61490         * soft-fp/op-common.h: Likewise.
61491         * soft-fp/quad.h: Likewise.
61492         * soft-fp/single.h: Likewise.
61493         * soft-fp/soft-fp.h: Likewise.
61494         * soft-fp/sqrtdf2.c: Likewise.
61495         * soft-fp/sqrtsf2.c: Likewise.
61496         * soft-fp/sqrttf2.c: Likewise.
61497         * soft-fp/subdf3.c: Likewise.
61498         * soft-fp/subsf3.c: Likewise.
61499         * soft-fp/subtf3.c: Likewise.
61500         * soft-fp/truncdfsf2.c: Likewise.
61501         * soft-fp/trunctfdf2.c: Likewise.
61502         * soft-fp/trunctfsf2.c: Likewise.
61503         * soft-fp/trunctfxf2.c: Likewise.
61504         * soft-fp/unorddf2.c: Likewise.
61505         * soft-fp/unordsf2.c: Likewise.
61506         * soft-fp/unordtf2.c: Likewise.
61508 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
61510         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
61511         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
61513 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
61515         * elf/dl-libc.c: Clear initfini list after freeing.
61517 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
61519         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
61520         * soft-fp/addsf3.c: Likewise.
61521         * soft-fp/addtf3.c: Likewise.
61522         * soft-fp/divdf3.c: Likewise.
61523         * soft-fp/divsf3.c: Likewise.
61524         * soft-fp/divtf3.c: Likewise.
61525         * soft-fp/double.h: Likewise.
61526         * soft-fp/eqdf2.c: Likewise.
61527         * soft-fp/eqsf2.c: Likewise.
61528         * soft-fp/eqtf2.c: Likewise.
61529         * soft-fp/extenddftf2.c: Likewise.
61530         * soft-fp/extended.h: Likewise.
61531         * soft-fp/extendsfdf2.c: Likewise.
61532         * soft-fp/extendsftf2.c: Likewise.
61533         * soft-fp/extendxftf2.c: Likewise.
61534         * soft-fp/fixdfdi.c: Likewise.
61535         * soft-fp/fixdfsi.c: Likewise.
61536         * soft-fp/fixdfti.c: Likewise.
61537         * soft-fp/fixsfdi.c: Likewise.
61538         * soft-fp/fixsfsi.c: Likewise.
61539         * soft-fp/fixsfti.c: Likewise.
61540         * soft-fp/fixtfdi.c: Likewise.
61541         * soft-fp/fixtfsi.c: Likewise.
61542         * soft-fp/fixtfti.c: Likewise.
61543         * soft-fp/fixunsdfdi.c: Likewise.
61544         * soft-fp/fixunsdfsi.c: Likewise.
61545         * soft-fp/fixunsdfti.c: Likewise.
61546         * soft-fp/fixunssfdi.c: Likewise.
61547         * soft-fp/fixunssfsi.c: Likewise.
61548         * soft-fp/fixunssfti.c: Likewise.
61549         * soft-fp/fixunstfdi.c: Likewise.
61550         * soft-fp/fixunstfsi.c: Likewise.
61551         * soft-fp/fixunstfti.c: Likewise.
61552         * soft-fp/floatdidf.c: Likewise.
61553         * soft-fp/floatdisf.c: Likewise.
61554         * soft-fp/floatditf.c: Likewise.
61555         * soft-fp/floatsidf.c: Likewise.
61556         * soft-fp/floatsisf.c: Likewise.
61557         * soft-fp/floatsitf.c: Likewise.
61558         * soft-fp/floattidf.c: Likewise.
61559         * soft-fp/floattisf.c: Likewise.
61560         * soft-fp/floattitf.c: Likewise.
61561         * soft-fp/floatundidf.c: Likewise.
61562         * soft-fp/floatundisf.c: Likewise.
61563         * soft-fp/floatunsidf.c: Likewise.
61564         * soft-fp/floatunsisf.c: Likewise.
61565         * soft-fp/floatuntidf.c: Likewise.
61566         * soft-fp/floatuntisf.c: Likewise.
61567         * soft-fp/floatuntitf.c: Likewise.
61568         * soft-fp/fmadf4.c: Likewise.
61569         * soft-fp/fmasf4.c: Likewise.
61570         * soft-fp/fmatf4.c: Likewise.
61571         * soft-fp/gedf2.c: Likewise.
61572         * soft-fp/gesf2.c: Likewise.
61573         * soft-fp/getf2.c: Likewise.
61574         * soft-fp/ledf2.c: Likewise.
61575         * soft-fp/lesf2.c: Likewise.
61576         * soft-fp/letf2.c: Likewise.
61577         * soft-fp/muldf3.c: Likewise.
61578         * soft-fp/mulsf3.c: Likewise.
61579         * soft-fp/multf3.c: Likewise.
61580         * soft-fp/negdf2.c: Likewise.
61581         * soft-fp/negsf2.c: Likewise.
61582         * soft-fp/negtf2.c: Likewise.
61583         * soft-fp/op-1.h: Likewise.
61584         * soft-fp/op-2.h: Likewise.
61585         * soft-fp/op-4.h: Likewise.
61586         * soft-fp/op-8.h: Likewise.
61587         * soft-fp/op-common.h: Likewise.
61588         * soft-fp/quad.h: Likewise.
61589         * soft-fp/single.h: Likewise.
61590         * soft-fp/soft-fp.h: Likewise.
61591         * soft-fp/sqrtdf2.c: Likewise.
61592         * soft-fp/sqrtsf2.c: Likewise.
61593         * soft-fp/sqrttf2.c: Likewise.
61594         * soft-fp/subdf3.c: Likewise.
61595         * soft-fp/subsf3.c: Likewise.
61596         * soft-fp/subtf3.c: Likewise.
61597         * soft-fp/truncdfsf2.c: Likewise.
61598         * soft-fp/trunctfdf2.c: Likewise.
61599         * soft-fp/trunctfsf2.c: Likewise.
61600         * soft-fp/trunctfxf2.c: Likewise.
61601         * soft-fp/unorddf2.c: Likewise.
61602         * soft-fp/unordsf2.c: Likewise.
61603         * soft-fp/unordtf2.c: Likewise.
61605 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
61607         [BZ #15672]
61608         * misc/error.c (error_tail): Fix possible buffer overflow.
61610 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
61612         [BZ #13028]
61613         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
61614         address.
61616 2013-10-14  P. J. McDermott  <pj@pehjota.net>
61618         [BZ #832]
61619         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
61620         testing pipefail option.
61622 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61624         * soft-fp/double.h: Indent preprocessor directives inside #if.
61625         * soft-fp/extended.h: Likewise.
61626         * soft-fp/op-2.h: Likewise.
61627         * soft-fp/op-4.h: Likewise.
61628         * soft-fp/op-common.h: Likewise.
61629         * soft-fp/quad.h: Likewise.
61630         * soft-fp/single.h: Likewise.
61631         * soft-fp/soft-fp.h: Likewise.
61633 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
61635         * iconv/iconv_prog.c: Fix typos.
61636         * stdio-common/psiginfo-data.h: Likewise.
61638 2013-10-12   Reuben Thomas <rrt@sc3d.org>
61640         [BZ #15764]
61641         * locale/setlocale.c: Fix typo.
61643 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
61645         [BZ #16036]
61646         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
61647         signaling NaN arguments.
61648         * soft-fp/unordsf2.c (__unordsf2): Likewise.
61649         * soft-fp/unordtf2.c (__unordtf2): Likewise.
61651         [BZ #14910]
61652         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
61653         unordered operands.
61654         * soft-fp/gesf2.c (__gesf2): Likewise.
61655         * soft-fp/getf2.c (__getf2): Likewise.
61656         * soft-fp/ledf2.c (__ledf2): Likewise.
61657         * soft-fp/lesf2.c (__lesf2): Likewise.
61658         * soft-fp/letf2.c (__letf2): Likewise.
61660         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
61661         * soft-fp/eqsf2.c (__eqsf2): Likewise.
61662         * soft-fp/eqtf2.c (__eqtf2): Likewise.
61663         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
61664         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
61665         * soft-fp/fixdfti.c (__fixdfti): Likewise.
61666         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
61667         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
61668         * soft-fp/fixsfti.c (__fixsfti): Likewise.
61669         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
61670         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
61671         * soft-fp/fixtfti.c (__fixtfti): Likewise.
61672         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
61673         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
61674         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
61675         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
61676         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
61677         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
61678         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
61679         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
61680         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
61681         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
61682         * soft-fp/floatdisf.c (__floatdisf): Likewise.
61683         * soft-fp/floatsisf.c (__floatsisf): Likewise.
61684         * soft-fp/floattidf.c (__floattidf): Likewise.
61685         * soft-fp/floattisf.c (__floattisf): Likewise.
61686         * soft-fp/floattitf.c (__floattitf): Likewise.
61687         * soft-fp/floatundidf.c (__floatundidf): Likewise.
61688         * soft-fp/floatundisf.c (__floatundisf): Likewise.
61689         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
61690         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
61691         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
61692         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
61693         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
61694         * soft-fp/gesf2.c (__gesf2): Likewise.
61695         * soft-fp/getf2.c (__getf2): Likewise.
61696         * soft-fp/ledf2.c (__ledf2): Likewise.
61697         * soft-fp/lesf2.c (__lesf2): Likewise.
61698         * soft-fp/letf2.c (__letf2): Likewise.
61700         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
61701         Undefine and redefine.
61702         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
61703         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
61704         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
61705         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
61706         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61707         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
61708         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61709         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
61710         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61711         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
61712         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61713         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
61714         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61715         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
61716         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
61718         [BZ #16032]
61719         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
61720         without decrementing exponent if mantissa >= that for the
61721         denominator, not >.
61722         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
61723         denominator, not >.  Decrement exponent in < case instead of
61724         incrementing in >= case.
61725         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
61726         without decrementing exponent if mantissa >= that for the
61727         denominator, not >.
61729         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
61730         computing saturated result for unsigned overflow.
61732 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
61733             Jeff Law  <law@redhat.com>
61735         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
61736         (atan2Mp): Add systemtap probe marker.
61737         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
61738         (__ieee754_log): Add systemtap probe marker.
61739         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
61740         (atanMp): Add systemtap probe marker.
61741         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
61742         (tanMp): Add systemtap probe marker.
61743         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
61744         (__slowexp): Add systemtap probe marker.
61745         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
61746         (__slowpow): Add systemtap probe marker.
61747         * manual/probes.texi: Document probes.
61749 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
61751         [BZ #15362]
61752         * libio/fileops.c (_IO_new_file_write): Return count of bytes
61753         written.
61754         (_IO_new_file_xsputn): Don't return EOF if nothing has been
61755         written.
61756         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
61757         written to buffer but not flushed.
61758         * libio/iofwrite_u.c:  Likewise.
61759         * libio/iopadn.c:  Return bytes returned even if EOF was
61760         encountered.
61761         * libio/iowpadn.c:  Likewise.
61762         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
61763         if _IO_padn does not write the whole buffer.
61764         [!COMPILE_WPRINTF] (PAD): Likewise.
61766 2013-10-10  David S. Miller  <davem@davemloft.net>
61768         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
61769         directory block.
61771 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61773         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
61774         instead of FSF address.
61775         * soft-fp/fixdfti.c: Likewise.
61776         * soft-fp/fixsfti.c: Likewise.
61777         * soft-fp/fixtfti.c: Likewise.
61778         * soft-fp/fixunsdfti.c: Likewise.
61779         * soft-fp/fixunssfti.c: Likewise.
61780         * soft-fp/fixunstfti.c: Likewise.
61781         * soft-fp/floattidf.c: Likewise.
61782         * soft-fp/floattisf.c: Likewise.
61783         * soft-fp/floattitf.c: Likewise.
61784         * soft-fp/floatuntidf.c: Likewise.
61785         * soft-fp/floatuntisf.c: Likewise.
61786         * soft-fp/floatuntitf.c: Likewise.
61787         * soft-fp/trunctfxf2.c: Likewise.
61789         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
61790         * soft-fp/fixdfti.c: Likewise.
61791         * soft-fp/fixsfti.c: Likewise.
61792         * soft-fp/fixtfti.c: Likewise.
61793         * soft-fp/fixunsdfti.c: Likewise.
61794         * soft-fp/fixunssfti.c: Likewise.
61795         * soft-fp/fixunstfti.c: Likewise.
61796         * soft-fp/floattidf.c: Likewise.
61797         * soft-fp/floattisf.c: Likewise.
61798         * soft-fp/floattitf.c: Likewise.
61799         * soft-fp/floatuntidf.c: Likewise.
61800         * soft-fp/floatuntisf.c: Likewise.
61801         * soft-fp/floatuntitf.c: Likewise.
61802         * soft-fp/trunctfxf2.c: Likewise.
61804 2013-10-10  David S. Miller  <davem@davemloft.net>
61806         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61808 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
61810         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
61811         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
61812         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
61813         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
61814         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
61815         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
61816         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
61818         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
61819         for NaNs before doing comparisons on argument.
61820         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
61821         Likewise.
61823 2013-10-10  Will Newton  <will.newton@linaro.org>
61825         * malloc/hooks.c (memalign_check): Ensure the value of bytes
61826         passed to _int_memalign does not overflow.
61828 2013-10-10  Torvald Riegel  <triegel@redhat.com>
61830         * scripts/bench.pl: Add include-sources directive.
61831         * benchtests/README: Update documentation.
61833 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
61835         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
61836         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
61837         instead of FP_INIT_ROUNDMODE.
61838         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
61839         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
61841         [BZ #16034]
61842         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
61843         copy class of input value.
61844         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
61845         not handle exceptions.
61846         * soft-fp/negsf2.c (__negsf2): Likewise.
61847         * soft-fp/negtf2.c (__negtf2): Likewise.
61848         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
61850 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
61852         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
61853         semicolon.  From Linux kernel.
61855 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
61857         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
61859 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
61861         [BZ #156]
61862         * manual/socket.texi: Added statement about buffer
61863         for gethostbyname2_r.
61865 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
61867         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
61868         Use .p2align directive instead, throughout.
61869         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
61870         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
61871         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
61872         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
61873         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
61874         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
61875         * sysdeps/x86_64/strchr.S: Likewise.
61876         * sysdeps/x86_64/strrchr.S: Likewise.
61878 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
61880         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
61882         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
61884         * sysdeps/generic/math_private.h (__mpsin1): Remove
61885         declaration.
61886         (__mpcos1): Likewise.
61887         (__mpsin): New argument __range_reduce.
61888         (__mpcos): Likewise.
61889         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
61890         (slow): Use __mpsin and __mpcos.
61891         (slow1): Likewise.
61892         (slow2): Likewise.
61893         (sloww): Likewise.
61894         (sloww1): Likewise.
61895         (sloww2): Likewise.
61896         (bsloww): Likewise.
61897         (bsloww1): Likewise.
61898         (bsloww2): Likewise.
61899         (cslow2): Likewise.
61900         (csloww): Likewise.
61901         (csloww1): Likewise.
61902         (csloww2): Likewise.
61903         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
61904         range_reduce.  Merge in __mpsin1.
61905         (__mpcos): Likewise.
61906         (__mpsin1): Remove.
61907         (__mpcos1): Likewise.
61909 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
61911         * locale/loadlocale.c (_nl_intern_locale_data): Use
61912         LOCFILE_ALIGNED_P.
61913         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
61914         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
61915         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
61916         obstack data is appropriately aligned.
61917         (obstack_int32_grow_fast): Likewise.
61918         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
61919         * locale/programs/locfile.c (add_locale_uint32): Likewise.
61920         (add_locale_uint32_array): Likewise.
61922 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
61924         * benchtests/Makefile: Remove ARGLIST and RET variables.
61925         ($(objpfx)bench-%.c): Pass only function name to the script.
61926         * benchtests/README: Update documentation.
61927         * benchtests/acos-inputs: Add new directives.
61928         * benchtests/acosh-inputs: Likewise.
61929         * benchtests/asin-inputs: Likewise.
61930         * benchtests/asinh-inputs: Likewise.
61931         * benchtests/atan-inputs: Likewise.
61932         * benchtests/atanh-inputs: Likewise.
61933         * benchtests/cos-inputs: Likewise.
61934         * benchtests/cosh-inputs: Likewise.
61935         * benchtests/exp-inputs: Likewise.
61936         * benchtests/log-inputs: Likewise.
61937         * benchtests/pow-inputs: Likewise.
61938         * benchtests/rint-inputs: Likewise.
61939         * benchtests/sin-inputs: Likewise.
61940         * benchtests/sinh-inputs: Likewise.
61941         * benchtests/tan-inputs: Likewise.
61942         * benchtests/tanh-inputs: Likewise.
61943         * scripts/bench.pl: Add support for new directives.
61945 2013-10-07  Alan Modra  <amodra@gmail.com>
61947         * README: Fix careless merge.
61949 2013-10-05  Alan Modra  <amodra@gmail.com>
61951         * NEWS: Mention powerpc64le support and bugs fixed.
61952         * README: Both big-endian and little-endian powerpc64 supported.
61954 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61956         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
61957         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
61958         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
61959         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
61961 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
61963         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
61964         match prototype.
61966 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
61968         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
61969         Move -mhard-float appending from
61970         ports/sysdeps/powerpc/powerpc32/Makefile.
61971         [$(with-fp) = yes] (ASFLAGS): Likewise.
61972         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
61973         * sysdeps/powerpc/nofpu: Move directory from
61974         ports/sysdeps/powerpc/nofpu.
61975         * sysdeps/powerpc/soft-fp: Move directory from
61976         ports/sysdeps/powerpc/soft-fp.
61977         * sysdeps/powerpc/powerpc32/405: Move directory from
61978         ports/sysdeps/powerpc/powerpc32/405.
61979         * sysdeps/powerpc/powerpc32/440: Move directory from
61980         ports/sysdeps/powerpc/powerpc32/440.
61981         * sysdeps/powerpc/powerpc32/464: Move directory from
61982         ports/sysdeps/powerpc/powerpc32/464.
61983         * sysdeps/powerpc/powerpc32/476: Move directory from
61984         ports/sysdeps/powerpc/powerpc32/476.
61985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
61986         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
61987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
61988         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
61989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
61990         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
61991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
61992         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
61993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
61994         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
61995         * README: Update for powerpc-*-linux-gnu software floating point
61996         support in libc.
61998         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
61999         case to powerpc/powerpc32*.
62000         * sysdeps/unix/sysv/linux/configure: Regenerated.
62002         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
62003         (_FPU_MASK_OM): Define as 0x04.
62004         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
62005         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
62006         0x00c10080.
62007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
62008         0x0000003c.
62009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
62011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
62012         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62013         getcontext_e500.
62014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
62015         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
62016         setcontext_e500.
62017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
62018         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
62019         and setcontext_e500.
62021 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
62023         * locale/iso-3166.def: Update iso-1366.def and related occurrences
62025 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
62027         * manual/threads.texi (Default Thread Attributes): Fix typo.
62029 2013-10-04  Will Newton  <will.newton@linaro.org>
62031         * malloc/Makefile: Add tst-memalign.
62032         * malloc/tst-memalign.c: New file.
62034         * malloc/tst-posix_memalign.c: Add comments.
62035         (do_test): Add comments and call free on all potentially
62036         allocated pointers. Add space after cast.
62038         * malloc/tst-pvalloc.c: Add comments.
62039         (do_test): Add comments and call free on all potentially
62040         allocated pointers. Remove duplicate check for NULL pointer.
62041         Add space after cast.
62043         * malloc/tst-valloc.c: Add comments.
62044         (do_test): Add comments and call free on all potentially
62045         allocated pointers. Remove duplicate check for NULL pointer.
62046         Add space after cast.
62048 2013-10-04  Alan Modra  <amodra@gmail.com>
62050         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62051         Use stdint types in rather than __attribute__((mode())).
62052         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62054 2013-10-04  Alan Modra  <amodra@gmail.com>
62056         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
62057         Correct handling of unaligned relocs for little-endian.
62058         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
62060 2013-10-04  Alan Modra  <amodra@gmail.com>
62062         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
62063         * configure: Regenerate.
62064         * nptl/shlib-versions: Powerpc*le starts at 2.18.
62065         * shlib-versions: Likewise.
62067 2013-10-04  Alan Modra  <amodra@gmail.com>
62069         * string/tester.c (test_memrchr): Increment reported test cycle.
62071 2013-10-04  Alan Modra  <amodra@gmail.com>
62073         * string/test-memcpy.c (do_one_test): When reporting errors, print
62074         string address and don't overrun end of string.
62076 2013-10-04  Alan Modra  <amodra@gmail.com>
62078         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
62079         insrdi.  Make better use of reg selection to speed exit slightly.
62080         Schedule entry path a little better.  Remove useless "are we done"
62081         checks on entry to main loop.  Handle wrapping around zero address.
62082         Correct main loop count.  Handle single left-over word from main
62083         loop inline rather than by using loop_small.  Remove extra word
62084         case in loop_small caused by wrong loop count.  Add little-endian
62085         support.
62086         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62087         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
62088         cache hint.
62089         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62090         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
62091         support.  Avoid rlwimi.
62092         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
62094 2013-10-04  Alan Modra  <amodra@gmail.com>
62096         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
62097         insrdi.  Formatting.
62098         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
62099         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
62100         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
62101         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62102         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
62103         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
62105 2013-10-04  Alan Modra  <amodra@gmail.com>
62107         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
62108         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62109         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
62110         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
62111         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62112         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62113         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62114         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
62115         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
62116         use of regs.  Use power7 mtocrf.  Tidy function tails.
62118 2013-10-04  Alan Modra  <amodra@gmail.com>
62120         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
62121         Formatting.  Consistently use rXXX register defines or rN defines.
62122         Use early exit labels that avoid restoring unused non-volatile regs.
62123         Make cr field use more consistent with rWORDn compares.  Rename
62124         regs used as shift registers for unaligned loop, using rN defines
62125         for short lifetime/multiple use regs.
62126         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62127         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
62128         addi 1,1,64 to pop stack frame.  Simplify return value code.
62129         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62131 2013-10-04  Alan Modra  <amodra@gmail.com>
62133         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
62134         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
62135         rather than rlwimi.
62136         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
62137         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
62138         little-endian support.  Correct typos.
62139         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
62140         rather than rlwimi.
62141         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
62142         in loop and entry code to keep "and." results.
62143         (strchr): Add little-endian support.  Comment.  Move cntlzd
62144         earlier in tail.
62145         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
62147 2013-10-04  Alan Modra  <amodra@gmail.com>
62149         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
62150         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
62151         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
62152         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
62154 2013-10-04  Alan Modra  <amodra@gmail.com>
62156         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
62157         (rTMP): Define as r11.
62158         (strcmp): Add little-endian support.  Optimise tail.
62159         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
62160         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62161         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62162         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62163         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62164         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62165         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62167 2013-10-04  Alan Modra  <amodra@gmail.com>
62169         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
62170         little-endian support.  Remove unnecessary "are we done" tests.
62171         Handle "s" wrapping around zero and extremely large "size".
62172         Correct main loop count.  Handle single left-over word from main
62173         loop inline rather than by using small_loop.  Correct comments.
62174         Delete "zero" tail, use "end_max" instead.
62175         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
62177 2013-10-04  Alan Modra  <amodra@gmail.com>
62179         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
62180         support.  Don't branch over align.
62181         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
62182         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
62183         support.  Rearrange tmp reg use to suit.  Comment.
62184         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
62186 2013-10-04  Alan Modra  <amodra@gmail.com>
62188         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
62190 2013-10-04  Alan Modra  <amodra@gmail.com>
62192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
62193         conditional form of branch and link when obtaining pc.
62194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
62196 2013-10-04  Alan Modra  <amodra@gmail.com>
62198         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
62199         HIWORD/LOWORD.
62200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
62201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
62203 2013-10-04  Alan Modra  <amodra@gmail.com>
62205         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
62206         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
62207         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
62208         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
62209         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
62210         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
62211         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
62212         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
62213         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
62214         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
62216 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62217             Alistair Popple <alistair@ozlabs.au.ibm.com>
62218             Alan Modra <amodra@gmail.com>
62220         [BZ #15723]
62221         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
62222         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
62223         _dl_hwcap access for little-endian.
62224         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
62225         destroy vmx regs when saving unaligned.
62226         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
62227         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
62228         destroy vmx regs when saving unaligned.
62230 2013-10-04  Alan Modra  <amodra@gmail.com>
62232         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
62233         Don't use a union to pack hi/low value.
62235 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62237         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
62238         for little-endian.
62239         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62240         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
62241         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
62242         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62243         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62245 2013-10-04  Alan Modra  <amodra@gmail.com>
62247         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
62248         constants to usual value for .cst8 section, and remove redundant
62249         high address load.
62250         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
62251         constant for 0x1p52.  Load little-endian words of double from
62252         correct stack offsets.
62254 2013-10-04  Alan Modra  <amodra@gmail.com>
62256         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
62257         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
62258         words of double from correct stack offsets.
62259         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
62260         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
62261         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62262         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62263         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62264         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62265         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62266         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
62267         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
62268         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62269         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62270         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62271         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
62272         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
62273         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
62274         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
62275         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
62277 2013-10-04  Alan Modra  <amodra@gmail.com>
62279         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
62280         64-bit int/double union.
62281         (_FPU_SETCW): Likewise.
62282         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
62283         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
62285 2013-10-04  Alan Modra  <amodra@gmail.com>
62287         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
62288         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
62290 2013-10-04  Alan Modra  <amodra@gmail.com>
62292         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
62293         use vector int constants.
62294         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
62296 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62298         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
62299         array with long long.
62300         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
62301         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
62302         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
62303         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
62304         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
62305         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
62306         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
62307         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
62308         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
62309         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
62310         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
62311         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
62312         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
62314 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
62316         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
62317         (__signbit): Likewise.  Correct for little-endian.
62318         (__signbitl): Call __signbit.
62319         (lrint): Correct for little-endian.
62320         (lrintf): Call lrint.
62322 2013-10-04  Alan Modra  <amodra@gmail.com>
62324         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
62325         union 32-bit int array member with 64-bit int array.
62326         (t515, tm256): Double rather than long double.
62327         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
62329 2013-10-04  Alan Modra  <amodra@gmail.com>
62331         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
62332         Delete.
62333         (IEEE854_LONG_DOUBLE_BIAS): Delete.
62334         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
62335         version of math_ldbl.h.
62337 2013-10-04  Alan Modra  <amodra@gmail.com>
62339         [BZ #15734], [BZ #15735]
62340         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
62341         all uses of ieee875 long double macros and unions.  Simplify test
62342         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
62343         ldbl_extract_mantissa value for ix,iy exponents.  Properly
62344         normalize after ldbl_extract_mantissa, and don't add hidden bit
62345         already handled.  Don't treat low word of ieee854 mantissa like
62346         low word of IBM long double and mask off bit when testing for
62347         zero.
62348         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
62349         all uses of ieee875 long double macros and unions.  Simplify tests
62350         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
62351         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
62352         two1022, instead use their values.  Recognise that tests for large
62353         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
62354         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
62355         Rewrite all uses of ieee875 long double macros and unions.  Simplify
62356         test for 0.0L and nan.  Correct negation.
62357         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
62358         ieee875 long double macros and unions.  Correct output for large
62359         magnitude x.  Correct absolute value calculation.
62360         (__erfcl): Likewise.
62361         * math/libm-test.inc: Add tests for errors discovered in IBM long
62362         double versions of fmodl, remainderl, erfl and erfcl.
62364 2013-10-04  Alan Modra  <amodra@gmail.com>
62366         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
62367         all uses of ieee854 long double macros and unions.  Simplify tests
62368         for long doubles that are fully specified by the high double.
62369         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
62370         Likewise.
62371         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
62372         Remove dead code too.
62373         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
62374         (__ieee754_ynl): Likewise.
62375         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
62376         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
62377         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
62378         Remove dead code too.
62379         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
62380         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
62381         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
62382         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
62383         Simplify.
62384         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
62385         Simplify.
62386         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
62387         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
62388         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
62389         Comment on variable precision.
62390         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
62391         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
62392         Likewise.
62393         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
62394         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
62395         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
62396         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
62397         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
62399 2013-10-04  Alan Modra  <amodra@gmail.com>
62401         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
62402         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
62403         all uses of ieee854 long double macros and unions.
62404         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
62405         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
62406         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
62407         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
62408         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
62409         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
62410         Likewise.
62411         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
62412         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
62413         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
62414         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
62415         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
62416         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
62417         Simplify sign and nan test too.
62418         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
62419         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
62420         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
62421         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
62422         Likewise.
62423         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
62424         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
62425         Likewise.
62426         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
62427         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
62428         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
62429         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
62430         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
62431         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
62433 2013-10-04  Alan Modra  <amodra@gmail.com>
62435         * stdio-common/printf_size.c (__printf_size): Don't use
62436         union ieee854_long_double in fpnum union.
62437         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
62438         signbit macro to retrieve sign from long double.
62439         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
62440         retrieve sign from long double.
62441         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
62442         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
62443         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
62444         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
62445         * math/test-misc.c (main): Don't use union ieee854_long_double.
62447 2013-10-04  Alan Modra  <amodra@gmail.com>
62449         [BZ #15680]
62450         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
62451         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
62452         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
62453         calculation.  Remove unnecessary test for denormal exponent.
62454         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
62455         Correct handling of denormals.  Avoid undefined shift behaviour.
62456         Correct normalisation of low mantissa when low double is denormal.
62457         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
62458         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
62459         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
62460         Correct normalisation of low mantissa.  Test for overflow of high
62461         mantissa and normalise.
62462         (ldbl_nearbyint): Use more readable constant for two52.
62463         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
62464         (__mpn_construct_long_double): Fix test for overflow of high
62465         mantissa and correct normalisation.  Avoid undefined shift.
62467 2013-10-04  Alan Modra  <amodra@gmail.com>
62469         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
62470         (union ibm_extended_long_double): Define as an array of ieee754_double.
62471         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
62472         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
62473         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
62474         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
62475         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62476         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
62477         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62478         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62479         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
62480         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
62481         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62483 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
62485         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
62486         page size instead of calling getpagesize.
62488         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
62489         (LOCFILE_ALIGN_MASK): Likewise.
62490         (LOCFILE_ALIGN_UP): Likewise.
62491         (LOCFILE_ALIGNED_P): Likewise.
62492         * locale/programs/ld-collate.c (collate_output): Use the new
62493         macros instead of __alignof__ (int32_t).
62494         * locale/weight.h (findidx): Likewise.
62496 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
62498         [BZ #431]
62499         * manual/string.texi: Fix strncat and wcsncat.
62501 2013-10-03  Brooks Moses  <bmoses@google.com>
62503         [BZ #15915]
62504         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
62505         * Makerules: ...here, and adjust associated comments.
62507 2013-10-02  Will Newton  <will.newton@linaro.org>
62509         * malloc/Makefile: Add tst-pvalloc.
62510         * malloc/tst-pvalloc.c: New file.
62512 2013-10-02  Will Newton  <will.newton@linaro.org>
62514         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
62515         improve test coverage.
62517 2013-10-02  Will Newton  <will.newton@linaro.org>
62519         * malloc/Makefile: Add tst-posix_memalign.
62520         * malloc/tst-posix_memalign.c: New file.
62522 2013-10-01  Eric Blake  <eblake@redhat.com>
62524         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
62525         Use __THROWNL rather than __THROW on static functions.
62527 2013-09-30  Petr Machata  <pmachata@redhat.com>
62529         * elf/elf.h (R_AARCH64_ABS16): New macro.
62530         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
62531         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
62532         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
62533         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
62534         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
62535         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
62536         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
62537         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
62538         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
62539         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
62540         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
62541         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
62542         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
62543         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
62544         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
62545         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
62546         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
62547         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
62548         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
62549         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
62550         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
62551         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
62552         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
62553         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
62554         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
62555         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
62556         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
62557         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
62558         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
62559         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
62560         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
62561         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
62562         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
62563         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
62564         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
62565         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
62566         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
62567         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
62568         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
62569         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
62570         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
62571         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
62572         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
62573         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
62574         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
62575         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
62576         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
62577         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
62578         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
62579         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
62580         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
62581         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
62582         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
62583         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
62584         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
62585         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
62586         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
62587         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
62588         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
62589         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
62590         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
62591         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
62592         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
62593         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
62594         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
62595         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
62596         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
62597         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
62598         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
62599         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
62600         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
62601         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
62602         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
62603         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
62604         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
62605         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
62606         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
62607         (R_AARCH64_TLSDESC_LDR): Likewise.
62608         (R_AARCH64_TLSDESC_ADD): Likewise.
62609         (R_AARCH64_TLSDESC_CALL): Likewise.
62611 2013-09-30  Andreas Schwab  <schwab@suse.de>
62613         [BZ #15048]
62614         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
62615         the nss database lookup.
62616         * nscd/initgrcache.c (addinitgroupsX): Likewise.
62617         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
62619 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
62621         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
62623 2013-09-28  P. J. McDermott  <pj@pehjota.net>
62625         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
62626         ${Bash-specific parameter/pattern/string} parameter expansion.
62627         * sysdeps/unix/make-syscalls.sh: Likewise.
62629 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62631         * sysdeps/sh/stackguard-macros.h: New file.
62633 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
62635         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
62636         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
62637         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
62638         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
62639         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
62640         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
62642 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62644         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
62645         Fix thread ID register.
62647 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
62649         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
62650         [POSIX || UNIX98]: Require rather than permitting all symbols from
62651         <time.h>.
62652         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
62653         element of struct sched_param.
62654         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
62655         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
62656         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
62657         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
62658         constant.
62660 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
62662         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
62663         argument calculation.
62665 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62667         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
62668         Expect macro.
62669         [POSIX] (pthread_attr_t): Do not require type.
62670         [POSIX] (pthread_cond_t): Likewise.
62671         [POSIX] (pthread_condattr_t): Likewise.
62672         [POSIX] (pthread_key_t): Likewise.
62673         [POSIX] (pthread_mutex_t): Likewise.
62674         [POSIX] (pthread_mutexattr_t): Likewise.
62675         [POSIX] (pthread_once_t): Likewise.
62676         [POSIX] (pthread_t): Likewise.
62677         [POSIX-based standards] (pthread_atfork): Expect function.
62679 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
62680             Richard Sandiford  <richard@codesourcery.com>
62682         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
62683         (swap_endianness_p): New extern variable.
62684         (set_big_endian): New inline function.
62685         (maybe_swap_uint32): Likewise.
62686         (maybe_swap_uint32_array): Likewise.
62687         (maybe_swap_uint32_obstack): Likewise.
62688         * locale/programs/locfile.c: Include <stdbool.h>.
62689         (swap_endianness_p): New variable.
62690         (add_locale_uint32): Call maybe_swap_uint32.
62691         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
62692         (write_locale_data): Call maybe_swap_uint32_array.
62693         * locale/programs/ld-collate.c (obstack_int32_grow): Call
62694         maybe_swap_uint32.
62695         (obstack_int32_grow_fast): Likewise.
62696         (output_weightwc): Call maybe_swap_uint32_obstack.
62697         (collate_output): Likewise.
62698         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
62699         (OPT_LITTLE_ENDIAN): Likewise.
62700         (options): Add --little-endian and --big-endian options.
62701         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
62702         * locale/programs/locarchive.c: Include "locfile.h".
62703         (GET): New macro.
62704         (SET): Likewise.
62705         (INC): Likewise.
62706         (create_archive): Use the new macros to access fields of
62707         structures directly mapped from or written to locale archives.
62708         (oldlocrecentcmp): Likewise.
62709         (enlarge_archive): Likewise.
62710         (insert_name): Likewise.
62711         (add_alias): Likewise.
62712         (add_locale): Likewise.
62713         (delete_locales_from_archive): Likewise.
62714         (show_archive_content): Likewise.
62715         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
62716         locale data.
62718 2013-09-24  Roland McGrath  <roland@hack.frob.com>
62720         * manual/freemanuals.texi: Updated from (newly) canonical copy at
62721         http://www.gnu.org/doc/freemanuals.texi.
62722         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
62724 2013-09-24  Will Newton  <will.newton@linaro.org>
62726         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
62727         macro.
62729 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
62731         * locale/hashval.h (compute_hashval): Interpret bytes of key as
62732         unsigned char.
62734 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
62736         * manual/threads.texi (POSIX Threads): Fix a typo.
62738 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
62740         [BZ #14547]
62741         * string/tst-strcoll-overflow.c: New test case.
62742         * string/Makefile (xtests): Add tst-strcoll-overflow.
62743         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
62744         cache if string sizes may cause integer overflow.
62746         [BZ #14547]
62747         * string/strcoll_l.c (coll_seq): New members rule, idx,
62748         save_idx and back_us.
62749         (get_next_seq_nocache): New function.
62750         (do_compare_nocache): New function.
62751         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
62752         when malloc fails.
62754 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
62756         [BZ #15754]
62757         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
62758         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
62759         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
62761         [BZ #15754]
62762         * elf/Makefile (tests): Add tst-ptrguard1.
62763         (tests-static): Add tst-ptrguard1-static.
62764         (tst-ptrguard1-ARGS): Define.
62765         (tst-ptrguard1-static-ARGS): Define.
62766         * elf/tst-ptrguard1.c: New file.
62767         * elf/tst-ptrguard1-static.c: New file.
62768         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
62769         * sysdeps/i386/stackguard-macros.h: Likewise.
62770         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
62771         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
62772         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
62773         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
62774         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
62775         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
62777 2013-09-23  Hector Marco  <hecmargi@upv.es>
62778             Ismael Ripoll  <iripoll@disca.upv.es>
62779             Carlos O'Donell  <carlos@redhat.com>
62781         [BZ #15754]
62782         * sysdeps/generic/stackguard-macros.h: Define
62783         __pointer_chk_guard_local and POINTER_CHK_GUARD.
62784         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
62785         Define __pointer_chk_guard_local.
62786         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
62787         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
62789 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
62791         [BZ #15859]
62792         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
62794 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
62796         * include/string.h (__ffs): Declare as hidden.
62797         * string/ffs.c (__ffs): Define as hidden.
62798         * sysdeps/i386/ffs.c (__ffs): Likewise.
62799         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
62800         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
62801         * sysdeps/s390/ffs.c (__ffs): Likewise.
62802         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
62804 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
62806         * NEWS: Mention malloc probes.
62808         * malloc/arena.c (new_heap): New memory_heap_new probe.
62809         (grow_heap): New memory_heap_more probe.
62810         (shrink_heap): New memory_heap_less probe.
62811         (heap_trim): New memory_heap_free probe.
62812         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
62813         (systrim): New memory_sbrk_less probe.
62814         * manual/probes.texi: Document them.
62816         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
62817         * manual/probes.texi: Document it.
62819         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
62820         (__libc_realloc): Add memory_realloc_retry probe.
62821         (__libc_memalign): Add memory_memalign_retry probe.
62822         (__libc_valloc): Add memory_valloc_retry probe.
62823         (__libc_pvalloc): Add memory_pvalloc_retry probe.
62824         (__libc_calloc): Add memory_calloc_retry probe.
62825         * manual/probes.texi: Document them.
62827         * malloc/arena.c (get_free_list): Add probe
62828         memory_arena_reuse_free_list.
62829         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
62830         and memory_arena_reuse.
62831         (arena_get2) [!PER_THREAD]: Likewise.
62832         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
62833         memory_arena_reuse_realloc.
62834         * manual/probes.texi: Document them.
62836         * malloc/malloc.c (__libc_free): Add
62837         memory_mallopt_free_dyn_thresholds probe.
62838         (__libc_mallopt): Add multiple memory_mallopt probes.
62839         * manual/probes.texi: Document them.
62841         * malloc/malloc.c: Include stap-probe.h.
62842         (__libc_mallopt): Add memory_mallopt probe.
62843         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
62844         * manual/probes.texi: New.
62845         * manual/Makefile (chapters): Add probes.
62846         * manual/threads.texi: Set next node.
62848 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
62850         [BZ #15963, #13985]
62851         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
62852         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
62853         Add `Chinese' to `nan' entry name.
62855 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62857         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
62858         (POLYNOMIAL): Likewise.
62859         (TAYLOR_SINCOS): Likewise.
62860         (TAYLOR_SLOW): Likewise.
62861         (__sin): Use TAYLOR_SINCOS.
62862         (__cos): Likewise.
62863         (slow): Use TAYLOR_SLOW.
62864         (sloww): Likewise.
62865         (bsloww): Likewise.
62866         (csloww): Likewise.
62868 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
62870         * stdlib/strtod_l.c: Fix buffer overrun.
62872 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
62874         * benchtests/Makefile (bench): Add sincos.
62875         * benchtests/bench-sincos.c: New file.
62877         * math/libm-test.inc (cos_test_data): New test inputs.
62878         (sin_test_data): Likewise.
62880         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
62881         macro.
62882         (__sin): Use it.
62883         (__cos): Likewise.
62884         (slow1): Likewise.
62885         (slow2): Likewise.
62886         (sloww1): Likewise.
62887         (sloww2): Likewise.
62888         (bsloww1): Likewise.
62889         (bsloww2): Likewise.
62890         (cslow2): Likewise.
62891         (csloww1): Likewise.
62892         (csloww2): Likewise.
62894         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
62895         function.
62896         (__sin): Use it.
62897         (__cos): Likewise.
62899         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
62900         gotos.
62901         (__cos): Likewise.
62903 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
62905         * config.h.in (HAVE_MIPS_NAN2008): New macro.
62906         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
62907         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
62908         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
62909         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
62910         * elf/cache.c (print_entry): Handle the new cache flags.
62912 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62913             Aldy Hernandez  <aldyh@redhat.com>
62915         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
62916         Change condition to [_SOFT_FLOAT].
62917         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
62918         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
62919         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
62920         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
62921         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
62922         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
62923         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
62924         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
62925         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
62926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
62927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
62928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
62929         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
62930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
62931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
62932         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
62933         declaration.
62935 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
62937         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
62938         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62939         (__longjmp): Use LOAD_GP to load saved GPRs.
62940         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
62941         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
62942         (__sigsetjmp): Use SAVE_GP to save GPRs.
62944         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
62945         Do not append -msoft-float.
62946         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
62948 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
62950         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
62952 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
62954         [BZ #15966]
62955         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
62956         (_FPU_GETCW): Use initial "__" on variable and field names but not
62957         on macro parameter name.
62958         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
62959         parentheses around reference to macro parameter.
62961 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
62963         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
62964         prototype.
62965         (ctype_startup): Use uint32_t in cast and sizeof for
62966         ctype->charnames.
62968 2013-09-11  Jia Liu  <proljc@gmail.com>
62970         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
62971         __daddr_t_defined.
62972         [__FreeBSD__]: Likewise.
62974 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
62976         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
62977         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
62978         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
62979         (strchr): Remove __strchr_sse42 ifunc selection.
62980         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
62981         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
62983 2013-09-11  Will Newton  <will.newton@linaro.org>
62985         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
62986         parameter to RES. Remove hardcoded 1000 value.
62987         * benchtests/bench-skeleton.c (main): Pass RES parameter
62988         to TIMING_INIT and multiply result by 1000.
62990 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62992         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62994 2013-09-11  Andreas Schwab  <schwab@suse.de>
62996         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
62997         if not defined.
62998         (O_TMPFILE) [__USE_GNU]: Define.
62999         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
63000         Define.
63002 2013-09-11  Will Newton  <will.newton@linaro.org>
63004         [BZ #15857]
63005         * malloc/malloc.c (__libc_memalign): Check the value of bytes
63006         does not overflow.
63008 2013-09-11  Will Newton  <will.newton@linaro.org>
63010         [BZ #15856]
63011         * malloc/malloc.c (__libc_valloc): Check the value of bytes
63012         does not overflow.
63014 2013-09-11  Will Newton  <will.newton@linaro.org>
63016         [BZ #15855]
63017         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
63018         does not overflow.
63020 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
63022         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
63023         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
63024         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
63025         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
63026         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
63028 2013-09-10  Allan McRae  <allan@archlinux.org>
63030         [BZ #15748]
63031         * manual/arith.texi (Parsing of Floats): Clarify
63032         cross-reference.
63034         [BZ #15849]
63035         * manual/install.texi (Running make install): Mention
63036         --enable-pt-chown.
63037         * INSTALL: Regenerated.
63039 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
63041         * csu/init-first.c (_init): Remove the !SHARED condition around
63042         FPU control word initialization.
63043         * elf/dl-support.c (_dl_fpu_control): New variable.
63044         (_dl_aux_init) <AT_FPUCW>: Initialize it.
63045         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
63046         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
63047         * math/test-fpucw-static.c: New file.
63048         * math/test-fpucw-ieee.c: New file.
63049         * math/test-fpucw-ieee-static.c: New file.
63050         * math/Makefile (tests): Add `test-fpucw-ieee' and
63051         `$(tests-static)'.
63052         (tests-static): New variable.
63053         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
63054         dependency to...
63055         [($(build-shared),yes)]
63056         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
63057         ... this.
63058         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
63059         New dependency.
63061 2013-09-09  Allan McRae  <allan@archlinux.org>
63063         [BZ #15939]
63064         * manual/string.texi (Collation Functions): Fix typo in
63065         strcoll example.
63066         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
63068         [BZ #15893]
63069         * stdlib/isomac.c (get_null_defines): Fix memory leak.
63071         [BZ #15892]
63072         * libio/memstream.c (open_memstream): Fix memory leak.
63073         * libio/wmemstream.c (open_wmemstream): Likewise.
63075         [BZ #15895]
63076         * nscd/netgroupcache.c: Fix nesting of ifdefs.
63078 2013-09-09  Will Newton  <will.newton@linaro.org>
63080         * malloc/Makefile: Add tst-realloc to tests.
63081         * malloc/tst-realloc.c: New file.
63083 2013-09-09  Allan McRae  <allan@archlinux.org>
63085         [BZ #15844]
63086         * COPYING: Update from GNU website to fix FSF address.
63087         * COPYING.LIB: Likewise.
63089 2013-09-06  David S. Miller  <davem@davemloft.net>
63091         * po/zh_TW.po: Update Chinese (traditional) translation from
63092         translation project.
63094 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
63095             Joseph Myers  <joseph@codesourcery.com>
63097         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
63098         "localeinfo.h".
63099         (obstack_chunk_alloc): New macro.
63100         (obstack_chunk_free): Likewise.
63101         (record_offset): New function.
63102         (init_locale_data): Likewise.
63103         (align_locale_data): Likewise.
63104         (add_locale_empty): Likewise.
63105         (add_locale_raw_data): Likewise.
63106         (add_locale_raw_obstack): Likewise.
63107         (add_locale_string): Likewise.
63108         (add_locale_wstring): Likewise.
63109         (add_locale_uint32): Likewise.
63110         (add_locale_uint32_array): Likewise.
63111         (add_locale_char): Likewise.
63112         (start_locale_structure): Likewise.
63113         (end_locale_structure): Likewise.
63114         (start_locale_prelude): Likewise.
63115         (end_locale_prelude): Likewise.
63116         (write_locale_data): Take locale_file structure rather than an
63117         iovec.
63118         * locale/programs/locfile.h: Include "obstack.h".
63119         (struct locale_file): Change to store locale file contents instead
63120         of header.
63121         (init_locale_data): New prototype.
63122         (align_locale_data): Likewise.
63123         (add_locale_empty): Likewise.
63124         (add_locale_raw_data): Likewise.
63125         (add_locale_raw_obstack): Likewise.
63126         (add_locale_string): Likewise.
63127         (add_locale_wstring): Likewise.
63128         (add_locale_uint32): Likewise.
63129         (add_locale_uint32_array): Likewise.
63130         (add_locale_char): Likewise.
63131         (start_locale_structure): Likewise.
63132         (end_locale_structure): Likewise.
63133         (start_locale_prelude): Likewise.
63134         (end_locale_prelude): Likewise.
63135         (write_locale_data): Update prototype.
63136         * locale/programs/3level.h (struct TABLE): Remove result field.
63137         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
63138         Use new locale_file interface.
63139         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
63140         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
63141         * locale/programs/ld-address.c (address_output): Use new
63142         locale_file interface.
63143         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
63144         NO_ADD_LOCALE.
63145         (collate_finish): Don't call collseq_table_finalize.
63146         (collate_output): Use new locale_file interface.
63147         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
63148         in file.
63149         (NO_FINALIZE): Change to NO_ADD_LOCALE.
63150         (TABLE): Move defines earlier in file.
63151         (ELEMENT): Likewise.
63152         (DEFAULT): Likewise.
63153         (wctrans_table_add): Move macro and inline function earlier in
63154         file.
63155         (struct wctype_table): Move type earlier in file.
63156         (add_locale_wctype_table): New static prototype.
63157         (struct locale_ctype_t): Use logical types instead of struct iovec
63158         pointers for members.
63159         (ctype_output): Use new locale_file interface.
63160         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
63161         new locale_file interface.
63162         (allocate_arrays): Update for use of new locale_file interface.
63163         * locale/programs/ld-identification.c (identification_output): Use
63164         new locale_file interface.
63165         * locale/programs/ld-measurement.c (measurement_output): Likewise.
63166         * locale/programs/ld-messages.c (messages_output): Likewise.
63167         * locale/programs/ld-monetary.c (monetary_output): Likewise.
63168         * locale/programs/ld-name.c (name_output): Likewise.
63169         * locale/programs/ld-numeric.c (numeric_output): Likewise.
63170         * locale/programs/ld-paper.c (paper_output): Likewise.
63171         * locale/programs/ld-telephone.c (telephone_output): Likewise.
63172         * locale/programs/ld-time.c (time_output): Likewise.
63174 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63176         * benchtests/Makefile: Add memrchr benchmark.
63177         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
63178         benchmark as memrchr.
63179         * benchtests/bench-memrchr-ifunc.c: New file.
63180         * benchtests/bench-memrchr.c: New file.
63182 2013-09-06   Will Newton  <will.newton@linaro.org>
63184         * benchtests/Makefile (string-bench): Add memcpy.
63186 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
63187             Cong Wang  <amwang@redhat.com>
63189         [BZ #15850]
63190         * sysdeps/unix/sysv/linux/bits/in.h
63191         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
63192         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
63193         before __USE_KERNEL_IPV6_DEFS uses.
63194         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
63195         IPPROTO_BEETPH.
63196         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
63197         sockaddr_in6, or ipv6_mreq.
63199 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63201         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
63202         memory access for final bytes in some large inputs.
63203         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
63205 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63207         * string/test-memrchr.c: New file.
63208         * string/test-memrchr-ifunc.c: New file.
63209         * string/Makefile: Add new memrchr testcase.
63211 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
63213         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
63214         fanotify_init returns EPERM.
63216 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63218         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
63219         errors.
63220         (top level): Treat second token from macro or constant entries for
63221         allowed headers as allowed.
63222         * include/complex.h: Condition internal declarations on
63223         [!_ISOMAC].
63224         * include/fenv.h: Condition include of <stdbool.h> and internal
63225         declarations on [!_ISOMAC].
63227 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
63229         [BZ #15923]
63230         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
63232 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
63234         * configure.in (--enable-versioning): Remove configure option.
63235         (libc_cv_asm_symver_directive): Remove configure test.
63236         (libc_cv_ld_version_script_option): Likewise.
63237         (VERSIONING): Remove variable and AC_SUBST.
63238         (DO_VERSIONING): Remove AC_DEFINE.
63239         * configure: Regenerated.
63240         * config.h.in (DO_VERSIONING): Remove macro.
63241         * Makerules [$(versioning) = yes]: Change conditionals to
63242         [$(build-shared) = yes].
63243         * config.make.in (versioning): Remove variable.
63244         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
63245         [$(build-shared) = yes].
63246         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
63247         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
63248         * elf/Makefile [$(versioning) = yes]: Change conditionals to
63249         [$(build-shared) = yes].
63250         * extra-lib.mk [$(versioning) = yes]: Likewise.
63251         * hurd/Makefile [$(versioning) = yes]: Likewise.
63252         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
63253         [SHARED].
63254         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
63255         [SHARED].
63256         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63257         [SHARED && !NO_HIDDEN].
63258         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
63259         [SHARED].
63260         [SHARED && DO_VERSIONING]: Likewise..
63261         * libio/Makefile [$(versioning) = yes]: Change conditionals to
63262         [$(build-shared) = yes].
63263         * manual/install.texi (--disable-versioning): Remove
63264         documentation.
63265         * INSTALL: Regenerated.
63266         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
63267         to [SHARED].
63268         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
63269         [$(build-shared) = yes].
63270         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
63271         * sysdeps/i386/i686/multiarch/strstr-c.c
63272         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
63273         [SHARED && !NO_HIDDEN].
63274         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
63275         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
63276         * sysdeps/powerpc/powerpc32/dl-machine.c
63277         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
63278         * sysdeps/powerpc/powerpc32/sysdep.h
63279         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
63280         to [SHARED && PIC && !NO_HIDDEN].
63281         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
63282         conditional to [SHARED].
63284 2013-09-04   Will Newton  <will.newton@linaro.org>
63286         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
63287         * benchtests/bench-string.h: Include bench-timing.h instead
63288         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
63289         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
63290         call to HP_TIMING_DIFF_INIT.
63291         * benchtests/bench-memccpy.c: Use bench-timing.h macros
63292         instead of hp-timing.h macros.
63293         * benchtests/bench-memchr.c: Likewise.
63294         * benchtests/bench-memcmp.c: Likewise.
63295         * benchtests/bench-memcpy.c: Likewise.
63296         * benchtests/bench-memmem.c: Likewise.
63297         * benchtests/bench-memmove.c: Likewise.
63298         * benchtests/bench-memset.c: Likewise.
63299         * benchtests/bench-rawmemchr.c: Likewise.
63300         * benchtests/bench-strcasecmp.c: Likewise.
63301         * benchtests/bench-strcasestr.c: Likewise.
63302         * benchtests/bench-strcat.c: Likewise.
63303         * benchtests/bench-strchr.c: Likewise.
63304         * benchtests/bench-strcmp.c: Likewise.
63305         * benchtests/bench-strcpy.c: Likewise.
63306         * benchtests/bench-strcpy_chk.c: Likewise.
63307         * benchtests/bench-strlen.c: Likewise.
63308         * benchtests/bench-strncasecmp.c: Likewise.
63309         * benchtests/bench-strncat.c: Likewise.
63310         * benchtests/bench-strncmp.c: Likewise.
63311         * benchtests/bench-strncpy.c: Likewise.
63312         * benchtests/bench-strnlen.c: Likewise.
63313         * benchtests/bench-strpbrk.c: Likewise.
63314         * benchtests/bench-strrchr.c: Likewise.
63315         * benchtests/bench-strspn.c: Likewise.
63316         * benchtests/bench-strstr.c: Likewise.
63318 2013-09-04  Will Newton  <will.newton@linaro.org>
63320         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
63322 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
63324         [BZ #15427]
63325         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
63326         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
63327         * math/libm-test.inc (lgamma_test_data): Add more tests.
63328         * sysdeps/i386/fpu/libm-test-ulps: Update.
63329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63331 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
63333         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
63334         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63335         Add ifunc.
63336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63337         Add strcmp-sse2-unaligned
63338         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
63340 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63342         * Versions.def (libc): Add GLIBC_2.19.
63344 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
63346         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
63347         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
63349 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
63351         [BZ #14155]
63352         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
63353         intermediate calculations in recurrence.
63354         (__ieee754_ynf): Likewise.
63355         * math/libm-test.inc (jn_test_data): Do not allow spurious
63356         underflow exception.  Add more tests.
63357         (yn_test_data): Add more tests.
63358         * sysdeps/i386/fpu/libm-test-ulps: Update.
63359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63361 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
63363         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
63365 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63367         * csu/init-first.c: Fix then/than typos.
63368         * locale/programs/ld-collate.c: Likewise.
63369         * locale/programs/linereader.h: Likewise.
63370         * manual/charset.texi: Likewise.
63371         * manual/filesys.texi: Likewise.
63372         * manual/stdio.texi: Likewise.
63373         * manual/string.texi: Likewise.
63374         * stdlib/fmtmsg.c: Likewise.
63375         * sysdeps/i386/stpncpy.S: Likewise.
63376         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
63377         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
63378         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
63379         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
63381 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
63383         * elf/dl-open.c: Fix typos.
63384         * iconvdata/gbbig5.c: Likewise.
63385         * iconvdata/iso-2022-jp.c: Likewise.
63386         * iconv/gconv_int.h: Likewise.
63387         * iconv/loop.c: Likewise.
63388         * nis/rpcsvc/nis.h: Likewise.
63389         * resolv/ns_name.c: Likewise.
63390         * stdio-common/vfscanf.c: Likewise.
63391         * streams/stropts.h: Likewise.
63392         * sunrpc/rpc_thread.c: Likewise.
63393         * sysdeps/i386/strpbrk.S: Likewise.
63394         * sysdeps/ieee754/k_standard.c: Likewise.
63395         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
63396         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
63397         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
63398         * sysdeps/mach/hurd/profil.c: Likewise.
63399         * sysdeps/s390/dl-procinfo.h: Likewise.
63400         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
63401         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
63402         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
63403         * sysdeps/x86_64/dl-trampoline.S: Likewise.
63404         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
63406 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
63408         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
63409         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
63411 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
63413         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
63414         aix specific files.
63415         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
63416         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
63417         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
63418         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
63419         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
63420         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
63421         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
63422         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
63424 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63425             Roland McGrath  <roland@hack.frob.com>
63427         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
63428         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
63430 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
63432         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
63433         __executable_start symbol instead of _start.
63435 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
63437         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
63438         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
63439         Move macros to...
63440         * sysdeps/gnu/ldsodefs.h: ... this new file.
63442         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
63443         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
63444         instead of ELFOSABI_LINUX.
63446         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
63447         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
63448         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
63449         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
63450         Likewise.
63451         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
63452         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
63453         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
63454         Likewise.
63455         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
63456         (ibm_extended_long_double): Add ieee_nan member.
63457         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
63458         (do_test): New function.
63460         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
63461         TEST_TRUNC.
63462         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
63463         functions, renamed from truncdfsf_test, trunctfsf_test,
63464         trunctfdf_test.
63465         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
63466         functions.
63467         (do_test): Run all these.
63469 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
63471         * argp/argp-help.c: Fix typos.
63472         * argp/argp-parse.c: Likewise.
63473         * debug/backtracesyms.c: Likewise.
63474         * elf/elf.h: Likewise.
63475         * malloc/malloc.c: Likewise.
63476         * nis/nis_print.c: Likewise.
63477         * resolv/res_comp.c: Likewise.
63478         * stdlib/stdlib.h: Likewise.
63479         * sunrpc/clnt_tcp.c: Likewise.
63480         * sunrpc/clnt_udp.c: Likewise.
63481         * sunrpc/clnt_unix.c: Likewise.
63482         * sysdeps/unix/bsd/ptsname.c: Likewise.
63483         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
63484         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
63485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
63486         Likewise.
63487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
63488         Likewise.
63489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
63490         Likewise.
63491         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
63493 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
63495         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
63496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
63498 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
63500         [BZ #15897]
63501         * dlfcn/Makefile (tests): Add bug-dl-leaf.
63502         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
63503         ($(objpfx)bug-dl-leaf): New rule.
63504         ($(objpfx)bug-dl-leaf.so): Likewise.
63505         ($(objpfx)bug-dl-leaf.out): Likewise.
63506         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
63507         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
63508         * dlfcn/bug-dl-leaf.c: New test.
63509         * dlfcn/bug-dl-leaf-lib.c: Likewise.
63510         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
63511         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
63512         (dlclose): Likewise.
63513         (dlmopen): Likewise.
63515 2013-08-27  Roland McGrath  <roland@hack.frob.com>
63517         * include/netdb.h [!_ISOMAC]:
63518         Don't include <tls.h>.
63519         (h_errno, __libc_h_errno): Move declaration and macros out of
63520         [_LIBC_REENTRANT].
63522         * include/resolv.h [_RESOLV_H_]:
63523         Don't include <tls.h>.
63524         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
63525         * resolv/res_libc.c: Don't include <tls.h>.
63526         (_res): Use __attribute__ ((nocommon)) in place of
63527         __attribute__ ((section (".bss"))).
63529         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
63530         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
63532         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
63534         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
63535         only under [SIOCGIFCONF && SIOCGIFNETMASK].
63537         * resolv/res_mkquery.c: Include <sys/time.h>.
63539         * inet/ifreq.c: Moved to ...
63540         * sysdeps/unix/ifreq.c: ... here.
63541         * inet/ifreq.c: New file, true stub version.
63543         * socket/sa_len.c: New file.
63544         * socket/Makefile (aux): Add it.
63545         * sysdeps/unix/sysv/linux/Makefile
63546         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
63547         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
63548         and #include <socket/sa_len.c>.
63549         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
63550         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
63552         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
63553         * bits/socket.h: ... here.
63555         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
63556         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
63557         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
63559 2013-08-27  Andreas Schwab  <schwab@suse.de>
63561         [BZ #15736]
63562         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
63563         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
63564         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
63565         * string/test-strcasecmp.c (test_main): Run tests in several
63566         locales.
63567         * string/test-strncasecmp.c (test_main): Likewise.
63569         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
63570         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
63571         to __strcasecmp_nonascii and __strncasecmp_nonascii.
63572         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
63573         (__strncasecmp_ssse3) [PIC]: Likewise.
63575 2013-08-26  Roland McGrath  <roland@hack.frob.com>
63577         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
63579         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
63580         instead of explicitly declaring xdecrypt.
63581         * nis/nss_nis/nis-publickey.c: Likewise.
63583 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63585         [BZ #15890]
63586         * nscd/aicache.c: Include res_hconf.h.
63587         (addhstaiX): Initialize res_hconf.
63589 2013-08-26  Andreas Schwab  <schwab@suse.de>
63591         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
63592         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
63594 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63596         * nscd/aicache.c (addhstaiX): Fix indentation.
63598 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
63600         * configure.ac: Quote $build_pt_chown test.
63601         * configure: Regenerated.
63603 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
63605         [BZ #15532]
63606         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
63607         * math/s_cexpf.c (__cexpf): Likewise.
63608         * math/s_cexpl.c (__cexpl): Likewise.
63609         * math/libm-test.inc (cexp_test_data): Correct expected return
63610         value for NaN + i0.  Add another test.
63612 2013-08-22  David S. Miller  <davem@davemloft.net>
63614         * po/ca.po: Update Catalan translation from translation project.
63615         * po/uk.po: Add Ukrainian translations from translation project.
63617 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
63619         [BZ #15797]
63620         * math/s_fdim.c (__fdim): Check for infinite arguments if result
63621         is infinite, not alongside NaN test.
63622         * math/s_fdimf.c (__fdimf): Likewise.
63623         * math/s_fdiml.c (__fdiml): Likewise.
63624         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
63625         errno is unchanged.
63627 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
63629         * argp/argp-help.c: Fix typos.
63630         * crypt/speeds.c: Likewise.
63631         * csu/check_fds.c: Likewise.
63632         * elf/dl-load.c: Likewise.
63633         * elf/dl-open.c: Likewise.
63634         * elf/reldep3.c: Likewise.
63635         * elf/reldep.c: Likewise.
63636         * elf/sprof.c: Likewise.
63637         * iconv/iconv_charmap.c: Likewise.
63638         * iconv/skeleton.c: Likewise.
63639         * iconv/strtab.c: Likewise.
63640         * io/lockf64.c: Likewise.
63641         * libio/libioP.h: Likewise.
63642         * resolv/gai_notify.c: Likewise.
63643         * resolv/ns_name.c: Likewise.
63644         * resolv/ns_samedomain.c: Likewise.
63645         * resolv/res_send.c: Likewise.
63646         * stdlib/random.c: Likewise.
63647         * sunrpc/rpc/xdr.h: Likewise.
63648         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
63649         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
63650         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
63651         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
63652         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
63653         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
63654         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
63655         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
63656         * sysdeps/mach/hurd/check_fds.c: Likewise.
63657         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
63658         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
63659         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
63660         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
63661         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
63662         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
63663         * sysdeps/pthread/aio_notify.c: Likewise.
63664         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
63665         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
63666         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
63667         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
63668         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
63670 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63672         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
63673         version if bit_Slow_SSE4_2 is set.
63674         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
63675         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
63677 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63679         [BZ #15867]
63680         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
63681         trampoline stack frame information.
63682         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
63683         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
63684         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
63685         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
63686         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
63687         * sysdeps/unix/sysv/linux/powerpc/init-first.c
63688         (_libc_vdso_platform_setup): Initialize the signal trampolines.
63689         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
63690         sa_flags value.
63691         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
63692         interrupting a syscall and set with option SA_SIGINFO.
63694 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
63696         [BZ #15531]
63697         * math/s_cproj.c (__cproj): Only return an infinity if one part of
63698         argument is infinite.
63699         * math/s_cprojf.c (__cprojf): Likewise.
63700         * math/s_cprojl.c (__cprojl): Likewise.
63701         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
63702         * math/libm-test.inc (cproj_test_data): Add more tests.
63704         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
63706         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
63707         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
63708         size.  Use __ffs to determine corresponding shift.
63710 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
63711             Roland McGrath  <roland@hack.frob.com>
63713         * Makefile (INSTALL): Remove trailing blank lines from output of
63714         makeinfo.
63716 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63718         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
63719         Align 32 bit compat elf_greg to 8 bytes.
63721 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
63723         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
63725 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
63727         * string/strcoll_l.c (coll_seq): New structure.
63728         (get_next_seq_cached): New function.
63729         (get_next_seq): New function.
63730         (do_compare): New function.
63731         (STRCOLL): Use GNU style definition.  Simplify implementation
63732         by using get_next_seq, get_next_seq_cached and do_compare.
63734 2013-08-16  Florian Weimer  <fweimer@redhat.com>
63736         [BZ #14699]
63737         CVE-2013-4237
63738         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
63739         member.
63740         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
63741         member.
63742         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
63743         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
63744         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
63745         conditional.
63746         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
63747         GETDENTS_64BIT_ALIGNED.
63748         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63749         * manual/filesys.texi (Reading/Closing Directory): Document
63750         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
63751         strongly.
63752         * manual/conf.texi (Limits for Files): Add portability note to
63753         NAME_MAX, PATH_MAX.
63754         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
63756 2013-08-13  Andreas Schwab  <schwab@suse.de>
63758         [BZ #15749]
63759         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
63760         of fabs.
63761         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
63762         LDBL_MAX_EXP >= 16384]: Add tests for it.
63764 2013-08-12  David S. Miller  <davem@davemloft.net>
63766         * version.h (RELEASE): Set to "development".
63767         (VERSION): Set to "2.18.90".
63768         * NEWS: Add 2.19 section.
63770 2013-08-03  David S. Miller  <davem@davemloft.net>
63772         * po/ko.po: Update Korean translation from translation project.
63774 2013-08-01  David S. Miller  <davem@davemloft.net>
63776         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
63777         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
63778         Bilka.
63780 2013-07-30  David S. Miller  <davem@davemloft.net>
63782         * po/fr.po: Update French translation from translation project.
63784 2013-07-28  David S. Miller  <davem@davemloft.net>
63786         * po/cs.po: Update Czech translation from translation project.
63788         * po/sv.po: Update Swedish translation from translation project.
63790 2013-07-27  David S. Miller  <davem@davemloft.net>
63792         * po/eo.po: Update Esperanto translation from translation project.
63794         * po/vi.po: Update Vietnamese translation from translation project.
63796         * po/de.po: Update German translation from translation project.
63798 2013-07-26  David S. Miller  <davem@davemloft.net>
63800         * po/bg.po: Update Bulgarian translation from translation project.
63802         * po/nl.po: Update Dutch translation from translation project.
63803         * po/pl.po: Update Polish translation from translation project.
63804         * po/ru.po: Update Russian translation from translation project.
63806 2013-07-24  David S. Miller  <davem@davemloft.net>
63808         * po/libc.pot: Update.
63810 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63812         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
63813         variable page size.
63814         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
63815         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
63816         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
63818 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63820         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
63822 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63823             Andreas Schwab  <schwab@suse.de>
63824             Roland McGrath  <roland@hack.frob.com>
63825             Joseph Myers  <joseph@codesourcery.com>
63826             Carlos O'Donell  <carlos@redhat.com>
63828         [BZ #15755]
63829         * config.h.in: Define HAVE_PT_CHOWN.
63830         * config.make.in (build-pt-chown): New variable.
63831         * configure.in (--enable-pt_chown): New configure option.
63832         * configure: Regenerate.
63833         * login/Makefile: Include Makeconfig.  Build pt_chown only if
63834         build-pt-chown is enabled.
63835         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
63836         pt_chown to fix pty ownership.
63837         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
63838         CLOSE_ALL_FDS.
63839         * manual/install.texi (Configuring and compiling): Mention
63840         --enable-pt_chown. Add @findex for grantpt.
63841         * INSTALL: Regenerate.
63843 2013-07-20  David S. Miller  <davem@davemloft.net>
63845         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
63846         difference between 32-bit and 64-bit.
63848 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
63850         [BZ #15711]
63851         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
63852         Avoid system header dependency with -ffreestanding.
63853         ($(objpfx)bits/syscall%d): Likewise.
63855 2013-07-13  David S. Miller  <davem@davemloft.net>
63857         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
63858         underflows from atanl/atan2l due to bug 15319.
63859         (casinh_test_data): Likewise.
63861 2013-07-07  David S. Miller  <davem@davemloft.net>
63863         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
63865 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
63867         * sysdeps/i386/fpu/libm-test-ulps: Update.
63868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63870 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63872         * configure.in (--enable-lock-elision): Fix message text.
63873         * INSTALL: Regenerate.
63874         * configure: Regenerate.
63876 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63878         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63880 2013-07-03  Andreas Jaeger  <aj@suse.de>
63882         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
63883         define.
63884         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
63885         (ptrace_peeksiginfo_args): Add.
63886         (__ptrace_peeksiginfo_flags): Add.
63887         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
63888         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
63889         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
63891 2013-07-03  Allan McRae  <allan@archlinux.org>
63893         * sysdeps/i386/fpu/libm-test-ulps: Update.
63895 2013-07-02  David S. Miller  <davem@davemloft.net>
63897         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63899 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
63901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63903 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63905         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
63906         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63908 2013-07-02  Andi Kleen <ak@linux.intel.com>
63910         * config.h.in (ENABLE_LOCK_ELISION): Add.
63911         * configure.in (--enable-lock-elision): Add option.
63912         * manual/install.texi: Document --enable lock elision.
63913         * configure: Regenerate
63914         * INSTALL: Regenerate.
63916 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
63918         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
63919         SSE4.2 strcasecmp for libc.a.
63920         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
63922 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
63924         [BZ #13304]
63925         * soft-fp/op-common.h (_FP_FMA): New macro.
63926         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
63927         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
63928         (_FP_MUL_MEAT_1_imm): ... here.
63929         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
63930         (_FP_MUL_MEAT_1_wide): ... here.
63931         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
63932         (_FP_MUL_MEAT_1_hard): ... here.
63933         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
63934         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
63935         (_FP_MUL_MEAT_2_wide): ... here.
63936         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
63937         (_FP_MUL_MEAT_2_wide_3mul): ... here.
63938         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
63939         (_FP_MUL_MEAT_2_gmp): ... here.
63940         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
63941         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
63942         (_FP_MUL_MEAT_4_wide): ... here.
63943         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
63944         (_FP_MUL_MEAT_4_gmp): ... here.
63945         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
63946         (_FP_WFRACBITS_DW_S): Likewise.
63947         (_FP_WFRACXBITS_DW_S): Likewise.
63948         (_FP_HIGHBIT_DW_S): Likewise.
63949         (FP_FMA_S): Likewise.
63950         (_FP_FRAC_HIGH_DW_S): Likewise.
63951         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
63952         (_FP_WFRACBITS_DW_D): Likewise.
63953         (_FP_WFRACXBITS_DW_D): Likewise.
63954         (_FP_HIGHBIT_DW_D): Likewise.
63955         (FP_FMA_D): Likewise.
63956         (_FP_FRAC_HIGH_DW_D): Likewise.
63957         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
63958         (_FP_WFRACBITS_DW_E): Likewise.
63959         (_FP_WFRACXBITS_DW_E): Likewise.
63960         (_FP_HIGHBIT_DW_E): Likewise.
63961         (FP_FMA_E): Likewise.
63962         (_FP_FRAC_HIGH_DW_E): Likewise.
63963         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
63964         (_FP_WFRACBITS_DW_Q): Likewise.
63965         (_FP_WFRACXBITS_DW_Q): Likewise.
63966         (_FP_HIGHBIT_DW_Q): Likewise.
63967         (FP_FMA_Q): Likewise.
63968         (_FP_FRAC_HIGH_DW_Q): Likewise.
63969         * soft-fp/fmasf4.c: New file.
63970         * soft-fp/fmadf4.c: Likewise.
63971         * soft-fp/fmatf4.c: Likewise.
63973 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
63975         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
63976         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
63977         Silvermont.
63978         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
63979         macro.
63980         (index_Slow_SSE4_2): Likewise.
63981         (index_Prefer_PMINUB_for_stringop): Likewise.
63982         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
63983         bit_Slow_SSE4_2 is set.
63984         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
63985         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
63987 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
63989         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
63990         rtld_global._dl_hwcap2.
63991         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
63992         POWER8.
63993         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
63994         POWER8 feature descriptions defined in _dl_hwcap2.
63995         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
63996         string handling for POWER8 feature bits.
63997         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
63998         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
63999         _dl_powerpc_cap_flags.
64000         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
64001         * sysdeps/powerpc/rtld-global-offsets.sym
64002         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
64003         _dl_hwcap2 in the rtld_global_ro structure.
64005 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64007         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
64008         hardware capabilities in support of AT_HWCAP2.
64009         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
64010         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
64011         GLRO(dl_hwcap2).
64012         (_dl_show_auxv): Add support for calling _dl_procinfo to display
64013         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
64014         explicitly the unknown a_type display mechanism is used.
64015         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
64016         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
64017         struct member.
64018         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
64019         to macro prototype for AT_HWCAP2 support.
64020         * sysdeps/i386/dl-procinfo.h: Likewise.
64021         * sysdeps/s390/dl-procinfo.h: Likewise.
64022         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
64023         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
64024         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
64025         return -1 for unknown a_type display fallback.
64026         * sysdeps/sparc/dl-procinfo.h: Likewise.
64027         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
64028         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
64030 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
64032         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
64033         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
64035 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
64037         [BZ #12492]
64038         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
64039         mprotect making __stack_prot writable.
64041 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
64042             Joseph Myers  <joseph@codesourcery.com>
64044         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
64045         as being properly aligned.
64047 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
64049         * dlfcn/modstatic5.c: New file.
64050         * dlfcn/tststatic5.c: New file.
64051         * dlfcn/Makefile (tests): Add tststatic5.
64052         (tests-static): Likewise.
64053         (modules-names): Add modstatic5.
64054         (tststatic5-ENV): New variable.
64055         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
64057         [BZ #15022]
64058         * elf/dl-support.c (_dl_main_map): New variable.
64059         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
64060         (_dl_nns, _dl_load_adds): Set to 1.
64061         (_dl_initial_searchlist): Refer to _dl_main_map.
64062         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
64063         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
64064         call to _dl_get_origin.
64065         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
64066         around call_map.
64067         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
64068         * dlfcn/modstatic3.c: New file.
64069         * dlfcn/tststatic3.c: New file.
64070         * dlfcn/tststatic4.c: New file.
64071         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
64072         (tests-static): Likewise.
64073         (modules-names): Add modstatic3.
64074         (tststatic3-ENV, tststatic4-ENV): New variables.
64075         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
64076         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
64078 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
64080         * configure.in (CC): Require GCC version 4.4 or later.
64081         * configure: Regenerated.
64082         * manual/install.texi (Tools for Compilation): Update GCC version
64083         requirement.
64084         * INSTALL: Regenerated.
64086 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64088         [BZ #15674]
64089         * string/test-memcmp.c (check2): New.
64090         (main): Call check2.
64092         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
64094 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
64096         [BZ #15022]
64097         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
64098         over to...
64099         (dl_open_worker) [!SHARED]: ... here.
64101 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64103         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
64105 2013-06-25  Richard Henderson  <rth@redhat.com>
64107         * locale/programs/locarchive.c: Include <libc-internal.h>
64109 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
64111         * manual/texinfo.tex: Update to version 2013-06-21.17, with
64112         trailing whitespace removed.
64114 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64116         [BZ #10283]
64117         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
64118         * locale/programs/locarchive.c: Include libc-mmap.h.
64119         (prepare_address_space): Take two new outputs (the mmap base and len).
64120         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
64121         values.
64122         (create_archive): Declare new mmap base and len values for
64123         prepare_address_space, and store the result in ah.
64124         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
64125         (enlarge_archive): If ah->mmap_base is not NULL, use that and
64126         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64127         Declare new mmap base and len values for
64128         prepare_address_space, and store the result in new_ah.
64129         (open_archive): Declare new mmap base and len values for
64130         prepare_address_space, and store the result in ah.
64131         (close_archive): If ah->mmap_base is not NULL, use that and
64132         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
64133         * sysdeps/generic/libc-mmap.h: New file.
64135 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
64137         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
64138         (ALIGN_UP): Likewise.
64139         (PTR_ALIGN_DOWN): Likewise.
64140         (PTR_ALIGN_UP): Likewise.
64142 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64144         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
64145         entry mapped to PPC_PLATFORM_POWER8.
64146         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
64147         POWER8.
64148         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
64149         (_dl_string_platform): Add case for exporting platform position for
64150         POWER8.
64151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
64152         search path to sysdeps/powerpc/powerpc32/power8 directory.
64153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
64154         search path to sysdeps/powerpc/powerpc64/power8 directory.
64155         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
64156         power7 directories.
64157         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
64158         power7 directories.
64160 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
64162         * INSTALL: Regenerate.
64164         * nscd/connections.c (nscd_init): Fix comment.
64166 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
64168         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
64170         [BZ #15667]
64171         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
64172         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
64174 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64176         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
64177         DL_DST_REQ_STATIC.
64178         (DL_DST_REQ_STATIC): Remove macro.
64180 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
64182         [BZ #7006]
64183         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
64184         with a shift of 0 bits.
64186 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
64188         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
64189         $(tststatic-ENV).
64191 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
64193         [BZ #15655]
64194         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
64196 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64198         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
64199         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
64200         accepts -fno-tree-loop-distribute-patterns.
64201         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
64202         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
64203         recursive call.
64204         * string/memset.c (memset): Likewise.
64205         * string/test-memmove.c (simple_memmove): Disable loop transformation
64206         to library calls.
64207         * string/test-memset.c (simple_memset): Likewise.
64208         * benchtests/bench-memmove.c (simple_memmove): Likewise.
64209         * benchtests/bench-memset.c (simple_memset): Likewise.
64210         * configure: Regenerated.
64212 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
64214         * math/test-misc.c (main): Ignore fesetround failure when failures
64215         of subsequent rounding tests would be ignored.
64217         [BZ #15654]
64218         * math/fedisblxcpt.c (fedisableexcept): Return 0.
64219         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
64220         * math/fegetenv.c (__fegetenv): Return 0.
64221         * math/fegetexcept.c (fegetexcept): Return 0.
64222         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
64223         FE_TONEAREST.
64224         * math/feholdexcpt.c (feholdexcept): Return 0.
64225         * math/fesetenv.c (__fesetenv): Return 0.
64226         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
64227         argument FE_TONEAREST.
64228         * math/feupdateenv.c (__feupdateenv): Return 0.
64229         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
64231 2013-06-18  Roland McGrath  <roland@hack.frob.com>
64233         * elf/rtld-Rules (rtld-compile-command.S): New variable.
64234         (rtld-compile-command.s, rtld-compile-command.c): New variables.
64235         ($(objpfx)rtld-%.os rules): Use them.
64237 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64239         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
64240         fields.
64242 2013-06-17  Roland McGrath  <roland@hack.frob.com>
64244         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
64245         length of target pattern, then descending length of dependency pattern.
64246         * configure.in (AWK): Require gawk 3.1.2 or newer.
64247         * manual/install.texi (Tools for Compilation): Say that we do.
64248         * configure: Regenerated.
64250         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
64251         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
64252         * scripts/sysd-rules.awk: ... this new script.
64253         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
64254         than a glob-style pattern.
64256 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
64258         * math/test-misc.c (main): Do not treat incorrectly rounded
64259         conversions as failure unless ROUNDING_TESTS passes.
64261 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
64263         [BZ #15631]
64264         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
64265         restore exception state around main square root computation, then
64266         check for inexactness explicitly.
64268         * math/libm-test.inc (fma_test_data): Add another test.
64270 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
64272         * manual/threads.texi (Non-POSIX Extensions): New document
64273         node.  Document pthread_getattr_default_np and
64274         pthread_setattr_default_np.
64276         * Versions.def (libpthread): Add GLIBC_2.18.
64277         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
64278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
64279         Likewise.
64280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
64281         Likewise.
64282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
64283         Likewise.
64284         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
64285         Likewise.
64286         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
64287         Likewise.
64288         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
64289         Likewise.
64290         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
64291         Likewise.
64292         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
64293         Likewise.
64294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64295         Likewise.
64297 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
64299         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64300         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
64302 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
64303             H.J. Lu  <hjl.tools@gmail.com>
64305         [BZ #15627]
64306         * sysdeps/x86_64/rtld-memset.c: Remove file.
64307         * sysdeps/x86_64/rtld-memset.S: New file.
64309 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
64311         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
64312         (test_in_one_mode): Take arguments for whether the rounding mode
64313         is supported for each floating-point type.
64314         (do_test): Pass new arguments to test_in_one_mode using
64315         ROUNDING_TESTS.
64317 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64319         * posix/tst-waitid.c (do_test): Distinguish different instances of
64320         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
64321         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
64322         before entering the kernel for waitpid.
64324 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64326         * NEWS: Fix note on clock function precision.  Text by Roland
64327         McGrath.
64329 2013-06-13  Roland McGrath  <roland@hack.frob.com>
64331         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
64332         it into place only when and if the sanity check passes.
64334 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
64336         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
64337         output for whether conversion result is exact.  Take argument
64338         indicating whether type is IBM long double.
64339         (round_for_all): Change need_exact field to ibm_ld.
64340         * stdlib/tst-strtod-round.c (struct exactness): New type.
64341         (struct test): Change bool ld_ok field to struct exactness exact.
64342         (TEST): Update all definitions for change to field.
64343         (tests): Regenerate array contents.
64344         (test_in_one_mode): Take pointer to new field instead of old ld_ok
64345         field value.  Check for IBM long double here.
64346         (do_test): Update calls to test_in_one_mode.
64348 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64350         [BZ #12515]
64351         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
64352         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
64354 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64356         [BZ #15605]
64357         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
64358         generated by the compiler on loop optimizations.
64359         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
64360         general definitions.
64362 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
64364         * math/bug-nextafter.c: Include <math-tests.h>.
64365         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64366         the relevant type.
64367         * math/bug-nexttoward.c: Include <math-tests.h>.
64368         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64369         the relevant type.
64370         * math/test-misc.c: Include <math-tests.h>.
64371         (main): Only test for exceptions if EXCEPTION_TESTS is true for
64372         the relevant type.
64374 2013-06-12  Andreas Jaeger  <aj@suse.de>
64376         * po/ia.po: Update Interlingua translation from translation
64377         project.
64379 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
64381         * include/fenv.h: Include stdbool.h.
64382         (struct rm_ctx): New structure.
64383         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
64384         Define macro.
64385         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
64386         (SET_RESTORE_ROUNDF): Likewise.
64387         (SET_RESTORE_ROUNDL): Likewise.
64388         (SET_RESTORE_ROUND_NOEX): Likewise.
64389         (SET_RESTORE_ROUND_NOEXF): Likewise.
64390         (SET_RESTORE_ROUND_NOEXL): Likewise.
64391         (SET_RESTORE_ROUND_53BIT): Likewise.
64392         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
64393         (libc_feresetround_noexf_ctx): Likewise.
64394         (libc_feresetround_noexl_ctx): Likewise.
64395         (libc_feholdsetround_53bit_ctx): Likewise.
64396         (libc_feresetround_53bit_ctx): Likewise.
64397         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
64398         (libc_feholdexcept_setround_sse_ctx): New function.
64399         (libc_fesetenv_sse_ctx): Likewise.
64400         (libc_feupdateenv_sse_ctx): Likewise.
64401         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
64402         (libc_feholdexcept_setround_387_ctx): Likewise.
64403         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
64404         (libc_feholdsetround_387_prec_ctx): Likewise.
64405         (libc_feholdsetround_387_ctx): Likewise.
64406         (libc_feholdsetround_387_53bit_ctx): Likewise.
64407         (libc_feholdsetround_sse_ctx): Likewise.
64408         (libc_feresetround_sse_ctx): Likewise.
64409         (libc_feresetround_387_ctx): Likewise.
64410         (libc_feupdateenv_387_ctx): Likewise.
64411         (libc_feholdexcept_setroundf_ctx): Define macro.
64412         (libc_fesetenvf_ctx): Likewise.
64413         (libc_feupdateenvf_ctx): Likewise.
64414         (libc_feholdsetroundf_ctx): Likewise.
64415         (libc_feresetroundf_ctx): Likewise.
64416         (libc_feholdexcept_setround_ctx): Likewise.
64417         (libc_fesetenv_ctx): Likewise.
64418         (libc_feupdateenv_ctx): Likewise.
64419         (libc_feholdsetround_ctx): Likewise.
64420         (libc_feresetround_ctx): Likewise.
64421         (libc_feholdexcept_setroundl_ctx): Likewise.
64422         (libc_feupdateenvl_ctx): Likewise.
64423         (libc_feholdsetroundl_ctx): Likewise.
64424         (libc_feresetroundl_ctx): Likewise.
64425         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
64426         (libc_feresetround_53bit_ctx): Likewise.
64428 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64430         * locale/iso-639.def: Convert to UTF-8.
64432 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
64434         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
64435         (EXCEPTION_TESTS_double): Likewise.
64436         (EXCEPTION_TESTS_long_double): Likewise.
64437         (EXCEPTION_TESTS): Likewise.
64438         * math/libm-test.inc (test_exceptions): Only test exceptions if
64439         EXCEPTION_TESTS (FLOAT).
64441 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64443         * benchtests/Makefile (string-bench): Add strcpy_chk and
64444         stpcpy_chk.
64445         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
64446         * benchtests/bench-stpcpy_chk.c: New file.
64447         * benchtests/bench-strcpy_chk-ifunc.c: New file.
64448         * benchtests/bench-strcpy_chk.c: New file.
64449         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
64450         code.
64451         (do_test): Likewise.
64453 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64455         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
64456         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
64457         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
64458         with tabs where appropriate.
64459         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
64460         dl-procinfo.h.
64461         [PPC_PLATFORM_PPC440]: Likewise.
64462         [PPC_PLATFORM_PPC464]: Likewise.
64463         [PPC_PLATFORM_PPC476]: Likewise.
64464         (_dl_string_platform): Add support for detecting ppc405, ppc440,
64465         ppc464, and ppc476 platform strings merging from ports/
64466         dl-procinfo.h.
64468 2013-06-11  Andreas Schwab  <schwab@suse.de>
64470         [BZ #14991]
64471         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
64472         (from_ucs4_idx): Regenerate.
64473         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
64474         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
64475         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
64476         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
64477         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
64478         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
64479         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
64480         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
64481         from FROM_LOOP and TO_LOOP specific macros.
64482         (BODY): Handle combining characters.
64483         * iconvdata/BIG5HKSCS.irreversible: Update.
64484         * iconvdata/BIG5HKSCS.precomposed: New file.
64485         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
64486         characters.
64487         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
64489 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64491         * include/sys/time.h: Fix indentation and add copyright header.
64493         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
64494         (do_test): Likewise.
64495         * string/test-memchr.c (do_one_test): Likewise.
64496         (do_test): Likewise.
64497         * string/test-memcmp.c (do_one_test): Likewise.
64498         (do_test): Likewise.
64499         * string/test-memcpy.c (do_one_test): Likewise.
64500         (do_test): Likewise.
64501         * string/test-memmem.c (do_one_test): Likewise.
64502         (do_test): Likewise.
64503         (do_random_tests): Likewise.
64504         * string/test-memmove.c (do_one_test): Likewise.
64505         (do_test): Likewise.
64506         * string/test-memset.c (do_one_test): Likewise.
64507         (do_test): Likewise.
64508         * string/test-rawmemchr.c (do_one_test): Likewise.
64509         (do_test): Likewise.
64510         * string/test-strcasecmp.c (do_one_test): Likewise.
64511         (do_test): Likewise.
64512         * string/test-strcasestr.c (do_one_test): Likewise.
64513         (do_test): Likewise.
64514         * string/test-strcat.c (do_one_test): Likewise.
64515         (do_test): Likewise.
64516         * string/test-strchr.c (do_one_test): Likewise.
64517         (do_test): Likewise.
64518         * string/test-strcmp.c (do_one_test): Likewise.
64519         (do_test): Likewise.
64520         * string/test-strcpy.c (do_one_test): Likewise.
64521         (do_test): Likewise.
64522         * string/test-string.h: Likewise.
64523         (test_init): Likewise.
64524         * string/test-strlen.c (do_one_test): Likewise.
64525         (do_test): Likewise.
64526         * string/test-strncasecmp.c (do_one_test): Likewise.
64527         (do_test): Likewise.
64528         * string/test-strncat.c (do_one_test): Likewise.
64529         (do_test): Likewise.
64530         * string/test-strncmp.c (do_one_test): Likewise.
64531         (do_test_limit): Likewise.
64532         (do_test): Likewise.
64533         * string/test-strncpy.c (do_one_test): Likewise.
64534         (do_test): Likewise.
64535         * string/test-strnlen.c (do_one_test): Likewise.
64536         (do_test): Likewise.
64537         * string/test-strpbrk.c (do_one_test): Likewise.
64538         (do_test): Likewise.
64539         * string/test-strrchr.c (do_one_test): Likewise.
64540         (do_test): Likewise.
64541         * string/test-strspn.c (do_one_test): Likewise.
64542         (do_test): Likewise.
64543         * string/test-strstr.c (do_one_test): Likewise.
64544         (do_test): Likewise.
64546         * benchtests/Makefile (string-bench): Add string benchmarks.
64547         * benchtests/bench-bcopy-ifunc.c: New file.
64548         * benchtests/bench-bcopy.c: New file.
64549         * benchtests/bench-bzero-ifunc.c: New file.
64550         * benchtests/bench-bzero.c: New file.
64551         * benchtests/bench-memccpy-ifunc.c: New file.
64552         * benchtests/bench-memccpy.c: New file.
64553         * benchtests/bench-memchr-ifunc.c: New file.
64554         * benchtests/bench-memchr.c: New file.
64555         * benchtests/bench-memcmp-ifunc.c: New file.
64556         * benchtests/bench-memcmp.c: New file.
64557         * benchtests/bench-memmem-ifunc.c: New file.
64558         * benchtests/bench-memmem.c: New file.
64559         * benchtests/bench-memmove-ifunc.c: New file.
64560         * benchtests/bench-memmove.c: New file.
64561         * benchtests/bench-mempcpy-ifunc.c: New file.
64562         * benchtests/bench-mempcpy.c: New file.
64563         * benchtests/bench-memset-ifunc.c: New file.
64564         * benchtests/bench-memset.c: New file.
64565         * benchtests/bench-rawmemchr-ifunc.c: New file.
64566         * benchtests/bench-rawmemchr.c: New file.
64567         * benchtests/bench-stpcpy-ifunc.c: New file.
64568         * benchtests/bench-stpcpy.c: New file.
64569         * benchtests/bench-stpncpy-ifunc.c: New file.
64570         * benchtests/bench-stpncpy.c: New file.
64571         * benchtests/bench-strcasecmp-ifunc.c: New file.
64572         * benchtests/bench-strcasecmp.c: New file.
64573         * benchtests/bench-strcasestr-ifunc.c: New file.
64574         * benchtests/bench-strcasestr.c: New file.
64575         * benchtests/bench-strcat-ifunc.c: New file.
64576         * benchtests/bench-strcat.c: New file.
64577         * benchtests/bench-strchr-ifunc.c: New file.
64578         * benchtests/bench-strchr.c: New file.
64579         * benchtests/bench-strchrnul-ifunc.c: New file.
64580         * benchtests/bench-strchrnul.c: New file.
64581         * benchtests/bench-strcmp-ifunc.c: New file.
64582         * benchtests/bench-strcmp.c: New file.
64583         * benchtests/bench-strcpy-ifunc.c: New file.
64584         * benchtests/bench-strcpy.c: New file.
64585         * benchtests/bench-strcspn-ifunc.c: New file.
64586         * benchtests/bench-strcspn.c: New file.
64587         * benchtests/bench-strlen-ifunc.c: New file.
64588         * benchtests/bench-strlen.c: New file.
64589         * benchtests/bench-strncasecmp-ifunc.c: New file.
64590         * benchtests/bench-strncasecmp.c: New file.
64591         * benchtests/bench-strncat-ifunc.c: New file.
64592         * benchtests/bench-strncat.c: New file.
64593         * benchtests/bench-strncmp-ifunc.c: New file.
64594         * benchtests/bench-strncmp.c: New file.
64595         * benchtests/bench-strncpy-ifunc.c: New file.
64596         * benchtests/bench-strncpy.c: New file.
64597         * benchtests/bench-strnlen-ifunc.c: New file.
64598         * benchtests/bench-strnlen.c: New file.
64599         * benchtests/bench-strpbrk-ifunc.c: New file.
64600         * benchtests/bench-strpbrk.c: New file.
64601         * benchtests/bench-strrchr-ifunc.c: New file.
64602         * benchtests/bench-strrchr.c: New file.
64603         * benchtests/bench-strspn-ifunc.c: New file.
64604         * benchtests/bench-strspn.c: New file.
64605         * benchtests/bench-strstr-ifunc.c: New file.
64606         * benchtests/bench-strstr.c: New file.
64608         * benchtests/Makefile: Disable parallel execution of targets.
64609         (string-bench): Add memcpy.
64610         (benchset): New variable to store a list of benchmark sets.
64611         (bench-func): Renamed from bench.
64612         (bench-set): New target.
64613         (bench): Depend on bench-func and bench-set.
64614         * benchtests/README: Add section on benchmark sets.
64615         * benchtests/bench-memcpy-ifunc.c: New file.
64616         * benchtests/bench-memcpy.c: New file.
64617         * benchtests/bench-string.h: New file.
64619 2013-06-11  Andreas Schwab  <schwab@suse.de>
64621         [BZ #15577]
64622         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
64623         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
64624         values in the triple.
64625         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
64626         terminator in the group key.
64628 2013-06-11  Andreas Jaeger  <aj@suse.de>
64630         * po/zh_TW.po: Update Chinese (traditional) translation from
64631         translation project.
64633 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
64635         * include/time.h (__clock_gettime): Add libc_hidden_proto.
64636         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
64637         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
64638         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
64639         (clock_getcpuclockid): Likewise.
64640         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
64641         Add weak_alias and libc_hidden_def.
64642         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
64643         * rt/clock_gettime.c (clock_gettime): Rename to
64644         __clock_gettime.  Add weak_alias and libc_hidden_def.
64645         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
64646         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
64647         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
64648         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
64649         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
64650         Likewise.
64651         * rt/clock_settime.c (clock_settime): Rename to
64652         __clock_settime.  Add weak_alias and libc_hidden_def.
64653         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
64655 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
64657         * mach/err_boot.sub: Remove trailing whitespace.
64658         * mach/err_ipc.sub: Likewise.
64659         * mach/err_mach.sub: Likewise.
64661         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
64662         (ROUNDING_TESTS_double): Likewise.
64663         (ROUNDING_TESTS_long_double): Likewise.
64664         (ROUNDING_TESTS): Likewise.
64665         * math/libm-test.inc: Include <math-tests.h>.
64666         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
64667         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64668         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64669         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64671 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64673         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
64674         of assigning.
64676 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
64678         * sysdeps/gnu/errlist.awk: Do not generate space at end of
64679         otherwise empty TRANS lines.
64680         * sysdeps/gnu/errlist.c: Regenerated.
64682         * catgets/gencat.c (error_print): Use (void) in function
64683         definition.
64684         * crypt/crypt_util.c (__init_des): Likewise.
64685         * crypt/speeds.c (Stop): Likewise.
64686         (main): Likewise.
64687         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
64688         * inet/ruserpass.c (token): Likewise.
64689         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
64690         * intl/localealias.c (extend_alias_table): Likewise.
64691         * intl/plural-exp.c (init_germanic_plural): Likewise.
64692         * libio/fcloseall.c (__fcloseall): Likewise.
64693         * libio/genops.c (_IO_flush_all): Likewise.
64694         (_IO_flush_all_linebuffered): Likewise.
64695         (_IO_cleanup): Likewise.
64696         (_IO_iter_begin): Likewise.
64697         (_IO_iter_end): Likewise.
64698         (_IO_list_lock): Likewise.
64699         (_IO_list_unlock): Likewise.
64700         (_IO_list_resetlock): Likewise.
64701         * libio/getchar.c (getchar): Likewise.
64702         * libio/getchar_u.c (getchar_unlocked): Likewise.
64703         * libio/getwchar.c (getwchar): Likewise.
64704         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
64705         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
64706         * login/getpt.c (__getpt): Likewise.
64707         * login/tst-utmp.c (main): Likewise.
64708         * malloc/hooks.c (__malloc_check_init): Likewise.
64709         * malloc/malloc.c (__malloc_stats): Likewise.
64710         * malloc/mtrace.c (tr_break): Likewise.
64711         (mtrace): Likewise.
64712         (muntrace): Likewise.
64713         * misc/fstab.c (endfsent): Likewise.
64714         * misc/getclktck.c (__getclktck): Likewise.
64715         * misc/getdtsz.c (__getdtablesize): Likewise.
64716         * misc/gethostid.c (gethostid): Likewise.
64717         * misc/getpagesize.c (__getpagesize): Likewise.
64718         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
64719         (__get_nprocs): Likewise.
64720         (__get_phys_pages): Likewise.
64721         (__get_avphys_pages): Likewise.
64722         * misc/getttyent.c (getttyent): Likewise.
64723         (setttyent): Likewise.
64724         (endttyent): Likewise.
64725         * misc/getusershell.c (getusershell): Likewise.
64726         (endusershell): Likewise.
64727         (setusershell): Likewise.
64728         (initshells): Likewise.
64729         * misc/hsearch.c (__hdestroy): Likewise.
64730         * misc/sync.c (sync): Likewise.
64731         * misc/syslog.c (closelog_internal): Likewise.
64732         (closelog): Likewise.
64733         * misc/ttyslot.c (ttyslot): Likewise.
64734         * misc/vhangup.c (vhangup): Likewise.
64735         * posix/fork.c (__fork): Likewise.
64736         * posix/getegid.c (__getegid): Likewise.
64737         * posix/geteuid.c (__geteuid): Likewise.
64738         * posix/getgid.c (__getgid): Likewise.
64739         * posix/getpid.c (__getpid): Likewise.
64740         * posix/getppid.c (__getppid): Likewise.
64741         * posix/getuid.c (__getuid): Likewise.
64742         * posix/pause.c (pause): Likewise.
64743         * posix/setpgrp.c (setpgrp): Likewise.
64744         * posix/setsid.c (__setsid): Likewise.
64745         * posix/test-vfork.c (noop): Likewise.
64746         * resolv/gethnamaddr.c (_endhtent): Likewise.
64747         (_gethtent): Likewise.
64748         (ht_endhostent): Likewise.
64749         (gethostent): Likewise.
64750         (dns_service): Likewise.
64751         * stdlib/drand48.c (drand48): Likewise.
64752         * stdlib/lrand48.c (lrand48): Likewise.
64753         * stdlib/mrand48.c (mrand48): Likewise.
64754         * stdlib/rand.c (rand): Likewise.
64755         * stdlib/random.c (__random): Likewise.
64756         * stdlib/setenv.c (clearenv): Likewise.
64757         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
64758         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
64759         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
64760         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
64761         (__get_nprocs): Likewise.
64762         (__get_phys_pages): Likewise.
64763         (__get_avphys_pages): Likewise.
64764         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
64765         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
64766         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
64767         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
64768         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
64769         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
64770         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
64771         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
64772         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
64773         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
64774         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
64775         * sysdeps/mach/hurd/sync.c (sync): Likewise.
64776         * sysdeps/posix/clock.c (clock): Likewise.
64777         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
64778         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
64779         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
64780         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
64781         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
64782         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
64783         (__get_nprocs_conf): Likewise.
64784         (__get_phys_pages): Likewise.
64785         (__get_avphys_pages): Likewise.
64786         * time/clock.c (clock): Likewise.
64787         * time/tzset.c (__tzname_max): Likewise.
64789 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
64791         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
64792         (__bswap_32): Do not use "register".
64793         * crypt/crypt.c (_ufc_doit_r): Likewise.
64794         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
64795         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
64796         * gmon/gmon.c (__monstartup): Likewise.
64797         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
64798         * hurd/hurdmalloc.c (more_memory): Likewise.
64799         (malloc): Likewise.
64800         (free): Likewise.
64801         (realloc): Likewise.
64802         (malloc_fork_prepare): Likewise.
64803         (malloc_fork_parent): Likewise.
64804         (malloc_fork_child): Likewise.
64805         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
64806         (_svcauth_des): Likewise.
64807         * inet/inet_lnaof.c (inet_lnaof): Likewise.
64808         * inet/inet_net.c (inet_network): Likewise.
64809         * inet/inet_netof.c (inet_netof): Likewise.
64810         * inet/rcmd.c (__validuser2_sa): Likewise.
64811         * io/fts.c (fts_open): Likewise.
64812         (fts_load): Likewise.
64813         (fts_close): Likewise.
64814         (fts_read): Likewise.
64815         (fts_children): Likewise.
64816         (fts_build): Likewise.
64817         (fts_stat): Likewise.
64818         (fts_sort): Likewise.
64819         (fts_alloc): Likewise.
64820         (fts_lfree): Likewise.
64821         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
64822         (_IO_file_xsgetn): Likewise.
64823         (_IO_file_xsgetn_mmap): Likewise.
64824         * libio/iofopncook.c (_IO_cookie_read): Likewise.
64825         (_IO_cookie_write): Likewise.
64826         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
64827         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
64828         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
64829         * malloc/obstack.c (_obstack_begin): Likewise.
64830         (_obstack_begin_1): Likewise.
64831         (_obstack_newchunk): Likewise.
64832         (_obstack_allocated_p): Likewise.
64833         (obstack_free): Likewise.
64834         (_obstack_memory_used): Likewise.
64835         * misc/getttyent.c (getttynam): Likewise.
64836         (getttyent): Likewise.
64837         (skip): Likewise.
64838         (value): Likewise.
64839         * misc/getusershell.c (initshells): Likewise.
64840         * misc/syslog.c (__vsyslog_chk): Likewise.
64841         * misc/ttyslot.c (ttyslot): Likewise.
64842         * nis/nis_hash.c (__nis_hash): Likewise.
64843         * posix/fnmatch_loop.c (FCT): Likewise.
64844         * posix/getconf.c (print_all): Likewise.
64845         (main): Likewise.
64846         * posix/getopt.c (exchange): Likewise.
64847         * posix/glob.c (globfree): Likewise.
64848         (prefix_array): Likewise.
64849         (__glob_pattern_type): Likewise.
64850         * resolv/arpa/nameser.h (NS_GET16): Likewise.
64851         (NS_GET32): Likewise.
64852         (NS_PUT16): Likewise.
64853         (NS_PUT32): Likewise.
64854         * resolv/gethnamaddr.c (getanswer): Likewise.
64855         (gethostbyname2): Likewise.
64856         (gethostbyaddr): Likewise.
64857         (_gethtent): Likewise.
64858         (_gethtbyname2): Likewise.
64859         (_gethtbyaddr): Likewise.
64860         * resolv/ns_print.c (dst_s_get_int16): Likewise.
64861         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
64862         * resolv/res_init.c (__res_vinit): Likewise.
64863         (net_mask): Likewise.
64864         * resolv/res_mkquery.c (outchar): Likewise.
64865         (PRINT): Likewise.
64866         * stdio-common/printf_fp.c (outchar): Likewise.
64867         (PRINT): Likewise.
64868         * stdio-common/printf_fphex.c (outchar): Likewise.
64869         (PRINT): Likewise.
64870         * stdio-common/printf_size.c (outchar): Likewise.
64871         (PRINT): Likewise.
64872         * stdio-common/test_rdwr.c (main): Likewise.
64873         * stdio-common/tfformat.c (matches): Likewise.
64874         * stdio-common/vfprintf.c (outchar): Likewise.
64875         (printf_unknown): Likewise.
64876         (buffered_vfprintf): Likewise.
64877         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
64878         * stdio-common/xbug.c (AppendToBuffer): Likewise.
64879         (ReadFile): Likewise.
64880         * stdlib/qsort.c (SWAP): Likewise.
64881         (_quicksort): Likewise.
64882         * stdlib/setenv.c (__add_to_environ): Likewise.
64883         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
64884         * stdlib/strtol_l.c (__strtol_l): Likewise.
64885         * stdlib/tst-strtod.c (main): Likewise.
64886         * stdlib/tst-strtol.c (main): Likewise.
64887         * stdlib/tst-strtoll.c (main): Likewise.
64888         * string/bits/string2.h (__strcmp_cc): Likewise.
64889         (__strcmp_cg): Likewise.
64890         (__strcspn_c1): Likewise.
64891         (__strcspn_c2): Likewise.
64892         (__strcspn_c3): Likewise.
64893         (__strspn_c1): Likewise.
64894         (__strspn_c2): Likewise.
64895         (__strspn_c3): Likewise.
64896         (__strsep_1c): Likewise.
64897         (__strsep_2c): Likewise.
64898         (__strsep_3c): Likewise.
64899         * string/memccpy.c (__memccpy): Likewise.
64900         * string/stpcpy.c (__stpcpy): Likewise.
64901         * string/strcmp.c (strcmp): Likewise.
64902         * string/strrchr.c (strrchr): Likewise.
64903         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
64904         Likewise.
64905         * sysdeps/mach/hurd/getcwd.c
64906         (_hurd_canonicalize_directory_name_internal): Likewise.
64907         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
64908         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
64909         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
64910         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
64911         Likewise, in both definitions.
64912         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
64913         definitions.
64914         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
64915         64] (__bswap_64): Likewise.
64916         * time/test_time.c (main): Likewise.
64917         * time/tzfile.c (__tzfile_read): Likewise.
64918         (__tzfile_compute): Likewise.
64919         * time/tzset.c (__tzset_parse_tz): Likewise.
64920         (tzset_internal): Likewise.
64921         (compute_change): Likewise.
64922         * wcsmbs/wcscat.c (__wcscat): Likewise.
64923         * wcsmbs/wcschr.c (wcschr): Likewise.
64924         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
64925         * wcsmbs/wcscspn.c (wcscspn): Likewise.
64926         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
64927         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
64928         * wcsmbs/wcsspn.c (wcsspn): Likewise.
64929         * wcsmbs/wcsstr.c (wcsstr): Likewise.
64930         * wcsmbs/wmemchr.c (wmemchr): Likewise.
64931         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
64932         * wcsmbs/wmemset.c (wmemset): Likewise.
64934 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
64936         * scripts/config.guess: Update to version 2013-05-16.
64937         * scripts/config.sub: Update to version 2013-04-24.
64938         * scripts/install-sh: Update to version 2011-11-20.07.
64939         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
64940         * scripts/move-if-change: Update to version 2012-01-06 07:23.
64942 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
64944         * debug/fgetws_u_chk.c: Fix leading whitespaces.
64945         * elf/sln.c: Likewise.
64946         * hurd/hurd/ioctl.h: Likewise.
64947         * hurd/hurdmalloc.c: Likewise.
64948         * hurd/xattr.c: Likewise.
64949         * include/shlib-compat.h: Likewise.
64950         * inet/ruserpass.c: Likewise.
64951         * libio/iofgets_u.c: Likewise.
64952         * libio/iofgetws_u.c: Likewise.
64953         * locale/programs/ld-identification.c: Likewise.
64954         * locale/programs/ld-time.c: Likewise.
64955         * mach/msg-destroy.c: Likewise.
64956         * nss/nss_files/files-netgrp.c: Likewise.
64957         * resolv/res_data.c: Likewise.
64958         * soft-fp/op-1.h: Likewise.
64959         * soft-fp/op-2.h: Likewise.
64960         * soft-fp/op-4.h: Likewise.
64961         * soft-fp/op-common.h: Likewise.
64962         * stdio-common/printf_fphex.c: Likewise.
64963         * stdlib/strtod_l.c: Likewise.
64964         * sunrpc/rpc/clnt.h: Likewise.
64965         * sysdeps/generic/framestate.c: Likewise.
64966         * sysdeps/i386/bsd-_setjmp.S: Likewise.
64967         * sysdeps/i386/bsd-setjmp.S: Likewise.
64968         * sysdeps/i386/__longjmp.S: Likewise.
64969         * sysdeps/i386/setjmp.S: Likewise.
64970         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
64971         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
64972         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
64973         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
64974         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
64975         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
64976         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
64977         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
64978         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
64979         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
64980         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
64981         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
64982         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
64983         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
64984         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
64985         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
64986         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
64987         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
64988         * sysdeps/ieee754/support.c: Likewise.
64989         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
64990         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
64991         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
64992         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
64993         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
64994         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
64995         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
64996         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
64997         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
64998         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
64999         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
65000         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
65001         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
65002         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
65003         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
65004         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
65005         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
65008 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
65010         * posix/transbug.c: Remove executable mode.
65012 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
65014         * crypt/speeds.c: Remove trailing whitespace.
65015         * dlfcn/default.c: Likewise.
65016         * elf/ifuncdep2.c: Likewise.
65017         * elf/ifuncmain1.c: Likewise.
65018         * elf/ifuncmain1vis.c: Likewise.
65019         * elf/testobj.h: Likewise.
65020         * elf/tst-stackguard1.c: Likewise.
65021         * gmon/sys/gmon.h: Likewise.
65022         * hurd/hurdmsg.c: Likewise.
65023         * hurd/new-fd.c: Likewise.
65024         * hurd/ports-get.c: Likewise.
65025         * iconvdata/ibm1008_420.c: Likewise.
65026         * inet/tst-getni1.c: Likewise.
65027         * inet/tst-getni2.c: Likewise.
65028         * libio/ioungetc.c: Likewise.
65029         * libio/wfiledoalloc.c: Likewise.
65030         * manual/libm-err-tab.pl: Likewise.
65031         * math/w_dremf.c: Likewise.
65032         * misc/ftruncate.c: Likewise.
65033         * posix/bug-glob2.c: Likewise.
65034         * posix/tst-pcre.c: Likewise.
65035         * posix/wait4.c: Likewise.
65036         * resolv/README: Likewise.
65037         * resolv/res_debug.h: Likewise.
65038         * resolv/tst-inet_ntop.c: Likewise.
65039         * setjmp/bug269-setjmp.c: Likewise.
65040         * soft-fp/extended.h: Likewise.
65041         * soft-fp/op-1.h: Likewise.
65042         * soft-fp/op-2.h: Likewise.
65043         * soft-fp/op-4.h: Likewise.
65044         * soft-fp/op-8.h: Likewise.
65045         * soft-fp/testit.c: Likewise.
65046         * stdio-common/bug16.c: Likewise.
65047         * stdlib/random.c: Likewise.
65048         * sunrpc/rpcsvc/rquota.x: Likewise.
65049         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
65050         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
65051         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
65052         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
65053         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
65054         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
65055         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
65056         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
65057         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
65058         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
65059         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
65060         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
65061         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
65062         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
65063         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
65064         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
65065         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
65066         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
65067         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
65068         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
65069         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
65070         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
65071         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
65072         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
65073         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
65074         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
65075         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
65076         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
65077         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
65078         * sysdeps/ieee754/s_lib_version.c: Likewise.
65079         * sysdeps/mach/hurd/check_fds.c: Likewise.
65080         * sysdeps/mach/hurd/getsockname.c: Likewise.
65081         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
65082         * sysdeps/mach/hurd/recvfrom.c: Likewise.
65083         * sysdeps/powerpc/bits/link.h: Likewise.
65084         * sysdeps/powerpc/dl-procinfo.c: Likewise.
65085         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
65086         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
65087         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
65088         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
65089         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
65090         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
65091         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
65092         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
65093         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
65094         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
65095         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
65096         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
65097         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
65098         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
65099         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
65100         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
65101         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
65102         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
65103         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
65104         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
65105         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
65106         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
65107         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
65108         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
65109         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
65110         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
65111         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
65112         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
65113         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
65114         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
65115         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
65116         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
65117         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
65118         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
65119         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
65120         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
65121         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
65122         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
65123         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
65124         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
65125         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
65126         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
65127         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
65128         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
65129         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
65130         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
65131         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
65132         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
65133         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
65134         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
65135         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
65136         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
65137         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
65138         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
65139         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
65140         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
65141         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
65142         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
65143         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
65144         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
65145         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
65146         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
65147         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
65148         * sysdeps/powerpc/sysdep.h: Likewise.
65149         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
65150         * sysdeps/s390/s390-64/sub_n.S: Likewise.
65151         * sysdeps/sh/dl-trampoline.S: Likewise.
65152         * sysdeps/sh/memset.S: Likewise.
65153         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
65154         * sysdeps/sh/strlen.S: Likewise.
65155         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
65156         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
65157         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
65158         * sysdeps/sparc/sparc32/rem.S: Likewise.
65159         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
65160         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
65161         * sysdeps/sparc/sparc32/strchr.S: Likewise.
65162         * sysdeps/sparc/sparc32/udiv.S: Likewise.
65163         * sysdeps/sparc/sparc32/urem.S: Likewise.
65164         * sysdeps/sparc/sparc64/add_n.S: Likewise.
65165         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
65166         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
65167         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
65168         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
65169         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
65170         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
65171         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
65172         * sysdeps/unix/bsd/times.c: Likewise.
65173         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
65174         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
65175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
65176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
65177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
65178         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
65179         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
65180         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
65181         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
65182         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
65183         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
65184         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
65185         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
65186         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
65187         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
65188         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
65189         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
65190         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
65191         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
65192         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
65193         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
65194         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
65195         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
65196         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
65197         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
65198         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
65199         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
65200         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
65201         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
65202         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
65203         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
65204         * sysdeps/x86_64/strcspn.S: Likewise.
65206 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
65208         * locale/C-translit.h: Revert #include <stdint.h> because this is a
65209         generated file.  Regenerate properly from gen-translit.pl.
65210         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
65211         locale/C-translit.h.
65213 2013-06-05  Andreas Schwab  <schwab@suse.de>
65215         [BZ #15100]
65216         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
65217         week as 6 instead of -1.
65218         * time/tst-strptime.c (day_tests): Add test case.
65220 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
65222         * sysdeps/generic/math_private.h
65223         (libc_feholdexcept_setround_53bit): Replace with
65224         libc_feholdsetround_53bit.
65225         (libc_feupdateenv_53bit): Replace with
65226         libc_feresetround_53bit.
65227         (SET_RESTORE_ROUND_53BIT): Adjust.
65229 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65231         * string/test-strchrnul.c: Add copyright header.
65233         * posix/tst-getaddrinfo4.c: Increase test timeout.
65235 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
65237         [BZ #15536]
65238         * math/libm-test.inc (MAX_EXP): Remove
65239         (MIN_EXP): Define.
65240         (ulp): Use MIN_EXP - MANT_DIG.
65241         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
65243 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
65245         * po/be.po: Revert last change.
65246         * po/zh_CN.po: Likewise.
65247         * po/header.pot: Likewise.
65249 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
65251         * Makefile ($(common-objpfx)linkobj/libc.so): Define
65252         link-libc-deps to empty as target-specific variable.
65253         * Makerules (link-libc-args): New variable.
65254         (libc-for-link): Likewise.
65255         (link-libc-deps): Likewise.
65256         (lib%.so): Depend on $(link-libc-deps).  Link with
65257         $(link-libc-args).
65258         (build-module): Link with $(link-libc-args).
65259         (build-module-asneeded): Likewise.
65260         (build-module-helper-objlist): Filter out $(link-libc-deps) from
65261         list of objects.
65262         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
65263         target-specific variable.
65264         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
65265         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
65266         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
65267         libc.
65268         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
65269         libc and ld.so.
65270         ($(objpfx)libpcprofile.so): Likewise.
65271         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
65272         libc_nonshared.a.
65273         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
65274         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
65275         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
65276         $(link-libc-deps).
65277         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
65278         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
65279         * login/Makefile ($(objpfx)libutil.so): Likewise.
65280         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
65281         * math/Makefile ($(objpfx)libm.so): Likewise.
65282         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
65283         $(objpfx)libnsl.so): Define libc-for-link as target-specific
65284         variable instead of depending directly on libc.
65285         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
65286         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
65287         $(link-libc-deps).
65288         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
65289         libc.
65290         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
65291         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
65292         ($(objpfx)libanl.so): Likewise.
65293         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
65294         ld.so.
65295         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
65296         $(link-libc-deps).
65297         * sysdeps/i386/fpu/Makefile: Remove file.
65298         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
65299         ($(objpfx)libm.so): Remove dependency on ld.so.
65301 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
65303         [BZ # 15553]
65304         * nis/yp_xdr.c (XDRMAXNAME): Define.
65305         (XDRMAXRECORD): Define.
65306         (xdr_domainname): Use XDRMAXNAME.
65307         (xdr_mapname): Likewise.
65308         (xdr_peername): Likewise.
65309         (xdr_keydat): Use XDRMAXRECORD.
65310         (xdr_valdat): Likewise.
65312 2013-05-30  Jeff Law  <law@redhat.com>
65314         [BZ #14256]
65315         * manual/errno.texi (ESTALE): Update to account for more than
65316         just NFS file systems.
65317         * sysdeps/gnu/errlist.c: Regenerated.
65319 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65321         [BZ #15465]
65322         * elf/Makefile (tests): Add tst-null-argv.
65323         (modules-names):  Add tst-null-argv-lib.
65324         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
65325         (tst-null-argv-ENV): Set environment for tst-null-argv.
65326         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
65327         (RTLD_PROGNAME): New macro.
65328         * elf/tst-null-argv.c: New test case.
65329         * elf/tst-null-argv-lib.c: Library for test case.
65330         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
65331         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
65332         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
65333         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
65334         * elf/dl-init.c (call_init): Likewise.
65335         (_dl_init): Likewise.
65336         * elf/dl-load.c (print_search_path): Likewise.
65337         (_dl_map_object): Likewise.
65338         * elf/dl-lookup.c (do_lookup_x): Likewise.
65339         (add_dependency): Likewise.
65340         (_dl_lookup_symbol_x): Likewise.
65341         (_dl_debug_bindings): Likewise.
65342         * elf/dl-open.c (_dl_show_scope): Likewise.
65343         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
65344         * elf/dl-version.c (match_symbol): Likewise.
65345         (_dl_check_map_versions): Likewise.
65346         * elf/rtld.c (dl_main): Likewise.
65347         (print_unresolved): Use RTLD_PROGNAME.
65348         (print_missing_version): Likewise.
65349         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
65350         (elf_machine_rela): Likewise.
65351         * sysdeps/powerpc/powerpc32/dl-machine.c
65352         (__process_machine_rela): Likewise.
65353         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
65354         Likewise.
65355         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
65356         Likewise.
65357         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
65358         Likewise.
65359         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
65360         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
65361         Likewise.
65362         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
65363         Likewise.
65364         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
65366 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
65368         * po/be.po: Add descriptive title.
65369         * po/zh_CN.po: Likewise.
65370         * po/header.pot: Likewise.
65372 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
65374         * locale/programs/locarchive.c (create_archive): Inlucde fname in
65375         error message.
65376         (enlarge_archive): Likewise.
65378 2013-05-28  Ben North  <ben@redfrontdoor.org>
65380         * manual/arith.texi (frexp): It is the magnitude of the return
65381         value which lies in [0.5, 1), not the return value itself.
65383 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65385         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65387 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
65389         * stdio-common/bug26.c (main): Correct fscanf template.
65391         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
65392         declare _dl_skip_args.
65394         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
65395         Don't declare.
65397         * manual/platform.texi: Add missing @end deftypefun.
65399 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65401         [BZ #15529]
65402         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
65403         bit of mantissa of 2^16382.
65404         * math/libm-test.inc (hypot_test_data): Add more tests.
65406         * math/libm-test.inc: Add drem and pow10 to list of tested
65407         functions.
65408         (pow10_test): New function.
65409         (drem_test): Likewise.
65410         (drem_test_tonearest): Likewise.
65411         (drem_test_towardzero): Likewise.
65412         (drem_test_downward): Likewise.
65413         (drem_test_upward): Likewise.
65414         (main): Call the new functions.
65416         * math/libm-test.inc (finite_test_data): Remove.
65417         (finite_test): Run tests from isfinite_test_data.
65418         (gamma_test_data): Remove.
65419         (gamma_test): Run tests from lgamma_test_data.
65420         * sysdeps/i386/fpu/libm-test-ulps: Update.
65421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65423 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65425         * manual/platform.texi: Add PowerPC PPR function set documentation.
65426         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
65427         implementation.
65429 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
65431         * math/libm-test.inc (MAX_EXP): Define.
65432         (ULPDIFF): Define.
65433         (ulp): New function.
65434         (check_float_internal): Use ULPDIFF.
65435         (cpow_test): Disable failing test.
65436         (check_ulp): Test ulp() implementation.
65437         (main): Call check_ulp before starting tests.
65439 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
65441         * math/gen-libm-test.pl (generate_testfile): Do not handle
65442         START_DATA and END_DATA.
65443         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
65444         END_DATA.
65445         (acos_tonearest_test_data): Likewise.
65446         (acos_towardzero_test_data): Likewise.
65447         (acos_downward_test_data): Likewise.
65448         (acos_upward_test_data): Likewise.
65449         (acosh_test_data): Likewise.
65450         (asin_test_data): Likewise.
65451         (asin_tonearest_test_data): Likewise.
65452         (asin_towardzero_test_data): Likewise.
65453         (asin_downward_test_data): Likewise.
65454         (asin_upward_test_data): Likewise.
65455         (asinh_test_data): Likewise.
65456         (atan_test_data): Likewise.
65457         (atanh_test_data): Likewise.
65458         (atan2_test_data): Likewise.
65459         (cabs_test_data): Likewise.
65460         (cacos_test_data): Likewise.
65461         (cacosh_test_data): Likewise.
65462         (carg_test_data): Likewise.
65463         (casin_test_data): Likewise.
65464         (casinh_test_data): Likewise.
65465         (catan_test_data): Likewise.
65466         (catanh_test_data): Likewise.
65467         (cbrt_test_data): Likewise.
65468         (ccos_test_data): Likewise.
65469         (ccosh_test_data): Likewise.
65470         (ceil_test_data): Likewise.
65471         (cexp_test_data): Likewise.
65472         (cimag_test_data): Likewise.
65473         (clog_test_data): Likewise.
65474         (clog10_test_data): Likewise.
65475         (conj_test_data): Likewise.
65476         (copysign_test_data): Likewise.
65477         (cos_test_data): Likewise.
65478         (cos_tonearest_test_data): Likewise.
65479         (cos_towardzero_test_data): Likewise.
65480         (cos_downward_test_data): Likewise.
65481         (cos_upward_test_data): Likewise.
65482         (cosh_test_data): Likewise.
65483         (cosh_tonearest_test_data): Likewise.
65484         (cosh_towardzero_test_data): Likewise.
65485         (cosh_downward_test_data): Likewise.
65486         (cosh_upward_test_data): Likewise.
65487         (cpow_test_data): Likewise.
65488         (cproj_test_data): Likewise.
65489         (creal_test_data): Likewise.
65490         (csin_test_data): Likewise.
65491         (csinh_test_data): Likewise.
65492         (csqrt_test_data): Likewise.
65493         (ctan_test_data): Likewise.
65494         (ctan_tonearest_test_data): Likewise.
65495         (ctan_towardzero_test_data): Likewise.
65496         (ctan_downward_test_data): Likewise.
65497         (ctan_upward_test_data): Likewise.
65498         (ctanh_test_data): Likewise.
65499         (ctanh_tonearest_test_data): Likewise.
65500         (ctanh_towardzero_test_data): Likewise.
65501         (ctanh_downward_test_data): Likewise.
65502         (ctanh_upward_test_data): Likewise.
65503         (erf_test_data): Likewise.
65504         (erfc_test_data): Likewise.
65505         (exp_test_data): Likewise.
65506         (exp_tonearest_test_data): Likewise.
65507         (exp_towardzero_test_data): Likewise.
65508         (exp_downward_test_data): Likewise.
65509         (exp_upward_test_data): Likewise.
65510         (exp10_test_data): Likewise.
65511         (exp2_test_data): Likewise.
65512         (expm1_test_data): Likewise.
65513         (fabs_test_data): Likewise.
65514         (fdim_test_data): Likewise.
65515         (finite_test_data): Likewise.
65516         (floor_test_data): Likewise.
65517         (fma_test_data): Likewise.
65518         (fma_towardzero_test_data): Likewise.
65519         (fma_downward_test_data): Likewise.
65520         (fma_upward_test_data): Likewise.
65521         (fmax_test_data): Likewise.
65522         (fmin_test_data): Likewise.
65523         (fmod_test_data): Likewise.
65524         (fpclassify_test_data): Likewise.
65525         (frexp_test_data): Likewise.
65526         (gamma_test_data): Likewise.
65527         (hypot_test_data): Likewise.
65528         (ilogb_test_data): Likewise.
65529         (isfinite_test_data): Likewise.
65530         (isgreater_test_data): Likewise.
65531         (isgreaterequal_test_data): Likewise.
65532         (isinf_test_data): Likewise.
65533         (isless_test_data): Likewise.
65534         (islessequal_test_data): Likewise.
65535         (islessgreater_test_data): Likewise.
65536         (isnan_test_data): Likewise.
65537         (isnormal_test_data): Likewise.
65538         (issignaling_test_data): Likewise.
65539         (isunordered_test_data): Likewise.
65540         (j0_test_data): Likewise.
65541         (j1_test_data): Likewise.
65542         (jn_test_data): Likewise.
65543         (ldexp_test_data): Likewise.
65544         (lgamma_test_data): Likewise.
65545         (lrint_test_data): Likewise.
65546         (lrint_tonearest_test_data): Likewise.
65547         (lrint_towardzero_test_data): Likewise.
65548         (lrint_downward_test_data): Likewise.
65549         (lrint_upward_test_data): Likewise.
65550         (llrint_test_data): Likewise.
65551         (llrint_tonearest_test_data): Likewise.
65552         (llrint_towardzero_test_data): Likewise.
65553         (llrint_downward_test_data): Likewise.
65554         (llrint_upward_test_data): Likewise.
65555         (log_test_data): Likewise.
65556         (log10_test_data): Likewise.
65557         (log1p_test_data): Likewise.
65558         (log2_test_data): Likewise.
65559         (logb_test_data): Likewise.
65560         (logb_downward_test_data): Likewise.
65561         (lround_test_data): Likewise.
65562         (llround_test_data): Likewise.
65563         (modf_test_data): Likewise.
65564         (nearbyint_test_data): Likewise.
65565         (nextafter_test_data): Likewise.
65566         (nexttoward_test_data): Likewise.
65567         (pow_test_data): Likewise.
65568         (pow_tonearest_test_data): Likewise.
65569         (pow_towardzero_test_data): Likewise.
65570         (pow_downward_test_data): Likewise.
65571         (pow_upward_test_data): Likewise.
65572         (remainder_test_data): Likewise.
65573         (remainder_tonearest_test_data): Likewise.
65574         (remainder_towardzero_test_data): Likewise.
65575         (remainder_downward_test_data): Likewise.
65576         (remainder_upward_test_data): Likewise.
65577         (remquo_test_data): Likewise.
65578         (rint_test_data): Likewise.
65579         (rint_tonearest_test_data): Likewise.
65580         (rint_towardzero_test_data): Likewise.
65581         (rint_downward_test_data): Likewise.
65582         (rint_upward_test_data): Likewise.
65583         (round_test_data): Likewise.
65584         (scalb_test_data): Likewise.
65585         (scalbn_test_data): Likewise.
65586         (scalbln_test_data): Likewise.
65587         (signbit_test_data): Likewise.
65588         (sin_test_data): Likewise.
65589         (sin_tonearest_test_data): Likewise.
65590         (sin_towardzero_test_data): Likewise.
65591         (sin_downward_test_data): Likewise.
65592         (sin_upward_test_data): Likewise.
65593         (sincos_test_data): Likewise.
65594         (sinh_test_data): Likewise.
65595         (sinh_tonearest_test_data): Likewise.
65596         (sinh_towardzero_test_data): Likewise.
65597         (sinh_downward_test_data): Likewise.
65598         (sinh_upward_test_data): Likewise.
65599         (sqrt_test_data): Likewise.
65600         (tan_test_data): Likewise.
65601         (tan_tonearest_test_data): Likewise.
65602         (tan_towardzero_test_data): Likewise.
65603         (tan_downward_test_data): Likewise.
65604         (tan_upward_test_data): Likewise.
65605         (tanh_test_data): Likewise.
65606         (tgamma_test_data): Likewise.
65607         (trunc_test_data): Likewise.
65608         (y0_test_data): Likewise.
65609         (y1_test_data): Likewise.
65610         (yn_test_data): Likewise.
65611         (significand_test_data): Likewise.
65613         * math/gen-libm-test.pl (@functions): Remove variable.
65614         (generate_testfile): Don't handle START and END lines.
65615         * math/libm-test.inc (START): New macro.
65616         (END): Likewise.
65617         (END_COMPLEX): Likewise.
65618         (acos_test): Use END macro without arguments.
65619         (acos_test_tonearest): Likewise.
65620         (acos_test_towardzero): Likewise.
65621         (acos_test_downward): Likewise.
65622         (acos_test_upward): Likewise.
65623         (acosh_test): Likewise.
65624         (asin_test): Likewise.
65625         (asin_test_tonearest): Likewise.
65626         (asin_test_towardzero): Likewise.
65627         (asin_test_downward): Likewise.
65628         (asin_test_upward): Likewise.
65629         (asinh_test): Likewise.
65630         (atan_test): Likewise.
65631         (atanh_test): Likewise.
65632         (atan2_test): Likewise.
65633         (cabs_test): Likewise.
65634         (cacos_test): Use END_COMPLEX macro without arguments.
65635         (cacosh_test): Likewise.
65636         (carg_test): Use END macro without arguments.
65637         (casin_test): Use END_COMPLEX macro without arguments.
65638         (casinh_test): Likewise.
65639         (catan_test): Likewise.
65640         (catanh_test): Likewise.
65641         (cbrt_test): Use END macro without arguments.
65642         (ccos_test): Use END_COMPLEX macro without arguments.
65643         (ccosh_test): Likewise.
65644         (ceil_test): Use END macro without arguments.
65645         (cexp_test): Use END_COMPLEX macro without arguments.
65646         (cimag_test): Use END macro without arguments.
65647         (clog_test): Use END_COMPLEX macro without arguments.
65648         (clog10_test): Likewise.
65649         (conj_test): Likewise.
65650         (copysign_test): Use END macro without arguments.
65651         (cos_test): Likewise.
65652         (cos_test_tonearest): Likewise.
65653         (cos_test_towardzero): Likewise.
65654         (cos_test_downward): Likewise.
65655         (cos_test_upward): Likewise.
65656         (cosh_test): Likewise.
65657         (cosh_test_tonearest): Likewise.
65658         (cosh_test_towardzero): Likewise.
65659         (cosh_test_downward): Likewise.
65660         (cosh_test_upward): Likewise.
65661         (cpow_test): Use END_COMPLEX macro without arguments.
65662         (cproj_test): Likewise.
65663         (creal_test): Use END macro without arguments.
65664         (csin_test): Use END_COMPLEX macro without arguments.
65665         (csinh_test): Likewise.
65666         (csqrt_test): Likewise.
65667         (ctan_test): Likewise.
65668         (ctan_test_tonearest): Likewise.
65669         (ctan_test_towardzero): Likewise.
65670         (ctan_test_downward): Likewise.
65671         (ctan_test_upward): Likewise.
65672         (ctanh_test): Likewise.
65673         (ctanh_test_tonearest): Likewise.
65674         (ctanh_test_towardzero): Likewise.
65675         (ctanh_test_downward): Likewise.
65676         (ctanh_test_upward): Likewise.
65677         (erf_test): Use END macro without arguments.
65678         (erfc_test): Likewise.
65679         (exp_test): Likewise.
65680         (exp_test_tonearest): Likewise.
65681         (exp_test_towardzero): Likewise.
65682         (exp_test_downward): Likewise.
65683         (exp_test_upward): Likewise.
65684         (exp10_test): Likewise.
65685         (exp2_test): Likewise.
65686         (expm1_test): Likewise.
65687         (fabs_test): Likewise.
65688         (fdim_test): Likewise.
65689         (finite_test): Likewise.
65690         (floor_test): Likewise.
65691         (fma_test): Likewise.
65692         (fma_test_towardzero): Likewise.
65693         (fma_test_downward): Likewise.
65694         (fma_test_upward): Likewise.
65695         (fmax_test): Likewise.
65696         (fmin_test): Likewise.
65697         (fmod_test): Likewise.
65698         (fpclassify_test): Likewise.
65699         (frexp_test): Likewise.
65700         (gamma_test): Likewise.
65701         (hypot_test): Likewise.
65702         (ilogb_test): Likewise.
65703         (isfinite_test): Likewise.
65704         (isgreater_test): Likewise.
65705         (isgreaterequal_test): Likewise.
65706         (isinf_test): Likewise.
65707         (isless_test): Likewise.
65708         (islessequal_test): Likewise.
65709         (islessgreater_test): Likewise.
65710         (isnan_test): Likewise.
65711         (isnormal_test): Likewise.
65712         (issignaling_test): Likewise.
65713         (isunordered_test): Likewise.
65714         (j0_test): Likewise.
65715         (j1_test): Likewise.
65716         (jn_test): Likewise.
65717         (ldexp_test): Likewise.
65718         (lgamma_test): Likewise.
65719         (lrint_test): Likewise.
65720         (lrint_test_tonearest): Likewise.
65721         (lrint_test_towardzero): Likewise.
65722         (lrint_test_downward): Likewise.
65723         (lrint_test_upward): Likewise.
65724         (llrint_test): Likewise.
65725         (llrint_test_tonearest): Likewise.
65726         (llrint_test_towardzero): Likewise.
65727         (llrint_test_downward): Likewise.
65728         (llrint_test_upward): Likewise.
65729         (log_test): Likewise.
65730         (log10_test): Likewise.
65731         (log1p_test): Likewise.
65732         (log2_test): Likewise.
65733         (logb_test): Likewise.
65734         (logb_test_downward): Likewise.
65735         (lround_test): Likewise.
65736         (llround_test): Likewise.
65737         (modf_test): Likewise.
65738         (nearbyint_test): Likewise.
65739         (nextafter_test): Likewise.
65740         (nexttoward_test): Likewise.
65741         (pow_test): Likewise.
65742         (pow_test_tonearest): Likewise.
65743         (pow_test_towardzero): Likewise.
65744         (pow_test_downward): Likewise.
65745         (pow_test_upward): Likewise.
65746         (remainder_test): Likewise.
65747         (remainder_test_tonearest): Likewise.
65748         (remainder_test_towardzero): Likewise.
65749         (remainder_test_downward): Likewise.
65750         (remainder_test_upward): Likewise.
65751         (remquo_test): Likewise.
65752         (rint_test): Likewise.
65753         (rint_test_tonearest): Likewise.
65754         (rint_test_towardzero): Likewise.
65755         (rint_test_downward): Likewise.
65756         (rint_test_upward): Likewise.
65757         (round_test): Likewise.
65758         (scalb_test): Likewise.
65759         (scalbn_test): Likewise.
65760         (scalbln_test): Likewise.
65761         (signbit_test): Likewise.
65762         (sin_test): Likewise.
65763         (sin_test_tonearest): Likewise.
65764         (sin_test_towardzero): Likewise.
65765         (sin_test_downward): Likewise.
65766         (sin_test_upward): Likewise.
65767         (sincos_test): Likewise.
65768         (sinh_test): Likewise.
65769         (sinh_test_tonearest): Likewise.
65770         (sinh_test_towardzero): Likewise.
65771         (sinh_test_downward): Likewise.
65772         (sinh_test_upward): Likewise.
65773         (sqrt_test): Likewise.
65774         (tan_test): Likewise.
65775         (tan_test_tonearest): Likewise.
65776         (tan_test_towardzero): Likewise.
65777         (tan_test_downward): Likewise.
65778         (tan_test_upward): Likewise.
65779         (tanh_test): Likewise.
65780         (tgamma_test): Likewise.
65781         (trunc_test): Likewise.
65782         (y0_test): Likewise.
65783         (y1_test): Likewise.
65784         (yn_test): Likewise.
65785         (significand_test): Likewise.
65787 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
65789         [BZ #15381]
65790         * libio/genops.c (_IO_no_init): Initialize wide struct info.
65792 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
65794         [BZ #14894]
65795         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
65796         __ppc_mdoio and __ppc_mdoom.
65797         * manual/platform.texi: Document new functions __ppc_yield,
65798         __ppc_mdoio and __ppc_mdoom.
65800 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
65802         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
65803         (main): Mention "tls" pseudo-hwcap is legacy.
65804         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
65806 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65808         * math/gen-libm-test.pl (parse_args): Output only string of
65809         arguments as text for test name, not full call or descriptions of
65810         tests for extra outputs.
65811         (generate_testfile): Do not pass function name to parse_args.
65812         Generate this_func variable from START.
65813         * math/libm-test.inc (struct test_f_f_data): Rename test_name
65814         field to arg_str.
65815         (struct test_ff_f_data): Likewise.
65816         (test_ff_f_data_nexttoward): Likewise.
65817         (struct test_fi_f_data): Likewise.
65818         (struct test_fl_f_data): Likewise.
65819         (struct test_if_f_data): Likewise.
65820         (struct test_fff_f_data): Likewise.
65821         (struct test_c_f_data): Likewise.
65822         (struct test_f_f1_data): Likewise.  Remove field extra_name.
65823         (struct test_fF_f1_data): Likewise.
65824         (struct test_ffI_f1_data): Likewise.
65825         (struct test_c_c_data): Rename test_name field to arg_str.
65826         (struct test_cc_c_data): Likewise.
65827         (struct test_f_i_data): Likewise.
65828         (struct test_ff_i_data): Likewise.
65829         (struct test_f_l_data): Likewise.
65830         (struct test_f_L_data): Likewise.
65831         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
65832         and extra2_name.
65833         (COMMON_TEST_SETUP): New macro.
65834         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
65835         (COMMON_TEST_CLEANUP): Likewise.
65836         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
65837         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
65838         macros.
65839         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
65840         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
65841         macros.
65842         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
65843         (RUN_TEST_fff_f): Take argument string.  Call new setup and
65844         cleanup macros.
65845         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
65846         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
65847         macros.
65848         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
65849         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
65850         macros.
65851         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
65852         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
65853         cleanup macros.
65854         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
65855         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
65856         cleanup macros.
65857         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
65858         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
65859         cleanup macros.
65860         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
65861         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
65862         macros.
65863         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
65864         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
65865         macros.
65866         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
65867         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
65868         macros.
65869         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
65870         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
65871         cleanup macros.
65872         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
65873         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
65874         cleanup macros.
65875         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
65876         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
65877         macros.
65878         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
65879         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
65880         cleanup macros.
65881         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
65882         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
65883         macros.
65884         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
65885         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
65886         macros.
65887         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
65888         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
65889         cleanup macros.
65890         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
65892 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
65894         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
65895         to _sifields.sigfault.
65896         (si_addr_lsb): Define new macro.
65897         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
65898         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
65899         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
65901 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
65903         [BZ #15441]
65904         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
65905         returns -1.
65906         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
65907         null return -1.
65908         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
65909         loading the domain.
65911 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
65913         * math/gen-libm-test.pl (parse_args): Do not include expected
65914         result in test name.
65915         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
65916         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
65917         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
65918         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
65919         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
65920         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65922 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65924         * benchtests/Makefile: Sort function entries.
65926         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
65927         tanh, asinh, acosh, atanh.
65928         * benchtests/acos-inputs: New file.
65929         * benchtests/acosh-inputs: New file.
65930         * benchtests/asin-inputs: New file.
65931         * benchtests/asinh-inputs: New file.
65932         * benchtests/atanh-inputs: New file.
65933         * benchtests/cosh-inputs: New file.
65934         * benchtests/log-inputs: New file.
65935         * benchtests/sinh-inputs: New file.
65936         * benchtests/tanh-inputs: New file.
65938 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
65940         [BZ #15339]
65941         * posix/tst-getaddrinfo4.c: New test.
65942         * posix/Makefile (tests): Add it.
65944 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65946         [BZ #15339]
65947         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
65948         when no services were used.
65949         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
65950         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
65952 2013-05-21  Andreas Schwab  <schwab@suse.de>
65954         [BZ #15014]
65955         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
65956         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
65957         successful.
65958         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
65959         redundant variable declarations and reallocation of buffer when
65960         parsing as IPv6 address.  Always set NSS status when called from
65961         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
65962         buffer too small.  Correct computation of needed size.
65963         * nss/Makefile (tests): Add test-digits-dots.
65964         * nss/test-digits-dots.c: New test.
65966 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
65968         * benchtests/Makefile: Remove instructions for adding
65969         benchmark tests.
65970         * benchtests/README: New file to explain how to execute and
65971         enhance the benchmark tests.
65973 2013-05-21  Andreas Schwab  <schwab@suse.de>
65975         [BZ #15493]
65976         * setjmp/Makefile (tests): Add tst-sigsetjmp.
65977         * setjmp/tst-sigsetjmp.c: New test.
65979 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65981         * sysdeps/x86_64/memset.S (memset): New implementation.
65982         (__bzero): Likewise.
65983         (__memset_tail): New function.
65985 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
65987         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
65988         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
65989         __memcpy_sse2_unaligned ifunc selection.
65990         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
65991         Add memcpy-sse2-unaligned.S.
65992         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
65993         Add: __memcpy_sse2_unaligned.
65995 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
65997         [BZ #15490]
65998         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
65999         math_force_eval before restoring floating-point envrionment.
66000         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
66001         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
66002         Likewise.
66003         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
66004         <math_private.h>.
66005         (__nearbyintl): Use math_force_eval before restoring
66006         floating-point environment.
66007         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
66009         * math/gen-libm-test.pl (special_functions): Remove.
66010         (parse_args): Don't handle TEST_extra.  Handle functions with no
66011         return value.
66012         * math/libm-test.inc (struct test_sincos_data): Replace with
66013         struct test_fFF_11_data.
66014         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
66015         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
66016         (sincos_test_data): Change element type to struct
66017         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
66018         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
66019         RUN_TEST_LOOP_sincos.
66020         * math/README.libm-test: Don't mention special handling of
66021         individual functions.
66022         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
66023         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66024         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66025         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
66026         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66029         * math/gen-libm-test.pl (get_variable): Remove function.
66030         (parse_args): Don't show pointer parameters to call in test
66031         names.  Use "extra output N" in test names for extra outputs
66032         rather than naming variables.
66034 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
66036         [BZ #15488]
66037         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
66038         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
66039         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
66040         double tests.
66041         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
66042         disable.
66043         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
66044         check_long_double.
66046         * math/gen-libm-test.pl (@tests): Remove variable.
66047         ($count): Likewise.
66048         (new_test): Remove function.
66049         (show_exceptions): New function.
66050         (special_functions): Use show_exceptions instead of new_test.
66051         (parse_args): Likewise.
66052         (generate_testfile): Pass only function name in generated call to
66053         print_max_error or print_complex_max_error.
66054         (get_ulps): Do not handle complex tests specially.
66055         (output_test): Rename to ...
66056         (get_all_ulps_for_test): ... this.  Return a string rather than
66057         printing to a file.  Require ulps to be present.
66058         (output_ulps): Generate arrays rather than #defines.
66059         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
66060         (struct ulp_data): New type.
66061         (BUILD_COMPLEX_ULP): Remove macro.
66062         (compare_ulp_data): New function.
66063         (find_ulps): Likewise.
66064         (find_test_ulps): Likewise.
66065         (find_function_ulps): Likewise.
66066         (find_complex_function_ulps): Likewise.
66067         (print_max_error): Determine allowed ulps using
66068         find_function_ulps.
66069         (print_complex_max_error): Determine allowed ulps using
66070         find_complex_function_ulps.
66071         (check_float_internal): Determine max ulps using find_test_ulps.
66072         (check_float): Do not take max_ulp parameter.  Update call to
66073         check_float_internal.
66074         (check_complex): Likewise.
66075         (check_int): Do not take max_ulp parameter.
66076         (check_long): Likewise.
66077         (check_bool): Likewise.
66078         (check_longlong): Likewise.
66079         (struct test_f_f_data): Remove max_ulp field.
66080         (struct test_ff_f_data): Likewise.
66081         (struct test_ff_f_data_nexttoward): Likewise.
66082         (struct test_fi_f_data): Likewise.
66083         (struct test_fl_f_data): Likewise.
66084         (struct test_if_f_data): Likewise.
66085         (struct test_fff_f_data): Likewise.
66086         (struct test_c_f_data): Likewise.
66087         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
66088         (struct test_fF_f1_data): Likewise.
66089         (struct test_ffI_f1_data): Likewise.
66090         (struct test_c_c_data): Remove max_ulp field.
66091         (struct test_cc_c_data): Likewise.
66092         (struct test_f_i_data): Likewise.
66093         (struct test_ff_i_data): Likewise.
66094         (struct test_f_l_data): Likewise.
66095         (struct test_f_L_data): Likewise.
66096         (struct test_sincos_data): Likewise.
66097         (RUN_TEST_f_f): Do not handle ulps.
66098         (RUN_TEST_LOOP_f_f): Likewise.
66099         (RUN_TEST_2_f): Likewise.
66100         (RUN_TEST_LOOP_2_f): Likewise.
66101         (RUN_TEST_fff_f): Likewise.
66102         (RUN_TEST_LOOP_fff_f): Likewise.
66103         (RUN_TEST_c_f): Likewise.
66104         (RUN_TEST_LOOP_c_f): Likewise.
66105         (RUN_TEST_f_f1): Likewise.
66106         (RUN_TEST_LOOP_f_f1): Likewise.
66107         (RUN_TEST_fF_f1): Likewise.
66108         (RUN_TEST_LOOP_fF_f1): Likewise.
66109         (RUN_TEST_fI_f1): Likewise.
66110         (RUN_TEST_LOOP_fI_f1): Likewise.
66111         (RUN_TEST_ffI_f1): Likewise.
66112         (RUN_TEST_LOOP_ffI_f1): Likewise.
66113         (RUN_TEST_c_c): Likewise.
66114         (RUN_TEST_LOOP_c_c): Likewise.
66115         (RUN_TEST_cc_c): Likewise.
66116         (RUN_TEST_LOOP_cc_c): Likewise.
66117         (RUN_TEST_f_i): Likewise.
66118         (RUN_TEST_LOOP_f_i): Likewise.
66119         (RUN_TEST_f_i_tg): Likewise.
66120         (RUN_TEST_LOOP_f_i_tg): Likewise.
66121         (RUN_TEST_ff_i_tg): Likewise.
66122         (RUN_TEST_LOOP_ff_i_tg): Likewise.
66123         (RUN_TEST_f_b): Likewise.
66124         (RUN_TEST_LOOP_f_b): Likewise.
66125         (RUN_TEST_f_b_tg): Likewise.
66126         (RUN_TEST_LOOP_f_b_tg): Likewise.
66127         (RUN_TEST_f_l): Likewise.
66128         (RUN_TEST_LOOP_f_l): Likewise.
66129         (RUN_TEST_f_L): Likewise.
66130         (RUN_TEST_LOOP_f_L): Likewise.
66131         (RUN_TEST_sincos): Likewise.
66132         (RUN_TEST_LOOP_sincos): Likewise.
66134 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
66136         [BZ #15480]
66137         [BZ #15485]
66138         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
66139         main case of finite arguments, set rounding mode to FE_TONEAREST
66140         and discard exceptions.
66141         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
66142         exceptions.
66143         (remainder_tonearest_test_data): New variable.
66144         (remainder_test_tonearest): New function.
66145         (remainder_towardzero_test_data): New variable.
66146         (remainder_test_towardzero): New function.
66147         (remainder_downward_test_data): New variable.
66148         (remainder_test_downward): New function.
66149         (remainder_upward_test_data): New variable.
66150         (remainder_test_upward): New function.
66151         (main): Call the new test functions.
66153         * math/libm-test.inc (struct test_f_f1_data): Remove field
66154         extra_init.
66155         (struct test_fF_f1_data): Likewise.
66156         (struct test_ffI_f1_data): Likewise.
66157         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
66158         based on value of EXTRA_EXPECTED.
66159         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
66160         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
66161         EXTRA_VAR based on value of EXTRA_EXPECTED.
66162         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
66163         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
66164         EXTRA_VAR based on value of EXTRA_EXPECTED.
66165         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
66166         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
66167         EXTRA_VAR based on value of EXTRA_EXPECTED.
66168         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
66169         * math/gen-libm-test.pl (parse_args): Don't output initializers
66170         for extra output values.
66172         * math/libm-test.inc (check_int): Expect result to be exactly
66173         equal to expected value and do not handle ulps.
66174         (check_long): Likewise.
66175         (check_longlong): Likewise.
66177         * math/libm-test.inc (ceil_test_data): Test for "inexact"
66178         exceptions.
66179         (cimag_test_data): Likewise.
66180         (conj_test_data): Likewise.
66181         (copysign_test_data): Likewise.
66182         (cproj_test_data): Likewise.
66183         (creal_test_data): Likewise.
66184         (fabs_test_data): Likewise.
66185         (fdim_test_data): Likewise.
66186         (finite_test_data): Likewise.
66187         (floor_test_data): Likewise.
66188         (fmax_test_data): Likewise.
66189         (fmin_test_data): Likewise.
66190         (fmod_test_data): Likewise.
66191         (fpclassify_test_data): Likewise.
66192         (frexp_test_data): Likewise.
66193         (ilogb_test_data): Likewise.
66194         (isfinite_test_data): Likewise.
66195         (isgreater_test_data): Likewise.
66196         (isgreaterequal_test_data): Likewise.
66197         (isinf_test_data): Likewise.
66198         (isless_test_data): Likewise.
66199         (islessequal_test_data): Likewise.
66200         (islessgreater_test_data): Likewise.
66201         (isnan_test_data): Likewise.
66202         (isnormal_test_data): Likewise.
66203         (issignaling_test_data): Likewise.
66204         (isunordered_test_data): Likewise.
66205         (ldexp_test_data): Likewise.
66206         (lrint_test_data): Likewise.
66207         (lrint_test_data) [TEST_FLOAT]: Disable one test.
66208         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
66209         (lrint_tonearest_test_data): Test for "inexact" exceptions.
66210         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66211         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
66212         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66213         test input.
66214         (lrint_towardzero_test_data): Test for "inexact" exceptions.
66215         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66216         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
66217         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
66218         that test input.
66219         (lrint_downward_test_data): Test for "inexact" exceptions.
66220         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66221         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
66222         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
66223         test input.
66224         (lrint_upward_test_data): Test for "inexact" exceptions.
66225         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
66226         test input.
66227         (llrint_test_data): Test for "inexact" exceptions.
66228         (llrint_test_data) [TEST_FLOAT]: Disable one test.
66229         (llrint_tonearest_test_data): Test for "inexact" exceptions.
66230         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
66231         (llrint_towardzero_test_data): Test for "inexact" exceptions.
66232         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
66233         (llrint_downward_test_data): Test for "inexact" exceptions.
66234         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
66235         (llrint_upward_test_data): Test for "inexact" exceptions.
66236         (logb_test_data): Likewise.
66237         (logb_downward_test_data): Likewise.
66238         (nextafter_test_data): Likewise.
66239         (nexttoward_test_data): Likewise.
66240         (remainder_test_data): Likewise.
66241         (remquo_test_data): Likewise.
66242         (scalbn_test_data): Likewise.
66243         (scalbln_test_data): Likewise.
66244         (signbit_test_data): Likewise.
66245         (sqrt_test_data): Likewise.
66246         (significand_test_data): Likewise.
66248 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
66250         [BZ #15424]
66251         * benchtests/bench-modf.c (struct args): Mark arg0 as
66252         volatile.
66253         * scripts/bench.pl: Mark members of struct args as volatile.
66255 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66257         [BZ # 15497]
66258         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
66259         negative infinity on POWER6 or lower.
66260         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
66262 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
66264         [BZ #15442]
66265         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
66266         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
66267         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
66268         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
66269         (_FP_SETQNAN): New macro.
66270         (_FP_SETQNAN_SEMIRAW): Likewise.
66271         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
66272         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
66273         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
66274         (FP_EXTEND): Use _FP_FRAC_SNANP.
66275         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
66276         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
66277         into account.
66278         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66279         New macro.
66280         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
66281         Likewise.
66283 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66285         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
66286         with DIVIDE_BY_ZERO_EXCEPTION.
66287         (gamma_test_data): Likewise.
66288         (lgamma_test_data): Likewise.
66289         (log_test_data): Likewise.
66290         (log10_test_data): Likewise.
66291         (log2_test_data): Likewise.
66292         (tgamma_test_data): Likewise.
66294         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
66295         (acos_test_tonearest): Likewise.
66296         (acos_test_towardzero): Likewise.
66297         (acos_test_downward): Likewise.
66298         (acos_test_upward): Likewise.
66299         (acosh_test): Likewise.
66300         (asin_test): Likewise.
66301         (asin_test_tonearest): Likewise.
66302         (asin_test_towardzero): Likewise.
66303         (asin_test_downward): Likewise.
66304         (asin_test_upward): Likewise.
66305         (asinh_test): Likewise.
66306         (atan_test): Likewise.
66307         (atanh_test): Likewise.
66308         (atan2_test): Likewise.
66309         (cabs_test): Likewise.
66310         (cacos_test): Likewise.
66311         (cacosh_test): Likewise.
66312         (casin_test): Likewise.
66313         (casinh_test): Likewise.
66314         (catan_test): Likewise.
66315         (catanh_test): Likewise.
66316         (cbrt_test): Likewise.
66317         (ccos_test): Likewise.
66318         (ccosh_test): Likewise.
66319         (cexp_test): Likewise.
66320         (clog_test): Likewise.
66321         (clog10_test): Likewise.
66322         (cos_test): Likewise.
66323         (cos_test_tonearest): Likewise.
66324         (cos_test_towardzero): Likewise.
66325         (cos_test_downward): Likewise.
66326         (cos_test_upward): Likewise.
66327         (cosh_test): Likewise.
66328         (cosh_test_tonearest): Likewise.
66329         (cosh_test_towardzero): Likewise.
66330         (cosh_test_downward): Likewise.
66331         (cosh_test_upward): Likewise.
66332         (cpow_test): Likewise.
66333         (csin_test): Likewise.
66334         (csinh_test): Likewise.
66335         (csqrt_test): Likewise.
66336         (ctan_test): Likewise.
66337         (ctan_test_tonearest): Likewise.
66338         (ctan_test_towardzero): Likewise.
66339         (ctan_test_downward): Likewise.
66340         (ctan_test_upward): Likewise.
66341         (ctanh_test): Likewise.
66342         (ctanh_test_tonearest): Likewise.
66343         (ctanh_test_towardzero): Likewise.
66344         (ctanh_test_downward): Likewise.
66345         (ctanh_test_upward): Likewise.
66346         (erf_test): Likewise.
66347         (erfc_test): Likewise.
66348         (exp_test): Likewise.
66349         (exp_test_tonearest): Likewise.
66350         (exp_test_towardzero): Likewise.
66351         (exp_test_downward): Likewise.
66352         (exp_test_upward): Likewise.
66353         (exp10_test): Likewise.
66354         (exp2_test): Likewise.
66355         (expm1_test): Likewise.
66356         (fmod_test): Likewise.
66357         (gamma_test): Likewise.
66358         (hypot_test): Likewise.
66359         (j0_test): Likewise.
66360         (j1_test): Likewise.
66361         (jn_test): Likewise.
66362         (lgamma_test): Likewise.
66363         (log_test): Likewise.
66364         (log10_test): Likewise.
66365         (log1p_test): Likewise.
66366         (log2_test): Likewise.
66367         (logb_test_downward): Likewise.
66368         (pow_test): Likewise.
66369         (pow_test_tonearest): Likewise.
66370         (pow_test_towardzero): Likewise.
66371         (pow_test_downward): Likewise.
66372         (pow_test_upward): Likewise.
66373         (remainder_test): Likewise.
66374         (remquo_test): Likewise.
66375         (sin_test): Likewise.
66376         (sin_test_tonearest): Likewise.
66377         (sin_test_towardzero): Likewise.
66378         (sin_test_downward): Likewise.
66379         (sin_test_upward): Likewise.
66380         (sincos_test): Likewise.
66381         (sinh_test): Likewise.
66382         (sinh_test_tonearest): Likewise.
66383         (sinh_test_towardzero): Likewise.
66384         (sinh_test_downward): Likewise.
66385         (sinh_test_upward): Likewise.
66386         (sqrt_test): Likewise.
66387         (tan_test): Likewise.
66388         (tan_test_tonearest): Likewise.
66389         (tan_test_towardzero): Likewise.
66390         (tan_test_downward): Likewise.
66391         (tan_test_upward): Likewise.
66392         (tanh_test): Likewise.
66393         (tgamma_test): Likewise.
66394         (y0_test): Likewise.
66395         (y1_test): Likewise.
66396         (yn_test): Likewise.
66398         * math/gen-libm-test.pl (adjust_arg): Remove function.
66399         (special_function): Remove argument $in_func.  Only handle
66400         generating output for tables of tests, not inside functions.
66401         (parse_args): Likewise.
66402         (generate_testfile): Remove variable $in_func.  Update call to
66403         parse_args.
66404         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
66405         (MINUS_ZERO_INIT): Rename macro to minus_zero.
66406         (PLUS_INFTY_INIT): Rename macro to plus_infty.
66407         (MINUS_INFTY_INIT): Rename macro to minus_infty.
66408         (QNAN_VALUE_INIT): Rename macro to qnan_value.
66409         (MAX_VALUE_INIT): Rename macro to max_value.
66410         (MIN_VALUE_INIT): Rename macro to min_value.
66411         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
66412         (plus_zero): Remove variable.
66413         (minus_zero): Likewise.
66414         (plus_infty): Likewise.
66415         (minus_infty): Likewise.
66416         (qnan_value): Likewise.
66417         (max_value): Likewise.
66418         (min_value): Likewise.
66419         (min_subnorm_value): Likewise.
66421 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
66423         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
66424         uint64_t or uint32_t usage.
66425         * crypt/sha256-block.c: Likewise.
66426         * crypt/sha256-crypt.c: Likewise.
66427         * crypt/sha256.c: Likewise.
66428         * crypt/sha512-block.c: Likewise.
66429         * crypt/sha512-crypt.c: Likewise.
66430         * crypt/sha512.c: Likewise.
66431         * debug/backtrace-tst.c: Likewise.
66432         * debug/pcprofiledump.c: Likewise.
66433         * elf/cache.c: Likewise.
66434         * elf/dl-cache.c: Likewise.
66435         * elf/dl-misc.c: Likewise.
66436         * elf/dl-profile.c: Likewise.
66437         * elf/dl-support.c: Likewise.
66438         * elf/ldconfig.c: Likewise.
66439         * elf/sprof.c: Likewise.
66440         * iconv/dummy-repertoire.c: Likewise.
66441         * iconv/iconv_charmap.c: Likewise.
66442         * iconv/skeleton.c: Likewise.
66443         * iconvdata/8bit-generic.c: Likewise.
66444         * iconvdata/cp737.h: Likewise.
66445         * iconvdata/cp775.h: Likewise.
66446         * iconvdata/ibm1008.h: Likewise.
66447         * iconvdata/ibm1025.h: Likewise.
66448         * iconvdata/ibm1046.h: Likewise.
66449         * iconvdata/ibm1097.h: Likewise.
66450         * iconvdata/ibm1112.h: Likewise.
66451         * iconvdata/ibm1122.h: Likewise.
66452         * iconvdata/ibm1123.h: Likewise.
66453         * iconvdata/ibm1124.h: Likewise.
66454         * iconvdata/ibm1129.h: Likewise.
66455         * iconvdata/ibm1130.h: Likewise.
66456         * iconvdata/ibm1132.h: Likewise.
66457         * iconvdata/ibm1133.h: Likewise.
66458         * iconvdata/ibm1137.h: Likewise.
66459         * iconvdata/ibm1140.h: Likewise.
66460         * iconvdata/ibm1141.h: Likewise.
66461         * iconvdata/ibm1142.h: Likewise.
66462         * iconvdata/ibm1143.h: Likewise.
66463         * iconvdata/ibm1144.h: Likewise.
66464         * iconvdata/ibm1145.h: Likewise.
66465         * iconvdata/ibm1146.h: Likewise.
66466         * iconvdata/ibm1147.h: Likewise.
66467         * iconvdata/ibm1148.h: Likewise.
66468         * iconvdata/ibm1149.h: Likewise.
66469         * iconvdata/ibm1153.h: Likewise.
66470         * iconvdata/ibm1154.h: Likewise.
66471         * iconvdata/ibm1155.h: Likewise.
66472         * iconvdata/ibm1156.h: Likewise.
66473         * iconvdata/ibm1157.h: Likewise.
66474         * iconvdata/ibm1158.h: Likewise.
66475         * iconvdata/ibm1160.h: Likewise.
66476         * iconvdata/ibm1161.h: Likewise.
66477         * iconvdata/ibm1162.h: Likewise.
66478         * iconvdata/ibm1163.h: Likewise.
66479         * iconvdata/ibm1164.h: Likewise.
66480         * iconvdata/ibm1166.h: Likewise.
66481         * iconvdata/ibm1167.h: Likewise.
66482         * iconvdata/ibm12712.h: Likewise.
66483         * iconvdata/ibm1390.h: Likewise.
66484         * iconvdata/ibm1399.h: Likewise.
66485         * iconvdata/ibm16804.h: Likewise.
66486         * iconvdata/ibm4517.h: Likewise.
66487         * iconvdata/ibm4899.h: Likewise.
66488         * iconvdata/ibm4909.h: Likewise.
66489         * iconvdata/ibm4971.h: Likewise.
66490         * iconvdata/ibm5347.h: Likewise.
66491         * iconvdata/ibm803.h: Likewise.
66492         * iconvdata/ibm856.h: Likewise.
66493         * iconvdata/ibm901.h: Likewise.
66494         * iconvdata/ibm902.h: Likewise.
66495         * iconvdata/ibm9030.h: Likewise.
66496         * iconvdata/ibm9066.h: Likewise.
66497         * iconvdata/ibm921.h: Likewise.
66498         * iconvdata/ibm922.h: Likewise.
66499         * iconvdata/ibm9448.h: Likewise.
66500         * iconvdata/isiri-3342.h: Likewise.
66501         * iconvdata/jis0201.h: Likewise.
66502         * include/link.h: Likewise.
66503         * include/netdb.h: Likewise.
66504         * inet/check_native.c: Likewise.
66505         * inet/check_pf.c: Likewise.
66506         * inet/getipv4sourcefilter.c: Likewise.
66507         * inet/getnameinfo.c: Likewise.
66508         * inet/getsourcefilter.c: Likewise.
66509         * inet/htonl.c: Likewise.
66510         * inet/setipv4sourcefilter.c: Likewise.
66511         * inet/setsourcefilter.c: Likewise.
66512         * inet/test-inet6_opt.c: Likewise.
66513         * inet/tst-network.c: Likewise.
66514         * locale/C-collate.c: Likewise.
66515         * locale/C-ctype.c: Likewise.
66516         * locale/C-time.c: Likewise.
66517         * locale/C-translit.h: Likewise.
66518         * locale/loadarchive.c: Likewise.
66519         * locale/programs/3level.h: Likewise.
66520         * locale/programs/charmap.c: Likewise.
66521         * locale/programs/charmap.h: Likewise.
66522         * locale/programs/ld-address.c: Likewise.
66523         * locale/programs/ld-collate.c: Likewise.
66524         * locale/programs/ld-ctype.c: Likewise.
66525         * locale/programs/ld-identification.c: Likewise.
66526         * locale/programs/ld-measurement.c: Likewise.
66527         * locale/programs/ld-messages.c: Likewise.
66528         * locale/programs/ld-monetary.c: Likewise.
66529         * locale/programs/ld-name.c: Likewise.
66530         * locale/programs/ld-numeric.c: Likewise.
66531         * locale/programs/ld-paper.c: Likewise.
66532         * locale/programs/ld-telephone.c: Likewise.
66533         * locale/programs/ld-time.c: Likewise.
66534         * locale/programs/linereader.c: Likewise.
66535         * locale/programs/locale.c: Likewise.
66536         * locale/programs/locarchive.c: Likewise.
66537         * locale/programs/locfile.h: Likewise.
66538         * locale/programs/repertoire.c: Likewise.
66539         * locale/programs/simple-hash.c: Likewise.
66540         * locale/programs/simple-hash.h: Likewise.
66541         * malloc/memusage.c: Likewise.
66542         * malloc/memusagestat.c: Likewise.
66543         * nis/nis_defaults.c: Likewise.
66544         * nis/nis_hash.c: Likewise.
66545         * nis/nis_print.c: Likewise.
66546         * nis/nis_xdr.c: Likewise.
66547         * nscd/connections.c: Likewise.
66548         * nscd/hstcache.c: Likewise.
66549         * nscd/nscd_gethst_r.c: Likewise.
66550         * nscd/nscd_getserv_r.c: Likewise.
66551         * nscd/nscd_helper.c: Likewise.
66552         * nscd/servicescache.c: Likewise.
66553         * nss/makedb.c: Likewise.
66554         * nss/nss_db/db-XXX.c: Likewise.
66555         * nss/nss_db/db-initgroups.c: Likewise.
66556         * nss/nss_db/db-netgrp.c: Likewise.
66557         * nss/nss_files/files-network.c: Likewise.
66558         * nss/nss_files/files-parse.c: Likewise.
66559         * posix/bug-regex5.c: Likewise.
66560         * posix/fnmatch_loop.c: Likewise.
66561         * posix/regcomp.c: Likewise.
66562         * posix/regexec.c: Likewise.
66563         * posix/tst-rfc3484-2.c: Likewise.
66564         * posix/tst-rfc3484-3.c: Likewise.
66565         * posix/tst-rfc3484.c: Likewise.
66566         * resolv/nss_dns/dns-canon.c: Likewise.
66567         * resolv/nss_dns/dns-network.c: Likewise.
66568         * resolv/res_init.c: Likewise.
66569         * resolv/res_mkquery.c: Likewise.
66570         * resolv/tst-aton.c: Likewise.
66571         * stdlib/cxa_atexit.c: Likewise.
66572         * stdlib/cxa_finalize.c: Likewise.
66573         * stdlib/gen-fpioconst.c: Likewise.
66574         * stdlib/strtol_l.c: Likewise.
66575         * string/tst-endian.c: Likewise.
66576         * sunrpc/auth_des.c: Likewise.
66577         * sunrpc/clnt_udp.c: Likewise.
66578         * sunrpc/rtime.c: Likewise.
66579         * sunrpc/svcauth_des.c: Likewise.
66580         * sunrpc/xdr.c: Likewise.
66581         * sunrpc/xdr_intXX_t.c: Likewise.
66582         * sunrpc/xdr_rec.c: Likewise.
66583         * sysdeps/generic/ldconfig.h: Likewise.
66584         * sysdeps/generic/ldsodefs.h: Likewise.
66585         * sysdeps/generic/memusage.h: Likewise.
66586         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
66587         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
66588         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
66589         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
66590         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
66591         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
66592         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
66593         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
66594         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
66595         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
66596         * sysdeps/posix/getaddrinfo.c: Likewise.
66597         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
66598         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
66599         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
66600         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
66601         * sysdeps/powerpc/test-gettimebase.c: Likewise.
66602         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
66603         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
66604         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
66605         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
66606         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
66607         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
66608         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
66609         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
66610         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
66611         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
66612         * sysdeps/x86_64/dl-tls.h: Likewise.
66613         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
66614         * time/alt_digit.c: Likewise.
66615         * time/era.c: Likewise.
66616         * wcsmbs/tst-c16c32-1.c: Likewise.
66618 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66620         * math/libm-test.inc (struct test_sincos_data): New type.
66621         (RUN_TEST_LOOP_sincos): New macro.
66622         (sincos_test_data): New variable.
66623         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
66625 2013-05-16  Richard Henderson  <rth@redhat.com>
66627         * math/atest-exp2.c (LIMB64): New macro.
66628         (CONSTSZ): New macro.
66629         (mp_exp1, mp_exp_m1, mp_log2): New variables.
66630         (hexdig): Move ...
66631         (print_mpn_fp): ... to function scope.
66632         (read_mpn_hex): Remove.
66633         (get_log2): Remove.
66634         (exp2_mpn): Use mp_log2.
66635         (main): Use mp_exp1.
66637 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
66639         * math/libm-test.inc: Remove comment about not testing "inexact"
66640         exceptions.
66641         (INEXACT_EXCEPTION): New macro.
66642         (NO_INEXACT_EXCEPTION): Likewise.
66643         (INVALID_EXCEPTION_OK): Update value.
66644         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66645         (OVERFLOW_EXCEPTION_OK): Likewise.
66646         (UNDERFLOW_EXCEPTION_OK): Likewise.
66647         (IGNORE_ZERO_INF_SIGN): Likewise.
66648         (ERRNO_UNCHANGED): Likewise.
66649         (ERRNO_EDOM): Likewise.
66650         (ERRNO_ERANGE): Likewise.
66651         (test_exceptions): Handle testing "inexact" exceptions.
66652         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
66653         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
66654         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
66655         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
66656         INEXACT_EXCEPTION.
66657         (rint_towardzero_test_data): Likewise.
66658         (rint_downward_test_data): Likewise.
66659         (rint_upward_test_data): Likewise.
66661         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
66662         with OVERFLOW_EXCEPTION.
66663         (exp10_test_data): Likewise.
66664         (exp2_test_data): Likewise.
66665         (expm1_test_data): Likewise.
66666         (lgamma_test_data): Likewise.
66667         (pow_test_data): Likewise.
66668         (tgamma_test_data): Likewise.
66669         (yn_test_data): Remove duplicate test of overflow.
66671         * math/libm-test.inc (struct test_cc_c_data): New type.
66672         (RUN_TEST_LOOP_cc_c): New macro.
66673         (cpow_test_data): New variable.
66674         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
66676         * math/libm-test.inc (struct test_f_L_data): New type.
66677         (RUN_TEST_LOOP_f_L): New macro.
66678         (llrint_test_data): New variable.
66679         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
66680         (llrint_tonearest_test_data): New variable.
66681         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
66682         (llrint_towardzero_test_data): New variable.
66683         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
66684         (llrint_downward_test_data): New variable.
66685         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
66686         (llrint_upward_test_data): New variable.
66687         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
66688         (llround_test_data): New variable.
66689         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
66691 2013-05-13  Peter Collingbourne  <pcc@google.com>
66693         * math/atest-exp2.c (get_log2): Remove const attribute.
66695 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
66697         * math/libm-test.inc (struct test_f_l_data): New type.
66698         (RUN_TEST_LOOP_f_l): New macro.
66699         (lrint_test_data): New variable.
66700         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
66701         (lrint_tonearest_test_data): New variable.
66702         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
66703         (lrint_towardzero_test_data): New variable.
66704         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
66705         (lrint_downward_test_data): New variable.
66706         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
66707         (lrint_upward_test_data): New variable.
66708         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
66709         (lround_test_data): New variable.
66710         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
66712 2013-05-15  Peter Collingbourne  <pcc@google.com>
66714         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
66715         (EXTRACT_WORDS64) Use where appropriate.
66716         (INSERT_WORDS64) Likewise.
66718         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
66719         constraints with x constraints.
66720         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
66722         * malloc/obstack.c (_obstack_compat): Add initializer.
66724 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
66726         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
66727         si_trapno and add si_addr_lsb to _sifields.sigfault.
66728         (si_trapno): Remove macro.
66729         (si_addr_lsb): Define new macro.
66730         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
66732 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
66734         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
66735         instead of TEST_f_l.
66736         (llrint_test_tonearest): Likewise.
66737         (llrint_test_towardzero): Likewise.
66738         (llrint_test_downward): Likewise.
66739         (llrint_test_upward): Likewise.
66740         (llround_test): Likewise.
66742         * math/libm-test.inc (struct test_f_i_data): Add comment.
66743         (RUN_TEST_LOOP_f_b): New macro.
66744         (RUN_TEST_LOOP_f_b_tg): Likewise.
66745         (finite_test_data): New variable.
66746         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
66747         (isfinite_test_data): New variable.
66748         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66749         (isinf_test_data): New variable.
66750         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66751         (isnan_test_data): New variable.
66752         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66753         (isnormal_test_data): New variable.
66754         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66755         (issignaling_test_data): New variable.
66756         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66757         (signbit_test_data): New variable.
66758         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
66760         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
66761         with INVALID_EXCEPTION.
66762         (acosh_test_data): Likewise.
66763         (asin_test_data): Likewise.
66764         (atanh_test_data): Likewise.
66765         (fmod_test_data): Likewise.
66766         (log_test_data): Likewise.
66767         (log10_test_data): Likewise.
66768         (log2_test_data): Likewise.
66769         (pow_test_data): Likewise.
66770         (sqrt_test_data): Likewise.
66771         (y0_test_data): Likewise.
66772         (y1_test_data): Likewise.
66773         (yn_test_data): Likewise.
66775         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
66776         function contents.
66778         * math/libm-test.inc (struct test_ff_i_data): New type.
66779         (RUN_TEST_LOOP_ff_i_tg): New macro.
66780         (isgreater_test_data): New variable.
66781         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66782         (isgreaterequal_test_data): New variable.
66783         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66784         (isless_test_data): New variable.
66785         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66786         (islessequal_test_data): New variable.
66787         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66788         (islessgreater_test_data): New variable.
66789         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66790         (isunordered_test_data): New variable.
66791         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
66793 2013-05-14  David S. Miller  <davem@davemloft.net>
66795         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66797 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
66799         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
66801         * math/libm-test.inc (struct test_fF_f1_data): Change type of
66802         extra_test to int.
66803         (struct test_f_i_data): Change type of max_ulp to int.
66805         * math/libm-test.inc (test_ffI_f1_data): New type.
66806         (RUN_TEST_LOOP_ffI_f1): New macro.
66807         (remquo_test_data): New variable.
66808         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
66810         * setjmp/tst-setjmp-fp.c: New file.
66811         * setjmp/Makefile (tests): Add tst-setjmp-fp.
66812         (link-libm): New variable.
66813         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
66815         * math/libm-test.inc (struct test_f_i_data): New type.
66816         (RUN_TEST_LOOP_f_i): New macro.
66817         (RUN_TEST_LOOP_f_i_tg): Likewise.
66818         (fpclassify_test_data): New variable.
66819         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
66820         (ilogb_test_data): New variable.
66821         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
66823         * math/libm-test.inc (scalbln_test): Correct function name in END
66824         call.
66826         * math/libm-test.inc (struct test_f_f1_data): Add comment.
66827         (RUN_TEST_LOOP_fI_f1): New macro.
66828         (frexp_test_data): New variable.
66829         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
66831         * math/libm-test.inc (struct test_fF_f1_data): New type.
66832         (RUN_TEST_LOOP_fF_f1): New macro.
66833         (modf_test_data): New variable.
66834         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
66836         * math/libm-test.inc (struct test_f_f1_data): New type.
66837         (RUN_TEST_LOOP_f_f1): New macro.
66838         (gamma_test_data): New variable.
66839         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66840         (lgamma_test_data): New variable.
66841         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
66843 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
66845         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
66846         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
66847         (main): Comment "tls" pseudo-hwcap.
66849 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
66851         * math/libm-test.inc (struct test_fl_f_data): New type.
66852         (RUN_TEST_LOOP_fl_f): New variable.
66853         (scalbln_test_data): New variable.
66854         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
66856         * math/libm-test.inc (struct test_fi_f_data): New type.
66857         (RUN_TEST_LOOP_fi_f): New macro.
66858         (ldexp_test_data): New variable.
66859         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
66860         (scalbn_test_data): New variable.
66861         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
66863         * math/libm-test.inc (struct test_c_f_data): New type.
66864         (RUN_TEST_LOOP_c_f): New macro.
66865         (cabs_test_data): New variable.
66866         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
66867         (carg_test_data): New variable.
66868         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
66869         (cimag_test_data): New variable.
66870         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
66871         (creal_test_data): New variable.
66872         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
66874         * math/libm-test.inc (struct test_if_f_data): New type.
66875         (RUN_TEST_LOOP_if_f): New macro.
66876         (jn_test_data): New variable.
66877         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
66878         (yn_test_data): New variable.
66879         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
66881         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
66883 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66885         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
66886         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
66888 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
66890         * benchtests/Makefile (CPPFLAGS-nonlib): Add
66891         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
66892         (bench-deps): Add bench-timing.h.
66893         * benchtests-bench-skeleton.c: Include bench-timing.h.
66894         (main): Use TIMING_* macros instead of clock_gettime.
66895         * benchtests/bench-timing.h: New file.
66897         [BZ #14582]
66898         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
66899         Renamed from _LIB_VERSION.
66900         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
66902 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
66904         * math/libm-test.inc (struct test_fff_f_data): New type.
66905         (RUN_TEST_LOOP_fff_f): New macro.
66906         (fma_test_data): New variable.
66907         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
66908         (fma_towardzero_test_data): New variable.
66909         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
66910         (fma_downward_test_data): New variable.
66911         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
66912         (fma_upward_test_data): New variable.
66913         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
66915         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
66916         (struct test_c_c_data): New type.
66917         (RUN_TEST_LOOP_c_c): New macro.
66918         (cacos_test_data): New variable.
66919         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
66920         (cacosh_test_data): New variable.
66921         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
66922         (casin_test_data): New variable.
66923         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
66924         (casinh_test_data): New variable.
66925         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
66926         (catan_test_data): New variable.
66927         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
66928         (catanh_test_data): New variable.
66929         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
66930         (ccos_test_data): New variable.
66931         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
66932         (ccosh_test_data): New variable.
66933         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
66934         (cexp_test_data): New variable.
66935         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
66936         (clog_test_data): New variable.
66937         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
66938         (clog10_test_data): New variable.
66939         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
66940         (conj_test_data): New variable.
66941         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
66942         (cproj_test_data): New variable.
66943         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
66944         (csin_test_data): New variable.
66945         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
66946         (csinh_test_data): New variable.
66947         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
66948         (csqrt_test_data): New variable.
66949         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
66950         (ctan_test_data): New variable.
66951         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
66952         (ctan_tonearest_test_data): New variable.
66953         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66954         (ctan_towardzero_test_data): New variable.
66955         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66956         (ctan_downward_test_data): New variable.
66957         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66958         (ctan_upward_test_data): New variable.
66959         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66960         (ctanh_test_data): New variable.
66961         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
66962         (ctanh_tonearest_test_data): New variable.
66963         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
66964         (ctanh_towardzero_test_data): New variable.
66965         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
66966         (ctanh_downward_test_data): New variable.
66967         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
66968         (ctanh_upward_test_data): New variable.
66969         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
66970         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
66971         of BUILD_COMPLEX.
66973         * math/libm-test.inc (struct test_ff_f_data): New type.
66974         (struct test_ff_f_data_nexttoward): Likewise.
66975         (RUN_TEST_LOOP_2_f): New macro.
66976         (RUN_TEST_LOOP_ff_f): Likewise.
66977         (atan2_test_data): New variable.
66978         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
66979         (copysign_test_data): New variable.
66980         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
66981         (fdim_test_data): New variable.
66982         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
66983         (fmax_test_data): New variable.
66984         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
66985         (fmin_test_data): New variable.
66986         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
66987         (fmod_test_data): New variable.
66988         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
66989         (hypot_test_data): New variable.
66990         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
66991         (nextafter_test_data): New variable.
66992         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
66993         (nexttoward_test_data): New variable.
66994         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
66995         (pow_test_data): New variable.
66996         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
66997         (pow_tonearest_test_data): New variable.
66998         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
66999         (pow_towardzero_test_data): New variable.
67000         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
67001         (pow_downward_test_data): New variable.
67002         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
67003         (pow_upward_test_data): New variable.
67004         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
67005         (remainder_test_data): New variable.
67006         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
67007         (scalb_test_data): New variable.
67008         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
67009         * sysdeps/i386/fpu/libm-test-ulps: Update.
67011 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
67013         * math/libm-test.inc (fma_test): Use max_value instead of local
67014         variable fltmax.
67015         (nextafter_test): Likewise.
67017         * math/libm-test.inc (acos_towardzero_test_data): New variable.
67018         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67019         (acos_downward_test_data): New variable.
67020         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67021         (acos_upward_test_data): New variable.
67022         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67023         (acosh_test_data): New variable.
67024         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
67025         (asin_test_data): New variable.
67026         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
67027         (asin_tonearest_test_data): New variable.
67028         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67029         (asin_towardzero_test_data): New variable.
67030         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67031         (asin_downward_test_data): New variable.
67032         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67033         (asin_upward_test_data): New variable.
67034         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67035         (asinh_test_data): New variable.
67036         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
67037         (atan_test_data): New variable.
67038         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
67039         (atanh_test_data): New variable.
67040         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
67041         (cbrt_test_data): New variable.
67042         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
67043         (ceil_test_data): New variable.
67044         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
67045         (cos_test_data): New variable.
67046         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
67047         (cos_tonearest_test_data): New variable.
67048         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67049         (cos_towardzero_test_data): New variable.
67050         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67051         (cos_downward_test_data): New variable.
67052         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67053         (cos_upward_test_data): New variable.
67054         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67055         (cosh_test_data): New variable.
67056         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
67057         (cosh_tonearest_test_data): New variable.
67058         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67059         (cosh_towardzero_test_data): New variable.
67060         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67061         (cosh_downward_test_data): New variable.
67062         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67063         (cosh_upward_test_data): New variable.
67064         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67065         (erf_test_data): New variable.
67066         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
67067         (erfc_test_data): New variable.
67068         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
67069         (exp_test_data): New variable.
67070         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
67071         (exp_tonearest_test_data): New variable.
67072         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67073         (exp_towardzero_test_data): New variable.
67074         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67075         (exp_downward_test_data): New variable.
67076         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67077         (exp_upward_test_data): New variable.
67078         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67079         (exp10_test_data): New variable.
67080         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
67081         (exp2_test_data): New variable.
67082         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
67083         (expm1_test_data): New variable.
67084         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
67085         (fabs_test_data): New variable.
67086         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
67087         (floor_test_data): New variable.
67088         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
67089         (j0_test_data): New variable.
67090         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
67091         (j1_test_data): New variable.
67092         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
67093         (log_test_data): New variable.
67094         (log_test): Run tests with RUN_TEST_LOOP_f_f.
67095         (log10_test_data): New variable.
67096         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
67097         (log1p_test_data): New variable.
67098         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
67099         (log2_test_data): New variable.
67100         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
67101         (logb_test_data): New variable.
67102         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
67103         (logb_downward_test_data): New variable.
67104         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67105         (nearbyint_test_data): New variable.
67106         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
67107         (rint_test_data): New variable.
67108         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
67109         (rint_tonearest_test_data): New variable.
67110         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67111         (rint_towardzero_test_data): New variable.
67112         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67113         (rint_downward_test_data): New variable.
67114         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67115         (rint_upward_test_data): New variable.
67116         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67117         (round_test_data): New variable.
67118         (round_test): Run tests with RUN_TEST_LOOP_f_f.
67119         (sin_test_data): New variable.
67120         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
67121         (sin_tonearest_test_data): New variable.
67122         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67123         (sin_towardzero_test_data): New variable.
67124         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67125         (sin_downward_test_data): New variable.
67126         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67127         (sin_upward_test_data): New variable.
67128         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67129         (sinh_test_data): New variable.
67130         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
67131         (sinh_tonearest_test_data): New variable.
67132         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67133         (sinh_towardzero_test_data): New variable.
67134         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67135         (sinh_downward_test_data): New variable.
67136         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67137         (sinh_upward_test_data): New variable.
67138         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67139         (sqrt_test_data): New variable.
67140         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
67141         (tan_test_data): New variable.
67142         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
67143         (tan_tonearest_test_data): New variable.
67144         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67145         (tan_towardzero_test_data): New variable.
67146         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
67147         (tan_downward_test_data): New variable.
67148         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
67149         (tan_upward_test_data): New variable.
67150         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
67151         (tanh_test_data): New variable.
67152         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
67153         (tgamma_test_data): New variable.
67154         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
67155         (trunc_test_data): New variable.
67156         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
67157         (y0_test_data): New variable.
67158         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
67159         (y1_test_data): New variable.
67160         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
67161         (significand_test_data): New variable.
67162         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
67164 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
67166         [BZ #12387]
67167         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
67169 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67171         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
67173 2013-05-10  Andreas Jaeger  <aj@suse.de>
67175         [BZ #15448]
67176         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
67177         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
67179 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67181         * math/gen-libm-test.pl (adjust_arg): New function.
67182         (special_functions): Handle generating output in both functions
67183         and arrays.
67184         (parse_args): Likewise.
67185         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
67186         $in_func argument to parse_args.
67187         * math/libm-test.inc (struct test_f_f_data): New type.
67188         (IF_ROUND_INIT_): New macro.
67189         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
67190         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
67191         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
67192         (IF_ROUND_INIT_FE_UPWARD): Likewise.
67193         (ROUND_RESTORE_): Likewise.
67194         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
67195         (ROUND_RESTORE_FE_TONEAREST): Likewise.
67196         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
67197         (ROUND_RESTORE_FE_UPWARD): Likewise.
67198         (RUN_TEST_LOOP_f_f): New macro.
67199         (acos_test_data): New variable.
67200         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
67201         (acos_tonearest_test_data): New variable.
67202         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
67204 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
67206         * benchtests/bench-skeleton.c (startup): Fix coding style.
67208 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
67210         [BZ #6809]
67211         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
67212         negative infinity argument.
67213         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
67214         negative infinity argument.
67215         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
67216         negative infinity argument.
67217         * math/libm-test.inc (tgamma_test): Expect errno to be set for
67218         domain errors.
67220 2013-05-10  Florian Weimer  <fweimer@redhat.com>
67222         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
67223         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
67224         * iconv/iconv_prog.c (main): Likewise.
67225         * locale/programs/charmap-dir.c (charmap_readdir)
67226         (fopen_uncompressed): Likewise.
67227         * locale/programs/locfile.c (siblings_uncached)
67228         (write_locale_data): Use lstat64 instead of lstat.
67229         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
67230         stat.
67232 2013-05-10  Andreas Jaeger  <aj@suse.de>
67234         [BZ #15395]
67235         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
67236         localization.
67237         Include <locale.h>.
67239 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
67241         * elf/dl-close.c (_dl_close_worker): Add comments.
67243 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
67245         [BZ #15359]
67246         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
67247         high part of pi/2.
67248         (__ieee754_rem_pio2l): Update comments.
67250         [BZ #15429]
67251         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
67252         high part of pi/2.
67253         (__ieee754_rem_pio2l): Update comments.
67255         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
67256         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
67258         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
67259         M_PI_4l.
67261         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
67262         (M_PI_34_LOG10El): Likewise.
67263         (M_PI2_LOG10El): Likewise.
67264         (M_PI4_LOG10El): Likewise.
67265         (M_PI_LOG10El): Likewise.
67267 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67269         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67271 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
67273         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
67274         (MINUS_ZERO_INIT): Likewise.
67275         (PLUS_INFTY_INIT): Likewise.
67276         (MINUS_INFTY_INIT): Likewise.
67277         (QNAN_VALUE_INIT): Likewise.
67278         (MAX_VALUE_INIT): Likewise.
67279         (MIN_VALUE_INIT): Likewise.
67280         (MIN_SUBNORM_VALUE_INIT): Likewise.
67281         (plus_zero): Initialize with PLUS_ZERO_INIT.
67282         (minus_zero): Initialize with MINUS_ZERO_INIT.
67283         (plus_infty): Initialize with PLUS_INFTY_INIT.
67284         (minus_infty): Initialize with MINUS_INFTY_INIT.
67285         (qnan_value): Initialize with QNAN_VALUE_INIT.
67286         (max_value): Initialize with MAX_VALUE_INIT.
67287         (min_value): Initialize with MIN_VALUE_INIT.
67288         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
67290         * math/libm-test.inc (RUN_TEST_if_f): New macro.
67291         (jn_test): Use TEST_if_f instead of TEST_ff_f.
67292         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
67293         (yn_test): Use TEST_if_f instead of TEST_ff_f.
67295         * math/libm-test.inc (RUN_TEST_f_f): New macro.
67296         (RUN_TEST_2_f): Likewise.
67297         (RUN_TEST_ff_f): Likewise.
67298         (RUN_TEST_fi_f): Likewise.
67299         (RUN_TEST_fl_f): Likewise.
67300         (RUN_TEST_fff_f): Likewise.
67301         (RUN_TEST_c_f): Likewise.
67302         (RUN_TEST_f_f1): Likewise.
67303         (RUN_TEST_fF_f1): Likewise.
67304         (RUN_TEST_fI_f1): Likewise.
67305         (RUN_TEST_ffI_f1): Likewise.
67306         (RUN_TEST_c_c): Likewise.
67307         (RUN_TEST_cc_c): Likewise.
67308         (RUN_TEST_f_i): Likewise.
67309         (RUN_TEST_f_i_tg): Likewise.
67310         (RUN_TEST_ff_i_tg): Likewise.
67311         (RUN_TEST_f_b): Likewise.
67312         (RUN_TEST_f_b_tg): Likewise.
67313         (RUN_TEST_f_l): Likewise.
67314         (RUN_TEST_f_L): Likewise.
67315         (RUN_TEST_sincos): Likewise.
67316         * math/gen-libm-test.pl (new_test): Take new argument to indicate
67317         whether to show exceptions.  Do not include ");\n" in return
67318         value.
67319         (special_functions): Output call to RUN_TEST_sincos instead of
67320         check_float calls.  Update calls to new_test.
67321         (parse_args): Output call to single RUN_TEST_* macro instead of
67322         check_* calls and other assignments.  Update calls to new_test.
67324         [BZ #2546]
67325         [BZ #2560]
67326         [BZ #5159]
67327         [BZ #15426]
67328         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
67329         input to result for tgamma overflow.
67330         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
67331         (gamma_coeff): New variable.
67332         (NCOEFF): New macro.
67333         (gamma_positive): New function.
67334         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
67335         underflow here.  Use gamma_positive instead of exp (lgamma) for
67336         other arguments.
67337         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
67338         (gamma_coeff): New variable.
67339         (NCOEFF): New macro.
67340         (gammaf_positive): New function.
67341         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
67342         underflow here.  Use gamma_positive instead of exp (lgamma) for
67343         other arguments.
67344         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
67345         (gamma_coeff): New variable.
67346         (NCOEFF): New macro.
67347         (gammal_positive): New function.
67348         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
67349         underflow here.  Use gamma_positive instead of exp (lgamma) for
67350         other arguments.
67351         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
67352         (gamma_coeff): New variable.
67353         (NCOEFF): New macro.
67354         (gammal_positive): New function.
67355         (__ieee754_gammal_r): Handle positive infinity, overflow and
67356         underflow here.  Handle NaN the same as positive infinity.  Remove
67357         check x < 0xffffffff for negative integers.  Use gamma_positive
67358         instead of exp (lgamma) for other arguments.
67359         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
67360         (gamma_coeff): New variable.
67361         (NCOEFF): New macro.
67362         (gammal_positive): New function.
67363         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
67364         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
67365         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
67366         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
67367         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
67368         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
67369         * sysdeps/generic/math_private.h (__gamma_productf): New
67370         prototype.
67371         (__gamma_product): Likewise.
67372         (__gamma_productl): Likewise.
67373         * math/Makefile (libm-calls): Add gamma_product.
67374         * math/libm-test.inc (tgamma_test): Add more tests.
67375         * sysdeps/i386/fpu/libm-test-ulps: Update.
67376         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67378 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
67380         * benchtests/bench-skeleton.c (main): Preheat CPU.
67382 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
67384         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
67386 2013-05-07  Roland McGrath  <roland@hack.frob.com>
67388         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
67389         and _dl_skip_args_internal.
67391 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
67393         * manual/message.texi (Message Translation): Talk about users.
67394         Message to key mapping impacts design.
67396 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67398         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
67400         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
67402         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
67403         * sysdeps/wordsize-64/glob64.c: ... here.
67405         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
67406         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
67407         New macros.
67409         * debug/getlogin_r_chk.c: Moved to ...
67410         * login/getlogin_r_chk.c: ... here.
67411         * debug/Makefile (routines): Move getlogin_r_chk to ...
67412         * login/Makefile (routines): ... here.
67413         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
67414         * login/Versions (libc: GLIBC_2.4): ... here.
67416         * io/poll.c (__poll): Renamed from poll.
67417         Add libc_hidden_def.
67418         (poll): Define as weak alias.
67420         * debug/ptsname_r_chk.c: Moved to ...
67421         * login/ptsname_r_chk.c: ... here.
67422         * debug/Makefile (routines): Move ptsname_r_chk to ...
67423         * login/Makefile (routines): ... here.
67424         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
67425         * login/Versions (libc: GLIBC_2.4): ... here.
67427         * posix/getlogin.c: Moved to ...
67428         * login/getlogin.c: ... here.
67429         * posix/getlogin_r.c: Moved to ...
67430         * login/getlogin_r.c: ... here.
67431         * posix/getlogin_r.c: Moved to ...
67432         * login/getlogin_r.c: ... here.
67433         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
67434         * login/Makefile (routines): ... here.
67435         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
67436         * login/Versions (libc: GLIBC_2.0): ... here.
67438         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
67439         (setrlimit): Define as weak alias.
67441         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
67442         Call __ names for open, ftruncate, and close.
67443         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
67444         (truncate): Define as weak alias.
67446 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
67448         * math/gen-libm-test.pl (parse_args): Initialize x before each
67449         test of frexp, modf and remquo.
67451         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
67452         test signgam value.
67454 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67456         [BZ #15418]
67457         [BZ #15419]
67458         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
67459         internal tests.
67460         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
67462 2013-05-06  Roland McGrath  <roland@hack.frob.com>
67464         * elf/dl-writev.h: New file.
67465         * elf/dl-misc.c: Include it.
67466         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
67467         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
67469 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
67471         * math/libm-test.inc (noXFails): Remove variable.
67472         (noXPasses): Likewise.
67473         (BUILD_COMPLEX_INT): Remove macro.
67474         (print_screen): Remove xfail argument.
67475         (print_screen_max_error): Likewise.
67476         (update_stats): Likewise.
67477         (print_max_error): Likewise.  Update calls to other affected
67478         functions.
67479         (print_complex_max_error): Likewise.
67480         (test_single_exception): Update calls to print_screen.
67481         (test_single_errno): Likewise.
67482         (check_float_internal): Remove xfail argument.  Update calls to
67483         other affected functions.
67484         (check_float): Likewise.
67485         (check_complex): Likewise.
67486         (check_int): Likewise.
67487         (check_long): Likewise.
67488         (check_bool): Likewise.
67489         (check_longlong): Likewise.
67490         (main): Don't print noXFails and noXPasses.
67491         * math/gen-libm-test.pl (top level): Don't mention expected
67492         failure handling in comment.
67493         (new_test): Don't handle expected failures.
67494         (parse_args): Don't mention expected failure handling in comment.
67495         (generate_testfile): Don't handle expected failures.
67496         (parse_ulps): Likewise.
67497         (print_ulps_file): Likewise.
67498         (get_failure): Remove function.
67499         (output_test): Don't handle expected failures.
67500         * make/README.libm-test: Don't mention expected failure handling.
67502         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
67503         (minus_zero): Likewise.
67504         (plus_infty): Likewise.
67505         (minus_infty): Likewise.
67506         (qnan_value): Likewise.
67507         (max_value): Likewise.
67508         (min_value): Likewise.
67509         (min_subnorm_value): Likewise.
67510         (initialize): Do not initialize those variables dynamically.
67512 2013-05-03  Roland McGrath  <roland@hack.frob.com>
67514         * io/open.c (__open_2): Moved to ...
67515         * io/open_2.c: ... this new file.
67516         * io/open64.c (__open64_2): Moved to ...
67517         * io/open64_2.c: ... this new file.
67518         * io/openat.c (__openat_2): Moved to ...
67519         * io/openat_2.c: ... this new file.
67520         * io/openat64.c (__openat64_2): Moved to ...
67521         * io/openat64_2.c: ... this new file.
67522         * io/Makefile (routines): Add them.
67523         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
67524         * sysdeps/unix/sysv/linux/open_2.c: File removed.
67525         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
67526         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
67527         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
67528         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
67529         (__openat64): Add hidden_ver.
67530         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
67531         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
67533         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
67534         Separately conditionalize setting of GLRO(dl_sysinfo) so
67535         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
67536         as well, but the actual setting is only under [NEED_DL_SYSINFO].
67538 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67540         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
67541         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
67542         definition.
67543         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
67544         * sysdeps/unix/sysv/linux/powerpc/init-first.c
67545         (_libc_vdso_platform_setup): Add __vdso_time initialization.
67546         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
67547         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
67549 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
67551         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
67552         test signgam value.
67554         * math/libm-test.inc (hypot_test): Do not use
67555         IGNORE_ZERO_INF_SIGN.
67557 2013-05-03  Andreas Jaeger  <aj@suse.de>
67559         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
67560         Linux 3.9.
67561         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
67562         (PF_MAX): Adjust for VSOCK change.
67564 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67568 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
67570         [BZ #15264]
67571         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
67572         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
67573         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
67575 2013-05-02  David S. Miller  <davem@davemloft.net>
67577         * sysdeps/sparc/fpu/libm-test-ulps: Update.
67579 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
67581         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
67583 2013-05-01  Roland McGrath  <roland@hack.frob.com>
67585         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
67587 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
67589         [BZ #14952]
67590         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
67591         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67592         Use __attribute__ ((__gnu_inline__)).
67593         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
67594         Don't use __attribute__ ((__gnu_inline__)).
67596 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
67598         [BZ #15423]
67599         * math/s_catan.c (__catan): Handle small real or imaginary part of
67600         input specially to avoid spurious underflow.
67601         * math/s_catanf.c (__catanf): Likewise.
67602         * math/s_catanh.c (__catanh): Likewise.
67603         * math/s_catanhf.c (__catanhf): Likewise.
67604         * math/s_catanhl.c (__catanhl): Likewise.
67605         * math/s_catanl.c (__catanl): Likewise.
67606         * math/libm-test.inc (catan_test): Add more tests.
67607         (catanh_test): Likewise.
67608         * sysdeps/i386/fpu/libm-test-ulps: Update.
67609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67611 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67613         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67615 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
67617         [BZ #15416]
67618         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
67619         accurately for denominator in atan2.
67620         * math/s_catanf.c (__catanf): Likewise.
67621         * math/s_catanh.c (__catanh): Likewise.
67622         * math/s_catanhf.c (__catanhf): Likewise.
67623         * math/s_catanhl.c (__catanhl): Likewise.
67624         * math/s_catanl.c (__catanl): Likewise.
67625         * math/libm-test.inc (catan_test): Add more tests.
67626         (catanh_test): Likewise.
67627         * sysdeps/i386/fpu/libm-test-ulps: Update.
67628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67630 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
67632         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
67634         * benchtests/Makefile (bench): Remove slow benchmarks.
67635         * benchtests/atan-inputs: Add slow benchmark inputs.
67636         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
67637         (BENCH_FUNC): Accept variant offset.
67638         (VARIANT): Define.
67639         * benchtests/bench-skeleton.c (main): Run benchmark for each
67640         variant.
67641         * benchtests/cos-inputs: Add slow benchmark inputs.
67642         * benchtests/exp-inputs: Likewise.
67643         * benchtests/pow-inputs: Likewise.
67644         * benchtests/sin-inputs: Likewise.
67645         * benchtests/slowatan-inputs: Remove.
67646         * benchtests/slowatan.c: Remove.
67647         * benchtests/slowcos-inputs: Remove.
67648         * benchtests/slowcos.c: Remove.
67649         * benchtests/slowexp-inputs: Remove.
67650         * benchtests/slowexp.c: Remove.
67651         * benchtests/slowpow-inputs: Remove.
67652         * benchtests/slowpow.c: Remove.
67653         * benchtests/slowsin-inputs: Remove.
67654         * benchtests/slowsin.c: Remove.
67655         * benchtests/slowtan-inputs: Remove.
67656         * benchtests/slowtan.c: Remove.
67657         * benchtests/tan-inputs: Add slow benchmark inputs.
67658         * scripts/bench.pl: Parse comments and directives.
67660         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
67661         in CPPFLAGS.
67662         ($(objpfx)bench-%.c): Remove *-ITER.
67663         * benchtests/bench-modf.c: Remove definition of ITER.
67664         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
67665         (main): Loop for DURATION seconds instead of fixed number of
67666         iterations.
67667         * scripts/bench.pl: Don't expect iterations in parameters.
67669 2013-04-29  Roland McGrath  <roland@hack.frob.com>
67671         * io/fchdir.c (__fchdir): Renamed from fchdir.
67672         (fchdir): Define as weak alias.
67674 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67676         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
67677         (ERRNO_EDOM): Likewise.
67678         (ERRNO_ERANGE): Likewise.
67679         (noErrnoTests): New variable.
67680         (init_max_error): Set errno to 0.
67681         (test_single_errno): New function.
67682         (test_errno): Likewise.
67683         (check_float_internal): Call test_errno.  Set errno to 0.
67684         (check_complex): Refer to errno tests in comment.
67685         (check_int): Call test_errno.  Set errno to 0.
67686         (check_long): Likewise.
67687         (check_bool): Likewise.
67688         (check_longlong): Likewise.
67689         (cos_test): Use ERRNO_* flags for errno tests instead of
67690         check_int.
67691         (expm1_test): Likewise.
67692         (fmod_test): Likewise.
67693         (ilogb_test): Likewise.
67694         (lgamma_test): Likewise.
67695         (pow_test): Likewise.
67696         (remainder_test): Likewise.
67697         (sin_test): Likewise.
67698         (tan_test): Likewise.
67699         (yn_test): Likewise.
67700         (initialize): Set errno to 0.
67701         (main): Print number of errno tests.
67702         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
67704 2013-04-29  Andreas Jaeger  <aj@suse.de>
67706         [BZ #15084]
67707         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
67708         and RES_USEVC.
67710         [BZ #15085]
67711         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
67712         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
67713         unimplemented.
67715         [BZ #15380]
67716         * stdlib/random.c (__initstate): Return NULL if
67717         __initstate fails.
67719         [BZ #15086]
67720         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
67721         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
67722         RES_SNGLKUPREOP.
67724 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
67728 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
67730         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
67731         of individual tests.
67732         (casin_test): Likewise.
67733         (casinh_test): Likewise.
67735 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
67737         [BZ #15409]
67738         * math/s_catan.c (__catan): Handle arguments with large real or
67739         imaginary part separately without squaring.
67740         * math/s_catanf.c (__catanf): Likewise.
67741         * math/s_catanh.c (__catanh): Likewise.
67742         * math/s_catanhf.c (__catanhf): Likewise.
67743         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67744         and redefine.
67745         (__catanhl): Handle arguments with large real or imaginary part
67746         separately without squaring.
67747         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
67748         and redefine.
67749         (__catanl): Handle arguments with large real or imaginary part
67750         separately without squaring.
67751         * math/libm-test.inc (catan_test): Add more tests.
67752         (catanh_test): Likewise.
67753         * sysdeps/i386/fpu/libm-test-ulps: Update.
67754         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67756 2013-04-27  Andreas Jaeger  <aj@suse.de>
67758         [BZ #15007]
67759         * stdlib/stdlib.h: Update guards for qecvt.
67760         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
67761         <stdlib.h>.
67763 2013-04-27  Allan McRae  <allan@archlinux.org>
67765         * sysdeps/i386/fpu/libm-test-ulps: Update.
67767 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
67769         [BZ #15406]
67770         * math/s_catan.c: Include <float.h>.
67771         (__catan): Ensure underflow exception occurs for underflowed
67772         result.
67773         * math/s_catanf.c: Include <float.h>.
67774         (__catanf): Ensure underflow exception occurs for underflowed
67775         result.
67776         * math/s_catanh.c: Include <float.h>.
67777         (__catanh): Ensure underflow exception occurs for underflowed
67778         result.
67779         * math/s_catanhf.c: Include <float.h>.
67780         (__catanhf): Ensure underflow exception occurs for underflowed
67781         result.
67782         * math/s_catanhl.c: Include <float.h>.
67783         (__catanhl): Ensure underflow exception occurs for underflowed
67784         result.
67785         * math/s_catanl.c: Include <float.h>.
67786         (__catanl): Ensure underflow exception occurs for underflowed
67787         result.
67788         * math/libm-test.inc (catan_test): Add more tests.
67789         (catanh_test): Likewise.
67791         [BZ #15405]
67792         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
67793         underflowed result.
67794         * math/s_ccoshf.c (__ccoshf): Likewise.
67795         * math/s_ccoshl.c (__ccoshl): Likewise.
67796         * math/s_csin.c (__csin): Likewise.
67797         * math/s_csinf.c (__csinf): Likewise.
67798         * math/s_csinh.c (__csinh): Likewise.
67799         * math/s_csinhf.c (__csinhf): Likewise.
67800         * math/s_csinhl.c (__csinhl): Likewise.
67801         * math/s_csinl.c (__csinl): Likewise.
67802         * math/libm-test.inc (ccos_test): Add more tests.
67803         (ccosh_test): Likewise.
67804         (csin_test): Likewise.
67805         (csinh_test): Likewise.
67807 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67809         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
67810         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
67811         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
67812         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
67813         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
67814         powerpc/power5+/fpu folders.
67815         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
67818 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
67820         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67822 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
67824         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
67825         additions to variable.
67826         [$(config-machine) = x86_64] (modules-names): Likewise.
67827         ($(objpfx)tst-audit3): Remove dependency.
67828         ($(objpfx)tst-audit3.out): Likewise.
67829         ($(objpfx)tst-audit4): Likewise.
67830         ($(objpfx)tst-audit4.out): Likewise.
67831         ($(objpfx)tst-audit5): Likewise.
67832         ($(objpfx)tst-audit5.out): Likewise.
67833         ($(objpfx)tst-audit6): Likewise.
67834         ($(objpfx)tst-audit6.out): Likewise.
67835         ($(objpfx)tst-audit7): Likewise.
67836         ($(objpfx)tst-audit7.out): Likewise.
67837         (tst-audit3-ENV): Remove variable.
67838         (tst-audit4-ENV): Likewise.
67839         (tst-audit5-ENV): Likewise.
67840         (tst-audit6-ENV): Likewise.
67841         (tst-audit7-ENV): Likewise.
67842         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
67843         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
67844         addition to variable.
67845         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
67846         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
67847         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
67848         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
67849         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
67850         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
67851         tst-audit3, tst-audit4 and tst-audit5.
67852         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
67853         tst-audit6 and tst-audit7.
67854         [$(subdir) = elf] (modules-names): Add audit modules for those
67855         tests.
67856         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
67857         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
67858         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
67859         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
67860         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
67861         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
67862         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
67863         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
67864         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
67865         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
67866         [$(subdir) = elf] (tst-audit3-ENV): New variable.
67867         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
67868         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
67869         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
67870         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
67871         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
67872         Likewise.
67873         [$(subdir) = elf && $(config-cflags-avx) = yes]
67874         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
67875         [$(subdir) = elf && $(config-cflags-avx) = yes]
67876         (CFLAGS-tst-auditmod4a.c): Likewise.
67877         [$(subdir) = elf && $(config-cflags-avx) = yes]
67878         (CFLAGS-tst-auditmod4b.c): Likewise.
67879         [$(subdir) = elf && $(config-cflags-avx) = yes]
67880         (CFLAGS-tst-auditmod6b.c): Likewise.
67881         [$(subdir) = elf && $(config-cflags-avx) = yes]
67882         (CFLAGS-tst-auditmod6c.c): Likewise.
67883         [$(subdir) = elf && $(config-cflags-avx) = yes]
67884         (CFLAGS-tst-auditmod7b.c): Likewise.
67885         * elf/tst-audit3.c: Move to ...
67886         * sysdeps/x86_64/tst-audit3.c: ... here.
67887         * elf/tst-audit4.c: Move to ...
67888         * sysdeps/x86_64/tst-audit4.c: ... here.
67889         * elf/tst-audit5.c: Move to ...
67890         * sysdeps/x86_64/tst-audit5.c: ... here.
67891         * elf/tst-audit6.c: Move to ...
67892         * sysdeps/x86_64/tst-audit6.c: ... here.
67893         * elf/tst-audit7.c: Move to ...
67894         * sysdeps/x86_64/tst-audit7.c: ... here.
67895         * elf/tst-auditmod3a.c: Move to ...
67896         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
67897         * elf/tst-auditmod3b.c: Move to ...
67898         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
67899         * elf/tst-auditmod4a.c: Move to ...
67900         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
67901         * elf/tst-auditmod4b.c: Move to ...
67902         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
67903         * elf/tst-auditmod5a.c: Move to ...
67904         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
67905         * elf/tst-auditmod5b.c: Move to ...
67906         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
67907         * elf/tst-auditmod6a.c: Move to ...
67908         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
67909         * elf/tst-auditmod6b.c: Move to ...
67910         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
67911         * elf/tst-auditmod6c.c: Move to ...
67912         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
67913         * elf/tst-auditmod7a.c: Move to ...
67914         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
67915         * elf/tst-auditmod7b.c: Move to ...
67916         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
67918 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
67920         [BZ #15366]
67921         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
67922         define unconditionally.
67923         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
67924         define unconditionally.
67925         (INT8_C, INT16_C, etc.): Likewise.
67927 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
67929         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
67930         __ehdr_start with hidden visibility.
67932         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
67934 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
67936         * math/libm-test.inc (cos_test): Use accurate hex constants.
67937         (sincost_test): Likewise.
67939 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
67941         * math/libm-test.inc (catan_test): Add more tests.
67942         (catanh_test): Likewise.
67944         * math/s_catanf.c (__catanf): Use suffixed floating-point
67945         constants.
67946         * math/s_catanhf.c (__catanhf): Likewise.
67947         * math/s_catanhl.c (__catanhl): Likewise.
67948         * math/s_catanl.c (__catanl): Likewise.
67950         [BZ #15394]
67951         * math/s_catan.c (__catan): Calculate imaginary part of result
67952         with log1p not log unless computing log of number close to 0.
67953         * math/s_catanf.c (__catanf): Likewise.
67954         * math/s_catanl.c (__catanl): Likewise.
67955         * math/s_catanh.c (__catanh): Calculate real part of result with
67956         log1p not log unless computing log of number close to 0.
67957         * math/s_catanhf.c (__catanhf): Likewise.
67958         * math/s_catanhl.c (__catanhl): Likewise.
67959         * math/libm-test.inc (catan_test): Add more tests.
67960         (catanh_test): Likewise.
67961         * sysdeps/i386/fpu/libm-test-ulps: Update.
67962         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67964 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
67966         * benchtests/Makefile: Mention files in which fast and slow
67967         paths of math functions are implemented.
67969 2013-04-23  Roland McGrath  <roland@hack.frob.com>
67971         * sysdeps/posix/timespec_get.c: New file.
67973 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67975         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
67976         POWER.
67977         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
67978         for POWER.
67979         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
67980         powerpc/power5/fpu folders.
67981         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
67982         * benchtests/Makefile: Add modf testcase.
67983         * benchtests/bench-modf.c: New file: Benchmark test for mo
67985 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
67987         [BZ #14888]
67988         * time/Makefile (tests): Add tst-strptime-whitespace.
67989         * time/strptime_l.c (get_number): Use ISSPACE.
67990         (__strptime_internal): Likewise.
67991         * time/tst-strptime-whitespace.c: New test case.
67993 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
67995         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
67996         member.
67997         (_nss_files_init): Set it here.
67999 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
68001         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
68002         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
68003         unsigned.
68005 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
68007         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
68009 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68011         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
68012         size just once.
68014 2013-04-21  David S. Miller  <davem@davemloft.net>
68016         * po/ru.po: Update Russion translation from translation project.
68018 2013-04-17  Adam Conrad  <adconrad@0c3.net>
68020         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
68021         and setfsgid.
68023 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
68025         * configure.in: Remove i386 configure warning. Remove i386 case.
68026         * configure: Regenerate.
68027         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
68028         Add example to error message.
68029         * sysdeps/i386/configure: Regenerate.
68031 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
68033         * benchtests/Makefile (bench): Add cos, tan, slowcos and
68034         slowtan.
68035         * benchtests/cos-inputs: New file.
68036         * benchtests/slowcos-inputs: New file.
68037         * benchtests/slowcos.c: New file.
68038         * benchtests/slowtan-inputs: New file.
68039         * benchtests/slowtan.c: New file.
68040         * benchtests/tan-inputs: New file.
68042 2013-04-16  Roland McGrath  <roland@hack.frob.com>
68044         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
68045         considered kosher.
68047 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
68049         * benchtests/Makefile: Include cppflags-iterator.mk to add
68050         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
68052         * Makefile.in (bench-clean): New target.
68053         * benchtests/Makefile (bench-clean): Likewise.
68055 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
68057         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
68059 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
68061         * stdio-common/tstdiomisc.c: Fix coding-style violation.
68063 2013-04-15  Andreas Schwab  <schwab@suse.de>
68065         * nscd/grpcache.c (cache_addgr): Properly check for short write.
68066         * nscd/initgrcache.c (addinitgroupsX): Likewise.
68067         * nscd/pwdcache.c (cache_addpw): Likewise.
68068         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
68069         more than recsize.
68071 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68073         * benchtests/Makefile (bench): Write all output to
68074         bench-out.tmp together.
68076 2013-04-15  Andreas Schwab  <schwab@suse.de>
68078         * nscd/nscd.c (main): Don't fork again after closing files.
68080 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68082         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
68084         * benchtests/Rules (bench-deps): Collect dependencies into a
68085         single variable.  Add Makefile to dependencies.
68086         ($(objpfx)bench-%.c): Depend on bench-deps.
68088 2013-04-12  Roland McGrath  <roland@hack.frob.com>
68089             Xavier Roche  <roche+kml2@exalead.com>
68091         [BZ #15361]
68092         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
68093         just that it's a file descriptor.
68094         * manual/llio.texi (Synchronizing AIO Operations): Update description
68095         for EBADF error from aio_fsync.
68097 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
68099         * Rules (bench): Move target definition...
68100         * benchtests/Makefile: ... here.
68102 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
68104         * math/libm-test.inc (cos_test): Fix PI/2 test.
68105         (sincos_test): Likewise.
68106         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
68107         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
68109 2013-04-11  Andreas Schwab  <schwab@suse.de>
68111         [BZ #13988]
68112         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
68113         accept exponent character only when digits were seen.
68114         * stdio-common/Makefile (tests): Add bug26.
68115         * stdio-common/bug26.c: New file.
68117         [BZ #14293]
68118         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
68119         non-freeable.
68121 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
68123         * Makeconfig (rtld-prefix): Define built linker prefix.
68124         * Rules (run-bench): Use it.
68125         * math/Makefile (run-regen-ulps): Likewise.
68127         * Rules (bench): Remove eval.
68129 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68130             Roland McGrath  <roland@hack.frob.com>
68131             Ondrej Bilka  <neleai@seznam.cz>
68133         [BZ #15346]
68134         * time/getdate.c: Include ctype.h and alloca.h.
68135         (__getdate_r): Trim leading and trailing spaces of input.
68136         * time/tst-getdate.c (tests): Add tests with leading and
68137         trailing spaces.
68139 2013-04-08  Roland McGrath  <roland@hack.frob.com>
68141         [BZ #14280]
68142         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
68143         when computing value.
68145 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68147         * math/README.libm-test (How can I generate "libm-test-ulps"?):
68148         Use testrun.sh to run libm tests.
68150         [BZ #15309]
68151         * elf/dl-open.c (dl_open_worker): memset all of seen array.
68153 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
68155         [BZ #15264]
68156         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
68158 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68160         * Makefile.in (regen-ulps): New target.
68161         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
68162         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
68163         [ifneq (no,$(PERL)] (regen-ulps): New target.
68164         [ifeq (no,$(PERL)] (regen-ulps): New target.
68165         * math/libm-test.inc (ulps_file_name): Define.
68166         (output_dir): New variable.
68167         (options): Add "output-dir" option.
68168         (parse_opt): Handle 'o' case.
68169         (main): If output_dir is non-NULL use it as a prefix
68170         otherwise use "".
68171         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
68173 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68175         [BZ #10060, #10062]
68176         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
68177         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
68178         fail configure if __sync_val_compare_and_swap is not inlined.
68179         * sysdeps/i386/configure: Regenerate.
68180         * configure.in: Build for i686 when configured for i386.
68181         * configure: Regenerate.
68182         * README: Remove i386 reference.
68184 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
68186         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
68187         * sysdeps/s390/s390-64/sysdep.h: Likewise.
68189 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68191         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
68192         (lmsnanval): New variables.
68193         (F): Add conversion tests.
68194         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
68195         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
68197         * stdio-common/tstdiomisc.c (F): Properly collect individual
68198         tests' results.
68200         [BZ #14686, #15336]
68201         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
68202         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
68203         Instead, use input NaN values or generate a qNaN by arithmetic
68204         operation.  Also fix bugs to comply with the standard.
68205         * math/libm-test.inc (remainder_test): Add more tests.
68207         [BZ #15335, #15342]
68208         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
68209         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
68210         input NaN values or generate a qNaN by arithmetic operation.
68212         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
68213         unreachable code.
68215         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
68216         definitions.
68218 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
68220         [BZ #14478]
68221         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
68222         underflowed result.
68223         * math/s_cexpf.c (__cexpf): Likewise.
68224         * math/s_cexpl.c (__cexpl): Likewise.
68225         * math/libm-test.inc (cexp_test): Add more tests.
68227 2013-04-03  Andreas Schwab  <schwab@suse.de>
68229         [BZ #15330]
68230         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
68231         order arrays from heap if bigger than alloca cutoff.
68233 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
68235         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
68236         (SNAN_TESTS_double): Refer to GCC PR56831.
68237         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
68238         GCC PR56828.
68240 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
68242         * Rules (bench): Move bench.out after the run is complete.
68244         * Rules (bench): Echo currently running benchmark.
68246         * benchtests/Makefile (bench): Add atan and slowatan.
68247         * benchtests/atan-inputs: New file.
68248         * benchtests/slowatan-inputs: New file.
68249         * benchtests/slowatan.c: New file.
68251         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
68252         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
68253         its value.
68255         [BZ #15305]
68256         * sysdeps/unix/sysv/linux/kernel-features.h
68257         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
68258         __ASSUME_XFS_RESTRICTED_CHOWN.
68259         * sysdeps/unix/sysv/linux/pathconf.c
68260         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
68261         Save and restore errno.
68263 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
68265         [BZ #15327]
68266         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
68267         arguments using __kernel_casinh.
68268         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
68269         arguments using __kernel_casinhf.
68270         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
68271         arguments using __kernel_casinhl.
68272         * math/libm-test.inc (cacosh_test): Add more tests.
68273         * sysdeps/i386/fpu/libm-test-ulps: Update.
68274         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68276 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
68278         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
68279         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
68281         * bench/Makefile (bench): Add sin and slowsin.
68282         * benchtests/sin-inputs: New file.
68283         * benchtests/slowsin-inputs: New file.
68284         * benchtests/slowsin.c: New file.
68286         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
68287         (bench): Add slowexp and slowpow.
68288         (exp-ITER): Increase iterations.
68289         (pow-ITER): Likewise.
68290         * benchtests/exp-inputs: Change input.
68291         * benchtests/pow-inputs: Likewise.
68292         * benchtests/slowexp-inputs: New file.
68293         * benchtests/slowexp.c: New file.
68294         * benchtests/slowpow-inputs: New file.
68295         * benchtests/slowpow.c: New file.
68297 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68299         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
68300         instructions.
68301         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
68302         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
68303         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
68304         * benchtests/Makefile: Add rint benchtest.
68305         * benchtests/rint-inputs: Input for rint benchtest.
68307 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68309         * Versions.def (libm): Add GLIBC_2.18.
68310         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
68311         hidden libm prototypes.
68312         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
68313         * math/Makefile (libm-calls): Add s_issignaling.
68314         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
68315         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
68316         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
68317         declaration.
68318         * math/math.h [__USE_GNU] (issignaling): New macro.
68319         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
68320         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
68321         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
68322         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
68323         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
68324         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
68325         * manual/arith.texi (issignaling): New section.
68326         * manual/libm-err-tab.pl (@all_functions): Update comment.
68327         * math/gen-libm-test.pl (parse_args): Apply special handling for
68328         issignaling.
68329         * math/libm-test.inc (print_float, issignaling_test): New
68330         functions.
68331         (check_float_internal): Add issignaling checks.
68332         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
68333         default definition.
68334         * sysdeps/powerpc/math-tests.h: New file.
68335         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
68336         tests.
68337         * math/test-snan.c (TEST_FUNC): Likewise.
68339 2013-03-30  David S. Miller  <davem@davemloft.net>
68341         * po/de.po: Update from translation team.
68343 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
68345         [BZ #10357]
68346         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68347         imaginary part less than 1.0 and real part less than 0.5
68348         specially.
68349         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68350         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68351         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
68352         (cacos_test): Add more tests.
68353         (casin_test): Likewise.
68354         (casinh_test): Likewise.
68355         * sysdeps/i386/fpu/libm-test-ulps: Update.
68356         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68358 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
68360         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
68361         ONE with its value.
68363         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
68364         (__pow_mp): Replace ONE and MONE with their values.
68365         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68366         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
68367         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68368         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
68369         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68370         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68372         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
68374         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
68375         (__pow_mp): Replace ZERO and MZERO with their values.
68376         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68377         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68378         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
68379         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
68380         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68381         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
68382         (__sqr): Likewise.
68384         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
68386         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
68388 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68390         * include/stdlib.h [!SHARED] (__call_tls_dtors):
68391         Declare with __attribute__ ((weak)).
68392         * stdlib/exit.c (__libc_atexit) [!SHARED]:
68393         Call __call_tls_dtors only if it's not NULL.
68395 2013-03-28  Roland McGrath  <roland@hack.frob.com>
68397         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
68398         didn't do it already, then set _dl_phdr and _dl_phnum based on the
68399         magic __ehdr_start linker symbol if it's defined.
68400         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
68401         them up here if it was already done.
68403         * elf/dl-support.c (_dl_phdr): Make pointer to const.
68404         (_dl_aux_init): Use const in cast when setting it.
68405         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
68406         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
68407         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
68409         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
68410         Declare them here.
68411         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
68412         * csu/libc-tls.c: Nor here.
68413         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
68415         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
68416         (__libc_message): Never call vsyslog.
68418 2013-03-28  Alan Modra  <amodra@gmail.com>
68420         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
68421         Define as empty.
68422         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
68423         Likewise.
68425 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68427         [BZ #15214]
68428         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
68429         underflow.
68430         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68432 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68434         [BZ #15304]
68435         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
68436         Don't add gid passed as argument.
68438         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
68440 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
68442         [BZ #15307]
68443         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68444         imaginary part between 1.0 and 1.5 and real part less than 0.5
68445         specially.
68446         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68447         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68448         * math/libm-test.inc (cacos_test): Add more tests.
68449         (casin_test): Likewise.
68450         (casinh_test): Likewise.
68451         * sysdeps/i386/fpu/libm-test-ulps: Update.
68452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68454 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
68456         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
68457         constants.
68458         (norm): Likewise.
68459         (denorm): Likewise.
68460         (__dbl_mp): Likewise.
68461         (add_magnitudes): Likewise.
68462         (sub_magnitudes): Likewise.
68463         (__add): Likewise.
68464         (__sub): Likewise.
68465         (__mul): Likewise.
68466         (__sqr): Likewise.
68467         (__inv): Likewise.
68468         (__dvd): Likewise.
68470         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
68471         commented code.
68472         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
68473         (__dubcos): Likewise.
68474         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
68475         (__ieee754_acos): Likewise.
68476         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
68477         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
68478         (__exp1): Likewise.
68479         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
68480         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
68481         (log1): Likewise.
68482         (my_log2): Likewise.
68483         (checkint): Likewise.
68484         * sysdeps/ieee754/dbl-64/e_remainder.c
68485         (__ieee754_remainder): Likewise.
68486         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
68487         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
68488         (bsloww): Likewise.
68489         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
68491         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68492         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
68493         MANTISSA_STORE_T to store computations on mantissa.  Use
68494         macros for rounding and division.
68495         (denorm): Likewise.
68496         (__dbl_mp): Likewise.
68497         (add_magnitudes): Likewise.
68498         (sub_magnitudes): Likewise.
68499         (__mul): Likewise.
68500         (__sqr): Likewise.
68501         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68502         powers of two in terms of TWOPOW macro.
68503         (mp_no): Make type of mantissa as MANTISSA_T.
68504         [!RADIXI]: Define RADIXI.
68505         [!TWO52]: Define TWO52.
68506         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68508 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68510         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
68511         llroundl symbol when building for PPC32.
68513 2013-03-24  Mark H Weaver  <mhw@netris.org>
68515         * manual/arith.texi (Normalization Functions): Fix prototypes for
68516         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
68518 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68520         [BZ #13889]
68521         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
68522         high value to check if expl overflow.
68523         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
68524         to check for underflow and overflow.
68525         * math/libm-test.inc: Add exp test.
68527 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
68529         [BZ #11120]
68530         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
68531         with NOT_IN_libc.
68533 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68535         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
68536         symbol.
68538 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68540         * math/gen-libm-test.pl (parse_args, special_functions): Properly
68541         wrap blocks consisting of several statements.
68543         * sysdeps/generic/math-tests.h: New file.
68544         * sysdeps/i386/fpu/math-tests.h: Likewise.
68545         * math/test-snan.c: Include it.
68546         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
68548 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68550         [BZ #15285]
68551         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
68552         (__ieee754_j0l): Do not improve calculations using cos of twice
68553         input for inputs above LDBL_MAX / 2.0L.
68554         (__ieee754_y0l): Likewise.
68555         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
68556         (__ieee754_j1l): Do not improve calculations using cos of twice
68557         input for inputs above LDBL_MAX / 2.0L.
68558         (__ieee754_y1l): Likewise.
68559         * math/libm-test.inc (j0_test): Add another test.
68560         (j1_test): Likewise.
68561         (y0_test): Likewise.
68562         (y1_test): Likewise.
68563         * sysdeps/i386/fpu/libm-test-ulps: Update.
68565 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68567         * Rules ($(objpfx)bench-%.c): Include code from a C source
68568         file.
68570 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
68572         [BZ #15287]
68573         * math/k_casinh.c (__kernel_casinh): Handle arguments with
68574         imaginary part 1.0 and real part less than 0.5 specially.
68575         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68576         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68577         * math/libm-test.inc (cacos_test): Add more tests.
68578         (casin_test): Likewise.
68579         (casinh_test): Likewise.
68580         * sysdeps/i386/fpu/libm-test-ulps: Update.
68581         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68583 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
68585         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
68586         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
68588 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
68590         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
68591         * config.make.in (config-cflags-sse4): Remove variable.
68592         (config-cflags-avx): Likewise.
68593         (config-cflags-sse2avx): Likewise.
68594         (config-cflags-novzeroupper): Likewise.
68595         (config-asflags-i686): Likewise.
68596         (have-mfma4): Likewise.
68597         (have-as-vis3): Likewise.
68598         (MIG): Likewise.
68599         * configure.in (MIG): Do not AC_SUBST.
68600         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
68601         (libc_cv_cc_sse4): Do not AC_SUBST.
68602         (libc_cv_cc_avx): Likewise.
68603         (libc_cv_cc_sse2avx): Likewise.
68604         (libc_cv_cc_novzeroupper): Likewise.
68605         (libc_cv_cc_fma4): Likewise.
68606         (libc_cv_as_i686): Likewise.
68607         (libc_cv_sparc_as_vis3): Likewise.
68608         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
68609         LIBC_CONFIG_VAR.
68610         (config-asflags-i686): Likewise.
68611         (config-cflags-avx): Likewise.
68612         (config-cflags-sse2avx): Likewise.
68613         (have-mfma4): Likewise.
68614         (config-cflags-novzeroupper): Likewise.
68615         * sysdeps/mach/configure.in (MIG): Likewise.
68616         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
68617         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
68618         LIBC_CONFIG_VAR.
68619         (config-cflags-avx): Likewise.
68620         (config-cflags-sse2avx): Likewise.
68621         (have-mfma4): Likewise.
68622         (config-cflags-novzeroupper): Likewise.
68623         * configure: Regenerated.
68624         * sysdeps/i386/configure: Likewise.
68625         * sysdeps/mach/configure: Likewise.
68626         * sysdeps/sparc/configure: Likewise.
68627         * sysdeps/x86_64/configure: Likewise.
68629 2013-03-20  Roland McGrath  <roland@hack.frob.com>
68631         [BZ #14812]
68632         * locale/programs/localedef.c (options): Put N_ translation marker
68633         on argument names, not just descriptions.
68635 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
68637         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
68639 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
68641         [BZ #14176]
68642         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
68644 2013-03-19  Roland McGrath  <roland@hack.frob.com>
68646         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
68647         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
68648         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
68649         [!BEFORE_ABORT] (before_abort): New function.
68650         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
68651         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
68652         (writev_for_fatal): New function.
68653         (WRITEV_FOR_FATAL): New macro; call that.
68654         (backtrace_and_maps): New function.
68655         (BEFORE_ABORT): New macro; call that.
68656         (struct str_list): Type removed.
68657         (__libc_message, __libc_fatal): Functions removed.
68658         Include <sysdeps/posix/libc_fatal.c> instead.
68660 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
68662         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
68663         constants.
68664         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
68665         double constants.
68667 2013-03-19  Andreas Schwab  <schwab@suse.de>
68669         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
68670         * sysdeps/gnu/configure: Regenerate.
68672         * configure.in: Substitute libc_cv_rtlddir.
68673         * configure: Regenerate.
68674         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
68675         * Makeconfig (rtlddir, inst_rtlddir): New variables.
68676         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
68677         * elf/Makefile (install-others, CFLAGS-interp.c)
68678         (ldso_install, common-ldd-rewrite): Likewise.
68679         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
68680         $(inst_slibdir)/$(rtld-installed-name).
68681         * scripts/rellns-sh: Add -p option.
68682         * Makerules (make-shlib-link): Use rellns-sh to get relative name
68683         for source.
68685 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
68687         * manual/nptl.texi: Renamed to ...
68688         * manual/threads.texi: ... this.
68689         * manual/Makefile (chapters): Update.
68691 2013-03-18  Roland McGrath  <roland@hack.frob.com>
68693         [BZ #14812]
68694         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
68695         on argument names, not just descriptions.
68696         * malloc/memusagestat.c (options): Likewise.
68697         * nss/getent.c (options): Likewise.
68699 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
68701         [BZ #14812]
68702         * iconv/iconv_prog.c (options): Put N_ translation marker
68703         on argument names, not just descriptions.
68704         * iconv/iconvconfig.c (options): Likewise.
68706 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
68708         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
68709         implementation which is faster on all x86_64 architectures.
68710         Tested on AMD, Intel Nehalem, SNB, IVB.
68711         * sysdeps/x86_64/strnlen.S: Likewise.
68713         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
68714         Remove all multiarch strlen and strnlen versions.
68715         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
68716         Remove strlen and strnlen related parts.
68718         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
68719         Inline strlen part.
68720         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
68722         * sysdeps/x86_64/multiarch/strlen.S: Remove.
68723         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
68724         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
68725         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
68726         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
68727         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
68729 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
68731         * manual/memory.texi (Malloc Tunable Parameters):
68732         Sort parameters alphabetically. Add comments for missing entries.
68734 2013-03-17  David S. Miller  <davem@davemloft.net>
68736         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68738 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
68740         [BZ #15283]
68741         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
68742         for arguments at most half maximum finite value.
68743         * math/libm-test.inc (j0_test): Add more tests.
68744         (j1_test): Likewise.
68745         (y0_test): Likewise.
68746         (y1_test): Likewise.
68747         * sysdeps/i386/fpu/libm-test-ulps: Update.
68748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68750         [BZ #14155]
68751         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
68752         1 / x and functions P and Q for arguments above 0x1p256L.
68753         (__ieee754_y0l): Likewise.
68754         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
68755         (__ieee754_y1l): Likewise.
68756         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
68757         (j1_test): Likewise.
68758         (y0_test): Likewise.
68759         (y1_test): Likewise.
68761 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
68763         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
68764         variable.
68766 2013-03-15  Roland McGrath  <roland@hack.frob.com>
68768         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
68769         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
68770         zero since it's initialized to EXEC_PAGESIZE.
68772         * sysdeps/unix/sysv/linux/ldsodefs.h
68773         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
68774         * sysdeps/generic/ldsodefs.h: ... here.
68776 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
68778         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
68780         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
68781         math/test-snan.c.
68782         * math/test-snan.c: Renamed from
68783         sysdeps/powerpc/fpu/test-powerpc-snan.c.
68784         * math/Makefile (tests): Add test-snan.
68785         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
68786         test-powerpc-snan.
68788         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
68789         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
68790         functions.
68791         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
68792         __builtin_nan family of functions.
68793         * math/libm-test.inc (initialize): Initialize qnan_value with
68794         __builtin_nan family of functions.
68795         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
68796         Remove variables.
68797         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
68798         Remove functions.
68799         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
68800         storage class.  Initialize qNaN_var and sNaN_var with
68801         __builtin_nan and __builtin_nans families of functions,
68802         respectively.
68804         * math/libm-test.inc (acosh_test): Also test with qNaN input.
68805         (sqrt_test): Remove duplicate test with qNaN input.
68806         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
68807         (round_test, signbit_test, significand_test): Note missing +/-Inf
68808         as well as qNaN tests.
68810         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
68811         qNaN_var.  Fix a few strings, too.
68812         * math/libm-test.inc (nan_value): Rename to qnan_value.
68813         * math/gen-libm-test.pl (%beautify): Adjust to that.
68814         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
68815         * math/test-misc.c (main): Likewise.
68816         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
68817         to __qnan_bytes, and __qnan_union, respectively.
68818         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
68819         Likewise.
68820         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
68821         and lqnanval, respectively.
68822         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
68823         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
68824         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
68825         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
68827         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
68828         * math/test-misc.c (main) [__x86_64__]: Enable test for long
68829         doubles.
68831         * math/test-misc.c (main): Fix copy'n'pastos.
68832         * misc/tst-efgcvt.c (special): Likewise.
68834         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
68835         Remove declarations.
68837 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68839         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
68840         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
68841         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
68842         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
68844 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68846         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
68847         macro to return vdso values correctly in IFUNC implementations.
68848         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
68849         Optimization by using IFUNC.
68851 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68852             Richard Henderson  <rth@redhat.com>
68853             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68855         * Makefile.in (bench): New target.
68856         * NEWS: Mention the benchmark framework.
68857         * Rules (bench): Likewise.
68858         (binaries-bench): Generate binaries for functions to
68859         benchmark.
68860         * benchtests/Makefile: New makefile for benchmark tests.
68861         * benchtests/bench-skeleton.c: New skeleton file for benchmark
68862         programs.
68863         * benchtests/exp-inputs: New input file for EXP function.
68864         * benchtests/pow-inputs: New input file for POW function.
68865         * scripts/bench.pl: New script to generate source files for
68866         benchmark programs.
68868 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
68870         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
68871         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
68872         computations on mantissa.  Use macros for rounding and
68873         division.
68874         (denorm): Likewise.
68875         (__dbl_mp): Likewise.
68876         (add_magnitudes): Likewise.
68877         (sub_magnitudes): Likewise.
68878         (__mul): Likewise.
68879         (__sqr): Likewise.
68880         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
68881         powers of two in terms of TWOPOW macro.
68882         (mp_no): Make type of mantissa as MANTISSA_T.
68883         [!RADIXI]: Define RADIXI.
68884         [!TWO52]: Define TWO52.
68885         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
68887         * manual/nptl.texi (cindex): Modify threads to pthreads.
68889 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
68891         * sysdeps/x86_64/preconfigure: Regenerated.
68893 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
68895         [BZ #14155]
68896         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
68897         0x1p28 and above.
68898         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
68899         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
68900         0x1p28 and above.
68901         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
68902         * math/libm-test.inc (j0_test): Do not allow one spurious
68903         underflow exception.
68904         (y1_test): Likewise.
68906 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68908         * manual/Makefile (chapters): Add nptl.
68909         * manual/debug.texi (Debugging Support): Add link to Threads
68910         chapter.
68911         * manual/nptl.texi: New file.
68913         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
68915 2013-03-14  Petr Baudis  <pasky@ucw.cz>
68917         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
68918         for non-NULL pointer before the memory validity test. Pointed
68919         out by Holger Brunck <holger.brunck@keymile.com>.
68921 2013-03-13  Andreas Schwab  <schwab@suse.de>
68923         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
68924         instead of .os.
68926 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
68928         * timezone/zic.c: Update from tzcode 2013b.
68930 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
68932         * manual/install.texi (Configuring and compiling):
68933         Mention i686 and i586.
68934         * INSTALL: Regenerate.
68936 2013-03-12  Roland McGrath  <roland@hack.frob.com>
68938         * sysdeps/init_array/elf-init.c: New file.
68939         * csu/elf-init.c
68940         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
68941         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
68943         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
68944         __gmon_start__ as global, but as static with a .preinit_array pointer.
68945         * sysdeps/init_array/gmon-start.c: New file.  Use that.
68946         * sysdeps/init_array/crti.S: New file, empty except for comments.
68947         * sysdeps/init_array/crtn.S: Likewise.
68949 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
68951         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
68952         definining bcopy.
68953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
68954         Remove Prefer_SSE_for_memop.
68955         * sysdeps/x86_64/multiarch/init-arch.h: Remove
68956         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
68957         HAS_PREFER_SSE_FOR_MEMOP.
68958         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
68959         memset-x86-64.
68960         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
68961         Remove bzero, memset ifunc support.
68962         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
68963         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
68964         * sysdeps/x86_64/multiarch/memset.S: Likewise.
68965         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
68967 2013-03-11  Andreas Schwab  <schwab@suse.de>
68969         [BZ #15234]
68970         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
68971         by SHLIB_COMPAT.
68972         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
68973         (GLIBC_2.16): Remove pthread_atfork.
68975 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
68977         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
68978         (ptestcases.h): Likewise.
68980 2013-03-08  Roland McGrath  <roland@hack.frob.com>
68982         * Makeconfig ($(common-objpfx)config.status): Depend on
68983         sysdeps/*/preconfigure{,.in} too.
68985 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
68987         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
68988         (__free_hook): Use void * instead of __malloc_ptr_t.
68989         (__malloc_hook): Likewise.
68990         (__realloc_hook): Likewise.
68991         (__memalign_hook): Likewise.
68992         (__after_morecore_hook): Likewise.
68993         * malloc/arena.c (save_malloc_hook): Likewise.
68994         (save_free_hook): Likewise.
68995         * malloc/hooks.c (malloc_hook_ini): Likewise.
68996         (realloc_hook_ini): Likewise.
68997         (memalign_hook_ini): Likewise.
68998         * malloc/malloc.c (malloc_hook_ini): Likewise.
68999         (realloc_hook_ini): Likewise.
69000         (memalign_hook_ini): Likewise.
69001         (__free_hook): Likewise.
69002         (__malloc_hook): Likewise.
69003         (__realloc_hook): Likewise.
69004         (__memalign_hook): Likewise.
69005         (__libc_malloc): Likewise.
69006         (__libc_free): Likewise.
69007         (__libc_realloc): Likewise.
69008         (__libc_memalign): Likewise.
69009         (__libc_valloc): Likewise.
69010         (__libc_pvalloc): Likewise.
69011         (__libc_calloc): Likewise.
69012         (__posix_memalign): Likewise.
69013         * malloc/morecore.c (__sbrk): Likewise.
69014         (__default_morecore): Likewise.
69016         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
69018         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
69019         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
69020         __malloc_ptrdiff_t.
69022         * malloc/malloc.h (__malloc_size_t): Remove macro.
69023         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
69024         __malloc_size_t.
69025         (old_memalign_hook): Likewise.
69026         (old_realloc_hook): Likewise.
69027         (struct hdr): Likewise.
69028         (flood): Likewise.
69029         (mallochook): Likewise.
69030         (memalignhook): Likewise.
69031         (reallochook): Likewise.
69032         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
69033         (tr_old_realloc_hook): Likewise.
69034         (tr_old_memalign_hook): Likewise.
69035         (tr_mallochook): Likewise.
69036         (tr_reallochook): Likewise.
69037         (tr_memalignhook): Likewise.
69039 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69041         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
69042         default_ldbl_pack and using as default implementation.
69043         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
69044         implementation.
69045         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
69046         redundant definition.
69047         (ldbl_insert_mantissa): Likewise.
69048         (ldbl_canonicalize): Likewise.
69049         (ldbl_nearbyint): Likewise.
69050         (ldbl_pack): Rename to ldbl_pack_ppc.
69051         (ldbl_unpack): Rename to ldbl_unpack_ppc.
69052         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
69053         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
69055 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
69057         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
69058         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
69059         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
69060         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
69061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
69062         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
69063         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
69064         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
69066 2013-03-07  Andreas Jaeger  <aj@suse.de>
69068         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69069         bits/mman-linux.h.
69071 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
69073         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
69074         Include mpa.h and declare __MPEXP.
69075         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
69076         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69077         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69078         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
69079         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69080         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
69081         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
69083         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
69084         (__slowpow): Use long double EXPL and LOGL functions to
69085         compute POW.
69086         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
69087         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69088         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
69089         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
69090         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
69091         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
69093         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
69094         intermediate variable to calculate exponent.
69095         (__sqr): Likewise.
69096         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
69097         Likewise.
69098         (__sqr): Likewise.
69100         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
69101         [!NO__SQR]: Define __sqr.
69102         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
69103         and NO__SQR.  Remove all code except __mul and __sqr.  Include
69104         sysdeps/ieee754/dbl-64/mpa.c.
69105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69107         [BZ #12723]
69108         * posix/Makefile (tests): Add tst-pathconf.
69109         * posix/tst-pathconf.c: New test case.
69110         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
69111         _PC_PIPE_BUF.
69112         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
69114 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
69116         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
69118 2013-03-06  Andreas Jaeger  <aj@suse.de>
69120         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
69121         definition via __MAP_ANONYMOUS.
69123         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
69124         it's not part of Linux headers.
69126         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
69127         (MAP_HUGE_MASK): Define.
69129         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69130         Define.
69131         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69132         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69133         Define.
69134         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69135         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
69136         Define.
69137         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69138         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
69139         Define.
69140         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
69142         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
69143         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
69144         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
69145         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
69146         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
69147         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
69149         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
69150         Handle f2fs.
69152         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
69153         Handle f2fs and efivarfs.
69155         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
69156         f2fs.
69158         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
69159         (EFIVARFS_MAGIC): Add.
69160         (F2FS_LINK_MAX): Add.
69162 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
69164         * stdio-common/vfprintf.c: Replace __builtin_expect with
69165         __glibc_unlikely.
69167 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
69169         [BZ #13550]
69170         * sysdeps/generic/bp-sym.h: Remove file.
69171         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
69172         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
69173         <bp-sym.h> and <bp-asm.h>.
69174         (__longjmp): Don't use BP_SYM.
69175         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
69176         and <bp-asm.h>.
69177         (memcpy): Don't use BP_SYM.
69178         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
69179         <bp-sym.h> and <bp-asm.h>.
69180         (memcpy): Don't use BP_SYM.
69181         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
69182         <bp-asm.h>.
69183         (memcpy): Don't use BP_SYM.
69184         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
69185         <bp-asm.h>.
69186         (memset): Don't use BP_SYM.
69187         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69188         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69189         (__bzero): Don't use BP_SYM.
69190         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69191         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69192         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
69193         <bp-sym.h> and <bp-asm.h>.
69194         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69195         pointers.
69196         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
69197         <bp-sym.h> and <bp-asm.h>.
69198         (memcpy): Don't use BP_SYM.
69199         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
69200         <bp-sym.h> and <bp-asm.h>.
69201         (memset): Don't use BP_SYM.
69202         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69203         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69204         (__bzero): Don't use BP_SYM.
69205         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69206         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69207         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
69208         <bp-sym.h> and <bp-asm.h>.
69209         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69210         pointers.
69211         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
69212         <bp-sym.h> and <bp-asm.h>.
69213         (memcpy): Don't use BP_SYM.
69214         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
69215         <bp-sym.h> and <bp-asm.h>.
69216         (memset): Don't use BP_SYM.
69217         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69218         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69219         (__bzero): Don't use BP_SYM.
69220         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69221         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69222         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
69223         <bp-sym.h> and <bp-asm.h>.
69224         (__memchr): Don't use BP_SYM.
69225         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
69226         <bp-sym.h> and <bp-asm.h>.
69227         (memcmp): Don't use BP_SYM.  Remove comment about bounded
69228         pointers.
69229         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
69230         <bp-sym.h> and <bp-asm.h>.
69231         (memcpy): Don't use BP_SYM.
69232         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
69233         <bp-sym.h> and <bp-asm.h>.
69234         (__mempcpy): Don't use BP_SYM.
69235         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
69236         <bp-sym.h> and <bp-asm.h>.
69237         (__memrchr): Don't use BP_SYM.
69238         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
69239         <bp-sym.h> and <bp-asm.h>.
69240         (memset): Don't use BP_SYM.
69241         (__bzero): Likewise.
69242         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
69243         <bp-sym.h> and <bp-asm.h>.
69244         (__rawmemchr): Don't use BP_SYM.
69245         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
69246         <bp-sym.h> and <bp-asm.h>.
69247         (__STRCMP): Don't use BP_SYM.
69248         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
69249         <bp-sym.h> and <bp-asm.h>.
69250         (strchr): Don't use BP_SYM.
69251         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
69252         <bp-sym.h> and <bp-asm.h>.
69253         (__strchrnul): Don't use BP_SYM.
69254         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
69255         <bp-sym.h> and <bp-asm.h>.
69256         (strlen): Don't use BP_SYM.
69257         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
69258         <bp-sym.h> and <bp-asm.h>.
69259         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69260         pointers.
69261         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
69262         <bp-sym.h> and <bp-asm.h>.
69263         (__strnlen): Don't use BP_SYM.
69264         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
69265         <bp-sym.h> and <bp-asm.h>.
69266         (__GI__setjmp): Don't use BP_SYM.
69267         (_setjmp): Likewise.
69268         (__sigsetjmp): Likewise.
69269         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
69270         (L(start_addresses)): Don't use BP_SYM.
69271         (_start): Likewise.
69272         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
69273         <bp-asm.h>.
69274         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
69275         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
69276         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69277         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69278         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
69279         <bp-asm.h>.
69280         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
69281         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
69282         about bounded pointers.
69283         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69284         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69285         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
69286         <bp-asm.h>.
69287         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69288         about bounded pointers.  Remove GKM FIXME comments.
69289         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69290         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
69291         <bp-asm.h>.
69292         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
69293         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
69294         Remove GKM FIXME comments.
69295         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69296         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69297         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
69298         <bp-asm.h>.
69299         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
69300         about bounded pointers.  Remove GKM FIXME comment.
69301         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
69302         and <bp-asm.h>.
69303         (strncmp): Don't use BP_SYM.  Remove comment about bounded
69304         pointers.
69305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
69306         <bp-sym.h> and <bp-asm.h>.
69307         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
69309         <bp-sym.h> and <bp-asm.h>.
69310         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69311         comment.
69313 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
69315         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
69316         call free(NULL).
69318 2013-03-05  David S. Miller  <davem@davemloft.net>
69320         * po/es.po: Update from translation team.
69322 2013-03-05  Andreas Jaeger  <aj@suse.de>
69324         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
69325         <bits/mman-linux.h>.
69326         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69327         is fine.
69328         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
69329         <bits/mman-linux.h> to end of file.
69330         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69331         is fine.
69332         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
69333         <bits/mman-linux.h> to end of file.
69334         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
69335         is fine.
69336         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
69337         <bits/mman-linux.h> to end of file.
69339         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
69340         (MCL_CURRENT, MCL_FUTURE): Define here.
69342 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69344         [BZ #15232]
69345         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
69346         attribute_hidden.
69347         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
69349 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
69351         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
69352         fourth parameter needed for rt_sigprocmask syscall.
69353         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
69354         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
69355         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
69356         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
69357         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
69358         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
69360 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
69362         [BZ #13550]
69363         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
69364         comment about bounded pointers.
69365         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
69366         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
69368 2013-03-04  Andreas Jaeger  <aj@suse.de>
69370         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
69371         common definitions.
69373         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
69374         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
69375         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
69376         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
69377         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
69378         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
69380 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69382         [BZ #15055]
69383         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
69384         __ieee754_sqrl instead of __sqrl.
69386 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
69388         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
69389         * sysdeps/powerpc/fpu_control.h: ... here.
69390         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
69391         * sysdeps/powerpc/bits/fenvinline.h: ... here.
69392         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
69393         * sysdeps/powerpc/bits/mathinline.h: ... here.
69395 2013-03-01  Roland McGrath  <roland@hack.frob.com>
69397         * elf/dl-hwcaps.c (_dl_important_hwcaps):
69398         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
69399         to just [NEED_DL_SYSINFO_DSO].
69400         * elf/dl-support.c: Likewise.
69401         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
69402         * elf/rtld.c (dl_main): Likewise.
69403         * elf/setup-vdso.h (setup_vdso): Likewise.
69404         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
69405         * sysdeps/unix/sysv/linux/dl-sysdep.c
69406         (_dl_discover_osversion): Likewise.
69408 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
69410         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
69411         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69413 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
69415         * NEWS: Mention libm performance improvements and non-x86 PI
69416         futex support.
69418         * csu/libc-start.c (__pthread_initialize_minimal): Change
69419         function arguments.
69420         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
69422 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
69424         [BZ #13550]
69425         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
69426         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
69427         <bp-sym.h> and <bp-asm.h>.
69428         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69429         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
69430         and <bp-asm.h>.
69431         (memcpy): Don't use BP_SYM.
69432         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
69433         <bp-asm.h>.
69434         (__mpn_add_n): Don't use BP_SYM.
69435         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
69436         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
69437         and <bp-asm.h>.
69438         (__mpn_addmul_1): Don't use BP_SYM.
69439         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69440         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
69441         <bp-sym.h>.
69442         (_setjmp): Don't use BP_SYM.
69443         (__novmx_setjmp): Likewise.
69444         (__GI__setjmp): Likewise.
69445         (__vmx_setjmp): Likewise.
69446         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
69447         <bp-sym.h>.
69448         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
69449         (__bzero): Don't use BP_SYM.
69450         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
69451         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
69452         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
69453         <bp-sym.h> and <bp-asm.h>.
69454         (memcpy): Don't use BP_SYM.
69455         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
69456         <bp-sym.h> and <bp-asm.h>.
69457         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69458         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
69459         <bp-sym.h> and <bp-asm.h>.
69460         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
69461         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
69462         <bp-asm.h>.
69463         (__mpn_lshift): Don't use BP_SYM.
69464         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69465         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
69466         <bp-asm.h>.
69467         (memset): Don't use BP_SYM.
69468         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
69469         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
69470         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
69471         <bp-asm.h>.
69472         (__mpn_mul_1): Don't use BP_SYM.
69473         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69474         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
69475         <bp-sym.h> and <bp-asm.h>.
69476         (memcmp): Don't use BP_SYM.
69477         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
69478         <bp-sym.h> and <bp-asm.h>.
69479         (memcpy): Don't use BP_SYM.
69480         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
69481         <bp-sym.h> and <bp-asm.h>.
69482         (memset): Don't use BP_SYM.
69483         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
69484         <bp-sym.h> and <bp-asm.h>.
69485         (strncmp): Don't use BP_SYM.
69486         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
69487         <bp-sym.h> and <bp-asm.h>.
69488         (memcpy): Don't use BP_SYM.
69489         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
69490         <bp-sym.h> and <bp-asm.h>.
69491         (memset): Don't use BP_SYM.
69492         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
69493         <bp-sym.h> and <bp-asm.h>.
69494         (__memchr): Don't use BP_SYM.
69495         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
69496         <bp-sym.h> and <bp-asm.h>.
69497         (memcmp): Don't use BP_SYM.
69498         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
69499         <bp-sym.h> and <bp-asm.h>.
69500         (memcpy): Don't use BP_SYM.
69501         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
69502         <bp-sym.h> and <bp-asm.h>.
69503         (__mempcpy): Don't use BP_SYM.
69504         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
69505         <bp-sym.h> and <bp-asm.h>.
69506         (__memrchr): Don't use BP_SYM.
69507         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
69508         <bp-sym.h> and <bp-asm.h>.
69509         (memset): Don't use BP_SYM.
69510         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
69511         <bp-sym.h> and <bp-asm.h>.
69512         (__rawmemchr): Don't use BP_SYM.
69513         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
69514         <bp-sym.h> and <bp-asm.h>.
69515         (__STRCMP): Don't use BP_SYM.
69516         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
69517         <bp-sym.h> and <bp-asm.h>.
69518         (strchr): Don't use BP_SYM.
69519         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
69520         <bp-sym.h> and <bp-asm.h>.
69521         (__strchrnul): Don't use BP_SYM.
69522         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
69523         <bp-sym.h> and <bp-asm.h>.
69524         (strlen): Don't use BP_SYM.
69525         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
69526         <bp-sym.h> and <bp-asm.h>.
69527         (strncmp): Don't use BP_SYM.
69528         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
69529         <bp-sym.h> and <bp-asm.h>.
69530         (__strnlen): Don't use BP_SYM.
69531         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
69532         <bp-asm.h>.
69533         (__mpn_rshift): Don't use BP_SYM.
69534         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
69535         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
69536         <bp-sym.h> and <bp-asm.h>.
69537         (__sigsetjmp): Don't use BP_SYM.
69538         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
69539         (L(start_addresses)): Don't use BP_SYM.
69540         (_start): Likewise.
69541         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
69542         <bp-asm.h>.
69543         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
69544         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69545         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69546         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
69547         <bp-asm.h>.
69548         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
69549         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
69550         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
69551         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
69552         <bp-asm.h>.
69553         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69554         comments.
69555         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
69556         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
69557         <bp-asm.h>.
69558         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
69559         FIXME comments.
69560         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
69561         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
69562         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
69563         <bp-asm.h>.
69564         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
69565         comment.
69566         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
69567         and <bp-asm.h>.
69568         (strncmp): Don't use BP_SYM,
69569         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
69570         <bp-asm.h>.
69571         (__mpn_sub_n): Don't use BP_SYM.
69572         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
69573         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
69574         and <bp-asm.h>.
69575         (__mpn_submul_1): Don't use BP_SYM.
69576         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
69577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
69578         <bp-sym.h> and <bp-asm.h>.
69579         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
69580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
69581         <bp-sym.h> and <bp-asm.h>.
69582         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
69583         comment.
69585 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
69587         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
69588         Use ZK to minimize writes to Z.
69589         (sub_magnitudes): Simplify code a bit.
69590         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
69591         Use ZK to minimize writes to Z.
69592         (sub_magnitudes): Simplify code a bit.
69594 2013-02-27  Roland McGrath  <roland@hack.frob.com>
69596         * csu/gmon-start.c: Add special exception to license text.
69598 2013-02-27  Richard Henderson  <rth@redhat.com>
69600         * scripts/config.guess: Update from config.git.
69601         * scripts/config.sub: Likewise.
69603 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
69605         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
69607         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
69609         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
69611         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
69613         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
69615 2013-02-26  Roland McGrath  <roland@hack.frob.com>
69617         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
69618         [$(build-shared = yes].
69620 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69622         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
69623         (__mul): Reduce iterations for calculating mantissa.
69625         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
69626         MPTWO.
69627         (__mpranred): Likewise.
69629         [BZ #15160]
69630         * malloc/memusagestat.c (main): Draw graphs for heap and stack
69631         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
69633 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
69635         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
69636         Define __attribute__.
69638 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69640         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
69641         unused.
69642         * posix/regex_internal.h (__attribute): Remove.
69643         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
69644         (re_string_context_at): Likewise.
69645         (bitset_not): Use __attribute__ and mark function as possibly
69646         unused.
69647         (bitset_merge): Likewise.
69648         (bitset_mask): Likewise.
69649         (re_string_char_size_at): Likewise.
69650         (re_string_wchar_at): Likewise.
69651         (re_string_elem_size_at): Likewise.
69653 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69655         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
69656         code.
69657         (cc32): Likewise.
69659         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
69660         (__acr): Likewise.
69661         (__cpy): Likewise.
69662         (norm): Likewise.
69663         (denorm): Likewise.
69664         (__dbl_mp): Likewise.
69665         (add_magnitudes): Likewise.
69666         (sub_magnitudes): Likewise.
69667         (__mul): Likewise.
69668         (__inv): Likewise.
69670         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
69671         style.
69673         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
69674         style.
69676         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
69677         code.
69679         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
69680         up changes with default code.
69681         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
69682         Likewise.
69684 2013-02-24  Allan McRae  <allan@archlinux.org>
69686         * manual/socket.texi (The Internet Namespace): Order menu items
69687         to match that in the file.
69689         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
69690         node listing of the info page menu.
69692 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
69694         [BZ #13550]
69695         * sysdeps/i386/bp-asm.h: Remove file.
69696         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69697         (PARMS): Do not use macros from bp-asm.h.
69698         (S1): Likewise.
69699         (S2): Likewise.
69700         (SIZE): Likewise.
69701         (__mpn_add_n): Do not use BP_SYM
69702         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
69703         "bp-asm.h".
69704         (PARMS): Do not use macros from bp-asm.h.
69705         (S1): Likewise.
69706         (SIZE): Likewise.
69707         (__mpn_addmul_1): Do not use BP_SYM
69708         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
69709         "bp-asm.h".
69710         (PARMS): Do not use macros from bp-asm.h.
69711         (SIGMSK): Likewise.
69712         (_setjmp): Likewise.  Do not use BP_SYM.
69713         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
69714         "bp-asm.h".
69715         (PARMS): Do not use macros from bp-asm.h.
69716         (SIGMSK): Likewise.
69717         (setjmp): Likewise.  Do not use BP_SYM.
69718         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
69719         "bp-asm.h".
69720         (PARMS): Do not use macros from bp-asm.h.
69721         (__frexp): Do not use BP_SYM.
69722         (frexp): Likewise.
69723         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
69724         "bp-asm.h".
69725         (PARMS): Do not use macros from bp-asm.h.
69726         (__frexpf): Do not use BP_SYM.
69727         (frexpf): Likewise.
69728         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
69729         "bp-asm.h".
69730         (PARMS): Do not use macros from bp-asm.h.
69731         (__frexpl): Do not use BP_SYM.
69732         (frexpl): Likewise.
69733         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
69734         "bp-asm.h".
69735         (PARMS): Do not use macros from bp-asm.h.
69736         (__remquo): Do not use BP_SYM.
69737         (remquo): Likewise.
69738         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
69739         "bp-asm.h".
69740         (PARMS): Do not use macros from bp-asm.h.
69741         (__remquof): Do not use BP_SYM.
69742         (remquof): Likewise.
69743         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
69744         "bp-asm.h".
69745         (PARMS): Do not use macros from bp-asm.h.
69746         (__remquol): Do not use BP_SYM.
69747         (remquol): Likewise.
69748         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
69749         "bp-asm.h".
69750         (PARMS): Do not use macros from bp-asm.h.
69751         (DEST): Likewise.
69752         (SRC): Likewise.
69753         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
69754         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
69755         "bp-asm.h".
69756         (PARMS): Do not use macros from bp-asm.h.
69757         (strlen): Do not use BP_SYM.
69758         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
69759         "bp-asm.h".
69760         (PARMS): Do not use macros from bp-asm.h.
69761         (S1): Likewise.
69762         (S2): Likewise.
69763         (SIZE): Likewise.
69764         (__mpn_add_n): Do not use BP_SYM.
69765         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
69766         "bp-asm.h".
69767         (PARMS): Do not use macros from bp-asm.h.
69768         (S1): Likewise.
69769         (SIZE): Likewise.
69770         (__mpn_addmul_1): Do not use BP_SYM.
69771         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
69772         weak_alias.
69773         (bzero): Likewise.
69774         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
69775         "bp-asm.h".
69776         (PARMS): Do not use macros from bp-asm.h.
69777         (S): Likewise.
69778         (SIZE): Likewise.
69779         (__mpn_lshift): Do not use BP_SYM.
69780         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
69781         "bp-asm.h".
69782         (PARMS): Do not use macros from bp-asm.h.
69783         (DEST): Likewise.
69784         (SRC): Likewise.
69785         (LEN): Likewise.
69786         (memcpy): Likewise.  Do not use BP_SYM.
69787         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
69788         libc_hidden_def and weak_alias.
69789         (mempcpy): Do not use BP_SYM in weak_alias.
69790         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
69791         "bp-asm.h".
69792         (PARMS): Do not use macros from bp-asm.h.
69793         (DEST): Likewise.
69794         (LEN): Likewise.
69795         [!BZERO_P] (CHR): Likewise.
69796         (memset): Likewise.  Do not use BP_SYM.
69797         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
69798         "bp-asm.h".
69799         (PARMS): Do not use macros from bp-asm.h.
69800         (S1): Likewise.
69801         (SIZE): Likewise.
69802         (__mpn_mul_1): Do not use BP_SYM.
69803         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
69804         "bp-asm.h".
69805         (PARMS): Do not use macros from bp-asm.h.
69806         (S): Likewise.
69807         (SIZE): Likewise.
69808         (__mpn_rshift): Do not use BP_SYM.
69809         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
69810         "bp-asm.h".
69811         (PARMS): Do not use macros from bp-asm.h.
69812         (STR): Likewise.
69813         (CHR): Likewise.
69814         (strchr): Likewise.  Do not use BP_SYM.
69815         (index): Do not use BP_SYM in weak_alias.
69816         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
69817         "bp-asm.h".
69818         (PARMS): Do not use macros from bp-asm.h.
69819         (DEST): Likewise.
69820         (SRC): Likewise.
69821         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
69822         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
69823         "bp-asm.h".
69824         (PARMS): Do not use macros from bp-asm.h.
69825         (strlen): Do not use BP_SYM.
69826         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
69827         "bp-asm.h".
69828         (PARMS): Do not use macros from bp-asm.h.
69829         (S1): Likewise.
69830         (S2): Likewise.
69831         (SIZE): Likewise.
69832         (__mpn_sub_n): Do not use BP_SYM.
69833         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
69834         "bp-asm.h".
69835         (PARMS): Do not use macros from bp-asm.h.
69836         (S1): Likewise.
69837         (SIZE): Likewise.
69838         (__mpn_submul_1): Do not use BP_SYM.
69839         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
69840         "bp-asm.h".
69841         (PARMS): Do not use macros from bp-asm.h.
69842         (S1): Likewise.
69843         (S2): Likewise.
69844         (SIZE): Likewise.
69845         (__mpn_add_n): Do not use BP_SYM.
69846         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
69847         weak_alias.
69848         (bzero): Likewise.
69849         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
69850         "bp-asm.h".
69851         (PARMS): Do not use macros from bp-asm.h.
69852         (BLK2): Likewise.
69853         (LEN): Likewise.
69854         (memcmp): Do not use BP_SYM.
69855         (bcmp): Do not use BP_SYM in weak_alias.
69856         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
69857         "bp-asm.h".
69858         (PARMS): Do not use macros from bp-asm.h.
69859         (DEST): Likewise.
69860         (SRC): Likewise.
69861         (LEN): Likewise.
69862         (memcpy): Likewise.  Do not use BP_SYM.
69863         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
69864         "bp-asm.h".
69865         (PARMS): Do not use macros from bp-asm.h.
69866         (DEST): Likewise.
69867         (SRC): Likewise.
69868         (LEN): Likewise.
69869         (memmove): Likewise.  Do not use BP_SYM.
69870         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
69871         "bp-asm.h".
69872         (PARMS): Do not use macros from bp-asm.h.
69873         (DEST): Likewise.
69874         (SRC): Likewise.
69875         (LEN): Likewise.
69876         (__mempcpy): Likewise.  Do not use BP_SYM.
69877         (mempcpy): Do not use BP_SYM in weak_alias.
69878         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
69879         "bp-asm.h".
69880         (PARMS): Do not use macros from bp-asm.h.
69881         (DEST): Likewise.
69882         (LEN): Likewise.
69883         [!BZERO_P] (CHR): Likewise.
69884         (memset): Likewise.  Do not use BP_SYM.
69885         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
69886         "bp-asm.h".
69887         (PARMS): Do not use macros from bp-asm.h.
69888         (STR2): Likewise.
69889         (strcmp): Do not use BP_SYM.
69890         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
69891         "bp-asm.h".
69892         (PARMS): Do not use macros from bp-asm.h.
69893         (STR): Likewise.
69894         (DELIM): Likewise.
69895         [USE_AS_STRTOK_R] (SAVE): Likewise.
69896         (FUNCTION): Likewise.  Do not use BP_SYM.
69897         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
69898         aliases.
69899         (strtok_r): Likewise.
69900         (__GI___strtok_r): Likewise.
69901         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69902         (PARMS): Do not use macros from bp-asm.h.
69903         (S): Likewise.
69904         (SIZE): Likewise.
69905         (__mpn_lshift): Do not use BP_SYM.
69906         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69907         (PARMS): Do not use macros from bp-asm.h.
69908         (STR): Likewise.
69909         (CHR): Likewise.
69910         (__memchr): Do not use BP_SYM.
69911         (memchr): Do not use BP_SYM in weak_alias.
69912         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69913         (PARMS): Do not use macros from bp-asm.h.
69914         (BLK2): Likewise.
69915         (LEN): Likewise.
69916         (memcmp): Do not use BP_SYM.
69917         (bcmp): Do not use BP_SYM in weak_alias.
69918         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
69919         (PARMS): Do not use macros from bp-asm.h.
69920         (S1): Likewise.
69921         (SIZE): Likewise.
69922         (__mpn_mul_1): Do not use BP_SYM.
69923         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
69924         "bp-asm.h".
69925         (PARMS): Do not use macros from bp-asm.h.
69926         (STR): Likewise.
69927         (CHR): Likewise.
69928         (__rawmemchr): Do not use BP_SYM.
69929         (rawmemchr): Do not use BP_SYM in weak_alias.
69930         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
69931         (PARMS): Do not use macros from bp-asm.h.
69932         (S): Likewise.
69933         (SIZE): Likewise.
69934         (__mpn_rshift): Do not use BP_SYM.
69935         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
69936         (PARMS): Do not use macros from bp-asm.h.
69937         (SIGMSK): Likewise.
69938         (__sigsetjmp): Likewise.  Do not use BP_SYM.
69939         * sysdeps/i386/start.S: Do not include "bp-sym.h".
69940         (_start): Do not use BP_SYM.
69941         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
69942         (PARMS): Do not use macros from bp-asm.h.
69943         (DEST): Likewise.
69944         (SRC): Likewise.
69945         (__stpcpy): Likewise.  Do not use BP_SYM.
69946         (stpcpy): Do not use BP_SYM in weak_alias.
69947         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
69948         "bp-asm.h".
69949         (PARMS): Do not use macros from bp-asm.h.
69950         (DEST): Likewise.
69951         (SRC): Likewise.
69952         (LEN): Likewise.
69953         (__stpncpy): Likewise.  Do not use BP_SYM.
69954         (stpncpy): Do not use BP_SYM in weak_alias.
69955         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
69956         (PARMS): Do not use macros from bp-asm.h.
69957         (STR): Likewise.
69958         (CHR): Likewise.
69959         (strchr): Likewise.  Do not use BP_SYM.
69960         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
69961         "bp-asm.h".
69962         (PARMS): Do not use macros from bp-asm.h.
69963         (STR): Likewise.
69964         (CHR): Likewise.
69965         (__strchrnul): Likewise.  Do not use BP_SYM.
69966         (strchrnul): Do not use BP_SYM in weak_alias.
69967         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
69968         "bp-asm.h".
69969         (PARMS): Do not use macros from bp-asm.h.
69970         (STOP): Likewise.
69971         (strcspn): Do not use BP_SYM.
69972         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
69973         "bp-asm.h".
69974         (PARMS): Do not use macros from bp-asm.h.
69975         (STR): Likewise.
69976         (STOP): Likewise.
69977         (strpbrk): Likewise.  Do not use BP_SYM.
69978         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
69979         "bp-asm.h".
69980         (PARMS): Do not use macros from bp-asm.h.
69981         (STR): Likewise.
69982         (CHR): Likewise.
69983         (strrchr): Likewise.  Do not use BP_SYM.
69984         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
69985         (PARMS): Do not use macros from bp-asm.h.
69986         (SKIP): Likewise.
69987         (strspn): Do not use BP_SYM.
69988         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
69989         (PARMS): Do not use macros from bp-asm.h.
69990         (STR): Likewise.
69991         (DELIM): Likewise.
69992         (SAVE): Likewise.
69993         (FUNCTION): Likewise.  Do not use BP_SYM.
69994         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
69995         aliases.
69996         (strtok_r): Likewise.
69997         (__GI___strtok_r): Likewise.
69998         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
69999         (PARMS): Do not use macros from bp-asm.h.
70000         (S1): Likewise.
70001         (S2): Likewise.
70002         (SIZE): Likewise.
70003         (__mpn_sub_n): Do not use BP_SYM.
70004         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
70005         "bp-asm.h".
70006         (PARMS): Do not use macros from bp-asm.h.
70007         (S1): Likewise.
70008         (SIZE): Likewise.
70009         (__mpn_submul_1): Do not use BP_SYM.
70010         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
70011         <bp-sym.h>.
70012         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
70013         and <bp-asm.h>.
70014         (PARMS): Do not use macros from bp-asm.h.
70015         (FLAGS): Likewise.
70016         (PTID): Likewise.
70017         (TLS): Likewise.
70018         (CTID): Likewise.
70019         (__clone): Do not use BP_SYM.
70020         (clone): Do not use BP_SYM in weak_alias.
70021         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
70022         and <bp-asm.h>.
70023         (PARMS): Do not use macros from bp-asm.h.
70024         (LEN): Likewise.
70025         (__mmap64): Do not use BP_SYM.
70026         (mmap64): Do not use BP_SYM in weak_alias.
70027         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
70028         <bp-sym.h> and <bp-asm.h>.
70029         (PARMS): Do not use macros from bp-asm.h.
70030         (__posix_fadvise64_l64): Do not use BP_SYM.
70031         * sysdeps/unix/sysv/linux/i386/semtimedop.S
70032         (PARMS): Do not use macros from bp-asm.h.
70033         (NSOPS): Likewise.
70034         (semtimedop): Do not use BP_SYM.
70035         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
70036         and <bp-asm.h>.
70038 2013-02-21  Allan McRae  <allan@archlinux.org>
70040         * manual/message.texi (Charset conversion in gettext):
70041         Move @end statement to beginning of line.
70043 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
70046         static.
70047         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
70048         Likewise.
70050         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
70051         (denorm): Likewise.
70052         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
70053         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
70055 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70057         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
70058         tail-call to the resolved function if pltexit isn't needed.
70060 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
70062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
70063         or Y being zero as being unlikely.
70064         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
70065         Likewise.
70067 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
70069         * manual/nss.texi (System Databases and Name Service Switch):
70070         Remove frobnicate @pxref.
70072 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70074         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70075         __attribute__ ((unused)) to __attribute__ ((__unused__)).
70077 2013-02-20  Petr Machata  <pmachata@redhat.com>
70079         * elf/elf.h (R_ARM_TARGET1): New macro.
70080         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
70081         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
70082         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
70083         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
70084         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
70085         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
70086         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
70087         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
70088         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
70089         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
70090         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
70091         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
70092         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
70093         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
70094         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
70095         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
70096         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
70097         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
70098         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
70099         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
70100         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
70101         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
70102         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
70103         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
70104         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
70105         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
70106         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
70107         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
70108         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
70109         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
70110         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
70111         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
70112         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
70113         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
70114         (R_ARM_THM_GOT_BREL12): Likewise.
70115         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
70116         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
70117         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
70118         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
70119         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
70120         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
70121         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
70122         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
70123         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
70125 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
70127         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
70128         __attribute_used__ to __attribute__ ((unused)).
70130 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
70132         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
70133         powerpc mpa.c.
70134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
70135         comment formatting.
70136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
70138 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
70140         [BZ #13550]
70141         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
70142         Remove macro.
70143         (ENTER): Remove both macro definitions.
70144         (LEAVE): Likewise.
70145         (CHECK_BOUNDS_LOW): Likewise.
70146         (CHECK_BOUNDS_HIGH): Likewise.
70147         (CHECK_BOUNDS_BOTH): Likewise.
70148         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
70149         (RETURN_BOUNDED_POINTER): Likewise.
70150         (RETURN_NULL_BOUNDED_POINTER): Likewise.
70151         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
70152         (POP_ERRNO_LOCATION_RETURN): Likewise.
70153         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
70154         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70155         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
70156         macros.
70157         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70158         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
70159         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
70160         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
70161         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
70162         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
70163         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
70164         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
70165         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
70166         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
70167         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
70168         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
70169         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70170         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
70171         removed macros.
70172         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70173         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
70174         macros.
70175         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70176         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
70177         * sysdeps/i386/i586/memset.S (memset): Likewise.
70178         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
70179         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70180         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
70181         macros.
70182         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70183         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
70184         Change uses of L(2) to L(out).
70185         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
70186         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
70187         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
70188         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70189         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
70190         removed macros.
70191         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70192         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
70193         macros.
70194         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70195         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
70196         (RETURN): Do not use macro LEAVE.
70197         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
70198         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
70199         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
70200         * sysdeps/i386/i686/memset.S (memset): Likewise.
70201         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
70202         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
70203         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
70204         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
70205         Likewise.
70206         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70207         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
70208         L(1_2) and L(1_3) into L(1).
70209         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70210         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
70211         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70212         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
70213         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
70214         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
70215         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
70216         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70217         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
70218         macros.
70219         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
70220         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
70221         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
70222         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
70223         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
70224         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
70225         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
70226         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
70227         * sysdeps/i386/strcspn.S (strcspn): Likewise.
70228         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
70229         * sysdeps/i386/strrchr.S (strrchr): Likewise.
70230         * sysdeps/i386/strspn.S (strspn): Likewise.
70231         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
70232         conditional code.
70233         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
70234         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
70235         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
70236         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
70237         L(1_3) into L(1_1).
70238         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
70239         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
70240         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
70241         macros.
70242         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
70244 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
70246         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
70247         macro.
70249 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70251         * math/atest-exp.c (exp_mpn): Remove ROUND.
70252         * math/atest-exp2.c (exp_mpn): Likewise.
70253         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
70255         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
70256         * stdlib/tst-tls-atexit-lib.c: Likewise.
70257         * stdlib/tst-tls-atexit.c: Likewise.
70259 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70261         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
70262         and __attribute_alloc_size__.
70264 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70266         * include/programs/xmalloc.h: Change __attribute_alloc_size to
70267         __attribute_alloc_size__.
70268         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
70269         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
70271 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
70273         * include/programs/xmalloc.h: New file.
70274         * catgets/gencat.c: Include it.
70275         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
70276         * elf/pldd.c: Likewise.
70277         * iconv/iconv_charmap.c: Likewise.
70278         * iconv/iconvconfig.c: Likewise.
70279         * iconv/strtab.c: Likewise.
70280         * locale/programs/locale.c: Likewise.
70281         * locale/programs/localedef.h: Likewise.
70282         * locale/programs/simple-hash.c: Likewise.
70283         * nscd/nscd.h: Likewise.
70284         * nss/makedb.c: Likewise.
70285         * sysdeps/generic/ldconfig.h: Likewise.
70287 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
70289         * Versions.def: Add GLIBC_2.18.
70290         * include/link.h (struct link_map): New member l_tls_dtor_count.
70291         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
70292         (__call_tls_dtors): Likewise.
70293         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
70294         __cxa_thread_atexit_impl.
70295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
70296         Likewise.
70297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
70298         Likewise.
70299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
70300         Likewise.
70301         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
70302         Likewise.
70303         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
70304         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
70305         Likewise.
70306         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
70307         Likewise.
70308         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
70309         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
70310         Likewise.
70311         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
70312         (tests): Add test case tst-tls-atexit.
70313         (modules-names): Add shared library for tst-tls-atexit.
70314         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
70315         (GLIBC_PRIVATE): Add __call_tls_dtors.
70316         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
70317         for libstdc++.
70318         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
70319         * stdlib/tst-tls-atexit.c: New test case.
70320         * stdlib/tst-tls-atexit-lib.c: New test case.
70322         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
70324         * elf/Versions (ld): Add _dl_find_dso_for_object.
70325         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
70326         * elf/dl-open.c (_dl_find_dso_for_object): New function.
70327         (dl_open_worker): Use _dl_find_dso_for_object.
70328         * elf/dl-sym.c (do_sym): Likewise.
70329         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
70331 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70333         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
70334         Syntactic changes only.
70335         (_dl_runtime_profile): Do a tail-call to the resolved function.
70337 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
70339         [BZ #13550]
70340         * sysdeps/x86_64/bp-asm.h: Remove file.
70341         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
70342         <bp-sym.h> and <bp-asm.h>.
70343         (__clone): Do not use BP_SYM.
70344         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
70345         <bp-sym.h> and <bp-asm.h>.
70346         * sysdeps/unix/x86_64/sysdep.S: Likewise.
70347         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
70348         "bp-asm.h".
70349         (_setjmp): Do not use BP_SYM.
70350         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
70351         "bp-asm.h".
70352         (setjmp): Do not use BP_SYM.
70353         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
70354         libc_hidden_def.
70355         (mempcpy): Do not use BP_SYM in weak_alias.
70356         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
70357         "bp-asm.h".
70358         (strchr): Do not use BP_SYM.
70359         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
70360         "bp-asm.h".
70361         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
70362         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
70363         (_start): Do not use BP_SYM.
70364         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
70365         "bp-asm.h".
70366         (strcat): Do not use BP_SYM.
70367         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
70368         "bp-asm.h".
70369         (STRCMP): Do not use BP_SYM.
70370         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
70371         "bp-asm.h".
70372         (STRCPY): Do not use BP_SYM.
70373         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
70374         "bp-asm.h".
70375         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
70376         "bp-asm.h".
70377         (FUNCTION): Do not use BP_SYM.
70378         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
70379         weak_alias.
70380         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
70382 2013-02-17  Andreas Jaeger  <aj@suse.de>
70384         * time/Versions: Sort entries.
70385         * string/Versions: Likewise.
70386         * resolv/Versions: Likewise.
70387         * posix/Versions: Likewise.
70388         * iconv/Versions: Likewise.
70389         * elf/Versions: Likewise.
70390         * wcsmbs/Versions: Likewise.
70392 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
70394         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
70395         loop termination condition.
70397         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
70398         variable to calculate EZ.
70399         (__sqr): Likewise.
70401         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
70402         the lower precision input.
70404 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
70406         [BZ #13550]
70407         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
70408         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
70409         (run-via-rtld-prefix): Do not handle %-bp tests.
70410         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
70411         (all-object-suffixes): Remove .ob.
70412         (bppfx): Remove variable.
70413         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
70414         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
70415         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
70416         [$(build-bounded) = yes] (libtype.ob): Likewise.
70417         * Makerules (elide-routines.ob): Remove variable.
70418         (do-tests-clean): Do not handle *-bp.out.
70419         (common-mostlyclean): Do not handle *-bp and *-bp.out.
70420         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
70421         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
70422         (tests): Do not include $(tests-bp.out).
70423         (xtests): Do not include $(xtests-bp.out).
70424         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
70425         [$(build-bounded) = yes] ($(addprefix
70426         $(objpfx),$(binaries-bounded))): Remove rule.
70427         ($(objpfx)%-bp.out): Remove rule.
70428         * config.make.in (build-bounded): Remove variable.
70429         * crypt/Makefile [$(build-bounded) = yes]
70430         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
70431         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
70432         append to variable.
70433         [$(build-bounded) = yes] (install-lib): Likewise.
70434         [$(build-bounded) = yes] (generated): Likewise.
70435         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
70436         Remove rule.
70437         * intl/Makefile [$(build-bounded) = yes]
70438         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
70439         * math/Makefile [$(build-bounded) = yes]
70440         ($(tests:%=$(objpfx)%-bp): Likewise.
70441         * misc/Makefile [$(build-bounded) = yes]
70442         ($(objpfx)tst-tsearch-bp): Likewise.
70443         * nptl/Makeconfig (bounded-thread-library): Remove variable.
70444         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
70445         Remove dependency.
70446         * string/Makefile (o-objects.ob): Remove variable.
70447         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
70448         (CFLAGS-.ob): Remove variable.
70449         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
70450         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
70451         both definitions of variable.
70452         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
70453         (ASFLAGS-.ob): Remove variable.
70455 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
70457         [BZ #13550]
70458         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
70459         Remove __BOUNDED_POINTERS__ from condition.
70460         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
70461         * string/bits/string2.h [!__NO_STRING_INLINES &&
70462         !__BOUNDED_POINTERS__]: Likewise.
70463         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
70464         Likewise.
70465         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
70466         Remove conditional code.
70467         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
70468         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
70469         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
70470         condition.
70472         [BZ #13550]
70473         * csu/libc-start.c: Do not include <bp-sym.h>.
70474         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
70475         * elf/dl-open.c: Do not include <bp-sym.h>.
70476         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
70477         * math/fegetenv.c: Do not include <bp-sym.h>.
70478         (fegetenv): Do not use BP_SYM in versioned symbols.
70479         * nptl/sysdeps/pthread/bits/libc-lockP.h
70480         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
70481         <bp-sym.h>.
70482         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70483         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
70484         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70485         (__pthread_mutex_destroy): Likewise.
70486         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70487         (__pthread_mutex_lock): Likewise.
70488         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70489         (__pthread_mutex_trylock): Likewise.
70490         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70491         (__pthread_mutex_unlock): Likewise.
70492         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70493         (__pthread_mutexattr_init): Likewise.
70494         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70495         (__pthread_mutexattr_destroy): Likewise.
70496         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70497         (__pthread_mutexattr_settype): Likewise.
70498         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70499         (__pthread_rwlock_init): Likewise.
70500         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70501         (__pthread_rwlock_destroy): Likewise.
70502         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70503         (__pthread_rwlock_rdlock): Likewise.
70504         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70505         (__pthread_rwlock_tryrdlock): Likewise.
70506         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70507         (__pthread_rwlock_wrlock): Likewise.
70508         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70509         (__pthread_rwlock_trywrlock): Likewise.
70510         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70511         (__pthread_rwlock_unlock): Likewise.
70512         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70513         (__pthread_key_create): Likewise.
70514         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70515         (__pthread_setspecific): Likewise.
70516         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70517         (__pthread_getspecific): Likewise.
70518         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
70519         Likewise.
70520         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70521         (_pthread_cleanup_push_defer): Likewise.
70522         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70523         (_pthread_cleanup_pop_restore): Likewise.
70524         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
70525         (pthread_setcancelstate): Likewise.
70526         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
70527         <bp-sym.h>.
70528         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
70529         (memchr): Do not use BP_SYM in weak_alias.
70530         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
70531         (fegetenv): Do not use BP_SYM in versioned symbols.
70532         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
70533         (fesetenv): Do not use BP_SYM in versioned symbols.
70534         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70535         (feupdateenv): Do not use BP_SYM in versioned symbols.
70536         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70537         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70538         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
70539         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
70540         (open64): Do not use BP_SYM in weak_alias.
70541         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
70542         (fegetenv): Do not use BP_SYM in versioned symbols.
70543         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
70544         (fesetenv): Do not use BP_SYM in versioned symbols.
70545         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
70546         (feupdateenv): Do not use BP_SYM in versioned symbols.
70547         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
70548         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
70549         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
70550         (feraiseexcept): Do not use BP_SYM in versioned symbols.
70551         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
70552         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
70553         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
70554         <bp-sym.h>.
70555         (__libc_start_main): Do not use BP_SYM.
70557 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
70559         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
70560         redundant return line.
70561         (norm): Likewise.
70562         (denorm): Likewise.
70563         (dbl_mp): Likewise.
70564         (sub_magnitudes): Likewise.
70565         (__add): Likewise.
70566         (__sub): Likewise.
70567         (__mul): Likewise.
70568         (__inv): Likewise.
70569         (__dvd): Likewise.
70570         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
70571         (norm): Likewise.
70572         (denorm): Likewise.
70573         (dbl_mp): Likewise.
70574         (sub_magnitudes): Likewise.
70575         (__add): Likewise.
70576         (__sub): Likewise.
70577         (__mul): Likewise.
70578         (__inv): Likewise.
70579         (__dvd): Likewise.
70581         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
70582         instead of __mul.
70583         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
70584         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
70585         (cc32): Likewise.
70587         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
70588         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
70589         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
70590         of __mul for squares.
70591         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
70592         function
70593         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
70594         Likewise.
70595         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
70596         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70598 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
70600         [BZ #13550]
70601         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
70602         code.
70603         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
70604         prototype or function definition.  Rename ubp_* variables and
70605         parameters.  Remove argv definitions conditional on
70606         [__BOUNDED_POINTERS__].
70607         * debug/backtrace.c (__backtrace): Do not use __unbounded.
70608         * elf/dl-runtime.c (_dl_fixup): Likewise.
70609         * include/set-hooks.h (RUN_HOOK): Likewise.
70610         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
70611         definition.
70612         * string/strcpy.c (strcpy): Do not use __unbounded.
70613         * sysdeps/generic/frame.h (struct layout): Likewise.
70614         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
70615         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
70616         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
70617         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
70618         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
70619         (__backtrace): Likewise.
70620         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
70621         use __ptrvalue.
70622         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
70623         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
70624         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
70625         Likewise.
70626         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
70627         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
70628         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
70629         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
70630         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
70631         Do not use __unbounded.
70632         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
70633         Rename __unboundedrlimits parameter to rlimits in prototype.
70634         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
70635         Do not use __unbounded.
70636         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
70637         not use __ptrvalue.
70638         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
70639         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
70640         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
70641         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
70642         __ptrvalue or __unbounded.
70643         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
70644         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
70645         use __unbounded.
70646         (__new_msgctl): Do not use __ptrvalue.
70647         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
70648         __unbounded.
70649         (__libc_msgrcv): Do not use __ptrvalue.
70650         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
70651         startup_info): Do not use __unbounded.
70652         (__libc_start_main): Likewise.  Rename ubp_* variables and
70653         parameters.  Remove argv definitions conditional on
70654         [__BOUNDED_POINTERS__].
70655         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
70656         __ptrvalue.
70657         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
70658         use __unbounded.
70659         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
70660         or __ptrvalue.
70661         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
70662         use __unbounded.
70663         (__new_shmctl): Do not use __ptrvalue.
70664         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
70665         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
70666         Likewise.
70667         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
70668         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
70669         (__libc_sigaction): Likewise.
70670         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
70671         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
70672         Likewise.
70673         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
70675 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
70677         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
70679         * string/mempcpy.c: Implement by calling memcpy.
70681 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
70683         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
70685         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
70686         evaluation.
70688         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
70689         values in the mantissa.
70691         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
70692         minimize writes to Z.
70693         (sub_magnitudes): Simplify code a bit.
70695 2013-02-12  Roland McGrath  <roland@hack.frob.com>
70697         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
70698         from the message.  The linker prefixes all warnings with that already.
70700 2013-02-12  Andreas Schwab  <schwab@suse.de>
70702         [BZ #15078]
70703         * posix/regexec.c (extend_buffers): Add parameter min_len.
70704         (check_matching): Pass minimum needed length.
70705         (clean_state_log_if_needed): Likewise.
70706         (get_subexp): Likewise.
70707         * posix/Makefile (tests): Add bug-regex34.
70708         (bug-regex34-ENV): Define.
70709         * posix/bug-regex34.c: New file.
70711         [BZ #11561]
70712         * posix/regcomp.c (parse_bracket_exp): When looking up collating
70713         elements compare against the byte sequence of it, not its name.
70714         * posix/Makefile (tests): Add bug-regex35.
70715         (bug-regex35-ENV): Define.
70716         * posix/bug-regex35.c: New file.
70718 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70720         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
70721         comment.
70722         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
70723         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
70724         (CHECK_EOL): Add undef.
70726 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
70728         * bits/stdlib-bsearch.h: New file.
70729         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
70730         * stdlib/stdlib.h: Likewise.
70732 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70734         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
70735         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
70736         declaration.
70737         * manual/search.texi (Array Search Function): Add missing const in
70738         lfind prototype.
70739         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
70740         declaration to use rlim_t.
70741         (Basic Scheduling Functions): Remove erroneous const from
70742         sched_getparam prototype.  Remove erroneous * from
70743         sched_get_priority_max and sched_get_priority_min prototypes.
70744         (Resource Usage): Fix summary @comment on vtimes to refer to
70745         sys/vtimes.h rather than vtimes.h.
70746         Add missing *s in vtimes prototype.
70747         (Limits on Resources): Fix ulimit prototype to return long int.
70748         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
70749         prototypes to use long int rather than double.
70750         (BSD Random): Fix initstate and setstate to use char *, not void *.
70751         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
70752         prototype to make second argument 'struct aiocb64 *const[]'.
70753         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
70754         (Status of AIO Operations): Remove erroneous const in aio_return and
70755         aio_return64 prototypes.
70756         (Synchronizing I/O): Fix sync prototype to return void.
70757         * manual/startup.texi (Suboptions): Remove an erroneous const in
70758         getsubopt prototype.
70759         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
70760         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
70761         use size_t rather than int.
70762         (Scanning All Users): Likewise for getpwent_r.
70763         (Setting Groups): Add missing const to setgroups prototype.
70764         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
70765         * manual/socket.texi (Host Names): Fix gethostbyaddr and
70766         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
70767         'const void *' rather than 'const char *'.
70768         (Host Address Functions): Likewise for inet_ntop.
70769         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
70770         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
70771         ssize_t for return value.
70772         (Sending Data): Likewise for send, sendto, sendmsg.
70773         (Socket Option Functions): Add a missing const in setsockopt prototype.
70774         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
70775         use wchar_t for the argument.
70776         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
70777         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
70778         take no arguments.
70779         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
70780         double/float/long double for second argument.
70781         Fix return types of significand, significandf, significandl.
70782         * manual/filesys.texi (Setting Permissions): Use mode_t for second
70783         argument in fchmod prototype.
70784         (File Owner): Use uid_t and gid_t in fchown prototype.
70785         (File Times): Add const to utimes, futimes, and lutimes prototypes.
70786         (Making Special Files): Use mode_t and dev_t in mknod prototype.
70787         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
70788         use 'const struct dirent **' as argument types to CMP function pointer
70789         argument.
70790         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
70791         (File Times): Fix summary magic @comment for struct utimbuf and utime
70792         to refer to utime.h, not time.h.
70793         * manual/string.texi (Argz Functions): Add missing const in
70794         argz_extract and argz_next prototypes.
70795         (Finding Tokens in a String): Likewise for basename.
70796         (String/Array Comparison): Fix typo in wcscasecmp prototype.
70797         (Copying and Concatenation): Fix typo in wmemmove prototype.
70798         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
70799         (Signal Stack): Remove erroneous const in sigstack prototype.
70800         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
70801         prototype.
70802         (Simple Calendar Time): Likewise for stime.
70803         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
70804         prototype.
70805         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
70806         say sys/sysctl.h instead.
70807         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
70808         and vsyslog prototypes.
70810 2013-02-11  Tom de Vries  <tom@codesourcery.com>
70812         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
70813         Remove.
70815 2013-02-11  Roland McGrath  <roland@hack.frob.com>
70817         * misc/sys/mman.h: Fix typo in mremap comment.
70819 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70821         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
70822         the '\0' terminator.
70824 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70826         [BZ #13550]
70827         * debug/segfault.c: Don't include <bp-checks.h>.
70828         * sysdeps/generic/bp-checks.h: Remove file.
70829         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
70830         (__GETDENTS): Don't use CHECK_N.
70831         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
70832         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
70833         (__getgroups): Don't use CHECK_N.
70834         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
70835         (setgroups): Don't use CHECK_N.
70836         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
70837         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
70838         (__libc_msgrcv): Don't use CHECK_N.
70839         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
70840         (__libc_msgsnd): Don't use CHECK_N.
70841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
70842         <bp-checks.h>.
70843         (__libc_pread): Don't use CHECK_N.
70844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
70845         include <bp-checks.h>.
70846         (__libc_pread64): Don't use CHECK_N.
70847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
70848         include <bp-checks.h>.
70849         (__libc_pwrite): Don't use CHECK_N.
70850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
70851         include <bp-checks.h>.
70852         (__libc_pwrite64): Don't use CHECK_N.
70853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
70854         <bp-checks.h>.
70855         (__libc_pread): Don't use CHECK_N.
70856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
70857         include <bp-checks.h>.
70858         (__libc_pread64): Don't use CHECK_N.
70859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
70860         include <bp-checks.h>.
70861         (__libc_pwrite): Don't use CHECK_N.
70862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
70863         include <bp-checks.h>.
70864         (__libc_pwrite64): Don't use CHECK_N.
70865         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
70866         (do_pread): Don't use CHECK_N.
70867         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
70868         (do_pread64): Don't use CHECK_N.
70869         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
70870         (do_pwrite): Don't use CHECK_N.
70871         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
70872         (do_pwrite64): Don't use CHECK_N.
70873         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
70874         (__libc_readv): Don't use CHECK_N.
70875         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
70876         (semop): Don't use CHECK_N.
70877         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
70878         <bp-checks.h>.
70879         (semtimedop): Don't use CHECK_N.
70880         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
70881         (__libc_pread): Don't use CHECK_N.
70882         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
70883         <bp-checks.h>.
70884         (__libc_pread64): Don't use CHECK_N.
70885         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
70886         <bp-checks.h>.
70887         (__libc_pwrite): Don't use CHECK_N.
70888         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
70889         <bp-checks.h>.
70890         (__libc_pwrite64): Don't use CHECK_N.
70891         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
70892         <bp-checks.h>.
70893         (__libc_msgrcv): Don't use CHECK_N.
70894         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
70895         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
70896         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
70897         (__libc_writev): Don't use CHECK_N.
70899 2013-02-08  Roland McGrath  <roland@hack.frob.com>
70901         * string/strcpy.c: Removed unused variable.
70903         * Makeconfig (+sysdep-includes): Define with := rather than =.
70904         Use an existing include/ subdir of each sysdeps dir before it.
70906 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70908         * nscd/connection.c (register_traced_file): Comment function.
70909         [HAVE_INOTIFY] (union __inev): Define.
70910         [HAVE_INOTIFY] (inotify_check_files): New function.
70911         [HAVE_INOTIFY] (clear_db_cache): Likewise.
70912         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
70913         clear_db_cache.
70914         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
70916 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70918         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
70919         loaded if not already and that a failure is permanent.
70921 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
70923         [BZ #15006]
70924         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
70925         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
70927 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
70929         [BZ #13550]
70930         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
70931         (CHECK_1_NULL_OK): Likewise.
70932         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
70933         (__fxstat): Do not use CHECK_1.
70934         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
70935         <bp-checks.h>.
70936         (___fxstat64): Do not use CHECK_1.
70937         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
70938         <bp-checks.h>.
70939         (__fxstatat): Do not use CHECK_1.
70940         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
70941         <bp-checks.h>.
70942         (__fxstatat64): Do not use CHECK_1.
70943         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
70944         <bp-checks.h>.
70945         (__fxstat): Do not use CHECK_1.
70946         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
70947         <bp-checks.h>.
70948         (__fxstatat): Do not use CHECK_1.
70949         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70950         <bp-checks.h>.
70951         (__getresgid): Do not use CHECK_1.
70952         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70953         <bp-checks.h>.
70954         (__getresuid): Do not use CHECK_1.
70955         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
70956         <bp-checks.h>.
70957         (__lxstat): Do not use CHECK_1.
70958         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70959         <bp-checks.h>.
70960         (__old_msgctl): Do not use CHECK_1.
70961         (__new_msgctl): Likewise.
70962         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
70963         <bp-checks.h>.
70964         (__new_setrlimit): Do not use CHECK_1.
70965         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70966         <bp-checks.h>.
70967         (__old_shmctl): Do not use CHECK_1.
70968         (__new_shmctl): Likewise.
70969         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
70970         <bp-checks.h>.
70971         (__xstat): Do not use CHECK_1.
70972         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
70973         (__lxstat): Do not use CHECK_1.
70974         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
70975         <bp-checks.h>.
70976         (___lxstat64): Do not use CHECK_1.
70977         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
70978         (__old_msgctl): Do not use CHECK_1.
70979         (__new_msgctl): Likewise.
70980         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
70981         <bp-checks.h>.
70982         (__gettimeofday): Do not use CHECK_1.
70983         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
70984         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
70985         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
70986         <bp-checks.h>.
70987         (__gettimeofday): Do not use CHECK_1.
70988         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
70989         (__old_shmctl): Do not use CHECK_1_NULL_OK.
70990         (__new_shmctl): Do not use CHECK_1.
70991         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
70992         <bp-checks.h>.
70993         (do_sigtimedwait): Do not use CHECK_1.
70994         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
70995         <bp-checks.h>.
70996         (do_sigwaitinfo): Do not use CHECK_1.
70997         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
70998         <bp-checks.h>.
70999         (msgctl): Do not use CHECK_1.
71000         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
71001         <bp-checks.h>.
71002         (shmctl): Do not use CHECK_1.
71003         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
71004         (ustat): Do not use CHECK_1.
71005         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
71006         <bp-checks.h>.
71007         (__fxstat): Do not use CHECK_1.
71008         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
71009         <bp-checks.h>.
71010         (__fxstatat): Do not use CHECK_1.
71011         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
71012         <bp-checks.h>.
71013         (__lxstat): Do not use CHECK_1.
71014         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
71015         <bp-checks.h>.
71016         (__xstat): Do not use CHECK_1.
71017         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
71018         (__xstat): Do not use CHECK_1.
71019         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
71020         (___xstat64): Do not use CHECK_1.
71022         [BZ #13550]
71023         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
71024         definitions.
71025         (CHECK_BOUNDS_HIGH): Likewise.
71026         * string/strcpy.c: Do not include <bp-checks.h>.
71027         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
71029 2013-02-07  Roland McGrath  <roland@hack.frob.com>
71031         * nscd/nscd-client.h (__nscd_drop_map_ref):
71032         Add __attribute__ ((unused)).
71033         * nis/nss-nisplus.h (niserr2nss): Likewise.
71035         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
71036         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
71038         * csu/libc-tls.c (init_static_tls, init_slotinfo):
71039         Remove inline keyword.
71040         * include/rounding-mode.h (round_away): Likewise.
71041         * libio/wfileops.c (adjust_wide_data): Likewise.
71042         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
71043         (__m128i_strloadu_tolower): Likewise.
71044         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
71045         (__m128i_strloadu_tolower): Likewise.
71046         * time/mktime.c (ydhms_diff): Likewise.
71047         * locale/elem-hash.h (elem_hash): Likewise.
71048         * locale/setlocale.c (setdata): Likewise.
71049         * posix/regex_internal.h (re_string_char_size_at): Likewise.
71050         (re_string_wchar_at): Likewise.
71051         (bitset_not, bitset_merge, bitset_mask): Likewise.
71052         [!(__GNUC__ > 3)] (inline): Remove macro.
71053         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
71054         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
71055         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
71056         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
71057         * string/memcmp.c (memcmp_bytes): Likewise.
71058         * locale/programs/locarchive.c (compute_hashval): Likewise.
71059         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
71060         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
71061         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
71062         * nss/getent.c (print_rpc, print_protocols): Likewise.
71063         (print_passwd, print_group, print_aliases): Likewise.
71064         * nis/nss-nisplus.h (niserr2nss): Likewise.
71065         * nscd/connections.c (restart_p): Likewise.
71066         Change return type to bool.
71068 2013-02-05  Roland McGrath  <roland@hack.frob.com>
71070         * Makeconfig (all-Depend-files): Add existing
71071         $(sorted-subdirs:=/Depend) files.
71072         (all-subdirs): Remove nss.
71073         * sysdeps/unix/inet/Subdirs: Add it here instead.
71074         * hesiod/Depend: New file.
71076         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
71077         instead of calling alloca.
71079         * io/lseek.c (__lseek): Rename to __libc_lseek.
71080         Define __lseek as an alias.
71082         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
71084 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
71086         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
71087         else clause and remove check for non-standard endianness.
71089 2013-02-04  David S. Miller  <davem@davemloft.net>
71091         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71093 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
71095         [BZ #13550]
71096         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
71097         (__ubp_memchr): Remove prototype.
71098         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
71099         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71100         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
71101         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
71102         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
71103         Remove alias.
71104         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
71105         (__ubp_memchr): Likewise.
71106         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
71107         (__ubp_memchr): Likewise.
71108         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
71109         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
71110         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
71111         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
71112         CHECK_STRING.
71113         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
71114         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
71115         (__getcwd): Do not use CHECK_STRING.
71116         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
71117         <bp-checks.h>.
71118         (__real_chown): Do not use CHECK_STRING.
71119         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
71120         <bp-checks.h>.
71121         (fchownat): Do not use CHECK_STRING.
71122         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
71123         CHECK_STRING.
71124         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
71125         <bp-checks.h>.
71126         (__lchown): Do not use CHECK_STRING.
71127         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
71128         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
71129         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
71130         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
71131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
71132         include <bp-checks.h>.
71133         (truncate64): Do not use CHECK_STRING.
71134         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
71135         <bp-checks.h>.
71136         (__real_chown): Do not use CHECK_STRING.
71137         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
71138         <bp-checks.h>.
71139         (__lchown): Do not use CHECK_STRING.
71140         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
71141         <bp-checks.h>.
71142         (__chown): Do not use CHECK_STRING.
71143         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
71144         <bp-checks.h>.
71145         (truncate64): Do not use CHECK_STRING.
71146         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
71147         Likewise.
71148         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
71149         (__xmknod): Do not use CHECK_STRING.
71150         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
71151         <bp-checks.h>.
71152         (__xmknodat): Do not use CHECK_STRING.
71153         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
71154         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
71156 2013-02-04  Andreas Schwab  <schwab@suse.de>
71158         [BZ #14142]
71159         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
71160         * include/netdb.h: Likewise for h_errno.
71161         * elf/tst-stackguard1.c: Include <tls.h>.
71163 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
71165         * elf/link.h (struct link_map): Extend the l_addr comment.
71166         * include/link.h (struct link_map): Likewise.
71168 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
71170         [BZ #13550]
71171         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
71172         (BOUNDED_1): Remove macro.
71173         * debug/backtrace.c: Don't include <bp-checks.h>.
71174         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
71175         (__backtrace): Likewise.
71176         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
71177         <bp-checks.h>.
71178         (__backtrace): Don't use BOUNDED_1.
71179         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
71180         <bp-checks.h>.
71181         (__backtrace): Don't use BOUNDED_1.
71182         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
71183         (__backtrace): Don't use BOUNDED_1.
71184         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
71185         (shmat): Don't use BOUNDED_N.
71187 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
71189         [BZ #13550]
71190         * sysdeps/generic/bp-start.h: Remove file.
71191         * csu/libc-start.c: Don't include <bp-start.h>.
71192         (LIBC_START_MAIN): Set up __environ directly instead of using
71193         INIT_ARGV_and_ENVIRON.
71194         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
71195         <bp-start.h>.
71197         [BZ #13550]
71198         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
71199         definitions.
71200         (CHECK_FCNTL): Likewise.
71201         (CHECK_N_PAGES): Likewise.
71203         [BZ #13550]
71204         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
71205         definitions.
71206         (CHECK_SIGSET_NULL_OK): Likewise.
71207         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
71208         <bp-checks.h>.
71209         (sigpending): Don't use CHECK_SIGSET.
71210         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
71211         <bp-checks.h>.
71212         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71213         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
71214         <bp-checks.h>.
71215         (do_sigsuspend): Don't use CHECK_SIGSET.
71216         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
71217         use CHECK_SIGSET.
71218         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
71219         (do_sigwait): Don't use CHECK_SIGSET.
71220         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
71221         use CHECK_SIGSET.
71222         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
71223         include <bp-checks.h>.
71224         (sigpending): Don't use CHECK_SIGSET.
71225         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
71226         include <bp-checks.h>.
71227         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71228         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
71229         <bp-checks.h>.
71230         (sigpending): Don't use CHECK_SIGSET.
71231         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
71232         <bp-checks.h>.
71233         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
71235         [BZ #13550]
71236         * sysdeps/generic/bp-semctl.h: Remove file.
71237         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
71238         <bp-checks.h> and <bp-semctl.h>.
71239         (__old_semctl): Don't use CHECK_SEMCTL.
71240         (__new_semctl): Likewise.
71241         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
71242         and <bp-semctl.h>.
71243         (__old_semctl): Don't use CHECK_SEMCTL.
71244         (__new_semctl): Likewise.
71245         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
71246         <bp-checks.h> and <bp-semctl.h>.
71247         (__old_semctl): Don't use CHECK_SEMCTL.
71248         (__new_semctl): Likewise.
71249         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
71250         <bp-checks.h> and <bp-semctl.h>.
71251         (semctl): Don't use CHECK_SEMCTL.
71253         [BZ #13550]
71254         * Makerules (elide-bp-thunks): Remove variable.
71255         (elide-routines.oS): Don't use $(elide-bp-thunks).
71256         (elide-routines.os): Likewise.
71257         (elide-routines.o): Likewise.
71258         (elide-routines.op): Likewise.
71259         (elide-routines.og): Likewise.
71260         (objects): Don't use $(bp-thunks).
71261         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
71262         include.
71263         (common-generated): Do not add s-proto-bp.d.
71264         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
71265         (int): Likewise.
71266         (typ): Likewise.
71267         Do not generate makefile rules for bounded-pointer thunks.
71268         * sysdeps/generic/bp-thunks.h: Remove file.
71269         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
71270         * sysdeps/unix/s-proto-bp.S: Likewise.
71272         [BZ #15062]
71273         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
71274         parts of result separately when argument is not close to line from
71275         -i to i and one part of argument is small.
71276         * math/k_casinhf.c (__kernel_casinhf): Likewise.
71277         * math/k_casinhl.c (__kernel_casinhl): Likewise.
71278         * math/libm-test.inc (cacos_test): Add more tests.
71279         (casin_test): Likewise.
71280         (casinh_test): Likewise.
71281         * sysdeps/i386/fpu/libm-test-ulps: Update.
71282         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71284 2013-01-31  David S. Miller  <davem@davemloft.net>
71286         * po/de.po: Update from translation team.
71288 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
71290         * time/tzfile.c: Include stdint.h for SIZE_MAX.
71292 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
71294         * configure.in (_AC_PROG_CC_C89): New definition.
71295         * configure: Regenerate.
71297         * configure.in (AC_PROG_CPP): New definition.
71298         * configure: Regenerate.
71300 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71302         * debug/tst-backtrace.h: New file.
71303         * debug/tst-backtrace2.c: Include tst-backtrace.h.
71304         (ret): Remove variable.
71305         (x): Likewise.
71306         (FAIL): Remove macro.
71307         (NO_INLINE): Likewise.
71308         (fn1): Use match function instead of strstr.
71309         * debug/tst-backtrace3.c: Include tst-backtrace.h.
71310         (ret): Remove variable.
71311         (x): Likewise.
71312         (FAIL): Remove macro.
71313         (NO_INLINE): Likewise.
71314         (fn): Use match function instead of strstr.
71315         * debug/tst-backtrace4.c: Include tst-backtrace.h.
71316         (ret): Remove variable.
71317         (x): Likewise.
71318         (FAIL): Remove macro.
71319         (NO_INLINE): Likewise.
71320         (handle_signal): Use match function instead of strstr.
71321         * debug/tst-backtrace5.c: Include tst-backtrace.h.
71322         (ret): Remove variable.
71323         (x): Likewise.
71324         (FAIL): Remove macro.
71325         (NO_INLINE): Likewise.
71326         (handle_signal): Use match function instead of strstr.
71328 2013-01-23  Roland McGrath  <roland@hack.frob.com>
71330         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
71332 2013-01-23  David S. Miller  <davem@davemloft.net>
71334         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
71335         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
71336         argument of CAS if possible.
71337         * sysdeps/sparc/sparc64/bits/atomic.h
71338         (__arch_compare_and_exchange_val_32_acq): Likewise.
71339         (__arch_compare_and_exchange_val_64_acq): Likewise.
71341 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
71343         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
71344         * sysdeps/posix/ulimit.c: ... this.
71345         Include <limits.h>.
71346         * sysdeps/unix/bsd/ulimit.c: Remove file.
71348 2013-01-23  Adam Conrad  <adconrad@0c3.net>
71350         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
71351         (LDFLAGS-tst-array5): Likewise.
71353 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
71355         [BZ #15036]
71356         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
71357         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
71358         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
71359         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
71361 2013-01-21  David S. Miller  <davem@davemloft.net>
71363         * sysdeps/sparc/backtrace.c: New file.
71364         * sysdeps/sparc/sparc32/backtrace.h: New file.
71365         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
71366         * sysdeps/sparc/sparc64/backtrace.h: New file.
71367         * sysdeps/sparc/sparc64/backtrace.c: Delete.
71368         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
71369         -funwind-tables.
71371 2013-01-21  Andreas Schwab  <schwab@suse.de>
71373         [BZ #15020]
71374         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
71375         closed its stdout.
71377 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
71379         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
71380         "mpa2.h".
71381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71383 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
71384             Mark Mitchell  <mark@codesourcery.com>
71385             Tom de Vries  <tom@codesourcery.com>
71386             Paul Pluzhnikov  <ppluzhnikov@google.com>
71388         * debug/tst-backtrace2.c: New file.
71389         * debug/tst-backtrace3.c: Likewise.
71390         * debug/tst-backtrace4.c: Likewise.
71391         * debug/tst-backtrace5.c: Likewise.
71392         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
71393         (CFLAGS-tst-backtrace3.c): Likewise.
71394         (CFLAGS-tst-backtrace4.c): Likewise.
71395         (CFLAGS-tst-backtrace5.c): Likewise.
71396         (LDFLAGS-tst-backtrace2): Likewise.
71397         (LDFLAGS-tst-backtrace3): Likewise.
71398         (LDFLAGS-tst-backtrace4): Likewise.
71399         (LDFLAGS-tst-backtrace5): Likewise.
71400         (tests): Add new tests tst-backtrace2, tst-backtrace3,
71401         tst-backtrace4 and tst-backtrace5.
71403 2013-01-18  Anton Blanchard  <anton@samba.org>
71404             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
71406         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
71407         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
71408         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
71409         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
71410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
71411         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
71412         "+r" and remove output regs list as redundant.  Add explicit inline
71413         asm to specify register of return val to work around compiler codegen
71414         bug.  Remove (int) cast on return value.  Add return type parameter to
71415         use in macro so that this macro does not truncate return value for
71416         64-bit values.
71417         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
71418         pass to INTERNAL_VSYSCALL_NCS.
71419         (INLINE_VSYSCALL): Add 'long int' as return type to
71420         INTERNAL_VSYSCALL_NCS macro invocation.
71421         (INTERNAL_VSYSCALL): Add 'long int' as return type to
71422         INTERNAL_VSYSCALL_NCS macro invocation.
71423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
71425 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
71427         [BZ #14496]
71428         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
71429         Fix application of SIMD FP exception mask.
71431         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
71432         mp_no from a power of two.
71433         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
71434         __mpexp_twomm1.  Use __pow_mp.
71436         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
71437         multiplication.
71439 2013-01-17  David S. Miller  <davem@davemloft.net>
71441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71443 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71445         [BZ #15023]
71446         * include/complex.h: Condition contents on [!_COMPLEX_H].
71447         (__kernel_casinhf): New prototype.
71448         (__kernel_casinh): Likewise.
71449         (__kernel_casinhl): Likewise.
71450         * math/Makefile (libm_calls): Add k_casinh.
71451         * math/k_casinh.c: New file.
71452         * math/k_casinhf.c: Likewise.
71453         * math/k_casinhl.c: Likewise.
71454         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
71455         finite nonzero arguments.
71456         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
71457         finite nonzero arguments.
71458         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
71459         finite nonzero arguments.
71460         * math/s_casinh.c: Do not include <float.h>.
71461         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
71462         * math/s_casinhf.c: Do not include <float.h>.
71463         (__casinhf): Move code for finite nonzero arguments to
71464         k_casinhf.c.
71465         * math/s_casinhl.c: Do not include <float.h>.
71466         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
71467         redefine.
71468         (__casinhl): Move code for finite nonzero arguments to
71469         k_casinhl.c.
71470         * math/libm-test.inc (cacos_test): Add more tests.
71471         * sysdeps/i386/fpu/libm-test-ulps: Update.
71472         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71474 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
71476         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
71477         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
71478         [!HAVE_MREMAP]: Remove [defined linux] case.
71479         * malloc/arena.c: Do not include <malloc-sysdep.h>.
71481 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
71483         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
71485 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
71487         * elf/elf.h (R_386_SIZE32): New relocation.
71488         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
71489         R_386_SIZE32.
71490         (elf_machine_rela): Likewise.
71491         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
71492         R_X86_64_SIZE64 and R_X86_64_SIZE32.
71494 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
71496         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
71497         (FP_FAST_FMA): Do not define.
71498         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
71499         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
71500         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
71501         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
71502         !_SOFT_FLOAT]: Likewise.
71503         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
71504         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
71505         value.
71506         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
71507         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
71508         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
71509         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
71510         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
71511         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
71512         file.
71514 2013-01-16  Andreas Schwab  <schwab@suse.de>
71516         [BZ #14327]
71517         * include/stdlib.h (__mktemp): Add declaration.
71518         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
71519         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
71521 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71523         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
71524         definitions.
71525         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
71526         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
71527         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
71528         definitions here.
71529         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
71530         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
71531         definitions.
71532         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
71533         and ONE.
71534         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
71535         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
71536         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
71537         definitions.
71538         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
71539         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
71540         definitions.
71541         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
71543         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
71545 2013-01-15  David S. Miller  <davem@davemloft.net>
71547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71548         trunc{,f} to libm-sysdep_routes.
71549         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
71551         file.
71552         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
71553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
71554         file.
71555         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
71556         file.
71557         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
71558         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
71559         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
71560         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
71561         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
71562         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
71563         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
71564         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
71566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71567         nearbyint{,f} to libm-sysdep_routes.
71568         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
71570         New file.
71571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
71572         file.
71573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
71574         New file.
71575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
71576         file.
71577         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
71578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
71579         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
71580         file.
71581         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
71582         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
71583         file.
71584         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
71585         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
71586         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
71588         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
71589         libc_feholdexcept and libc_fesetenv.
71591 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
71593         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
71595 2013-01-14  David S. Miller  <davem@davemloft.net>
71597         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
71598         (SPARC_ASM_VIS2_IFUNC): Likewise.
71599         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
71600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
71601         use of 'siam' instruction.
71602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
71603         Likewise.
71604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
71605         Likewise.
71606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
71607         Likewise.
71608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
71609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
71610         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
71611         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
71612         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
71613         file.
71614         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
71615         file.
71616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
71617         file.
71618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
71619         file.
71620         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
71621         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
71622         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
71623         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
71624         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
71625         new VIS2 routines.
71626         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71629         Likewise.
71630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71631         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71633         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
71635         routines to libm-sysdep_routines.
71636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
71638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
71639         fdim/fdimf to libm-sysdep_routines.
71640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
71641         file.
71642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
71643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
71644         file.
71645         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
71646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
71647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
71648         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
71649         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
71650         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
71651         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
71653 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
71655         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
71656         to optimize copies.
71658         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
71659         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
71660         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
71662         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
71663         local variable MPTWO.
71664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
71665         Likewise.
71667 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71669         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
71670         GLOB_NOESCAPE.
71672 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71674         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
71676 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
71678         * manual/pattern.texi (glob_t): Document gl_flags.
71679         (glob64_t): Likewise.
71681 2013-01-11  David S. Miller  <davem@davemloft.net>
71683         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
71684         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
71685         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
71686         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
71687         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
71688         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
71689         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
71690         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
71691         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
71692         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
71693         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
71694         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
71695         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
71697         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71698         sparc V9 rather than using V8 code.
71699         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71700         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71702         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71703         Move to...
71704         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
71705         Here.
71707 2013-01-11  Roland McGrath  <roland@hack.frob.com>
71709         [BZ #14941]
71710         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
71711         not in the main loop.
71712         * configure: Regenerated.
71714 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
71716         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
71717         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
71718         to just #else.
71719         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
71720         [!__GLIBC_HAVE_LONG_LONG] case.
71721         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
71722         condition to just #else.
71723         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
71724         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
71725         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
71726         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
71727         unconditional.
71728         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
71729         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71730         #elif condition to just #else.
71731         * sysdeps/unix/sysv/linux/sys/sysmacros.h
71732         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
71733         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
71734         #elif condition to just #else.
71736 2013-01-11  Steve Ellcey  <sellcey@mips.com>
71738         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
71739         (EF_MIPS_ARCH_64): Fix value.
71740         (EF_MIPS_ARCH_32R2): New.
71741         (EF_MIPS_ARCH_64R2): New.
71743 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
71745         * Makeconfig (+link-pie-before-libc): New.
71746         (+link-pie-after-libc): Likewise.
71747         (+link-pie-tests): Likewise.
71748         (+link-pie): Rewritten.
71749         (link-before-libc): Remove $(config-LDFLAGS).
71750         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
71751         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
71752         (config-LDFLAGS): Renamed to ...
71753         (rtld-LDFLAGS): This.
71754         (rtld-tests-LDFLAGS): New macro.
71755         (link-libc-rpath-link): Likewise.
71756         (link-libc-tests-rpath-link): Likewise.
71757         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
71758         (link-libc): Prepand $(link-libc-rpath-link).
71759         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
71760         (test-program-prefix): New macro.
71761         (test-via-rtld-prefix): Likewise.
71762         (test-program-cmd): Likewise.
71763         (host-test-program-cmd): Likewise.
71764         * Makefile ($(common-objpfx)testrun.sh): Replace
71765         $(run-program-prefix) with $(test-program-prefix).
71766         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
71767         $(rtld-LDFLAGS).
71768         ($(common-objpfx)shlib.lds): Likewise.
71769         (build-module-helper): Likewise.
71770         ($(common-objpfx)format.lds): Likewise.
71771         * Rules (binaries-pie-tests): New.
71772         (binaries-pie-notests): Likewise.
71773         (binaries-pie): Rewritten.
71774         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
71775         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
71776         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
71777         (make-test-out): Replace $(host-built-program-cmd) with
71778         $(host-test-program-cmd).
71779         * config.make.in (build-hardcoded-path-in-tests): New variable.
71780         * configure.in (--enable-hardcoded-path-in-tests): New configure
71781         option.
71782         (hardcoded_path_in_tests): New AC_SUBST.
71783         * configure: Regenerated.
71784         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
71785         $(built-program-cmd) with $(test-program-cmd).
71786         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
71787         (test_program_cmd): This.
71788         * elf/Makefile ($(objpfx)order.out): Run test with
71789         $(test-program-prefix).
71790         ($(objpfx)order2.out): Likewise.
71791         ($(objpfx)tst-initorder.out): Likewise.
71792         ($(objpfx)tst-initorder2.out): Likewise.
71793         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
71794         $(test-program-cmd).
71795         ($(objpfx)tst-array1-static.out): Likewise.
71796         ($(objpfx)tst-array2.out): Likewise.
71797         ($(objpfx)tst-array3.out): Likewise.
71798         ($(objpfx)tst-array4.out): Likewise.
71799         ($(objpfx)tst-array5.out): Likewise.
71800         ($(objpfx)tst-array5-static.out): Likewise.
71801         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
71802         $(test-program-cmd).
71803         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
71804         $(run-program-prefix) with $(test-program-prefix).
71805         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
71806         (test_program_prefix): This.
71807         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
71808         $(run-program-prefix) with $(test-program-prefix).
71809         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
71810         (test_program_prefix): This.
71811         * iconvdata/tst-tables.sh: Likewise.
71812         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
71813         $(run-program-prefix) with $(test-program-prefix).
71814         ($(objpfx)tst-translit.out): Likewise.
71815         ($(objpfx)tst-gettext2.out): Likewise.
71816         ($(objpfx)tst-gettext4.out): Likewise.
71817         ($(objpfx)tst-gettext6.out): Likewise.
71818         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
71819         (test_program_prefix): This.
71820         * intl/tst-gettext2.sh: Likewise.
71821         * intl/tst-gettext4.sh  Likewise.
71822         * intl/tst-gettext6.sh: Likewise.
71823         * intl/tst-translit.sh: Likewise.
71824         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
71825         with $(test-program-cmd).
71826         * libio/Makefile ($(objpfx)test-freopen.out): Replace
71827         $(run-program-prefix) with $(test-program-prefix).
71828         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
71829         (test_program_prefix): This.
71830         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
71831         $(run-program-prefix) with $(test-program-prefix).
71832         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
71833         (test_program_prefix): This.
71834         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
71835         * posix/Makefile ($(objpfx)globtest.out): Replace
71836         $(run-via-rtld-prefix) and $(test-wrapper) with
71837         $(test-program-prefix) and $(test-via-rtld-prefix).
71838         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
71839         $(test-program-prefix).
71840         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
71841         $(host-test-program-cmd).
71842         (tst-spawn-ARGS): Likewise.
71843         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
71844         $(test-program-prefix).
71845         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
71846         (test_via_rtld_prefix): This.
71847         (test_wrapper): Renamed to ...
71848         (test_program_prefix): This.
71849         (run_program_prefix): Replaced by test_program_prefix.
71850         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
71851         (test_program_prefix): This.
71852         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
71853         with $(host-test-program-cmd).
71854         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
71855         $(run-program-prefix) with $(test-program-prefix).
71856         ($(objpfx)tst-printf.out): Likewise.
71857         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
71858         $(test-program-cmd).
71859         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
71860         (test_program_prefix): This.
71861         * stdio-common/tst-unbputc.sh: Likewise.
71862         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
71863         $(run-program-prefix) with $(test-program-prefix).
71864         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
71865         (test_program_prefix): This.
71866         * string/Makefile ($(objpfx)tst-svc.out):  Replace
71867         $(built-program-cmd) with $(test-program-cmd).
71869 2013-01-11  Andreas Jaeger  <aj@suse.de>
71871         [BZ #15003]
71872         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
71873         value. Sync with Linux 3.7.
71875 2013-01-10  David S. Miller  <davem@davemloft.net>
71877         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
71878         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71879         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71881 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71883         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
71884         never set.
71885         * configure: Regenerated.
71887 2013-01-10  David S. Miller  <davem@davemloft.net>
71889         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
71890         sparc V9 rather than using V8 code.
71891         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
71892         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
71894 2013-01-10  Roland McGrath  <roland@hack.frob.com>
71896         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
71897         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
71898         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
71899         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
71900         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
71901         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
71902         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
71903         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
71904         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
71905         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
71906         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
71907         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
71908         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
71909         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
71910         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
71911         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
71912         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
71913         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
71914         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
71915         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
71916         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
71917         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
71918         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
71919         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
71920         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
71921         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
71922         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
71924 2013-01-10  David S. Miller  <davem@davemloft.net>
71926         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71928 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71930         * posix/Makefile (tests-static): New variable.
71931         (tests): Add $(tests-static).
71932         (tst-exec-static-ARGS): New variable.
71933         (tst-spawn-static-ARGS): Likewise.
71934         * posix/tst-exec-static.c: New file.
71935         * posix/tst-spawn-static.c: Likewise.
71936         * posix/tst-exec.c: Support run directly.
71937         * posix/tst-spawn.c: Likewise.
71939 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
71941         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
71942         long.
71943         * math/bits/mathcalls.h (llrint): Likewise.
71944         (llround): Likewise.
71945         * stdlib/stdlib.h (struct drand48_data): Likewise.
71946         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
71947         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
71948         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
71949         Likewise.
71950         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
71951         Likewise.
71952         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
71953         (elf_greg_t): Likewise.
71954         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
71955         (__jmp_buf): Likewise.
71956         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
71957         definitions.
71958         (llrint): Likewise, for all definitions.
71959         (llrintl): Likewise.
71961         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
71962         Remove [__GNUC__] condition.
71963         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
71964         condition to just [__USE_ISOC99].
71965         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
71967 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
71969         [BZ #14200]
71970         * sysdeps/unix/sysv/linux/x86/bits/environments.h
71971         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
71972         defined.
71973         (_POSIX_V6_ILP32_OFF32): Likewise.
71974         (_XBS5_ILP32_OFF32): Likewise.
71975         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
71976         (__ILP32_OFFBIG_LDFLAGS): Likewise.
71978 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
71980         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
71982         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
71983         doubles __mpexp_twomm1.  Adjust usage.
71984         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
71985         Remove.
71987 2013-01-10  Andreas Schwab  <schwab@suse.de>
71989         [BZ #14964]
71990         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
71991         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
71993 2013-01-09  David S. Miller  <davem@davemloft.net>
71995         [BZ #15003]
71996         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
71997         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
71998         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
71999         (TCP_FASTOPEN): Define.
72000         (tcp_repair_opt): New structure.
72001         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
72002         enum values.
72003         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
72004         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
72005         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
72006         (tcp_cookie_transactions): New structure.
72008 2013-01-09  Anton Blanchard  <anton@samba.org>
72010         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
72011         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
72012         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
72013         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
72015 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
72017         * include/features.h (__USE_ANSI): Remove.
72019 2013-01-09  Roland McGrath  <roland@hack.frob.com>
72021         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
72023         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
72025 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
72027         * sysdeps/s390/fpu/libm-test-ulps: Update.
72029         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72031         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
72032         (__acr): Likewise.
72033         (__cpy): Likewise.
72034         (norm): Likewise.
72035         (denorm): Likewise.
72036         (__mp_dbl): Likewise.
72037         (__dbl_mp): Likewise.
72038         (add_magnitudes): Likewise.
72039         (sub_magnitudes): Likewise.
72040         (__add): Likewise.
72041         (__sub): Likewise.
72042         (__mul): Likewise.
72043         (__inv): Likewise.
72044         (__dvd): Likewise.
72045         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
72046         (__acr): Likewise.
72047         (__cpy): Likewise.
72048         (norm): Likewise.
72049         (denorm): Likewise.
72050         (__mp_dbl): Likewise.
72051         (__dbl_mp): Likewise.
72052         (add_magnitudes): Likewise.
72053         (sub_magnitudes): Likewise.
72054         (__add): Likewise.
72055         (__sub): Likewise.
72056         (__mul): Likewise.
72057         (__inv): Likewise.
72058         (__dvd): Likewise.
72059         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
72060         (__acr): Likewise.
72061         (__cpy): Likewise.
72062         (norm): Likewise.
72063         (denorm): Likewise.
72064         (__mp_dbl): Likewise.
72065         (__dbl_mp): Likewise.
72066         (add_magnitudes): Likewise.
72067         (sub_magnitudes): Likewise.
72068         (__add): Likewise.
72069         (__sub): Likewise.
72070         (__mul): Likewise.
72071         (__inv): Likewise.
72072         (__dvd): Likewise.
72074 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
72076         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
72077         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
72078         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
72079         2 && __USE_EXTERN_INLINES]: Likewise.
72081 2013-01-08  Andreas Jaeger  <aj@suse.de>
72083         [BZ #14985]
72084         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
72085         Remove.
72086         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72087         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
72089 2013-01-07  Anton Blanchard  <anton@samba.org>
72091         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
72092         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
72093         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
72094         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
72095         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
72096         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
72097         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
72098         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72100         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72101         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
72102         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
72103         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
72104         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
72105         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
72106         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
72107         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
72108         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
72109         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
72110         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
72111         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
72112         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
72113         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
72114         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
72115         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
72116         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
72117         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
72118         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
72119         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
72120         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
72121         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
72122         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72123         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72124         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
72125         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
72126         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
72127         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
72128         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
72129         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
72130         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
72131         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
72132         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
72133         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
72135 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
72137         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
72138         (__MALLOC_PMT): Likewise.
72139         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
72140         [__GNUC__], only on [_LIBC].
72141         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72142         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
72143         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
72144         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
72145         forward declaration.
72146         (realloc_hook_ini): Likewise.
72147         (memalign_hook_ini): Likewise.
72148         (__libc_memalign): Do not use __MALLOC_PMT in variable
72149         declaration.
72150         (__libc_valloc): Likewise.
72151         (__libc_pvalloc): Likewise.
72152         (__libc_calloc): Likewise.
72153         (__posix_memalign): Likewise.
72155         [BZ #14996]
72156         * math/s_casinh.c: Include <float.h>.
72157         (__casinh): Do not do computation with squaring and square root
72158         for large arguments.
72159         * math/s_casinhf.c: Include <float.h>.
72160         (__casinhf): Do not do computation with squaring and square root
72161         for large arguments.
72162         * math/s_casinhl.c: Include <float.h>.
72163         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
72164         (__casinhl): Do not do computation with squaring and square root
72165         for large arguments.
72166         * math/libm-test.inc (casin_test): Add more tests.
72167         (casinh_test): Likewise.
72168         * sysdeps/i386/fpu/libm-test-ulps: Update.
72169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72171 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
72173         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
72174         (__x86_64_raw_data_cache_size): Likewise.
72175         (__x86_64_data_cache_size_half): Likewise.
72176         (__x86_64_raw_data_cache_size_half): Likewise.
72177         (__x86_64_shared_cache_size): Likewise.
72178         (__x86_64_raw_shared_cache_size): Likewise.
72179         (__x86_64_shared_cache_size_half): Likewise.
72180         (__x86_64_raw_shared_cache_size_half): Likewise.
72181         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
72182         to ...
72183         (__x86_data_cache_size): This.
72184         (__x86_64_raw_data_cache_size): Renamed to ...
72185         (__x86_raw_data_cache_size): This.
72186         (__x86_64_data_cache_size_half): Renamed to ...
72187         (__x86_data_cache_size_half): This.
72188         (__x86_64_raw_data_cache_size_half): Renamed to ...
72189         (__x86_raw_data_cache_size_half): This.
72190         (__x86_64_shared_cache_size): Renamed to ...
72191         (__x86_shared_cache_size): This.
72192         (__x86_64_raw_shared_cache_size): Renamed to ...
72193         (__x86_raw_shared_cache_size): This.
72194         (__x86_64_shared_cache_size_half): Renamed to ...
72195         (__x86_shared_cache_size_half): This.
72196         (__x86_64_raw_shared_cache_size_half): Renamed to ...
72197         (__x86_raw_shared_cache_size_half): This.
72198         * sysdeps/x86_64/memcpy.S: Updated.
72199         * sysdeps/x86_64/memset.S: Likewise.
72200         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
72201         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
72202         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
72204 2013-01-04  David S. Miller  <davem@davemloft.net>
72206         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72208 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
72210         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
72211         1 to avoid redefinition warning.
72212         (__USE_GNU): Don't define.
72213         (init_signaling_nan): Protoize.
72215         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72217 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72219         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
72220         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
72221         (__cpymn): Likewise.
72222         (norm): Remove commented code.
72223         (denorm): Likewise.
72224         (__mp_dbl): Likewise.
72225         (__inv): Likewise.
72226         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
72227         (__cpymn): Likewise.
72228         (norm): Remove commented code.
72229         (denorm): Likewise.
72230         (__mp_dbl): Likewise.
72231         (__inv): Likewise.
72233         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
72234         mp_no value for 1.0 and 2.0.
72235         (norm): Use RADIXI instead of radixi.d.
72236         (denorm): Likewise.
72237         (__mul): Use 0.0 instead of zero.d.
72238         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
72239         mp_no value for 1.0 and 2.0.
72240         (norm): Use RADIXI instead of radixi.d.
72241         (denorm): Likewise.
72242         (__mul): Use 0.0 instead of zero.d.
72244 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
72246         [BZ #14994]
72247         * math/s_casinh.c (__casinh): Reduce finite argument to first
72248         quadrant then set signs of results at the end.
72249         * math/s_casinhf.c (__casinhf): Likewise.
72250         * math/s_casinhl.c (__casinhl): Likewise.
72251         * math/libm-test.inc (casin_test): Add more tests.
72252         (casinh_test): Likewise.
72253         * sysdeps/i386/fpu/libm-test-ulps: Update.
72254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72256 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
72258         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
72260         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
72262         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
72263         declarations.
72264         (denorm): Likewise.
72265         (__mp_dbl): Likewise.
72266         (__inv): Likewise.
72268         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
72269         and adjust the header comment.
72271         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
72272         variable name from declaration.
72274 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
72276         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
72277         Initialize COMMON_CPUID_INDEX_7 element.
72278         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
72279         (CPUID_RTM): Likewise.
72280         (HAS_RTM): Likewise.
72281         (COMMON_CPUID_INDEX_7): New enum.
72283 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
72285         [BZ #14981]
72286         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
72287         size is zero, record memory as freed.
72289 2013-01-03  Andreas Jaeger  <aj@suse.de>
72291         * po/ia.po: Add new Interlingua translation.
72293 2012-01-03  Allan McRae  <allan@archlinux.org>
72295         * locale/programs/localedef.c: Fix description of '--posix' flag.
72297 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
72299         * NEWS: Update dates in second copyright notice.
72300         * README: Update copyright dates in example.
72301         * manual/libc.texinfo: Update copyright dates.
72302         * scripts/test-installation.pl: Update copyright date in --version
72303         output.
72305         * hurd/ctty-input.c: Fix copyright notice formatting.
72306         * hurd/ctty-output.c: Likewise.
72307         * hurd/dtable.c: Likewise.
72308         * hurd/hurd-raise.c: Likewise.
72309         * hurd/hurdprio.c: Likewise.
72310         * hurd/msgportdemux.c: Likewise.
72311         * misc/sys/file.h: Likewise.
72312         * misc/sys/ioctl.h: Likewise.
72313         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
72314         * sysdeps/mach/hurd/chdir.c: Likewise.
72315         * sysdeps/mach/hurd/fchdir.c: Likewise.
72316         * sysdeps/mach/hurd/rename.c: Likewise.
72317         * sysdeps/mach/hurd/rmdir.c: Likewise.
72318         * sysdeps/mach/hurd/seekdir.c: Likewise.
72319         * sysdeps/mach/hurd/setsid.c: Likewise.
72320         * sysdeps/posix/wait3.c: Likewise.
72322         * All files with FSF copyright notices: Update copyright dates
72323         using scripts/update-copyrights.
72324         * intl/plural.c: Regenerated.
72325         * locale/programs/charmap-kw.h: Likewise.
72326         * locale/programs/locfile-kw.h: Likewise.
72328 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
72330         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
72331         four values.
72333         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
72334         calculation loop and add branch prediction.
72336         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
72337         check access beyond bounds of m1np.
72339         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72340         MPTWO.
72341         (__inv): Remove local variable MPTWO to use the global
72342         constant.
72343         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
72344         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72345         variable MPTWO.
72346         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
72347         MP3HALFS static const.
72349 2013-01-01  David S. Miller  <davem@davemloft.net>
72351         * po/ca.po: Update from translation team.
72353 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
72355         * scripts/update-copyrights: New file.
72356         * Makeconfig: Reformat copyright notice.
72357         * ctype/ctype.h: Likewise.
72358         * debug/swprintf_chk.c: Likewise.
72359         * elf/dl-cache.c: Likewise.
72360         * elf/dl-debug.c: Likewise.
72361         * elf/dl-object.c: Likewise.
72362         * grp/initgroups.c: Likewise.
72363         * hurd/Makefile: Likewise.
72364         * hurd/hurd/signal.h: Likewise.
72365         * hurd/hurdfault.c: Likewise.
72366         * hurd/hurdioctl.c: Likewise.
72367         * hurd/hurdlookup.c: Likewise.
72368         * hurd/intr-msg.c: Likewise.
72369         * iconv/gconv_open.c: Likewise.
72370         * libio/swprintf.c: Likewise.
72371         * locale/lc-ctype.c: Likewise.
72372         * locale/nl_langinfo.c: Likewise.
72373         * mach/Machrules: Likewise.
72374         * mach/Makefile: Likewise.
72375         * malloc/obstack.h: Likewise.
72376         * manual/Makefile: Likewise.
72377         * manual/tsort.awk: Likewise.
72378         * misc/bits/stab.def: Likewise.
72379         * nis/nis_print_group_entry.c: Likewise.
72380         * nis/nis_table.c: Likewise.
72381         * nis/nss_compat/compat-pwd.c: Likewise.
72382         * nis/nss_compat/compat-spwd.c: Likewise.
72383         * po/Makefile: Likewise.
72384         * posix/fnmatch.c: Likewise.
72385         * posix/regex.h: Likewise.
72386         * resolv/Makefile: Likewise.
72387         * resolv/nss_dns/dns-network.c: Likewise.
72388         * resolv/res_hconf.c: Likewise.
72389         * scripts/gen-sorted.awk: Likewise.
72390         * soft-fp/soft-fp.h: Likewise.
72391         * stdio-common/printf.h: Likewise.
72392         * stdlib/monetary.h: Likewise.
72393         * stdlib/random.c: Likewise.
72394         * stdlib/random_r.c: Likewise.
72395         * sysdeps/generic/Makefile: Likewise.
72396         * sysdeps/gnu/Makefile: Likewise.
72397         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72398         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72399         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72400         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72401         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72402         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72403         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72404         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72405         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72406         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72407         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
72408         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
72409         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
72410         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
72411         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
72412         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
72413         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
72414         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72415         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72416         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72417         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72418         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72419         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72420         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
72421         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
72422         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
72423         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
72424         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
72425         * sysdeps/mach/hurd/errnos.awk: Likewise.
72426         * sysdeps/mach/hurd/fork.c: Likewise.
72427         * sysdeps/mach/hurd/getcwd.c: Likewise.
72428         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
72429         * sysdeps/mach/hurd/mmap.c: Likewise.
72430         * sysdeps/mach/hurd/utimes.c: Likewise.
72431         * sysdeps/mach/hurd/xmknod.c: Likewise.
72432         * sysdeps/posix/profil.c: Likewise.
72433         * sysdeps/posix/readdir_r.c: Likewise.
72434         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72435         * sysdeps/powerpc/bits/setjmp.h: Likewise.
72436         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
72437         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
72438         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
72439         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72440         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72441         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
72442         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
72443         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72444         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72445         * sysdeps/pthread/lio_listio.c: Likewise.
72446         * sysdeps/sparc/dl-procinfo.h: Likewise.
72447         * sysdeps/unix/i386/sysdep.S: Likewise.
72448         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
72449         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
72450         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
72451         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
72452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72453         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
72454         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
72455         * sysdeps/unix/sysv/linux/speed.c: Likewise.
72456         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
72457         * sysdeps/wordsize-32/divdi3.c: Likewise.
72458         * time/sys/time.h: Likewise.
72459         * wcsmbs/Makefile: Likewise.
72461 2013-01-01  David S. Miller  <davem@davemloft.net>
72463         * po/fr.po: Update from translation team.
72465         * catgets/gencat.c: Update copyright year.
72466         * csu/version.c: Likewise.
72467         * debug/catchsegv.sh: Likewise.
72468         * debug/pcprofiledump.c: Likewise.
72469         * debug/xtrace.sh: Likewise.
72470         * elf/ldconfig.c: Likewise.
72471         * elf/ldd.bash.in: Likewise.
72472         * elf/pldd.c: Likewise.
72473         * elf/sotruss.ksh: Likewise.
72474         * elf/sprof.c: Likewise.
72475         * iconv/iconv_prog.c: Likewise.
72476         * iconv/iconvconfig.c: Likewise.
72477         * locale/programs/locale.c: Likewise.
72478         * locale/programs/localedef.c: Likewise.
72479         * login/programs/pt_chown.c: Likewise.
72480         * malloc/memusage.sh: Likewise.
72481         * malloc/memusagestat.c: Likewise.
72482         * malloc/mtrace.pl: Likewise.
72483         * nscd/nscd.c: Likewise.
72484         * nss/getent.c: Likewise.
72485         * nss/makedb.c: Likewise.
72486         * posix/getconf.c: Likewise.
72488 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
72490         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
72491         numbers.
72493 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
72495         * math/bits/mathcalls.h (modf): Use __nonnull.
72497 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
72499         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
72500         (split): Use macro CN instead of the bare value.
72501         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
72502         could be used.
72503         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
72504         instead of the bare value.
72505         (power1): Likewise.
72507 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72509         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
72510         __ATAN_TWOM.
72511         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72513         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
72514         their values.
72515         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
72516         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
72517         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
72518         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
72520 2012-12-28  Andreas Jaeger  <aj@suse.de>
72522         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
72523         values are from Linux 3.7.
72525         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
72526         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
72528 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72530         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
72531         TRUE case.
72533         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
72534         (norm): Likewise.
72535         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
72536         variables with preprocessor constants.
72537         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
72538         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
72539         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
72541 2012-12-27  Bruno Haible  <bruno@clisp.org>
72543         [BZ #14317]
72544         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
72545         only if needed.
72547 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
72550         and use variable directly.
72551         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
72553         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
72554         MPONE.
72555         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
72556         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
72557         variable MPONE.
72558         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
72559         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
72560         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
72561         include directive.  Remove local variable MPONE.
72562         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
72563         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
72564         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
72566 2012-12-25  David S. Miller  <davem@davemloft.net>
72568         * version.h (RELEASE): Set to "development".
72569         (VERSION): Set to "2.17.90".
72570         * NEWS: Add 2.18 section.
72572 2012-12-21  David S. Miller  <davem@davemloft.net>
72574         * po/hr.po: Update from translation team.
72576 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
72578         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
72580 2012-12-19  Steve Ellcey  <sellcey@mips.com>
72582         * NEWS:  Mention new memcpy for MIPS.
72584 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
72586         * manual/contrib.texi (Contributors): Spelling correction.
72588 2012-12-15  David S. Miller  <davem@davemloft.net>
72590         * po/ru.po: Update from translation team.
72592 2012-12-13  David S. Miller  <davem@davemloft.net>
72594         * NEWS: Mention IFUNC testsuite enhancements.
72596         * po/pl.po: Update from translation team.
72597         * po/bg.po: Likewise.
72599         * manual/contrib.texi (Contributors): Update entries for Hongjiu
72600         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
72602 2012-12-11  David S. Miller  <davem@davemloft.net>
72604         * po/sv.po: Update from translation team.
72606         * po/vi.po: Update from translation team.
72608         * po/cs.po: Update from translation team.
72610         * po/de.po: Update from translation team.
72611         * po/eo.po: Likewise.
72612         * po/nl.po: Likewise.
72614 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
72616         [BZ #14246]
72617         * manual/argp.texi (Argp Helper Functions): Move node to follow
72618         Argp Parsing State.
72620         [BZ #14872]
72621         * manual/conf.texi (Limits on File System Capacity): Mention if
72622         terminating null is included in the max size.
72624 2012-12-10  Andreas Jaeger  <aj@suse.de>
72626         * po/cs.po: Update from translation team.
72628 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
72630         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
72631         void pointer and cast to uintptr_t.
72632         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
72633         path.
72634         * sysdeps/s390/s390-64/memcpy.S: Likewise.
72635         * sysdeps/s390/s390-64/memset.S: Likewise.
72637 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
72639         [BZ #14833]
72640         * menual/message.texi (Message Translation): Fix typos.
72641         (Helper programs for gettext): Likewise.
72643 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
72645         [BZ #14898]
72646         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
72647         Change to -1.
72649 2012-12-07  David S. Miller  <davem@davemloft.net>
72651         * po/libc.pot: Update.
72653 2012-12-07  Richard Henderson  <rth@redhat.com>
72655         [BZ #10114]
72656         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
72657         normal/normal case to before the switch.
72658         (_FP_DIV): Likewise.
72660 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
72661             Mike Frysinger  <vapier@gentoo.org>
72663         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
72664         check for __NR_fadvise64_64.
72666 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
72668         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
72669         0, not just to plain "0" as a statement.
72670         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
72671         with cw.
72673 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
72675         * NEWS: Use sourceware.org in Bugzilla URL.
72677 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
72679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
72680         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72682         * stdio-common/tst-put-error.c (do_test): Add newline to the
72683         padded test to ensure flush.
72685 2012-12-05  Jeff Law  <law@redhat.com>
72687         * sunrpc/etc.rpc (fedfs_admin): Add entry.
72689 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
72691         * README: Don't refer to ports add-on as distributed separately.
72692         Mention AArch64 in list of systems supported in the ports add-on.
72694         * LICENSES: Add more non-FSF copyright and license notices.
72696         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
72697         ((unused)).
72699         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
72701         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
72702         10000 as width of padded output.
72704 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
72706         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
72708         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
72709         variable LX with __attribute__ ((unused)).
72710         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
72711         Likewise.
72712         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
72713         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72714         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
72715         with __attribute__ ((unused)).
72717 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
72719         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
72721 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
72723         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
72724         (CFLAGS-nldbl-acos.c): New variable.
72725         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
72726         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
72727         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
72728         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
72729         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
72730         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
72731         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
72732         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
72733         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
72734         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
72735         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
72736         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
72737         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
72738         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
72739         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
72740         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
72741         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
72742         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
72743         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
72744         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
72745         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
72746         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
72747         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
72748         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
72749         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
72750         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
72751         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
72752         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
72753         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
72754         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
72755         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
72756         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
72757         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
72758         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
72759         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
72760         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
72761         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
72762         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
72763         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
72764         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
72765         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
72766         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
72767         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
72768         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
72769         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
72770         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
72771         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
72772         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
72773         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
72774         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
72775         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
72776         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
72777         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
72778         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
72779         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
72780         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
72781         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
72782         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
72783         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
72784         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
72785         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
72786         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
72787         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
72788         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
72789         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
72790         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
72791         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
72792         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
72793         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
72794         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
72795         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
72796         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
72797         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
72798         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
72799         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
72800         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
72801         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
72802         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
72803         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
72804         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
72805         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
72806         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
72807         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
72808         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
72809         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
72810         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
72811         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
72812         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
72813         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
72814         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
72815         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
72816         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
72817         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
72818         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
72819         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
72820         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
72821         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
72823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
72824         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
72826         [BZ #14914]
72827         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
72828         whole low double instead of just low 47 bits when splitting values
72829         into two parts.
72831 2012-12-03  Allan McRae  <allan@archlinux.org>
72833         * manual/stdio.texi (Predefined Printf Handlers): Remove
72834         @hsep and @vsep usage.
72836 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
72838         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
72839         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
72841 2012-12-03  Jeff Law  <law@redhat.com>
72843         * time/sys/time.h (settimeofday): Do not mark TV argument
72844         as __nonnull.
72846 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
72848         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
72849         when currently writing and seek to current position when not.
72850         * libio/Makefile (tests): Remove bug-fclose1.
72851         * libio/bug-fclose1.c: Delete.
72853 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
72855         * manual/arith.texi (feenableexcept): Fix typo.
72856         (fedisableexcept): Likewise.
72858 2012-11-30  Roland McGrath  <roland@hack.frob.com>
72860         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
72861         second, differently-typed declaration, rather than a cast.
72863 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
72865         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
72866         * include/rpc/svc.h: ... here.
72868 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
72870         [BZ #13013]
72871         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
72872         depending n and resplen2 to catch cases where answer
72873         equals answerp2.
72875 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
72877         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
72878         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
72880 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
72882         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
72884 2012-11-29  Roland McGrath  <roland@hack.frob.com>
72886         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
72888 2012-11-28  Jeff Law  <law@redhat.com>
72890         [BZ #13761]
72891         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
72892         dataset_temporary.  Track alloca usage into alloca_used.
72893         If dataset is large allocate and release it via malloc/free.
72895 2012-06-04  Florian Weimer  <fweimer@redhat.com>
72897         [BZ #14197]
72898         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
72900 2012-11-28  David S. Miller  <davem@davemloft.net>
72902         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72904 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72906         [BZ #14803]
72907         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
72908         of pi/2 rounded to nearest to 64 bits.
72909         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
72910         nearest to 64 bits.
72911         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
72912         bits.
72914 2012-11-28  Jeff Law <law@redhat.com>
72915             Martin Osvald <mosvald@redhat.com>
72917         [BZ #14889]
72918         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
72919         * sunrpc/svc.c: Include time.h.
72920         (__svc_accept_failed): New function.
72921         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
72922         any reason other than EINTR, call __svc_accept_failed.
72923         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
72924         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
72926 2012-11-28  Andreas Schwab  <schwab@suse.de>
72928         * scripts/abilist.awk: Also handle indirect functions in .opd
72929         section.
72931 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
72933         [BZ #13881]
72934         * sysdeps/x86/fpu/powl_helper.c: New file.
72935         * sysdeps/x86/fpu/Makefile: Likewise.
72936         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
72937         (p3): New object.
72938         (__ieee754_powl): Use __powl_helper for finite arguments except
72939         integer exponents below 8.
72940         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
72941         (p3): New object.
72942         (__ieee754_powl): Use __powl_helper for finite arguments except
72943         integer exponents below 8.
72944         * math/libm-test.inc (pow_test): Add more tests and enable some
72945         previously disabled tests.
72946         * sysdeps/i386/fpu/libm-test-ulps: Update.
72947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72949 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
72950             Carlos O'Donell  <carlos_odonell@mentor.com>
72952         * nss/makedb.c (is_prime): Assert that input is odd and greater
72953         than 4.  Note that fact in a comment too.
72954         (next_prime): Add 4 to input.
72956 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
72958         [BZ #11741]
72959         * libio/Makefile (tests): Add test case tst-fwrite-error.
72960         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
72961         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
72962         * libio/tst-fwrite-error.c: New test case.
72964 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
72966         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
72967         before casting to void *.
72968         * include/libc-internal.h (__pointer_type): New macro.
72969         (__integer_if_pointer_type_sub): Likewise.
72970         (__integer_if_pointer_type): Likewise.
72971         (cast_to_integer): Likewise.
72972         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
72973         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
72974         before casting to atomic64_t.
72975         (atomic_exchange_acq): Likewise.
72976         (__arch_exchange_and_add_body): Likewise.
72977         (__arch_add_body): Likewise.
72978         (atomic_add_negative): Likewise.
72979         (atomic_add_zero): Likewise.
72981 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
72983         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
72984         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
72985         (add_fdes): Likewise.
72986         (linear_search_fdes): Likewise.
72987         (binary_search_unencoded_fdes): Likewise.
72989 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
72991         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
72993 2012-11-24  Adam Conrad  <adconrad@0c3.net>
72995         * configure.in: Autodetect C++ header directories.
72996         * configure: Regenerated.
72998 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
73000         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
73002 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
73004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73006 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
73008         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
73009         LDBL_MANT_DIG == 106]: Disable some tests.
73010         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73011         Likewise.
73012         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
73013         Likewise.
73015         [BZ #14871]
73016         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
73017         input for small inputs.  Return +/- pi/2 for large inputs.
73018         * math/libm-test.inc (atan_test): Add more tests.
73020         * sysdeps/generic/unwind-dw2-fde-glibc.c
73021         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
73022         __attribute__ ((unused)).
73024         [BZ #14645]
73025         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
73026         x * y if x and y are nonzero and z is zero.
73028         [BZ #14811]
73029         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
73030         nonzero exponents with absolute value below 0x1p-117 to +/-
73031         0x1p-117.
73033         [BZ #14869]
73034         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
73035         up arguments below 2**-450, not just those below 2**-500.
73036         * math/libm-test.inc (hypot_test): Add another test.
73038         [BZ #14868]
73039         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
73040         Return a+b for ratio over 2**120, not 2**60.
73041         * math/libm-test.inc (hypot_test): Add another test.
73043         * math/libm-test.inc (clog_test): Use
73044         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
73045         (clog10_test): Likewise.
73047         [BZ #6778]
73048         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
73050 2012-11-22  Andreas Schwab  <schwab@suse.de>
73052         * sysdeps/i386/fpu/libm-test-ulps: Update.
73054 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
73056         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
73057         printf output with newline.
73059 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
73061         [BZ #14865]
73062         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
73063         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
73064         -z nodlopen, -z initfirst and -z execstack support.
73065         * configure: Regenerated.
73067         * elf/elf.h (DF_1_NODIRECT): New macro.
73068         (DF_1_IGNMULDEF): Likewise.
73069         (DF_1_NOKSYMS): Likewise.
73070         (DF_1_NOHDR): Likewise.
73071         (DF_1_EDITED): Likewise.
73072         (DF_1_NORELOC): Likewise.
73073         (DF_1_SYMINTPOSE): Likewise.
73074         (DF_1_GLOBAUDIT): Likewise.
73075         (DF_1_SINGLETON): Likewise.
73076         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
73077         DT_1_SUPPORTED_MASK bits.
73078         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
73080 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
73082         * sysdeps/unix/make-syscalls.sh: Document prefixes.
73084 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
73086         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
73087         macro.
73089         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
73090         (sendmmsg): Move declarations...
73091         * socket/sys/socket.h: ... here.
73092         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
73093         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
73094         include it from...
73095         * socket/recvmmsg.c: ... this new file.
73096         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
73097         (sendmmsg): Rename to __sendmmsg, create weak alias and make
73098         definition of __sendmmsg hidden.
73099         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
73100         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
73101         Move ENOSYS stub into and include it from...
73102         * socket/sendmmsg.c: ... this new file.
73103         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
73104         (sysdep_routines): Move recvmmsg and sendmmsg...
73105         * socket/Makefile (routines): ... here.
73106         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
73107         (GLIBC_PRIVATE): Add __sendmmsg.
73108         * include/sys/socket.h (__sendmmsg): Add declarations.
73109         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
73110         sendmmsg.
73112 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
73114         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
73115         variable I1 with __attribute__ ((unused)).
73116         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73118 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73120         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
73121         DUMMY variables with __attribute__ ((unused)).
73123         * bits/byteswap.h: Include <bits/types.h>.
73124         (__bswap_64): Use __uint64_t instead of unsigned long long int.
73126 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73128         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
73129         string_t.  Do not manually set errno.
73130         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
73131         length with __strnlen.  Make sure to both set errno and return it on
73132         failure.
73134 2012-11-19  David S. Miller  <davem@davemloft.net>
73136         With help from Joseph Myers.
73137         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
73138         very large arguments properly.
73139         * math/libm-test.inc (atan_test): New tests.
73140         (atan2_test): New tests.
73141         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73142         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73144 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
73146         [BZ #14856]
73147         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
73148         Define to 3.
73150         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
73151         [POSIX] (EADDRNOTAVAIL): Likewise.
73152         [POSIX] (EAFNOSUPPORT): Likewise.
73153         [POSIX] (EALREADY): Likewise.
73154         [POSIX] (ECONNABORTED): Likewise.
73155         [POSIX] (ECONNREFUSED): Likewise.
73156         [POSIX] (ECONNRESET): Likewise.
73157         [POSIX] (EDESTADDRREQ): Likewise.
73158         [POSIX] (EDQUOT): Likewise.
73159         [POSIX] (EHOSTUNREACH): Likewise.
73160         [POSIX] (EIDRM): Likewise.
73161         [POSIX] (EISCONN): Likewise.
73162         [POSIX] (ELOOP): Likewise.
73163         [POSIX] (EMULTIHOP): Likewise.
73164         [POSIX] (ENETDOWN): Likewise.
73165         [POSIX] (ENETUNREACH): Likewise.
73166         [POSIX] (ENOBUFS): Likewise.
73167         [POSIX] (ENODATA): Likewise.
73168         [POSIX] (ENOLINK): Likewise.
73169         [POSIX] (ENOMSG): Likewise.
73170         [POSIX] (ENOPROTOOPT): Likewise.
73171         [POSIX] (ENOSR): Likewise.
73172         [POSIX] (ENOSTR): Likewise.
73173         [POSIX] (ENOTCONN): Likewise.
73174         [POSIX] (ENOTSOCK): Likewise.
73175         [POSIX] (EOPNOTSUPP): Likewise.
73176         [POSIX] (EOVERFLOW): Likewise.
73177         [POSIX] (EPROTO): Likewise.
73178         [POSIX] (EPROTONOSUPPORT): Likewise.
73179         [POSIX] (EPROTOTYPE): Likewise.
73180         [POSIX] (ESTALE): Likewise.
73181         [POSIX] (ETIME): Likewise.
73182         [POSIX] (ETXTBSY): Likewise.
73183         [POSIX] (EWOULDBLOCK): Likewise.
73184         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
73185         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
73186         [POSIX] (SEEK_CUR): Likewise.
73187         [POSIX] (SEEK_END): Likewise.
73188         [POSIX || UNIX98] (mode_t): Do not require.
73189         [POSIX] (off_t): Likewise.
73190         [POSIX] (pid_t): Likewise.
73191         [POSIX] (sys/stat.h): Do not allow header.
73192         [POSIX] (unistd.h): Likewise.
73193         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
73194         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
73195         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
73196         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
73197         require.
73198         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
73199         sigevent): Specify elements.
73200         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
73201         entry.
73202         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
73203         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
73205         * conform/data/cpio.h-data [POSIX]: Disable whole file.
73206         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
73207         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
73208         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
73209         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
73210         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
73211         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
73212         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
73213         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
73214         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
73215         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
73216         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
73217         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
73218         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
73219         Likewise.
73220         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
73221         Likewise.
73222         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
73223         Likewise.
73224         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
73225         Likewise.
73226         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
73227         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
73228         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
73229         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
73230         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
73231         Specify lower bound on value.
73232         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
73233         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
73234         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
73235         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
73236         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
73237         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
73238         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
73239         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
73240         value.
73241         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
73242         as optional.
73243         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
73244         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
73245         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
73246         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
73247         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
73248         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
73249         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
73250         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
73251         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
73252         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
73253         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
73254         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
73255         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
73256         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
73257         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
73258         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
73259         entry.
73260         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
73261         optional.
73262         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
73263         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
73264         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
73265         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
73266         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
73267         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
73268         Likewise.
73269         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
73270         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
73271         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
73272         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
73273         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
73274         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
73275         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
73276         as optional.
73277         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
73278         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
73279         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
73280         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
73281         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
73282         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
73283         specify as optional.
73284         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
73285         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
73286         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
73287         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
73288         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
73289         [XPG3] (NL_LANGMAX): Likewise.
73290         [POSIX || XPG3] (NL_MSGMAX): Likewise.
73291         [POSIX || XPG3] (NL_NMAX): Likewise.
73292         [POSIX || XPG3] (NL_SETMAX): Likewise.
73293         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
73294         [XPG3] (NZERO): Likewise.
73295         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
73296         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
73297         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
73298         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
73299         (REG_ERANGE): Expect.
73300         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
73301         optional-constant.
73302         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
73303         Use (void) in prototype.
73304         [POSIX] (*_t): Allow.
73305         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
73306         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
73307         (WRDE_BADVAL): Expect.
73309         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
73310         expect.
73311         [XPG3 || XPG4] (O_RSYNC): Likewise.
73312         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
73313         Likewise.
73314         [XPG3 || XPG4] (pthread_sigmask): Likewise.
73315         [XPG3 || XPG4] (sigqueue): Likewise.
73316         [XPG3 || XPG4] (sigtimedwait): Likewise.
73317         [XPG3 || XPG4] (sigwaitinfo): Likewise.
73318         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
73319         [XPG3 || XPG4] (vsnprintf): Likewise.
73320         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
73321         Likewise.
73322         [XPG3 || XPG4] (blksize_t): Likewise.
73323         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
73324         Likewise.
73325         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
73326         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
73327         [XPG3 || XPG4] (struct itimerspec): Likewise.
73328         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
73329         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
73330         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
73331         [XPG3 || XPG4] (clockid_t): Likewise.
73332         [XPG3 || XPG4] (timer_t): Likewise.
73333         [XPG3 || XPG4] (clock_getres): Likewise.
73334         [XPG3 || XPG4] (clock_gettime): Likewise.
73335         [XPG3 || XPG4] (clock_settime): Likewise.
73336         [XPG3 || XPG4] (nanosleep): Likewise.
73337         [XPG3 || XPG4] (timer_create): Likewise.
73338         [XPG3 || XPG4] (timer_delete): Likewise.
73339         [XPG3 || XPG4] (timer_gettime): Likewise.
73340         [XPG3 || XPG4] (timer_getoverrun): Likewise.
73341         [XPG3 || XPG4] (timer_settime): Likewise.
73342         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
73343         [XPG3 || XPG4] (getlogin_r): Likewise.
73344         [XPG3 || XPG4] (pread): Likewise.
73345         [XPG3 || XPG4] (pthread_atfork): Likewise.
73346         [XPG3 || XPG4] (pwrite): Likewise.
73348         [BZ #14835]
73349         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
73350         <bits/siginfo.h>.
73352 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
73354         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
73355         finalizing MALLSTREAM.
73357         * sysdeps/mach/hurd/syncfs.c: New file.
73359 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
73361         [BZ #14719]
73362         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
73363         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
73364         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
73365         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
73366         (_nss_dns_gethostbyname4_r): Likewise.
73367         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
73368         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
73370 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
73372         [BZ #13763]
73373         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
73375 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
73377         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
73378         * elf/cache.c (print_entry): Print ",AArch64" for
73379         FLAG_AARCH64_LIB64
73381         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
73382         * elf/cache.c (print_entry): Print ",hard-float" for
73383         FLAG_ARM_LIBHF.
73385 2012-11-18  David S. Miller  <davem@davemloft.net>
73387         With help from Joseph Myers.
73388         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
73389         cutoff to 2**-13.
73390         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
73391         cutoff to 2**-25.
73392         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
73393         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
73394         small.
73395         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
73396         * math/libm-test.inc (y0_test): New tests.
73397         (y1_test): New tests.
73398         * sysdeps/i386/fpu/libm-test-ulps: Update.
73399         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73402 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
73404         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
73405         64-bit targets.
73406         * configure: Regenerated.
73408 2012-11-17  David S. Miller  <davem@davemloft.net>
73410         [BZ #14811]
73411         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
73412         nonzero exponents with absolute value below 0x1p-128 to +/-
73413         0x1p-128.
73415 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
73417         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
73419         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
73421         * posix/getconf-speclist.c: New file.
73422         * posix/posix-envs.def: Likewise.
73423         * posix/confstr.c (START_ENV_GROUP): New macro.
73424         (END_ENV_GROUP): Likewise.
73425         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73426         (KNOWN_PRESENT_ENV_STRING): Likewise.
73427         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73428         (UNKNOWN_ENVIRONMENT): Likewise.
73429         (confstr): Include posix-envs.def instead of handling
73430         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
73431         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
73432         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
73433         (END_ENV_GROUP): Likewise.
73434         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
73435         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
73436         (UNKNOWN_ENVIRONMENT): Likewise.
73437         (__sysconf): Include posix-envs.def instead of handling associated
73438         cases directly here.
73439         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
73440         preprocessing getconf-speclist.c rather than running getconf or
73441         generating empty file.
73443 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
73445         * scripts/check-local-headers.sh: Ignore 'mach' headers.
73447 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
73449         [BZ #14672]
73450         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
73452 2012-11-16  David S. Miller  <davem@davemloft.net>
73454         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
73455         smaller than LDBL_EPSILON/2.0L, just return xm1.
73457 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
73459         * elf/tst-array1.c (init): Set constructor priority to 1000.
73460         (fini): Set destructor priority to 1000.
73461         * elf/tst-array2dep.c: Likewise.
73463 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73465         [BZ #11741]
73466         * libio/fileops.c (_IO_new_file_write): Correctly return error.
73467         (_IO_new_file_xsputn): Also return EOF if none of the input
73468         data was written when overflow failed.
73469         * libio/iopadn.c (_IO_padn): Likewise.
73470         * libio/iowpadn.c (_IO_wpadn): Likewise.
73471         * stdio-common/tst-put-error.c: Add copyright notice.
73472         (do_test): Add case for printing padded string.
73473         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
73474         _IO_padn returned error.
73475         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
73476         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
73477         return EOF.
73479 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
73481         * libio/libioP.h: Add comment note that the references to C++
73482         bits are now obsolete.
73484 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73486         * math/libm-test.inc (check_complex): Use asprintf.
73488 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
73490         * debug/pcprofiledump.c (print_version): Update copyright year.
73491         * malloc/memusagestat.c (print_version): Likewise.
73493 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
73495         [BZ #14831]
73496         * elf/Makefile (tests): Add tst-audit8.
73497         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
73498         ($(objpfx)tst-audit8.out): New target.
73499         (tst-audit8-ENV): New variable.
73500         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
73501         audit if l_reloc_result is NULL.
73502         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
73503         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
73504         * elf/tst-audit8.c: New file.
73506 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73508         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
73509         * misc/Makefile (CFLAGS-select.c): Define.
73510         * posix/Makefile (CFLAGS-pause.c): Define.
73512 2012-11-13  David S. Miller  <davem@davemloft.net>
73514         * crypt/Makefile: Move test targets after toplevel Rules
73515         inclusion.  Grab any necessary sysdep routines when linking.
73516         * crypt/md5.c (md5_process_block): Remove define, we will always
73517         name it __md5_process_block.
73518         (md5_finish_ctx): Update md5_process_block call.
73519         (md5_stream): Likewise.
73520         (md5_process_bytes): Likewise.
73521         (md5_process_block): Rename to __md5_process_block and move to ...
73522         * crypt/md5-block.c: ... here.
73523         * crypt/sha256.c (sha256_process_block): Move to ...
73524         * crypt/sha256-block.c: ... here.
73525         * crypt/sha512.c (sha512_process_block): Move to ...
73526         * crypt/sha512-block.c: ... here.
73527         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
73528         path.
73529         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
73530         * sysdeps/sparc/sparc64/multiarch/Makefile
73531         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
73532         crypt subdir.
73533         (localedef-aux): Add md5 crypto assembler when in locale subdir.
73534         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
73535         multiarch changes.
73536         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
73537         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
73538         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
73539         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
73540         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
73541         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
73542         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
73543         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
73544         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
73545         file.
73546         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
73547         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
73548         file.
73549         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
73551 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
73553         * timezone/tzselect.ksh: Update from tzcode git revision
73554         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
73555         * timezone/zdump.c: Likewise.
73556         * timezone/zic.c: Likewise.
73557         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
73558         in TZVERSION setting, not $(PKGVERSION).
73559         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
73560         REPORT_BUGS_TO settings.
73562         [BZ #14838]
73563         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
73564         macro.
73566 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73568         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
73569         detection to immediately after _FP_ROUND().
73570         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
73571         bits are 0.
73573 2012-11-11  David S. Miller  <davem@davemloft.net>
73575         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
73576         inttypes.h
73577         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
73578         __close rather than their public counterparts.
73580 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
73582         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
73583         file.
73584         [UNIX98] (sem_timedwait): Do not expect.
73585         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
73586         [XPG4 || UNIX98] (sockatmark): Do not expect.
73587         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
73588         (clock_getcpuclockid): Do not expect.
73589         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
73590         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
73591         Do not expect.
73592         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
73593         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
73594         [UNIX98] (vwscanf): Likewise.
73595         [UNIX98] (vswscanf): Likewise.
73597 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
73599         * timezone/version.h: Remove file.
73600         * timezone/README: Do not refer to version.h.
73601         * timezone/Makefile ($(objpfx)zic.o): New dependency on
73602         $(objpfx)version.h.
73603         ($(objpfx)zdump.o): Likewise.
73604         ($(objpfx)version.h): New target.
73606         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
73607         2012i.
73608         * timezone/README: Don't mention modification to tzselect.ksh.
73609         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
73610         work on unmodified tzselect.ksh.  Substitute version numbers in
73611         tzselect.ksh.
73613         * Makefile (format-me): Remove.
73614         (INSTALL): Adjust indentation.  Use commands directly instead of
73615         using $(format-me).
73617         * aclocal.m4 (ACX_PKGVERSION): New macro.
73618         (ACX_BUGURL): Likewise.
73619         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
73620         (PKGVERSION): New AC_DEFINE_UNQUOTED.
73621         (REPORT_BUGS_TO): Likewise.
73622         * configure: Regenerated.
73623         * config.h.in (PKGVERSION): New macro.
73624         (REPORT_BUGS_TO): Likewise.
73625         * config.make.in (PKGVERSION): New variable.
73626         (PKGVERSION_TEXI): Likewise.
73627         (REPORT_BUGS_TO): Likewise.
73628         (REPORT_BUGS_TEXI): Likewise.
73629         * Makefile (format-me): Use -I$(common-objpfx)manual.
73630         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
73631         ($(common-objpfx)manual/%): New target.
73632         (manual/%): Remove target.
73633         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
73634         (print_version): Use PKGVERSION.
73635         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
73636         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
73637         and REPORT_BUGS_TO.
73638         ($(objpfx)xtrace): Likewise.
73639         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
73640         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
73641         (print_version): Use PKGVERSION.
73642         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
73643         (do_version): Use PKGVERSION.
73644         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
73645         REPORT_BUGS_TO.
73646         (common-ldd-rewrite): Likewise.
73647         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
73648         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
73649         (print_version): Use PKGVERSION.
73650         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
73651         * elf/pldd.c (argp_program_bug_address): Remove variable.
73652         (more_help): New function.
73653         (argp): Use more_help.
73654         (print_version): Use PKGVERSION.
73655         * elf/sln.c (main): Use PKGVERSION.
73656         (usage): Use REPORT_BUGS_TO.
73657         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
73658         (top level): Use PKGVERSION.
73659         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
73660         (print_version): Use PKGVERSION.
73661         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
73662         (print_version): Use PKGVERSION.
73663         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
73664         (print_version): Use PKGVERSION.
73665         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
73666         (print_version): Use PKGVERSION.
73667         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
73668         (print_version): Use PKGVERSION.
73669         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
73670         (print_version): Use PKGVERSION.
73671         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
73672         and BUGURL.
73673         ($(objpfx)memusage): Likewise.
73674         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
73675         (do_version): Use PKGVERSION.
73676         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
73677         (print_version): Use PKGVERSION.
73678         * malloc/mtrace.pl ($PACKAGE): Remove variable.
73679         ($PKGVERSION): New variable.
73680         ($REPORT_BUGS_TO): Likewise.
73681         (usage): Use $REPORT_BUGS_TO.
73682         (top level): Use $PKGVERSION.
73683         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
73684         ($(objpfx)pkgvers.texi): New rule.
73685         ($(objpfx)stamp-pkgvers): Likewise.
73686         * manual/install.texi: Include pkgvers.texi.
73687         (--with-pkgversion): Document new configure option.
73688         (--with-bugurl): Likewise.
73689         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
73690         than necessarily for this particular distribution.  Use
73691         REPORT_BUGS_TO for where to report bugs.
73692         * INSTALL: Regenerated.
73693         * manual/libc.texinfo: Include pkgvers.texi.
73694         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
73695         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
73696         (print_version): Use PKGVERSION.
73697         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
73698         (print_version): Use PKGVERSION.
73699         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
73700         (print_version): Use PKGVERSION.
73701         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
73702         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
73703         macro.
73704         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
73705         (print_version): Use PKGVERSION.
73706         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
73707         (print_version): Use PKGVERSION.
73708         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
73709         and PKGVERSION.
73711         * timezone/checktab.awk: Update from tzcode 2012i.
73712         * timezone/ialloc.c: Likewise.
73713         * timezone/private.h: Likewise.
73714         * timezone/scheck.c: Likewise.
73715         * timezone/tzfile.h: Likewise.
73716         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
73717         (TZVERSION): Hardcode tzcode version number.
73718         * timezone/zdump.c: Update from tzcode 2012i.
73719         * timezone/zic.c: Likewise.
73720         * timezone/version.h: New file.
73721         * timezone/README: Describe version.h.  Update upstream location.
73723         [BZ #14824]
73724         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
73725         (mktemp): Enable declaration.
73726         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
73727         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
73728         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
73729         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
73730         Likewise.
73731         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
73732         Likewise.
73733         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
73734         Likewise.
73735         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
73736         Likewise.
73737         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
73738         Likewise.
73739         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
73740         Likewise.
73742         [BZ #14821]
73743         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
73744         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
73745         for copies of such integer values.
73746         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
73747         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
73749 2012-11-09  Andreas Jaeger  <aj@suse.de>
73751         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
73752         definitions and declarations that are provided by
73753         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
73755 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
73757         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
73758         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
73759         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
73760         definition.
73762 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
73764         * elf/elf.h: Update comment before AArch64 relocations.
73766 2012-11-07  David S. Miller  <davem@davemloft.net>
73768         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
73769         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
73770         (__start_context): Declare.
73771         (__makecontext_ret): Delete.
73772         (__makecontext): Hook up __start_context instead of
73773         __makecontext_ret.
73774         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
73775         (sysdep_routines): Add __start_context when in stdlib.
73777 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73779         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
73780         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
73781         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
73782         hardcoded "nm".
73783         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
73784         (READELF): New variable.  Use it instead of hardcoded "readelf".
73786 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
73788         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
73789         * sysdeps/x86/Makefile: Here.
73790         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
73791         * sysdeps/x86/tst-xmmymm.sh: This.
73793 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
73795         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
73796         expectations.
73797         [UNIX98] (pthread_barrier_t): Do not expect.
73798         [UNIX98] (pthread_barrierattr_t): Likewise.
73799         [UNIX98] (pthread_spinlock_t): Likewise.
73800         [UNIX98] (pthread_barrier_destroy): Likewise.
73801         [UNIX98] (pthread_barrier_init): Likewise.
73802         [UNIX98] (pthread_barrier_wait): Likewise.
73803         [UNIX98] (pthread_barrierattr_destroy): Likewise.
73804         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
73805         [UNIX98] (pthread_barrierattr_init): Likewise.
73806         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
73807         [UNIX98] (pthread_getcpuclockid): Likewise.
73808         [UNIX98] (pthread_mutex_timedlock): Likewise.
73809         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
73810         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
73811         [UNIX98] (pthread_sigmask): Likewise.
73812         [UNIX98] (pthread_spin_destroy): Likewise.
73813         [UNIX98] (pthread_spin_init): Likewise.
73814         [UNIX98] (pthread_spin_lock): Likewise.
73815         [UNIX98] (pthread_spin_trylock): Likewise.
73816         [UNIX98] (pthread_spin_unlock): Likewise.
73817         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
73818         Do not expect.
73819         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
73820         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
73821         [XPG3 || XPG4] (pthread_cond_t): Likewise.
73822         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
73823         [XPG3 || XPG4] (pthread_key_t): Likewise.
73824         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
73825         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
73826         [XPG3 || XPG4] (pthread_once_t): Likewise.
73827         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
73828         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
73829         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
73830         [XPG3 || XPG4] (pthread_t): Likewise.
73832         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
73833         not expect.
73834         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
73836         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
73837         Change function return type to int.
73839         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
73840         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
73841         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
73842         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
73843         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
73844         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
73845         [!POSIX] (posix_madvise): Likewise.
73846         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
73847         && !UNIX98].
73848         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
73849         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
73850         (mode_t): Likewise.
73851         (posix_mem_offset): Likewise.
73852         (posix_typed_mem_get_info): Likewise.
73853         (posix_typed_mem_open): Likewise.
73855         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
73856         Change condition to [XOPEN2K8].
73858         * conform/conformtest.pl: Preprocess allow-header data with -x c
73859         instead of from stdin.
73860         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
73861         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
73862         [C99-based standards] (cerfc): Likewise.
73863         [C99-based standards] (cexp2): Likewise.
73864         [C99-based standards] (cexpm1): Likewise.
73865         [C99-based standards] (clog10): Likewise.
73866         [C99-based standards] (clog1p): Likewise.
73867         [C99-based standards] (clog2): Likewise.
73868         [C99-based standards] (clgamma): Likewise.
73869         [C99-based standards] (ctgamma): Likewise.
73870         [C99-based standards] (cerff): Likewise.
73871         [C99-based standards] (cerfcf): Likewise.
73872         [C99-based standards] (cexp2f): Likewise.
73873         [C99-based standards] (cexpm1f): Likewise.
73874         [C99-based standards] (clog10f): Likewise.
73875         [C99-based standards] (clog1pf): Likewise.
73876         [C99-based standards] (clog2f): Likewise.
73877         [C99-based standards] (clgammaf): Likewise.
73878         [C99-based standards] (ctgammaf): Likewise.
73879         [C99-based standards] (cerfl): Likewise.
73880         [C99-based standards] (cerfcl): Likewise.
73881         [C99-based standards] (cexp2l): Likewise.
73882         [C99-based standards] (cexpm1l): Likewise.
73883         [C99-based standards] (clog10l): Likewise.
73884         [C99-based standards] (clog1pl): Likewise.
73885         [C99-based standards] (clog2l): Likewise.
73886         [C99-based standards] (clgammal): Likewise.
73887         [C99-based standards] (ctgammal): Likewise.
73888         * conform/data/inttypes.h-data [C99-based standards]: Include
73889         stdint.h-data.  Remove all expectations for stdint.h contents.
73890         [C99-based standards] (PRI*): Do not allow.
73891         [C99-based standards] (SCN*): Likewise.
73892         [C99-based standards] (*_t): Likewise.
73893         [C99-based-standards] (PRId8): Expect macro.
73894         [C99-based-standards] (PRIi8): Likewise.
73895         [C99-based-standards] (PRIo8): Likewise.
73896         [C99-based-standards] (PRIu8): Likewise.
73897         [C99-based-standards] (PRIx8): Likewise.
73898         [C99-based-standards] (PRIX8): Likewise.
73899         [C99-based-standards] (SCNd8): Likewise.
73900         [C99-based-standards] (SCNi8): Likewise.
73901         [C99-based-standards] (SCNo8): Likewise.
73902         [C99-based-standards] (SCNu8): Likewise.
73903         [C99-based-standards] (SCNx8): Likewise.
73904         [C99-based-standards] (PRIdLEAST8): Likewise.
73905         [C99-based-standards] (PRIiLEAST8): Likewise.
73906         [C99-based-standards] (PRIoLEAST8): Likewise.
73907         [C99-based-standards] (PRIuLEAST8): Likewise.
73908         [C99-based-standards] (PRIxLEAST8): Likewise.
73909         [C99-based-standards] (PRIXLEAST8): Likewise.
73910         [C99-based-standards] (SCNdLEAST8): Likewise.
73911         [C99-based-standards] (SCNiLEAST8): Likewise.
73912         [C99-based-standards] (SCNoLEAST8): Likewise.
73913         [C99-based-standards] (SCNuLEAST8): Likewise.
73914         [C99-based-standards] (SCNxLEAST8): Likewise.
73915         [C99-based-standards] (PRIdFAST8): Likewise.
73916         [C99-based-standards] (PRIiFAST8): Likewise.
73917         [C99-based-standards] (PRIoFAST8): Likewise.
73918         [C99-based-standards] (PRIuFAST8): Likewise.
73919         [C99-based-standards] (PRIxFAST8): Likewise.
73920         [C99-based-standards] (PRIXFAST8): Likewise.
73921         [C99-based-standards] (SCNdFAST8): Likewise.
73922         [C99-based-standards] (SCNiFAST8): Likewise.
73923         [C99-based-standards] (SCNoFAST8): Likewise.
73924         [C99-based-standards] (SCNuFAST8): Likewise.
73925         [C99-based-standards] (SCNxFAST8): Likewise.
73926         [C99-based-standards] (PRId16): Likewise.
73927         [C99-based-standards] (PRIi16): Likewise.
73928         [C99-based-standards] (PRIo16): Likewise.
73929         [C99-based-standards] (PRIu16): Likewise.
73930         [C99-based-standards] (PRIx16): Likewise.
73931         [C99-based-standards] (PRIX16): Likewise.
73932         [C99-based-standards] (SCNd16): Likewise.
73933         [C99-based-standards] (SCNi16): Likewise.
73934         [C99-based-standards] (SCNo16): Likewise.
73935         [C99-based-standards] (SCNu16): Likewise.
73936         [C99-based-standards] (SCNx16): Likewise.
73937         [C99-based-standards] (PRIdLEAST16): Likewise.
73938         [C99-based-standards] (PRIiLEAST16): Likewise.
73939         [C99-based-standards] (PRIoLEAST16): Likewise.
73940         [C99-based-standards] (PRIuLEAST16): Likewise.
73941         [C99-based-standards] (PRIxLEAST16): Likewise.
73942         [C99-based-standards] (PRIXLEAST16): Likewise.
73943         [C99-based-standards] (SCNdLEAST16): Likewise.
73944         [C99-based-standards] (SCNiLEAST16): Likewise.
73945         [C99-based-standards] (SCNoLEAST16): Likewise.
73946         [C99-based-standards] (SCNuLEAST16): Likewise.
73947         [C99-based-standards] (SCNxLEAST16): Likewise.
73948         [C99-based-standards] (PRIdFAST16): Likewise.
73949         [C99-based-standards] (PRIiFAST16): Likewise.
73950         [C99-based-standards] (PRIoFAST16): Likewise.
73951         [C99-based-standards] (PRIuFAST16): Likewise.
73952         [C99-based-standards] (PRIxFAST16): Likewise.
73953         [C99-based-standards] (PRIXFAST16): Likewise.
73954         [C99-based-standards] (SCNdFAST16): Likewise.
73955         [C99-based-standards] (SCNiFAST16): Likewise.
73956         [C99-based-standards] (SCNoFAST16): Likewise.
73957         [C99-based-standards] (SCNuFAST16): Likewise.
73958         [C99-based-standards] (SCNxFAST16): Likewise.
73959         [C99-based-standards] (PRId32): Likewise.
73960         [C99-based-standards] (PRIi32): Likewise.
73961         [C99-based-standards] (PRIo32): Likewise.
73962         [C99-based-standards] (PRIu32): Likewise.
73963         [C99-based-standards] (PRIx32): Likewise.
73964         [C99-based-standards] (PRIX32): Likewise.
73965         [C99-based-standards] (SCNd32): Likewise.
73966         [C99-based-standards] (SCNi32): Likewise.
73967         [C99-based-standards] (SCNo32): Likewise.
73968         [C99-based-standards] (SCNu32): Likewise.
73969         [C99-based-standards] (SCNx32): Likewise.
73970         [C99-based-standards] (PRIdLEAST32): Likewise.
73971         [C99-based-standards] (PRIiLEAST32): Likewise.
73972         [C99-based-standards] (PRIoLEAST32): Likewise.
73973         [C99-based-standards] (PRIuLEAST32): Likewise.
73974         [C99-based-standards] (PRIxLEAST32): Likewise.
73975         [C99-based-standards] (PRIXLEAST32): Likewise.
73976         [C99-based-standards] (SCNdLEAST32): Likewise.
73977         [C99-based-standards] (SCNiLEAST32): Likewise.
73978         [C99-based-standards] (SCNoLEAST32): Likewise.
73979         [C99-based-standards] (SCNuLEAST32): Likewise.
73980         [C99-based-standards] (SCNxLEAST32): Likewise.
73981         [C99-based-standards] (PRIdFAST32): Likewise.
73982         [C99-based-standards] (PRIiFAST32): Likewise.
73983         [C99-based-standards] (PRIoFAST32): Likewise.
73984         [C99-based-standards] (PRIuFAST32): Likewise.
73985         [C99-based-standards] (PRIxFAST32): Likewise.
73986         [C99-based-standards] (PRIXFAST32): Likewise.
73987         [C99-based-standards] (SCNdFAST32): Likewise.
73988         [C99-based-standards] (SCNiFAST32): Likewise.
73989         [C99-based-standards] (SCNoFAST32): Likewise.
73990         [C99-based-standards] (SCNuFAST32): Likewise.
73991         [C99-based-standards] (SCNxFAST32): Likewise.
73992         [C99-based-standards] (PRId64): Likewise.
73993         [C99-based-standards] (PRIi64): Likewise.
73994         [C99-based-standards] (PRIo64): Likewise.
73995         [C99-based-standards] (PRIu64): Likewise.
73996         [C99-based-standards] (PRIx64): Likewise.
73997         [C99-based-standards] (PRIX64): Likewise.
73998         [C99-based-standards] (SCNd64): Likewise.
73999         [C99-based-standards] (SCNi64): Likewise.
74000         [C99-based-standards] (SCNo64): Likewise.
74001         [C99-based-standards] (SCNu64): Likewise.
74002         [C99-based-standards] (SCNx64): Likewise.
74003         [C99-based-standards] (PRIdLEAST64): Likewise.
74004         [C99-based-standards] (PRIiLEAST64): Likewise.
74005         [C99-based-standards] (PRIoLEAST64): Likewise.
74006         [C99-based-standards] (PRIuLEAST64): Likewise.
74007         [C99-based-standards] (PRIxLEAST64): Likewise.
74008         [C99-based-standards] (PRIXLEAST64): Likewise.
74009         [C99-based-standards] (SCNdLEAST64): Likewise.
74010         [C99-based-standards] (SCNiLEAST64): Likewise.
74011         [C99-based-standards] (SCNoLEAST64): Likewise.
74012         [C99-based-standards] (SCNuLEAST64): Likewise.
74013         [C99-based-standards] (SCNxLEAST64): Likewise.
74014         [C99-based-standards] (PRIdFAST64): Likewise.
74015         [C99-based-standards] (PRIiFAST64): Likewise.
74016         [C99-based-standards] (PRIoFAST64): Likewise.
74017         [C99-based-standards] (PRIuFAST64): Likewise.
74018         [C99-based-standards] (PRIxFAST64): Likewise.
74019         [C99-based-standards] (PRIXFAST64): Likewise.
74020         [C99-based-standards] (SCNdFAST64): Likewise.
74021         [C99-based-standards] (SCNiFAST64): Likewise.
74022         [C99-based-standards] (SCNoFAST64): Likewise.
74023         [C99-based-standards] (SCNuFAST64): Likewise.
74024         [C99-based-standards] (SCNxFAST64): Likewise.
74025         [C99-based-standards] (PRIdMAX): Likewise.
74026         [C99-based-standards] (PRIiMAX): Likewise.
74027         [C99-based-standards] (PRIoMAX): Likewise.
74028         [C99-based-standards] (PRIuMAX): Likewise.
74029         [C99-based-standards] (PRIxMAX): Likewise.
74030         [C99-based-standards] (PRIXMAX): Likewise.
74031         [C99-based-standards] (SCNdMAX): Likewise.
74032         [C99-based-standards] (SCNiMAX): Likewise.
74033         [C99-based-standards] (SCNoMAX): Likewise.
74034         [C99-based-standards] (SCNuMAX): Likewise.
74035         [C99-based-standards] (SCNxMAX): Likewise.
74036         [C99-based-standards] (PRIdPTR): Likewise.
74037         [C99-based-standards] (PRIiPTR): Likewise.
74038         [C99-based-standards] (PRIoPTR): Likewise.
74039         [C99-based-standards] (PRIuPTR): Likewise.
74040         [C99-based-standards] (PRIxPTR): Likewise.
74041         [C99-based-standards] (PRIXPTR): Likewise.
74042         [C99-based-standards] (SCNdPTR): Likewise.
74043         [C99-based-standards] (SCNiPTR): Likewise.
74044         [C99-based-standards] (SCNoPTR): Likewise.
74045         [C99-based-standards] (SCNuPTR): Likewise.
74046         [C99-based-standards] (SCNxPTR): Likewise.
74047         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
74048         allow.
74049         * conform/data/stdint.h-data: Update comments to clarify
74050         requirements.
74051         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
74052         type.
74053         [C99-based standards] (INT8_MAX): Likewise.
74054         [C99-based standards] (INT16_MIN): Likewise.
74055         [C99-based standards] (INT16_MAX): Likewise.
74056         [C99-based standards] (INT32_MIN): Likewise.
74057         [C99-based standards] (INT32_MAX): Likewise.
74058         [C99-based standards] (INT64_MIN): Likewise.
74059         [C99-based standards] (INT64_MAX): Likewise.
74060         [C99-based standards] (UINT8_MAX): Likewise.
74061         [C99-based standards] (UINT16_MAX): Likewise.
74062         [C99-based standards] (UINT32_MAX): Likewise.
74063         [C99-based standards] (UINT64_MAX): Likewise.
74064         [C99-based standards] (INT_LEAST8_MIN): Likewise.
74065         [C99-based standards] (INT_LEAST8_MAX): Likewise.
74066         [C99-based standards] (INT_LEAST16_MIN): Likewise.
74067         [C99-based standards] (INT_LEAST16_MAX): Likewise.
74068         [C99-based standards] (INT_LEAST32_MIN): Likewise.
74069         [C99-based standards] (INT_LEAST32_MAX): Likewise.
74070         [C99-based standards] (INT_LEAST64_MIN): Likewise.
74071         [C99-based standards] (INT_LEAST64_MAX): Likewise.
74072         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
74073         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
74074         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
74075         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
74076         [C99-based standards] (INT_FAST8_MIN): Likewise.
74077         [C99-based standards] (INT_FAST8_MAX): Likewise.
74078         [C99-based standards] (INT_FAST16_MIN): Likewise.
74079         [C99-based standards] (INT_FAST16_MAX): Likewise.
74080         [C99-based standards] (INT_FAST32_MIN): Likewise.
74081         [C99-based standards] (INT_FAST32_MAX): Likewise.
74082         [C99-based standards] (INT_FAST64_MIN): Likewise.
74083         [C99-based standards] (INT_FAST64_MAX): Likewise.
74084         [C99-based standards] (UINT_FAST8_MAX): Likewise.
74085         [C99-based standards] (UINT_FAST16_MAX): Likewise.
74086         [C99-based standards] (UINT_FAST32_MAX): Likewise.
74087         [C99-based standards] (UINT_FAST64_MAX): Likewise.
74088         [C99-based standards] (INTPTR_MIN): Likewise.
74089         [C99-based standards] (INTPTR_MAX): Likewise.
74090         [C99-based standards] (UINTPTR_MAX): Likewise.
74091         [C99-based standards] (INTMAX_MIN): Likewise.
74092         [C99-based standards] (INTMAX_MAX): Likewise.
74093         [C99-based standards] (UINTMAX_MAX): Likewise.
74094         [C99-based standards] (PTRDIFF_MIN): Likewise.
74095         [C99-based standards] (PTRDIFF_MAX): Likewise.
74096         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
74097         [C99-based standards] (SIZE_MAX): Likewise.
74098         [C99-based standards] (WCHAR_MAX): Likewise.
74099         [C99-based standards] (WINT_MAX): Likewise.
74100         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
74101         constraint on value.
74102         [C99-based standards] (WCHAR_MIN): Likewise.
74103         [C99-based standards] (WINT_MIN): Likewise.
74104         [C99-based standards] (*_t): Allow.
74105         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
74106         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
74107         Include math.h-data and complex.h-data.  Remove all expectations
74108         of math.h and complex.h contents.
74109         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
74110         at end of line.
74111         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
74112         (struct tm): Expect tag.
74113         [C99-based-standards] (wcstof): Expect function.
74114         [C99-based-standards] (wcstold): Likewise.
74115         [C99-based-standards] (wcstoll): Likewise.
74116         [C99-based-standards] (wcstoull): Likewise.
74117         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
74118         macro-int-constant.  Specify type.
74119         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
74120         constraint on value.
74121         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74122         Specify type.
74123         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
74124         Specify value.
74125         [ISO C standards]: Do not allow headers.
74126         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
74127         wcs[abcdefghijklmnopqrstuvwxyz]*.
74128         [ISO C standards] (*_t): Do not allow.
74129         * conform/data/wctype.h-data [C99-based standards] (iswblank):
74130         Expect function.
74131         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
74132         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
74133         Specify type.
74134         [ISO C standards]: Do not allow headers.
74135         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
74136         is[abcdefghijklmnopqrstuvwxyz]*.
74137         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
74138         to[abcdefghijklmnopqrstuvwxyz]*.
74139         [ISO C standards] (*_t): Do not allow.
74140         * conform/data/stdalign.h-data: New file.
74141         * conform/data/stdbool.h-data: Likewise.
74142         * conform/data/stdnoreturn.h-data: Likewise.
74144 2012-11-07  Roland McGrath  <roland@hack.frob.com>
74146         [BZ #14815]
74147         * manual/filesys.texi (Directory Entries): Typo fix.
74148         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
74150 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
74152         * elf/elf.h (EM_AARCH64): New macro.
74153         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
74154         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
74155         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
74156         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
74157         (R_AARCH64_TLSDESC): Likewise.
74158         (NT_ARM_TLS): Likewise.
74159         (NT_ARM_HW_BREAK): Likewise.
74160         (NT_ARM_HW_WATCH): Likewise.
74162 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74164         [BZ #14811]
74165         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
74166         (__ieee754_powl): Saturate nonzero exponents with absolute value
74167         below 0x1p-79 to +/- 0x1p-79.
74168         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
74169         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
74170         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
74171         nonzero exponents with absolute value below 0x1p-32 to +/-
74172         0x1p-32.
74173         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
74174         (__ieee754_powl): Saturate nonzero exponents with absolute value
74175         below 0x1p-79 to +/- 0x1p-79.
74176         * math/libm-test.inc (pow_test): Add more tests.
74178 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74180         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
74181         _dl_s390_cap_flags with kernel. Increase string length.
74182         (_dl_s390_platforms): Add z196 and zEC12.
74184 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
74186         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
74187         Change XOPEN21K to XOPEN2K.
74189 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
74191         * string/memmove.c: Use memcpy when possible.
74193 2012-11-06  Andreas Jaeger  <aj@suse.de>
74195         * po/eo.po: Update from translation team.
74197 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
74199         [BZ #14793]
74200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
74201         exponent and small x and y exponents, scale x or y up.  Increase
74202         by 2 the exponent used in scaling up.
74203         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74204         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74205         * math/libm-test.inc (fma_test): Add more tests.
74206         (fma_test_towardzero): Likewise.
74207         (fma_test_downward): Likewise.
74208         (fma_test_upward): Likewise.
74210 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
74212         [BZ #14805]
74213         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
74214         fenv_t *.
74216         [BZ #14801]
74217         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
74218         namespace for names of struct fields.
74219         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
74220         fenv_t fields.
74221         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
74222         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
74224 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74226         [BZ #3665]
74227         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
74229 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74231         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
74232         PTR_DEMANGLE.
74234         [BZ #5246]
74235         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
74236         PTR_DEMANGLE.
74238 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
74240         [BZ #14797]
74241         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
74242         definitely overflow as x * y not x * y + z.
74243         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74245         * math/libm-test.inc (fma_test): Add more tests.
74246         (fma_test_towardzero): Likewise.
74247         (fma_test_downward): Likewise.
74248         (fma_test_upward): Likewise.
74250 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
74252         [BZ #157]
74254         * include/stub-tag.h: Remove file.
74255         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
74256         '#include' of it.
74257         * manual/maint.texi (Porting): Don't reference it.
74258         * Makerules ($(objpfx)stubs): Likewise.
74259         * dirent/closedir.c: Don't include <stub-tag.h>.
74260         * dirent/dirfd.c: Likewise.
74261         * dirent/fdopendir.c: Likewise.
74262         * dirent/getdents.c: Likewise.
74263         * dirent/getdents64.c: Likewise.
74264         * dirent/opendir.c: Likewise.
74265         * dirent/readdir.c: Likewise.
74266         * dirent/readdir64.c: Likewise.
74267         * dirent/readdir64_r.c: Likewise.
74268         * dirent/readdir_r.c: Likewise.
74269         * dirent/rewinddir.c: Likewise.
74270         * dirent/seekdir.c: Likewise.
74271         * dirent/telldir.c: Likewise.
74272         * gmon/profil.c: Likewise.
74273         * grp/setgroups.c: Likewise.
74274         * inet/if_index.c: Likewise.
74275         * io/access.c: Likewise.
74276         * io/chdir.c: Likewise.
74277         * io/chmod.c: Likewise.
74278         * io/chown.c: Likewise.
74279         * io/close.c: Likewise.
74280         * io/dup.c: Likewise.
74281         * io/dup2.c: Likewise.
74282         * io/dup3.c: Likewise.
74283         * io/euidaccess.c: Likewise.
74284         * io/faccessat.c: Likewise.
74285         * io/fchdir.c: Likewise.
74286         * io/fchmod.c: Likewise.
74287         * io/fchmodat.c: Likewise.
74288         * io/fchown.c: Likewise.
74289         * io/fchownat.c: Likewise.
74290         * io/fcntl.c: Likewise.
74291         * io/flock.c: Likewise.
74292         * io/fstatfs.c: Likewise.
74293         * io/fstatfs64.c: Likewise.
74294         * io/fstatvfs.c: Likewise.
74295         * io/fstatvfs64.c: Likewise.
74296         * io/futimens.c: Likewise.
74297         * io/fxstat.c: Likewise.
74298         * io/fxstat64.c: Likewise.
74299         * io/fxstatat.c: Likewise.
74300         * io/fxstatat64.c: Likewise.
74301         * io/getcwd.c: Likewise.
74302         * io/isatty.c: Likewise.
74303         * io/lchmod.c: Likewise.
74304         * io/lchown.c: Likewise.
74305         * io/link.c: Likewise.
74306         * io/linkat.c: Likewise.
74307         * io/lseek.c: Likewise.
74308         * io/lseek64.c: Likewise.
74309         * io/lxstat64.c: Likewise.
74310         * io/mkdir.c: Likewise.
74311         * io/mkdirat.c: Likewise.
74312         * io/mkfifo.c: Likewise.
74313         * io/mkfifoat.c: Likewise.
74314         * io/open.c: Likewise.
74315         * io/open64.c: Likewise.
74316         * io/openat.c: Likewise.
74317         * io/openat64.c: Likewise.
74318         * io/pipe.c: Likewise.
74319         * io/pipe2.c: Likewise.
74320         * io/poll.c: Likewise.
74321         * io/posix_fadvise.c: Likewise.
74322         * io/posix_fadvise64.c: Likewise.
74323         * io/posix_fallocate.c: Likewise.
74324         * io/posix_fallocate64.c: Likewise.
74325         * io/read.c: Likewise.
74326         * io/readlink.c: Likewise.
74327         * io/readlinkat.c: Likewise.
74328         * io/rmdir.c: Likewise.
74329         * io/sendfile.c: Likewise.
74330         * io/sendfile64.c: Likewise.
74331         * io/statfs.c: Likewise.
74332         * io/statfs64.c: Likewise.
74333         * io/statvfs.c: Likewise.
74334         * io/statvfs64.c: Likewise.
74335         * io/symlink.c: Likewise.
74336         * io/symlinkat.c: Likewise.
74337         * io/ttyname.c: Likewise.
74338         * io/ttyname_r.c: Likewise.
74339         * io/umask.c: Likewise.
74340         * io/unlink.c: Likewise.
74341         * io/unlinkat.c: Likewise.
74342         * io/utime.c: Likewise.
74343         * io/utimensat.c: Likewise.
74344         * io/write.c: Likewise.
74345         * io/xmknod.c: Likewise.
74346         * io/xmknodat.c: Likewise.
74347         * io/xstat.c: Likewise.
74348         * io/xstat64.c: Likewise.
74349         * login/getpt.c: Likewise.
74350         * login/grantpt.c: Likewise.
74351         * login/unlockpt.c: Likewise.
74352         * math/e_acoshl.c: Likewise.
74353         * math/e_acosl.c: Likewise.
74354         * math/e_asinl.c: Likewise.
74355         * math/e_atan2l.c: Likewise.
74356         * math/e_atanhl.c: Likewise.
74357         * math/e_coshl.c: Likewise.
74358         * math/e_expl.c: Likewise.
74359         * math/e_fmodl.c: Likewise.
74360         * math/e_gammal_r.c: Likewise.
74361         * math/e_hypotl.c: Likewise.
74362         * math/e_j0l.c: Likewise.
74363         * math/e_j1l.c: Likewise.
74364         * math/e_jnl.c: Likewise.
74365         * math/e_lgammal_r.c: Likewise.
74366         * math/e_log10l.c: Likewise.
74367         * math/e_log2l.c: Likewise.
74368         * math/e_logl.c: Likewise.
74369         * math/e_powl.c: Likewise.
74370         * math/e_rem_pio2l.c: Likewise.
74371         * math/e_sinhl.c: Likewise.
74372         * math/e_sqrtl.c: Likewise.
74373         * math/fclrexcpt.c: Likewise.
74374         * math/fedisblxcpt.c: Likewise.
74375         * math/feenablxcpt.c: Likewise.
74376         * math/fegetenv.c: Likewise.
74377         * math/fegetexcept.c: Likewise.
74378         * math/fegetround.c: Likewise.
74379         * math/feholdexcpt.c: Likewise.
74380         * math/fesetenv.c: Likewise.
74381         * math/fesetround.c: Likewise.
74382         * math/feupdateenv.c: Likewise.
74383         * math/fgetexcptflg.c: Likewise.
74384         * math/fraiseexcpt.c: Likewise.
74385         * math/fsetexcptflg.c: Likewise.
74386         * math/ftestexcept.c: Likewise.
74387         * math/k_cosl.c: Likewise.
74388         * math/k_rem_pio2l.c: Likewise.
74389         * math/k_sinl.c: Likewise.
74390         * math/k_tanl.c: Likewise.
74391         * math/s_asinhl.c: Likewise.
74392         * math/s_atanl.c: Likewise.
74393         * math/s_cbrtl.c: Likewise.
74394         * math/s_erfl.c: Likewise.
74395         * math/s_expm1l.c: Likewise.
74396         * math/s_log1pl.c: Likewise.
74397         * math/s_tanhl.c: Likewise.
74398         * misc/acct.c: Likewise.
74399         * misc/brk.c: Likewise.
74400         * misc/chflags.c: Likewise.
74401         * misc/chroot.c: Likewise.
74402         * misc/fchflags.c: Likewise.
74403         * misc/fgetxattr.c: Likewise.
74404         * misc/flistxattr.c: Likewise.
74405         * misc/fremovexattr.c: Likewise.
74406         * misc/fsetxattr.c: Likewise.
74407         * misc/fsync.c: Likewise.
74408         * misc/ftruncate.c: Likewise.
74409         * misc/futimes.c: Likewise.
74410         * misc/futimesat.c: Likewise.
74411         * misc/getdomain.c: Likewise.
74412         * misc/getdtsz.c: Likewise.
74413         * misc/gethostid.c: Likewise.
74414         * misc/gethostname.c: Likewise.
74415         * misc/getloadavg.c: Likewise.
74416         * misc/getpagesize.c: Likewise.
74417         * misc/getsysstats.c: Likewise.
74418         * misc/getxattr.c: Likewise.
74419         * misc/gtty.c: Likewise.
74420         * misc/ioctl.c: Likewise.
74421         * misc/lgetxattr.c: Likewise.
74422         * misc/listxattr.c: Likewise.
74423         * misc/llistxattr.c: Likewise.
74424         * misc/lremovexattr.c: Likewise.
74425         * misc/lsetxattr.c: Likewise.
74426         * misc/lutimes.c: Likewise.
74427         * misc/madvise.c: Likewise.
74428         * misc/mincore.c: Likewise.
74429         * misc/mlock.c: Likewise.
74430         * misc/mlockall.c: Likewise.
74431         * misc/mmap.c: Likewise.
74432         * misc/mprotect.c: Likewise.
74433         * misc/msync.c: Likewise.
74434         * misc/munlock.c: Likewise.
74435         * misc/munlockall.c: Likewise.
74436         * misc/munmap.c: Likewise.
74437         * misc/preadv.c: Likewise.
74438         * misc/preadv64.c: Likewise.
74439         * misc/ptrace.c: Likewise.
74440         * misc/pwritev.c: Likewise.
74441         * misc/pwritev64.c: Likewise.
74442         * misc/readv.c: Likewise.
74443         * misc/reboot.c: Likewise.
74444         * misc/remap_file_pages.c: Likewise.
74445         * misc/removexattr.c: Likewise.
74446         * misc/revoke.c: Likewise.
74447         * misc/select.c: Likewise.
74448         * misc/setdomain.c: Likewise.
74449         * misc/setegid.c: Likewise.
74450         * misc/seteuid.c: Likewise.
74451         * misc/sethostid.c: Likewise.
74452         * misc/sethostname.c: Likewise.
74453         * misc/setregid.c: Likewise.
74454         * misc/setreuid.c: Likewise.
74455         * misc/setxattr.c: Likewise.
74456         * misc/sstk.c: Likewise.
74457         * misc/stty.c: Likewise.
74458         * misc/swapoff.c: Likewise.
74459         * misc/swapon.c: Likewise.
74460         * misc/sync.c: Likewise.
74461         * misc/syncfs.c: Likewise.
74462         * misc/syscall.c: Likewise.
74463         * misc/truncate.c: Likewise.
74464         * misc/ualarm.c: Likewise.
74465         * misc/usleep.c: Likewise.
74466         * misc/ustat.c: Likewise.
74467         * misc/utimes.c: Likewise.
74468         * misc/vhangup.c: Likewise.
74469         * misc/writev.c: Likewise.
74470         * posix/_exit.c: Likewise.
74471         * posix/alarm.c: Likewise.
74472         * posix/execve.c: Likewise.
74473         * posix/fexecve.c: Likewise.
74474         * posix/fork.c: Likewise.
74475         * posix/fpathconf.c: Likewise.
74476         * posix/getaddrinfo.c: Likewise.
74477         * posix/getegid.c: Likewise.
74478         * posix/geteuid.c: Likewise.
74479         * posix/getgid.c: Likewise.
74480         * posix/getgroups.c: Likewise.
74481         * posix/getlogin.c: Likewise.
74482         * posix/getlogin_r.c: Likewise.
74483         * posix/getpgid.c: Likewise.
74484         * posix/getpid.c: Likewise.
74485         * posix/getppid.c: Likewise.
74486         * posix/getresgid.c: Likewise.
74487         * posix/getresuid.c: Likewise.
74488         * posix/getsid.c: Likewise.
74489         * posix/getuid.c: Likewise.
74490         * posix/glob64.c: Likewise.
74491         * posix/nanosleep.c: Likewise.
74492         * posix/pathconf.c: Likewise.
74493         * posix/pause.c: Likewise.
74494         * posix/posix_madvise.c: Likewise.
74495         * posix/pread.c: Likewise.
74496         * posix/pread64.c: Likewise.
74497         * posix/pwrite.c: Likewise.
74498         * posix/pwrite64.c: Likewise.
74499         * posix/sched_getaffinity.c: Likewise.
74500         * posix/sched_getp.c: Likewise.
74501         * posix/sched_gets.c: Likewise.
74502         * posix/sched_primax.c: Likewise.
74503         * posix/sched_primin.c: Likewise.
74504         * posix/sched_rr_gi.c: Likewise.
74505         * posix/sched_setaffinity.c: Likewise.
74506         * posix/sched_setp.c: Likewise.
74507         * posix/sched_sets.c: Likewise.
74508         * posix/sched_yield.c: Likewise.
74509         * posix/setgid.c: Likewise.
74510         * posix/setlogin.c: Likewise.
74511         * posix/setpgid.c: Likewise.
74512         * posix/setresgid.c: Likewise.
74513         * posix/setresuid.c: Likewise.
74514         * posix/setsid.c: Likewise.
74515         * posix/setuid.c: Likewise.
74516         * posix/sleep.c: Likewise.
74517         * posix/spawni.c: Likewise.
74518         * posix/sysconf.c: Likewise.
74519         * posix/times.c: Likewise.
74520         * posix/wait.c: Likewise.
74521         * posix/wait3.c: Likewise.
74522         * posix/wait4.c: Likewise.
74523         * posix/waitpid.c: Likewise.
74524         * resolv/gai_sigqueue.c: Likewise.
74525         * resource/getpriority.c: Likewise.
74526         * resource/getrlimit.c: Likewise.
74527         * resource/getrusage.c: Likewise.
74528         * resource/nice.c: Likewise.
74529         * resource/setpriority.c: Likewise.
74530         * resource/setrlimit.c: Likewise.
74531         * resource/ulimit.c: Likewise.
74532         * rt/aio_cancel.c: Likewise.
74533         * rt/aio_fsync.c: Likewise.
74534         * rt/aio_read.c: Likewise.
74535         * rt/aio_sigqueue.c: Likewise.
74536         * rt/aio_suspend.c: Likewise.
74537         * rt/aio_write.c: Likewise.
74538         * rt/clock_getres.c: Likewise.
74539         * rt/clock_gettime.c: Likewise.
74540         * rt/clock_nanosleep.c: Likewise.
74541         * rt/clock_settime.c: Likewise.
74542         * rt/lio_listio.c: Likewise.
74543         * rt/mq_close.c: Likewise.
74544         * rt/mq_getattr.c: Likewise.
74545         * rt/mq_notify.c: Likewise.
74546         * rt/mq_open.c: Likewise.
74547         * rt/mq_receive.c: Likewise.
74548         * rt/mq_send.c: Likewise.
74549         * rt/mq_setattr.c: Likewise.
74550         * rt/mq_timedreceive.c: Likewise.
74551         * rt/mq_timedsend.c: Likewise.
74552         * rt/mq_unlink.c: Likewise.
74553         * rt/shm_open.c: Likewise.
74554         * rt/shm_unlink.c: Likewise.
74555         * rt/timer_create.c: Likewise.
74556         * rt/timer_delete.c: Likewise.
74557         * rt/timer_getoverr.c: Likewise.
74558         * rt/timer_gettime.c: Likewise.
74559         * rt/timer_settime.c: Likewise.
74560         * setjmp/__longjmp.c: Likewise.
74561         * setjmp/setjmp.c: Likewise.
74562         * signal/kill.c: Likewise.
74563         * signal/killpg.c: Likewise.
74564         * signal/raise.c: Likewise.
74565         * signal/sigaction.c: Likewise.
74566         * signal/sigaltstack.c: Likewise.
74567         * signal/sigblock.c: Likewise.
74568         * signal/sigignore.c: Likewise.
74569         * signal/sigintr.c: Likewise.
74570         * signal/signal.c: Likewise.
74571         * signal/sigpause.c: Likewise.
74572         * signal/sigpending.c: Likewise.
74573         * signal/sigqueue.c: Likewise.
74574         * signal/sigreturn.c: Likewise.
74575         * signal/sigset.c: Likewise.
74576         * signal/sigsetmask.c: Likewise.
74577         * signal/sigstack.c: Likewise.
74578         * signal/sigsuspend.c: Likewise.
74579         * signal/sigtimedwait.c: Likewise.
74580         * signal/sigvec.c: Likewise.
74581         * signal/sigwait.c: Likewise.
74582         * signal/sigwaitinfo.c: Likewise.
74583         * signal/sysv_signal.c: Likewise.
74584         * socket/accept.c: Likewise.
74585         * socket/accept4.c: Likewise.
74586         * socket/bind.c: Likewise.
74587         * socket/connect.c: Likewise.
74588         * socket/getpeername.c: Likewise.
74589         * socket/getsockname.c: Likewise.
74590         * socket/getsockopt.c: Likewise.
74591         * socket/isfdtype.c: Likewise.
74592         * socket/listen.c: Likewise.
74593         * socket/recv.c: Likewise.
74594         * socket/recvfrom.c: Likewise.
74595         * socket/recvmsg.c: Likewise.
74596         * socket/send.c: Likewise.
74597         * socket/sendmsg.c: Likewise.
74598         * socket/sendto.c: Likewise.
74599         * socket/setsockopt.c: Likewise.
74600         * socket/shutdown.c: Likewise.
74601         * socket/sockatmark.c: Likewise.
74602         * socket/socket.c: Likewise.
74603         * socket/socketpair.c: Likewise.
74604         * stdio-common/ctermid.c: Likewise.
74605         * stdio-common/cuserid.c: Likewise.
74606         * stdio-common/remove.c: Likewise.
74607         * stdio-common/rename.c: Likewise.
74608         * stdio-common/renameat.c: Likewise.
74609         * stdio-common/tempname.c: Likewise.
74610         * stdlib/getcontext.c: Likewise.
74611         * stdlib/makecontext.c: Likewise.
74612         * stdlib/setcontext.c: Likewise.
74613         * stdlib/swapcontext.c: Likewise.
74614         * stdlib/system.c: Likewise.
74615         * streams/fattach.c: Likewise.
74616         * streams/fdetach.c: Likewise.
74617         * streams/getmsg.c: Likewise.
74618         * streams/getpmsg.c: Likewise.
74619         * streams/putmsg.c: Likewise.
74620         * streams/putpmsg.c: Likewise.
74621         * sysdeps/unix/bsd/getpt.c: Likewise.
74622         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
74623         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
74624         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
74625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
74626         Likewise.
74627         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
74628         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
74629         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
74630         * sysvipc/msgctl.c: Likewise.
74631         * sysvipc/msgget.c: Likewise.
74632         * sysvipc/msgrcv.c: Likewise.
74633         * sysvipc/msgsnd.c: Likewise.
74634         * sysvipc/semctl.c: Likewise.
74635         * sysvipc/semget.c: Likewise.
74636         * sysvipc/semop.c: Likewise.
74637         * sysvipc/semtimedop.c: Likewise.
74638         * sysvipc/shmat.c: Likewise.
74639         * sysvipc/shmctl.c: Likewise.
74640         * sysvipc/shmdt.c: Likewise.
74641         * sysvipc/shmget.c: Likewise.
74642         * termios/tcdrain.c: Likewise.
74643         * termios/tcflow.c: Likewise.
74644         * termios/tcflush.c: Likewise.
74645         * termios/tcgetattr.c: Likewise.
74646         * termios/tcgetpgrp.c: Likewise.
74647         * termios/tcsendbrk.c: Likewise.
74648         * termios/tcsetattr.c: Likewise.
74649         * termios/tcsetpgrp.c: Likewise.
74650         * time/adjtime.c: Likewise.
74651         * time/clock.c: Likewise.
74652         * time/getitimer.c: Likewise.
74653         * time/gettimeofday.c: Likewise.
74654         * time/setitimer.c: Likewise.
74655         * time/settimeofday.c: Likewise.
74656         * time/stime.c: Likewise.
74657         * time/time.c: Likewise.
74659 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
74661         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
74662         /usr/old/bin.
74664         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
74665         instead of spaces.
74666         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
74668 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
74670         [BZ #14796]
74671         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
74672         FE_TONEAREST before applying Dekker multiplication and Knuth
74673         addition.  Clear inexact exceptions and check for exact zero
74674         results afterwards.
74675         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74676         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
74677         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74678         * math/libm-test.inc (fma_test): Add more tests.
74679         (fma_test_towardzero): Likewise.
74680         (fma_test_downward): Likewise.
74681         (fma_test_upward): Likewise.
74682         * sysdeps/generic/math_private.h (default_libc_fesetround): New
74683         function.
74684         (libc_fesetround): New macro.
74685         (libc_fesetroundf): Likewise.
74686         (libc_fesetroundl): Likewise.
74687         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
74688         function.
74689         (libc_fesetround_387): Likewise.
74690         (libc_fesetroundf): New macro.
74691         (libc_fesetround): Likewise.
74692         (libc_fesetroundl): Likewise.
74693         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
74694         function.
74695         (libc_fesetroundf): New macro.
74696         (libc_fesetround): Likewise.
74697         (libc_fesetroundl): Likewise.
74698         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
74699         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
74700         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
74701         libm_hidden_ver.
74702         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
74703         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
74704         libm_hidden_def.
74705         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
74706         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
74707         libm_hidden_ver.
74708         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
74709         libm_hidden_def.
74711         [BZ #3439]
74712         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
74713         integer constant usable in #if and use that to give value to enum
74714         constant.
74715         (FE_DIVBYZERO): Likewise.
74716         (FE_UNDERFLOW): Likewise.
74717         (FE_OVERFLOW): Likewise.
74718         (FE_INVALID): Likewise.
74719         (FE_INVALID_SNAN): Likewise.
74720         (FE_INVALID_ISI): Likewise.
74721         (FE_INVALID_IDI): Likewise.
74722         (FE_INVALID_ZDZ): Likewise.
74723         (FE_INVALID_IMZ): Likewise.
74724         (FE_INVALID_COMPARE): Likewise.
74725         (FE_INVALID_SOFTWARE): Likewise.
74726         (FE_INVALID_SQRT): Likewise.
74727         (FE_INVALID_INTEGER_CONVERSION): Likewise.
74728         (FE_TONEAREST): Likewise.
74729         (FE_TOWARDZERO): Likewise.
74730         (FE_UPWARD): Likewise.
74731         (FE_DOWNWARD): Likewise.
74732         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
74733         (FE_DIVBYZERO): Likewise.
74734         (FE_OVERFLOW): Likewise.
74735         (FE_UNDERFLOW): Likewise.
74736         (FE_INEXACT): Likewise.
74737         (FE_TONEAREST): Likewise.
74738         (FE_DOWNWARD): Likewise.
74739         (FE_UPWARD): Likewise.
74740         (FE_TOWARDZERO): Likewise.
74741         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
74742         (FE_UNDERFLOW): Likewise.
74743         (FE_OVERFLOW): Likewise.
74744         (FE_DIVBYZERO): Likewise.
74745         (FE_INVALID): Likewise.
74746         (FE_TONEAREST): Likewise.
74747         (FE_TOWARDZERO): Likewise.
74748         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
74749         (FE_OVERFLOW): Likewise.
74750         (FE_UNDERFLOW): Likewise.
74751         (FE_DIVBYZERO): Likewise.
74752         (FE_INEXACT): Likewise.
74753         (FE_TONEAREST): Likewise.
74754         (FE_TOWARDZERO): Likewise.
74755         (FE_UPWARD): Likewise.
74756         (FE_DOWNWARD): Likewise.
74757         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
74758         (FE_DIVBYZERO): Likewise.
74759         (FE_OVERFLOW): Likewise.
74760         (FE_UNDERFLOW): Likewise.
74761         (FE_INEXACT): Likewise.
74762         (FE_TONEAREST): Likewise.
74763         (FE_DOWNWARD): Likewise.
74764         (FE_UPWARD): Likewise.
74765         (FE_TOWARDZERO): Likewise.
74767 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
74769         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
74771 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
74773         * scripts/cross-test-ssh.sh (command): Use newlines to separate
74774         commands.  Quote $PWD.
74775         (blacklist_exports): Don't use remove_newlines.  Replace "declare
74776         -x" by "export".
74777         (remove_newlines): Remove.
74779 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
74781         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
74782         * stdlib/stdlib.h (atof): Moved to ...
74783         * include/bits/stdlib-float.h: Here.  New file.
74784         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
74785         * stdlib/bits/stdlib-float.h: New file.
74786         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
74787         -mno-sse -mno-mmx.
74788         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
74789         <xmmintrin.h>.
74791 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74793         * conform/conformtest.pl (@headers): Add fenv.h.
74794         * conform/data/fenv.h-data: New file.
74795         * include/fenv.h [_ISOMAC]: Disable all contents of file except
74796         include of <math/fenv.h>.
74798         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
74799         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
74800         && !UNIX98].  Enables tests for XOPEN2K8.
74801         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
74802         POSIX2008]: Likewise.
74804         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
74805         (struct rusage): Do not expect type or its members.
74807         [BZ #3439]
74808         * math/math.h (FP_NAN): Define macro to integer constant usable in
74809         #if and use that to give value to enum constant.
74810         (FP_INFINITE): Likewise.
74811         (FP_ZERO): Likewise.
74812         (FP_SUBNORMAL): Likewise.
74813         (FP_NORMAL): Likewise.
74815 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
74817         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
74818         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
74819         arguments.
74821 2012-11-02  Roland McGrath  <roland@hack.frob.com>
74823         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
74824         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
74825         autoconf-time if not.
74826         * configure.in: Remove AC_PREREQ.
74828 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74830         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
74831         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
74832         of the internal implementation.
74834 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
74836         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
74837         except include of <misc/sys/syslog.h>.
74839 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
74842         function returns with a NULL context exit with zero.
74844 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74846         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
74848 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
74850         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
74851         (run_program_cmd): This.
74852         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
74853         (tst_langinfo): New variable.  Use it.
74855 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
74857         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
74858         floating point opcodes.
74860 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74862         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
74863         variable.
74865         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
74867         * sysdeps/mach/hurd/powerpc: Remove directory.
74868         * sysdeps/mach/powerpc: Likewise.
74870 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
74872         * scripts/check-local-headers.sh: Ignore c++ headers.
74874 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74876         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
74877         __libc_cleanup_region_start argument.
74879 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
74881         [BZ #14784]
74882         [BZ #14785]
74883         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
74884         x * y using scaling, not as x * y + z.
74885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74886         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74887         * math/libm-test.inc (fma_test): Add more tests.
74888         (fma_test_towardzero): Likewise.
74889         (fma_test_downward): Likewise.
74890         (fma_test_upward): Likewise.
74892 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
74894         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
74896 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74898         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
74899         New variable.
74901 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
74903         * rt/tst-shm.c (worker): Correct checking for mmap failure.
74905 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74908         Fix sort order.
74909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74910         Likewise.
74912 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
74914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
74915         Fix the order of the list for glibc 2.17.
74916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
74917         Likewise.
74919 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
74921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
74923 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
74925         [BZ #14610]
74926         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
74927         for low part of x being zero before using __atanl (y).
74928         * math/libm-test.inc (atan2_test): Add another test.
74930         * manual/install.texi (Configuring and compiling): Document
74931         general use of test-wrapper and test-wrapper-env.
74932         * INSTALL: Regenerated.
74934         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
74935         (__fma): Do not extract and scale down low bits on after-rounding
74936         systems when result rounded to normal precision would have normal
74937         exponent.
74938         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
74939         (__fmal): Do not extract and scale down low bits on after-rounding
74940         systems when result rounded to normal precision would have normal
74941         exponent.
74942         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
74943         (__fmal): Do not extract and scale down low bits on after-rounding
74944         systems when result rounded to normal precision would have normal
74945         exponent.
74946         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
74947         macro.
74948         (fma_test): Add more tests.
74949         (fma_test_towardzero): Likewise.
74950         (fma_test_downward): Likewise.
74951         (fma_test_upward): Likewise.
74953 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
74955         * sysdeps/i386/tininess.h: Renamed to ...
74956         * sysdeps/x86/tininess.h: This.
74957         * sysdeps/x86_64/tininess.h: Removed.
74959 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74961         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
74962         input.  Use $(build-program-cmd).
74963         ($(objpfx)tst-array1-static.out): Likewise.
74964         ($(objpfx)tst-array2.out): Likewise.
74965         ($(objpfx)tst-array3.out): Likewise.
74966         ($(objpfx)tst-array4.out): Likewise.
74967         ($(objpfx)tst-array5.out): Likewise.
74968         ($(objpfx)tst-array5-static.out): Likewise.
74970 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
74972         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
74973         if defined.
74975         * nss/nsswitch.h (nss_interface_function): Provide new
74976         macro for use with NSS functions.
74977         * grp/initgroups.c: Use new macro.
74978         * nss/getXXbyYY.c: Likewise.
74979         * nss/getXXbyYY_r.c: Likewise.
74980         * nss/getXXent.c: Likewise.
74981         * nss/getXXent_r.c: Likewise.
74982         * sysdeps/posix/getaddrinfo.c: Likewise.
74984 2012-10-30  Andreas Jaeger  <aj@suse.de>
74986         * po/ru.po: Update Russion translation from translation project.
74988 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
74990         [BZ #14152]
74991         [BZ #14783]
74992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
74993         result and shift together with sticky bit instead of replicating
74994         round-to-nearest rounding.
74995         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
74996         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
74997         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
74998         missing underflow exceptions.
74999         (fma_test_towardzero): Add more tests.
75000         (fma_test_downward): Likewise.
75001         (fma_test_upward): Likewise.
75003         [BZ #14047]
75004         * sysdeps/generic/tininess.h: New file.
75005         * sysdeps/i386/tininess.h: Likewise.
75006         * sysdeps/sh/tininess.h: Likewise.
75007         * sysdeps/x86_64/tininess.h: Likewise.
75008         * stdlib/tst-strtod-underflow.c: Likewise.
75009         * stdlib/tst-tininess.c: Likewise.
75010         * stdlib/strtod_l.c: Include <tininess.h>.
75011         (round_and_return): Do not set errno for exact underflow cases.
75012         Force an underflow exception when setting errno for underflow.
75013         Determine underflow based on rounding to normal precision if
75014         TININESS_AFTER_ROUNDING.
75015         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
75016         ERANGE for exact underflow cases.
75017         * stdlib/Makefile (tests): Add tst-tininess and
75018         tst-strtod-underflow.
75019         ($(objpfx)tst-tininess): Use $(link-libm).
75020         ($(objpfx)tst-strtod-underflow): Likewise.
75022 2012-10-30  Andreas Jaeger  <aj@suse.de>
75024         [BZ #14767]
75025         * elf/Makefile (tests): Remove conditional for have-initfini-array
75026         since this is now always required and the variable does not exist
75027         anymore.
75028         (tests-static): Likewise.
75029         (modules-names): Likewise.
75031         * po/eo.po: Add Esperanto translation from translation project.
75033         * elf/tst-array1.c (fini_array): Make writeable so that it can be
75034         merged with constructor/destructor.
75035         (init_array): Likewise.
75036         * elf/tst-array2dep.c (fini_array): Likewise.
75037         (init_array): Likewise.
75039 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
75041         * manual/message.texi: Delete @cartouche tags.
75043 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
75045         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
75046         EOPNOTSUPP.
75047         * sysdeps/mach/hurd/fsync.c: Likewise.
75049         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
75050         [_POSIX_REALTIME_SIGNALS]: Change condition to
75051         [_POSIX_REALTIME_SIGNALS > 0].
75053 2012-10-27  Andreas Jaeger  <aj@suse.de>
75055         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
75056         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
75057         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
75058         [__WORDSIZE != 64]: Likewise.
75060 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
75062         *  iconvdata/tst-table.sh: Remove ${SHELL}.
75063         *  iconvdata/tst-tables.sh: Likewise.
75065 2012-10-25  David S. Miller  <davem@davemloft.net>
75067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75068         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
75069         of strtoull.
75071         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
75072         ifunc-impl-list.c
75073         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75074         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
75075         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
75076         file.
75078 2012-10-25  Roland McGrath  <roland@hack.frob.com>
75080         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75081         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
75082         __getdirentries.
75084 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75085             Jim Blandy  <jimb@codesourcery.com>
75087         * scripts/cross-test-ssh.sh: New file.
75088         * manual/install.texi (Configuring and compiling): Document use of
75089         cross-test-ssh.sh.
75090         * INSTALL: Regenerated.
75092 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
75094         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
75095         EOPNOTSUPP.
75097 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
75099         * Makeconfig (run-program-prefix): Fix comment.
75101 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75102             Jim Blandy  <jimb@codesourcery.com>
75104         * Makeconfig (test-wrapper): New variable,
75105         (test-wrapper-env): Likewise.
75106         [$(cross-compiling) = yes && $(test-wrapper) != ""]
75107         (run-built-tests): Define to yes.
75108         (run-program-prefix): Use $(test-wrapper).
75109         (built-program-cmd): Likewise.
75110         * Rules (make-test-out): Use $(test-wrapper-env) and
75111         $(host-built-program-cmd).
75112         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
75113         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
75114         tst-pathopt.sh.
75115         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
75116         $(test-wrapper-env) to tst-rtld-load-self.sh.
75117         ($(objpfx)order2.out): Use $(test-wrapper).
75118         ($(objpfx)tst-initorder.out): Likewise.
75119         ($(objpfx)tst-initorder2.out): Likewise.
75120         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
75121         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
75122         (test_wrapper_env): New variable.  Use it to run ld.so.
75123         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
75124         Use it to run ld.so.
75125         (test_wrapper_env): Likewise.
75126         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
75127         $(test-wrapper) to run-iconv-test.sh.
75128         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
75129         (ICONV): Use $test_wrapper.
75130         * posix/Makefile ($(objpfx)globtest.out): Pass
75131         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
75132         globtest.sh, not $(run-program-prefix).
75133         * posix/globtest.sh (run_via_rtld_prefix): New variable.
75134         (test_wrapper): Likewise.
75135         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
75136         set together with run_via_rtld_prefix.
75137         (run_program_prefix): Define in terms of test_wrapper and
75138         run_via_rtld_prefix.
75140 2012-10-24  Roland McGrath  <roland@hack.frob.com>
75142         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
75143         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
75144         Targets removed.
75146         [BZ #14743]
75147         * include/time.h: Remove librt_hidden_proto (clock_gettime).
75148         Declare __clock_getres, __clock_gettime, __clock_settime,
75149         __clock_nanosleep, and __clock_getcpuclockid.
75150         * rt/clock_gettime.c: Define __clock_gettime as an alias.
75151         Remove librt_hidden_def (clock_gettime).
75152         * sysdeps/unix/clock_gettime.c: Likewise.
75153         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
75154         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
75155         * rt/clock_getres.c: Define __clock_getres as an alias.
75156         * sysdeps/posix/clock_getres.c: Likewise.
75157         * rt/clock_settime.c: Define __clock_settime as an alias.
75158         * sysdeps/unix/clock_settime.c: Likewise.
75159         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
75160         * sysdeps/unix/clock_nanosleep.c: Likewise.
75161         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
75162         * rt/clock-compat.c: New file.
75163         * rt/Makefile (librt-routines): Add clock-compat and move
75164         $(clock-routines) to ...
75165         (routines): ... here, new variable.
75166         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
75167         Don't add get_clockfreq here.
75168         * rt/Versions (libc: GLIBC_2.17): New version set.
75169         Add clock_* symbols here.
75170         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
75171         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
75172         (GLIBC_2.17): Add clock_* symbols.
75173         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
75174         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
75175         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
75176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
75177         Likewise.
75178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
75179         Likewise.
75180         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
75181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
75182         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
75183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
75184         * NEWS: Mention the move.
75186         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
75187         Use __open, __read, __close rather than their public counterparts.
75188         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
75189         (__get_clockfreq_via_cpuinfo): Likewise.
75190         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
75191         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
75193         * config.h.in (HAVE_IFUNC): New #undef.
75194         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
75195         was successful.
75196         * configure: Regenerated.
75198 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75200         * configure.in: Move READELF check to start of file.
75201         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
75202         libc_cv_asm_gnu_indirect_function in the process.
75203         * configure: Regenerated.
75205 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
75207         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
75208         send the output to /dev/null.
75209         (libc_cv_cc_with_libunwind): Likewise.
75210         (libc_cv_as_noexecstack): Likewise.
75211         * configure: Regenerate.
75213 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
75215         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
75217         * posix/globtest.sh (TMPDIR): Do not set.
75218         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
75219         (testout): Likewise.
75221 2012-10-24  Andreas Jaeger  <aj@suse.de>
75223         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
75224         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
75225         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
75226         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
75227         posix_fadvise64, posix_fallocate64.
75229         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
75230         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
75231         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
75232         Likewise.
75233         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
75234         Likewise.
75235         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
75237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
75238         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
75239         <bits/fcntl-linux.h>.
75240         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
75242         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
75243         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
75244         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
75245         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
75246         [__WORDSIZE != 64]: Likewise.
75248 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75250         * Makeconfig (run-built-tests): New variable.
75251         * Rules [$(cross-compiling) = yes]: Change condition to
75252         [$(run-built-tests) = no].
75253         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
75254         to [$(run-built-tests) = yes].
75255         * elf/Makefile [$(cross-compiling) = no]: Likewise.
75256         * grp/Makefile [$(cross-compiling) = no]: Likewise.
75257         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
75258         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
75259         * intl/Makefile [$(cross-compiling) = no]: Likewise.
75260         * io/Makefile [$(cross-compiling) = no]: Likewise.
75261         * libio/Makefile [$(cross-compiling) = no]: Likewise.
75262         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
75263         * misc/Makefile [$(cross-compiling) = no]: Likewise.
75264         * posix/Makefile [$(cross-compiling) = no]: Likewise.
75265         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
75266         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
75267         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
75268         * string/Makefile [$(cross-compiling) = no]: Likewise.
75270         * posix/Makefile ($(objpfx)globtest.out): Pass
75271         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
75272         $(rtld-installed-name).
75273         * posix/globtest.sh (elf_objpfx): Remove variable.
75274         (rtld_installed_name): Likewise.
75275         (library_path): Likewise.
75276         (run_program_prefix): New variable.  Use for running globtest
75277         binary.
75279 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
75280             Joseph Myers  <joseph@codesourcery.com>
75282         * Makeconfig (host-built-program-cmd): New variable.
75283         * elf/Makefile (tst-stackguard1-ARGS): Use
75284         $(host-built-program-cmd).
75285         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
75286         (tst-spawn-ARGS): Likewise.
75287         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
75289 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
75290             Jim Blandy  <jimb@codesourcery.com>
75292         * Makeconfig (run-via-rtld-prefix): New variable.
75293         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
75294         (built-program-cmd): Likewise.
75296 2012-10-22  Andreas Jaeger  <aj@suse.de>
75298         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
75299         __O_RSYNC if it exists, otherwise to O_SYNC.
75301 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
75302             Joseph Myers  <joseph@codesourcery.com>
75304         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
75305         /dev/null.
75306         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
75307         from /dev/null
75308         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
75309         /dev/null.
75311 2012-10-22  Andreas Jaeger  <aj@suse.de>
75313         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
75314         Define always.
75315         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
75317         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
75318         bits/fcntl-linux.h.
75320         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
75321         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
75323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
75324         to __O_LARGEFILE.
75325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
75326         to __O_LARGEFILE.
75328 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
75329             Joseph Myers  <joseph@codesourcery.com>
75331         * config.make.in (NM): New variable.
75333 2012-10-21  Andreas Jaeger  <aj@suse.de>
75335         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
75336         definitions and declarations that are provided by
75337         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
75339 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75341         [BZ #14683]
75342         * elf/Makefile (tests-static): Add tst-leaks1-static.
75343         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
75344         ($(objpfx)tst-leaks1-static): New rule.
75345         ($(objpfx)tst-leaks1-static-mem): Likewise.
75346         (tst-leaks1-static-ENV): New macro.
75347         * elf/dl-open.c (dl_open_worker): Check the main application
75348         only if SHARED is defined.
75349         * elf/tst-leaks1-static.c: New file.
75351 2012-10-20  Andreas Jaeger  <aj@suse.de>
75353         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
75354         generic values for Linux.
75355         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
75356         and declarations that are provided by <bits/fcntl-linux.h> and
75357         include <bits/fcntl-linux.h>.
75358         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
75359         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
75361 2012-10-20  Roland McGrath  <roland@hack.frob.com>
75363         * io/fcntl.h: Move include of <bits/types.h> to the top and
75364         include it unconditionally.
75366 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
75368         * wcsmbs/Makefile (tests-ifunc): New variable.
75369         (tests): Add $(tests-ifunc).
75370         * wcsmbs/test-wcschr-ifunc.c: New file.
75371         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
75372         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
75373         * wcsmbs/test-wcslen-ifunc.c: Likewise.
75374         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
75375         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
75377         * string/Makefile (tests-ifunc): New variable.
75378         (tests): Add $(tests-ifunc).
75379         * string/test-memccpy.c (TEST_NAME): New macro.
75380         * string/test-memchr.c (TEST_NAME): Likewise.
75381         * string/test-memcmp.c (TEST_NAME): Likewise.
75382         * string/test-memcpy.c (TEST_NAME): Likewise.
75383         * string/test-memmem.c (TEST_NAME): Likewise.
75384         * string/test-memmove.c (TEST_NAME): Likewise.
75385         * string/test-memset.c (TEST_NAME): Likewise.
75386         * string/test-rawmemchr.c (TEST_NAME): Likewise.
75387         * string/test-stpcpy.c (TEST_NAME): Likewise.
75388         * string/test-stpncpy.c (TEST_NAME): Likewise.
75389         * string/test-strcasecmp.c (TEST_NAME): Likewise.
75390         * string/test-strcasestr.c (TEST_NAME): Likewise.
75391         * string/test-strcat.c (TEST_NAME): Likewise.
75392         * string/test-strchr.c (TEST_NAME): Likewise.
75393         * string/test-strcmp.c(TEST_NAME): Likewise.
75394         * string/test-strcpy.c (TEST_NAME): Likewise.
75395         * string/test-strcspn.c (TEST_NAME): Likewise.
75396         * string/test-strlen.c (TEST_NAME): Likewise.
75397         * string/test-strncasecmp.c (TEST_NAME): Likewise.
75398         * string/test-strncmp.c (TEST_NAME): Likewise.
75399         * string/test-strncpy.c (TEST_NAME): Likewise.
75400         * string/test-strnlen.c (TEST_NAME): Likewise.
75401         * string/test-strpbrk.c (TEST_NAME): Likewise.
75402         * string/test-strrchr.c (TEST_NAME): Likewise.
75403         * string/test-strspn.c (TEST_NAME): Likewise.
75404         * string/test-strstr.c (TEST_NAME): Likewise.
75405         * string/test-bcopy-ifunc.c: New file.
75406         * string/test-bzero-ifunc.c: Likewise.
75407         * string/test-memccpy-ifunc.c: Likewise.
75408         * string/test-memchr-ifunc.c: Likewise.
75409         * string/test-memcmp-ifunc.c: Likewise.
75410         * string/test-memcpy-ifunc.c: Likewise.
75411         * string/test-memmem-ifunc.c: Likewise.
75412         * string/test-memmove-ifunc.c: Likewise.
75413         * string/test-mempcpy-ifunc.c: Likewise.
75414         * string/test-memset-ifunc.c: Likewise.
75415         * string/test-rawmemchr-ifunc.c: Likewise.
75416         * string/test-stpcpy-ifunc.c: Likewise.
75417         * string/test-stpncpy-ifunc.c: Likewise.
75418         * string/test-strcasecmp-ifunc.c: Likewise.
75419         * string/test-strcasestr-ifunc.c: Likewise.
75420         * string/test-strcat-ifunc.c: Likewise.
75421         * string/test-strchr-ifunc.c: Likewise.
75422         * string/test-strchrnul-ifunc.c: Likewise.
75423         * string/test-strcmp-ifunc.c: Likewise.
75424         * string/test-strcpy-ifunc.c: Likewise.
75425         * string/test-strcspn-ifunc.c: Likewise.
75426         * string/test-strlen-ifunc.c: Likewise.
75427         * string/test-strncasecmp-ifunc.c: Likewise.
75428         * string/test-strncat-ifunc.c: Likewise.
75429         * string/test-strncmp-ifunc.c: Likewise.
75430         * string/test-strncpy-ifunc.c: Likewise.
75431         * string/test-strnlen-ifunc.c: Likewise.
75432         * string/test-strpbrk-ifunc.c: Likewise.
75433         * string/test-strrchr-ifunc.c: Likewise.
75434         * string/test-strspn-ifunc.c: Likewise.
75435         * string/test-strstr-ifunc.c: Likewise.
75437         * debug/Makefile (tests-ifunc): New variable.
75438         (tests): Add $(tests-ifunc).
75439         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
75440         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
75441         * debug/test-stpcpy_chk-ifunc.c: New file.
75442         * debug/test-strcpy_chk-ifunc.c: Likewise.
75444 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
75446         [BZ #13601]
75447         * elf/dl-load.c (open_verify): Retry read if the entire ELF
75448         header is not read in.
75450 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
75452         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
75453         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
75454         directly.  Pass built executable to script as
75455         $(built-program-cmd).
75456         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
75457         $testprogram without using LD_LIBRARY_PATH and $ldso.
75459         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
75460         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
75461         $(rtld-installed-name).
75462         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
75463         (rtld_installed_name): Likewise.
75464         (library_path): Likewise.
75465         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
75466         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
75467         $(run-program-prefix) to tst-tables.sh.
75468         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
75469         it to run tst-table-from and tst-table-to.
75470         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
75471         Pass it to tst-table.sh.
75472         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
75473         $(run-program-prefix) to tst-gettext.sh.
75474         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
75475         tst-translit.sh.
75476         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
75477         tst-gettext2.sh.
75478         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
75479         to run tst-gettext.
75480         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
75481         to run tst-gettext2.
75482         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
75483         to run tst-translit.
75484         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
75485         $(run-program-prefix) to tst-mtrace.sh.
75486         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
75487         to run tst-mtrace.
75488         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
75489         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
75490         $(rtld-installed-name).
75491         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
75492         (rtld_installed_name): Likewise.
75493         (run_program_prefix): New variable.  Use it to run wordexp-test.
75495         * Makeconfig (ARCH): Remove all definitions.
75496         (machine): Likewise.
75497         [ARCH]: Remove conditional code.
75498         [!objdir]: Give error.
75499         [!objdir] (objpfx): Remove.
75500         [!objdir] (common-objpfx): Likewise.
75501         [!objdir] (common-objdir): Likewise.
75502         * configure.in (config_makefile): Remove.  Hardcode Makefile in
75503         AC_CONFIG_FILES call.
75504         * configure: Regenerated.
75506         [BZ #13888]
75507         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
75508         or TMPDIR.
75509         (testout): Likewise.
75511         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
75512         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
75513         $(rtld-installed-name).
75514         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
75515         (rtld_installed_name): Likewise.
75516         (runit): Remove function.
75517         (run_getconf): New variable,  Use it for running getconf binary.
75519 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
75521         [BZ #14716]
75522         * string/test-memmem.c (check_result): New function.
75523         (do_one_test): Use it.
75524         (check1): New function.
75525         (test_main): Use it.
75527 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
75529         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
75531 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
75533         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
75534         (_G_LSEEK64): Likewise.
75535         (_G_MMAP64): Likewise.
75536         (_G_FSTAT64): Likewise.
75537         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
75538         (_G_LSEEK64): Likewise.
75539         (_G_MMAP64): Likewise.
75540         (_G_FSTAT64): Likewise.
75541         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
75542         unconditional.  Call __mmap64 directly.
75543         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
75544         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
75545         __lseek64 directly.
75546         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
75547         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
75548         __mmap64 directly.
75549         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
75550         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75551         __lseek64 directly.
75552         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
75553         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
75554         __lseek64 directly.
75555         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
75556         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
75557         __lseek64 directly.
75558         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
75559         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
75560         __fxstat64 directly.
75561         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
75562         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
75563         unconditional.
75564         (freopen64) [!_G_OPEN64]: Remove conditional code.
75565         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
75566         unconditional.
75567         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
75568         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
75569         unconditional.
75570         (ftello64) [!_G_LSEEK64]: Remove conditional code.
75571         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
75572         unconditional.
75573         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75574         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
75575         unconditional.
75576         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
75577         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
75578         unconditional.
75579         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75580         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
75581         unconditional.
75582         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
75583         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
75584         unconditional.
75585         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
75587 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
75589         [BZ #12140]
75590         * manual/memory.texi (Malloc Tunable Parameters): Add note
75591         about free list pointers overwriting some perturb bytes.
75592         Wording suggested by Roland McGrath.
75594 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
75596         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
75597         (lgamma_test): Likewise.
75598         (tgamma_test): Likewise.
75600 2012-10-16  Florian Weimer  <fweimer@redhat.com>
75602         [BZ #14700]
75603         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
75604         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
75606 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
75608         * NEWS: Mention BZ #14716.
75609         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
75610         when removing AVAILABLE1_USES_J macro.
75612 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
75614         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
75615         (__bswap_64): __uint64_t for unsigned 64-bit int.
75617 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
75619         * include/string.h (memmem): Declare libc hidden alias.
75620         * string/memmem.c (memmem): Define libc hidden alias.
75621         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
75622         __read, __close instead of open, read, close.
75624 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
75626         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
75627         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
75628         global and hidden.
75629         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
75630         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
75631         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
75632         Likewise.
75633         (__rawmemchr_sse2): Likewise.
75634         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
75635         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
75636         (__strchr_sse2): Likewise.
75637         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
75638         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
75639         (__strcasecmp_sse2): Likewise.
75640         (__strncasecmp_sse2): Likewise.
75641         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
75642         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
75643         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
75644         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
75645         (__strrchr_sse2): Likewise.
75646         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
75647         ifunc-impl-list.c.
75648         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
75649         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
75650         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
75651         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
75652         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
75653         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
75654         * sysdeps/x86_64/multiarch/memset.S: Likewise.
75655         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
75656         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
75657         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
75658         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
75659         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
75660         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
75661         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
75662         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
75663         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
75664         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
75665         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
75666         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
75667         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
75668         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
75669         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
75670         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
75671         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
75672         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
75673         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75674         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
75675         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75676         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
75677         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
75679         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
75680         global and hidden.
75681         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
75682         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
75683         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
75684         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
75685         Likewise.
75686         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
75687         Likewise.
75688         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
75689         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
75690         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
75691         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
75692         ifunc-impl-list.c.
75693         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
75694         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
75695         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
75696         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
75697         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
75698         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
75699         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
75700         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
75701         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
75702         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
75703         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
75704         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
75705         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
75706         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
75707         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
75708         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
75709         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
75710         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
75711         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
75712         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
75713         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75714         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
75715         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
75716         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
75717         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75718         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
75719         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
75720         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
75721         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
75722         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
75723         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
75724         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
75725         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
75726         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
75727         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
75728         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
75729         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
75730         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
75731         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
75732         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
75733         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
75735         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
75736         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
75737         * include/ifunc-impl-list.h: New file.
75738         * misc/ifunc-impl-list.c: Likewise.
75739         * misc/Makefile (routines): Add ifunc-impl-list.
75740         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
75741         * string/test-string.h: Include <ifunc-impl-list.h>.
75742         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
75743         TEST_NAME]: New variables.
75744         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
75745         are defined.
75746         (test_init): Call __libc_ifunc_impl_list to initialize
75747         func_list if TEST_IFUNC and TEST_NAME are defined.
75749         * string/Makefile (strop-tests): Add bcopy and bzero.
75750         * string/test-bcopy.c: New file.
75751         * string/test-bzero.c: Likewise.
75752         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
75753         defined.
75754         * string/test-memset.c: Support bzero test if TEST_BZERO is
75755         defined.
75756         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
75757         __libc_memmove.
75758         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
75759         __libc_memset.
75760         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
75761         of memset.
75763 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
75765         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
75766         * configure: Regenerated.
75768         * Makeconfig (+link-static-before-libc): Don't include
75769         $(link-static-libc).
75771         * libio/libio.h (_IO_pos_t): Remove.
75773 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75775         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
75776         McGrath.
75778 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75780         * crypt/crypt-entry.c: Include fips-private.h.
75781         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
75782         * crypt/md5c-test.c (main): Tolerate disabled MD5.
75783         * sysdeps/unix/sysv/linux/fips-private.h: New file.
75784         * sysdeps/generic/fips-private.h: New file, dummy fallback.
75786 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
75788         * crypt/crypt-private.h: Include stdbool.h.
75789         (_ufc_setup_salt_r): Return bool.
75790         * crypt/crypt-entry.c: Include errno.h.
75791         (__crypt_r): Return NULL with EINVAL for bad salt.
75792         * crypt/crypt_util.c (bad_for_salt): New.
75793         (_ufc_setup_salt_r): Check that salt is long enough and within
75794         the specified alphabet.
75795         * crypt/badsalttest.c: New file.
75796         * crypt/Makefile (tests): Add it.
75797         ($(objpfx)badsalttest): New.
75799 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
75801         * NEWS: Add entry for BZ #14602.
75803 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75805         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
75806         type-generic.
75807         * math/libm-test.inc: Update comment listing what functions and
75808         macros are tested.
75809         (isgreater_test): New function.
75810         (isgreaterequal_test): Likewise.
75811         (isless_test): Likewise.
75812         (islessequal_test): Likewise.
75813         (islessgreater_test): Likewise.
75814         (isunordered_test): Likewise.
75815         (main): Call the new functions.
75817 2012-10-09  Roland McGrath  <roland@hack.frob.com>
75819         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
75820         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
75821         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
75822         * sysdeps/i386/configure: Regenerated.
75823         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
75824         * sysdeps/mach/configure: Regenerated.
75825         * sysdeps/mach/hurd/configure: Regenerated.
75826         * sysdeps/powerpc/configure: Regenerated.
75827         * sysdeps/powerpc/powerpc32/configure: Regenerated.
75828         * sysdeps/powerpc/powerpc64/configure: Regenerated.
75829         * sysdeps/s390/s390-32/configure: Regenerated.
75830         * sysdeps/s390/s390-64/configure: Regenerated.
75831         * sysdeps/sh/configure: Regenerated.
75832         * sysdeps/sparc/configure: Regenerated.
75833         * sysdeps/unix/sysv/linux/configure: Regenerated.
75834         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
75835         * sysdeps/x86_64/configure: Regenerated.
75837         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
75838         defined.  Don't check if MAP is NULL.
75840 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
75842         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
75843         (_G_stat64): Likewise.
75844         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
75845         (_G_stat64): Likewise.
75846         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
75847         instead of struct _G_stat64.
75848         * libio/fileops.c (mmap_remap_check): Likewise.
75849         (decide_maybe_mmap): Likewise.
75850         (_IO_new_file_seekoff): Likewise.
75851         (_IO_file_stat): Likewise.
75852         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
75853         _G_off64_t.
75854         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
75855         instead of struct _G_stat64.
75856         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
75858 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
75860         [BZ #14602]
75861         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75862         Replace with ...
75863         (CHECK_EOL): New macro.
75864         (two_way_short_needle): Check beginning of haystack for EOL.  Use
75865         CHECK_EOL.
75866         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75867         Replace with CHECK_EOL.
75868         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
75869         Replace with CHECK_EOL.
75871 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
75873         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
75874         type-generic.
75875         * math/libm-test.inc: Update comment listing what functions and
75876         macros are tested.
75877         (finite_test): New function.
75878         (isinf_test): Likewise.
75879         (isnan_test): Likewise.
75880         (fpclassify_test): Test subnormal input.
75881         (isfinite_test): Likewise.
75882         (isnormal_test): Likewise.
75883         (main): Call the new functions.
75885 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
75887         [BZ #14660]
75888         * Makerules (%.dynsym): Force C locale when running
75889         $(OBJDUMP) --dynamic-syms.
75891 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
75893         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
75894         <stdint.h>.
75896 2012-10-06  David S. Miller  <davem@davemloft.net>
75898         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
75899         upper 32-bits of the length value in %o2 since we use branch-on-register
75900         tests which consider the entire 64-bit register.
75902 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
75904         * string/test-strstr.c (check2): Add a test for page boundary.
75906 2012-10-05  David S. Miller  <davem@davemloft.net>
75908         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
75909         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
75910         file.
75911         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
75912         sysdep_routines.
75913         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
75914         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
75915         and bzero when HWCAP_SPARC_CRYPTO is present.
75917 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
75919         [BZ #14602]
75920         * string/test-strstr.c (check2): New function.
75921         (test_main): Call check2.
75923         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
75924         and bug-strchr1.
75925         * string/bug-strcasestr1.c (do_test): Moved to ...
75926         * string/test-strcasestr.c (check1): Here.  New function.
75927         (do_one_test): Break out result checking code into ...
75928         (check_result): This.  New function.
75929         (do_one_test): Call check_result.
75930         (test_main): Call check1.
75931         * string/bug-strchr1.c (do_test): Moved to ...
75932         * string/test-strchr.c (check1): Here.  New function.
75933         (do_one_test): Break out result checking code into ...
75934         (check_result): This.  New function.
75935         (do_one_test): Call check_result.
75936         (test_main): Call check1.
75937         * string/bug-strstr1.c (main): Moved to ...
75938         * string/test-strstr.c (check1): Here.  New function.
75939         (do_one_test): Break out result checking code into ...
75940         (check_result): This.  New function.
75941         (do_one_test): Call check_result.
75942         (test_main): Call check1.
75943         * string/bug-strcasestr1.c: Removed.
75944         * string/bug-strchr1.c: Likewise.
75945         * string/bug-strstr1.c: Likewise.
75947         * elf/Makefile (dl-routines): Add hwcaps.
75948         * elf/dl-support.c (_dl_important_hwcaps): Removed.
75949         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
75950         (_dl_important_hwcaps): Moved to ...
75951         * elf/dl-hwcaps.c: Here.  New file.
75952         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
75954         [BZ #14557]
75955         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
75956         if IS_IN_rtld isn't defined.
75958         * elf/dl-support.c (_dl_sysinfo_map): New.
75959         Include "get-dynamic-info.h" and "setup-vdso.h".
75960         (_dl_non_dynamic_init): Call setup_vdso.
75961         * elf/dynamic-link.h: Don't include <assert.h>.
75962         (elf_get_dynamic_info): Moved to ...
75963         * elf/get-dynamic-info.h: Here.  New file.
75964         * elf/dynamic-link.h: Include "get-dynamic-info.h".
75965         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
75966         * elf/setup-vdso.h: Here.  New file.
75967         * elf/rtld.c: Include "setup-vdso.h".
75968         (dl_main): Call setup_vdso.
75970 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
75972         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
75973         creal in comment listing functions tested.  List finite, isinf,
75974         isnan, isless, islessequal, isgreater, isgreaterequal,
75975         islessgreater, isunordered, lgamma_r and pow10 as functions and
75976         macros not tested.  Mention which functions not tested are aliases
75977         for other functions.  Fix typo.  Note that signs of NaNs are not
75978         tested.
75980         * scripts/config.guess: Update from config.git.
75981         * scripts/config.sub: Likewise.
75983 2012-10-04  Roland McGrath  <roland@hack.frob.com>
75985         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
75986         * misc/madvise.c (madvise): Renamed to __madvise.
75987         Make madvise a weak alias.
75988         * include/sys/mman.h: Declare __madvise.
75989         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
75990         * sysdeps/unix/syscalls.list
75991         (madvise): Make __madvise the strong name, and madvise a weak alias.
75992         * sysdeps/unix/sysv/linux/syscalls.list
75993         (madvise, mmap): Remove redundant entries.
75994         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
75995         * malloc/malloc.c (mtrim): Likewise.
75996         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
75998 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76000         * sysdeps/mach/hurd/dl-cache.c: File removed.
76001         * config.h.in (USE_LDCONFIG): New #undef.
76002         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
76003         * configure: Regenerated.
76004         * elf/Makefile (dl-routines): Add dl-cache only under
76005         [$(use-ldconfig) = yes].
76006         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
76007         cache on [USE_LDCONFIG].
76008         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
76009         [USE_LDCONFIG].
76010         * elf/rtld.c (dl_main): Likewise.
76012 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
76014         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
76015         _SC_LEVEL4_CACHE_LINESIZE.
76017 2012-10-03  Roland McGrath  <roland@hack.frob.com>
76019         * sysdeps/unix/bsd/confstr.h: File removed.
76021 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
76023         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
76024         sys/sdt-config.h.
76026 2012-10-02  Roland McGrath  <roland@hack.frob.com>
76028         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
76029         Make 'mapoff' field ElfW(Off) rather than off_t.
76031 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
76033         * nscd/Makefile: Remove nscd-cflags and all its users.
76034         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
76035         (CFLAGS-nonlib): Add compiler flags for nscd modules.
76037         [BZ #10631]
76038         * malloc.c (malloc_printerr): Clarify error message.
76040 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
76042         [BZ #14648]
76043         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76044         Set bit_FMA_Usable if FMA is supported.
76045         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
76046         macro.
76047         (bit_FMA4_Usable): Updated.
76048         (index_FMA_Usable): New macro.
76049         (CPUID_FMA): Likewise.
76050         (HAS_FMA): Defined with bit_FMA_Usable.
76052 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76054         * bits/types.h (__swblk_t): Type removed.
76055         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
76056         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
76057         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
76058         (__SWBLK_T_TYPE): Likewise.
76059         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
76060         (__SWBLK_T_TYPE): Likewise.
76061         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
76062         (__SWBLK_T_TYPE): Likewise.
76063         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
76064         (__SWBLK_T_TYPE): Likewise.
76066 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
76067             Honza Horak <hhorak@redhat.com>
76069         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
76070         (xdr_mapname): Use YPMAXMAP as maxsize.
76071         (xdr_peername): Use YPMAXPEER as maxsize.
76072         (xdr_keydat): Use YPAXRECORD as maxsize.
76073         (xdr_valdat): Use YPMAXRECORD as maxsize.
76075 2012-10-01  Roland McGrath  <roland@hack.frob.com>
76077         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
76079         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
76080         * csu/init-first.c: ... here.
76081         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
76082         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
76083         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
76084         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
76085         * sysdeps/i386/init-first.c: File removed.
76086         * sysdeps/sh/init-first.c: File removed.
76088 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
76090         [BZ #14645]
76091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
76092         if x * y might underflow to zero and z is zero.
76093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
76094         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76095         * math/libm-test.inc (min_subnorm_value): New variable.
76096         (fma_test): Add more tests.
76097         (fma_test_towardzero): Likewise.
76098         (fma_test_downward): Likewise.
76099         (fma_test_upward): Likewise.
76100         (initialize): Set min_subnorm_value.
76102 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
76104         [BZ #14638]
76105         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
76106         0 + 0.
76107         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
76108         mode for addition resulting in exact zero.
76109         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
76110         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
76111         exact 0 + 0.
76112         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
76113         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
76114         * math/libm-test.inc (fma_test): Add more tests.
76115         (fma_test_towardzero): New function.
76116         (fma_test_downward): Likewise.
76117         (fma_test_upward): Likewise.
76118         (main): Call the new functions.
76120 2012-09-28  David S. Miller  <davem@davemloft.net>
76122         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
76124 2012-09-28  Roland McGrath  <roland@hack.frob.com>
76126         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
76127         instead of SIGALRM.
76129         * sysdeps/gnu/_G_config.h: Moved to ...
76130         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
76131         * sysdeps/mach/hurd/_G_config.h: Moved to ...
76132         * sysdeps/generic/_G_config.h: ... here.
76134         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
76136         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
76138         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
76139         Conditionalize target on [libnss_test1.so-version].
76141         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
76143         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
76144         (elfobjdir): Move out of conditionals.
76146         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
76147         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
76148         (__nss_lookup_function): Conditionalize label remove_from_tree on
76149         [!DO_STATIC_NSS || SHARED], matching its only use.
76151 2012-09-28  David S. Miller  <davem@davemloft.net>
76153         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
76154         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
76155         file.
76156         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
76157         sysdep_routines.
76158         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
76159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
76160         when HWCAP_SPARC_CRYPTO is present.
76162 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76164         * io/tst-mknodat.c: Create a FIFO instead of a socket.
76166 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
76168         [BZ #6530]
76169         * stdio-common/vfprintf.c (process_string_arg): Revert
76170         2000-07-22 change.
76172 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
76174         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
76175         for testcase.
76176         * stdio-common/tst-sprintf.c: Include <locale.h>
76177         (main): Test sprintf's handling of incomplete multibyte
76178         characters.
76180 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
76182         * elf/dl-runtime.c (VERSYMIDX): Removed.
76183         * elf/dl-version.c (VERSYMIDX): Likewise.
76184         * elf/do-rel.h (VERSYMIDX): Likewise.
76185         (VALIDX): Likewise.
76186         * elf/dynamic-link.h (VERSYMIDX): Likewise.
76187         * elf/rtld.c (VALIDX): Likewise.
76188         (ADDRIDX): Likewise.
76189         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
76190         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
76191         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
76192         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
76193         (VALIDX): Likewise.
76194         (ADDRIDX): Likewise.
76196 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76198         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
76200 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
76202         [BZ #11438]
76203         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
76204         to global scope.
76205         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
76206         addresses are in the same scope as 192.0.2/24.
76207         * posix/gai.conf: Document new scope table defaults.
76209 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76211         [BZ #5298]
76212         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
76213         for ftell.  Compute offsets from write pointers instead.
76214         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
76216 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
76218         [BZ #14543]
76219         * libio/Makefile (tests): New test case tst-fseek.
76220         * libio/tst-fseek.c: New test case to verify that fseek/ftell
76221         combination works in wide mode.
76222         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
76223         state when the external buffer state changes.
76225 2012-09-27  David S. Miller  <davem@davemloft.net>
76227         [BZ #14376]
76228         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
76229         pass reloc->r_addend in as the 'high' argument to
76230         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
76232         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76234 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
76236         * rt/tst-aio2.c: Include <pthread.h>.
76237         * rt/tst-aio3.c: Likewise.
76239 2012-09-27  Steve Ellcey  <sellcey@mips.com>
76241         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
76243 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
76245         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
76246         contents on [SHARED].
76248 2012-09-26  Marek Polacek  <polacek@redhat.com>
76250         [BZ #14530]
76251         [BZ #13741]
76252         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
76253         for C++ and GCC <4.3 as well as for non GCC compilers.
76255 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
76257         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76259 2012-09-25  Roland McGrath  <roland@hack.frob.com>
76261         * Makefile.in (all, install): Declare with .PHONY.
76262         Reported by Michael Hope <michael.hope@linaro.org>.
76264 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
76266         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
76267         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
76268         system header.
76269         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
76270         Likewise.
76271         (sydep_routines): Add the new and the internal functions.
76272         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
76273         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
76274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
76275         (GLIBC_2.17): Add the new function.
76276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
76277         (GLIBC_2.17): Likewise.
76278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
76279         (GLIBC_2.17): Likewise.
76280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
76281         (GLIBC_2.17): Likewise.
76282         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
76284 2012-09-25  Alan Modra  <amodra@gmail.com>
76286         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
76287         Add release barrier before setting once_control to say
76288         initialisation is done.  Add hints on lwarx.  Use macro in
76289         place of isync.
76290         (clear_once_control): Add release barrier.
76292 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76294         [BZ #13629]
76295         * math/s_clog.c (__clog): Handle more values close to |z| = 1
76296         specially.
76297         * math/s_clog10.c (__clog10): Likewise.
76298         * math/s_clog10f.c (__clog10f): Likewise.
76299         * math/s_clog10l.c (__clog10l): Likewise.
76300         * math/s_clogf.c (__clogf): Likewise.
76301         * math/s_clogl.c (__clogl): Likewise.
76302         * math/Makefile (libm-calls): Add x2y2m1.
76303         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
76304         (__x2y2m1): Likewise.
76305         (__x2y2m1l): Likewise.
76306         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
76307         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
76308         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
76309         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
76310         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
76311         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
76312         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
76313         * sysdeps/i386/fpu/libm-test-ulps: Update.
76314         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76316         [BZ #14621]
76317         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
76318         int as type of variable DEPTH.
76319         (glob): Use size_t instead of int as type of variables NEWCOUNT
76320         and OLD_PATHC.
76322 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76324         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76325         Add s_sincosf-sse2.
76326         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
76327         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
76328         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
76329         macros for using routine as __sincosf_ia32.
76330         Use macro for function declaration and weak_alias.
76331         * sysdeps/i386/fpu/libm-test-ulps: Update.
76333         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
76334         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76336         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
76337         subnormal argument.
76338         * math/s_cexpf.c (__cexpf): Likewise.
76339         * math/s_csinf.c (__csinf): Likewise.
76340         * math/s_csinhf.c (__csinhf): Likewise.
76341         * math/s_ctanf.c (__ctanf): Likewise.
76342         * math/s_ctanhf.c (__ctanhf): Likewise.
76343         * math/s_ccosh.c (__ccoshf): Likewise.
76344         * math/s_cexp.c (__cexpl): Likewise.
76345         * math/s_csin.c (__csin): Likewise.
76346         * math/s_csinh.c (__csinh): Likewise.
76347         * math/s_ctan.c (__ctan): Likewise.
76348         * math/s_ctanh.c (ctanh): Likewise.
76349         * math/s_ccoshl.c (__ccoshl): Likewise.
76350         * math/s_cexpl.c (__cexpl): Likewise.
76351         * math/s_csinl.c (__csinl): Likewise.
76352         * math/s_csinhl.c (__csinhl): Likewise.
76353         * math/s_ctanl.c (__ctanl): Likewise.
76354         * math/s_ctanhl.c (__ctanhl): Likewise.
76356 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
76358         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
76359         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
76360         (_IO_off_t): Define to __off_t, not _G_off_t.
76361         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
76362         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
76363         (_IO_wint_t): Define to wint_t, not _G_wint_t.
76364         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
76365         type of __dummy and __dummy2 fields.
76366         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
76367         (_G_ssize_t): Likewise.
76368         (_G_off_t): Likewise.
76369         (_G_pid_t): Likewise.
76370         (_G_uid_t): Likewise.
76371         (_G_wchar_t): Likewise.
76372         (_G_wint_t): Likewise.
76373         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
76374         (_G_ssize_t): Likewise.
76375         (_G_off_t): Likewise.
76376         (_G_pid_t): Likewise.
76377         (_G_uid_t): Likewise.
76378         (_G_wchar_t): Likewise.
76379         (_G_wint_t): Likewise.
76380         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
76381         (_G_ssize_t): Likewise.
76382         (_G_off_t): Likewise.
76383         (_G_pid_t): Likewise.
76384         (_G_uid_t): Likewise.
76385         (_G_wchar_t): Likewise.
76386         (_G_wint_t): Likewise.
76388 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76390         * malloc/arena.c: Include malloc-sysdep.h.
76391         (shrink_heap): Use check_may_shrink_heap to decide if madvise
76392         is sufficient to shrink the heap or an unmap is needed.
76393         * sysdeps/generic/malloc-sysdep.h: New file.  Define
76394         new function check_may_shrink_heap.
76395         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
76396         new function check_may_shrink_heap.
76398 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
76400         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
76401         comments.
76403 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
76405         * catgets/test-gencat.sh: Add "set -e".
76406         * elf/tst-pathopt.sh: Likewise.
76407         * grp/tst_fgetgrent.sh: Likewise.
76408         * iconvdata/run-iconv-test.sh: Likewise.
76409         * intl/tst-gettext.sh: Likewise.
76410         * intl/tst-gettext2.sh: Likewise.
76411         * intl/tst-gettext4.sh: Likewise.
76412         * intl/tst-gettext6.sh: Likewise.
76413         * intl/tst-translit.sh: Likewise.
76414         * io/ftwtest-sh: Likewise.
76415         * libio/test-freopen.sh: Likewise.
76416         * malloc/tst-mtrace.sh: Likewise.
76417         * posix/globtest.sh: Likewise.
76418         * posix/tst-getconf.sh: Likewise.
76419         * posix/wordexp-tst.sh: Likewise.
76420         * stdio-common/tst-printf.sh: Likewise.
76421         * stdio-common/tst-unbputc.sh: Likewise.
76422         * stdlib/tst-fmtmsg.sh: Likewise.
76423         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76424         * catgets/Makefile: Do not specify -e option when running
76425         testsuite shell scripts.
76426         * elf/Makefile: Likewise.
76427         * grp/Makefile: Likewise.
76428         * iconvdata/Makefile: Likewise.
76429         * intl/Makefile: Likewise.
76430         * io/Makefile: Likewise.
76431         * libio/Makefile: Likewise.
76432         * malloc/Makefile: Likewise.
76433         * posix/Makefile: Likewise.
76434         * stdio-common/Makefile: Likewise.
76435         * stdlib/Makefile: Likewise.
76436         * sysdeps/x86_64/Makefile: Likewise.
76438         * io/ftwtest-sh: Add copyright header.
76439         * posix/globtest.sh: Likewise.
76440         * posix/tst-getconf.sh: Likewise.
76441         * posix/wordexp-tst.sh: Likewise.
76442         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
76444 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
76446         [BZ #13679]
76447         * Makeconfig (+link): Defined as $(+link-static) if
76448         $(build-shared) isn't yes.
76449         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
76450         isn't yes.
76451         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
76453         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
76455         [BZ #14562]
76456         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
76457         new chunk size with MALLOC_ALIGN_MASK.
76459 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
76461         [BZ #5044]
76462         * stdio-common/printf_fphex.c: Include <stdbool.h> and
76463         <rounding-mode.h>.
76464         (__printf_fphex): Determine rounding using get_rounding_mode and
76465         round_away.
76466         * stdio-common/tst-printf-round.c (struct hex_test): New
76467         structure.
76468         (hex_tests): New variable.
76469         (test_hex_in_one_mode): New function.
76470         (do_test): Also run tests for hex float output.
76472 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
76474         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76475         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76476         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
76477         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
76478         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
76479         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
76480         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76481         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
76483 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
76485         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
76486         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
76487         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
76488         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
76490 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
76492         [BZ #14579]
76493         * elf/rtld.c (dl_main): Limit the check for self loading to normal
76494         mode only.
76495         * elf/tst-rtld-load-self.sh: New test.
76496         * elf/Makefile: Run it.
76498 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
76500         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
76501         (tst-writev-ENV): Remove.
76502         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
76504 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
76506         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
76508 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
76510         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
76511         unconditional.
76512         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
76513         Likewise.
76514         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
76515         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
76516         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
76517         Likewise.
76519 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
76521         [BZ #14587]
76522         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
76523         * config.make.in (have-cpp-asm-debuginfo): Removed.
76524         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
76525         * configure: Regenerated.
76527 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
76529         [BZ #5044]
76530         * stdio-common/printf_fp.c: Include <stdbool.h> and
76531         <rounding-mode.h>.
76532         (___printf_fp): Determine rounding using get_rounding_mode and
76533         round_away.
76534         * stdio-common/tst-printf-round.c: New file.
76535         * stdio-common/Makefile (tests): Add tst-printf-round.
76536         (link-libm): New variable.
76537         ($(objpfx)tst-printf-round): Depend in $(link-libm).
76539 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
76541         [BZ #14576]
76542         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
76543         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
76544         Likewise.
76545         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
76546         Likewise.
76548 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
76550         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
76551         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76552         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76553         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
76555 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
76557         [BZ #14518]
76558         * include/rounding-mode.h: New file.
76559         * sysdeps/generic/get-rounding-mode.h: Likewise.
76560         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
76561         * stdlib/strtod_l.c: Include <rounding-mode.h>.
76562         (MAX_VALUE): New macro.
76563         (MIN_VALUE): Likewise.
76564         (overflow_value): New function.
76565         (underflow_value): Likewise.
76566         (round_and_return): Use overflow_value and underflow_value to
76567         determine return values in overflow and underflow cases.  Use
76568         round_away to determine rounding depending on rounding mode.
76569         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
76570         determine return values in overflow and underflow cases.
76571         * stdlib/tst-strtod-round.c: Include <fenv.h>.
76572         (struct test_results): New structure.
76573         (struct test): Use struct test_results to store expected results
76574         for all rounding modes.
76575         (TEST): Include expected results for all rounding modes.
76576         (test_in_one_mode): New function.
76577         (do_test): Use test_in_one_mode to compute and check results.
76578         Check results for all rounding modes.
76579         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
76580         $(link-libm).
76582 2012-12-09  Allan McRae  <allan@archlinux.org>
76584         * sysdeps/i386/fpu/libm-test-ulps: Update
76586 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
76588         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
76589         (_G_int32_t): Likewise.
76590         (_G_uint16_t): Likewise.
76591         (_G_uint32_t): Likewise.
76592         (_G_HAVE_BOOL): Likewise.
76593         (_G_HAVE_ATEXIT): Likewise.
76594         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76595         (_G_HAVE_IO_FILE_OPEN): Likewise.
76596         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
76597         (_G_int32_t): Likewise.
76598         (_G_uint16_t): Likewise.
76599         (_G_uint32_t): Likewise.
76600         (_G_HAVE_BOOL): Likewise.
76601         (_G_HAVE_ATEXIT): Likewise.
76602         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76603         (_G_HAVE_IO_FILE_OPEN): Likewise.
76604         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
76605         (_G_int32_t): Likewise.
76606         (_G_uint16_t): Likewise.
76607         (_G_uint32_t): Likewise.
76608         (_G_HAVE_BOOL): Likewise.
76609         (_G_HAVE_ATEXIT): Likewise.
76610         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
76611         (_G_HAVE_IO_FILE_OPEN): Likewise.
76613 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
76615         * csu/libc-tls.c: Update copyright years.
76617 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
76619         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
76620         [!_G_USING_THUNKS]: Remove conditional code.
76621         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
76622         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
76624         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
76625         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
76626         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76627         (_G_VTABLE_LABEL_PREFIX): Likewise.
76628         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76629         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76630         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76631         (_G_VTABLE_LABEL_PREFIX): Likewise.
76632         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76633         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
76634         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
76635         (_G_VTABLE_LABEL_PREFIX): Likewise.
76636         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
76638 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
76640         * libio/Makefile: Include ../Makeconfig before tests.
76641         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
76642         only if $(build-shared) is yes.
76644         * iconv/gconv_db.c: Update copyright years.
76646 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76648         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
76649         unwind info if defined PIC. Fix special cases description.
76650         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
76652         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
76653         DP_HI_MASK entry.
76654         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
76656 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
76658         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
76660         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
76661         is NULL.
76663         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
76664         (LDLIBS-tst-chk4): This.
76665         (LDFLAGS-tst-chk5): Renamed to ...
76666         (LDLIBS-tst-chk5): This.
76667         (LDFLAGS-tst-chk6): Renamed to ...
76668         (LDLIBS-tst-chk6): This.
76669         (LDFLAGS-tst-lfschk4): Renamed to ...
76670         (LDLIBS-tst-lfschk4): This.
76671         (LDFLAGS-tst-lfschk5): Renamed to ...
76672         (LDLIBS-tst-lfschk5): This.
76673         (LDFLAGS-tst-lfschk6): Renamed to ...
76674         (LDLIBS-tst-lfschk6): This.
76676         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
76677         on $(common-objpfx)soversions.mk.
76679 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
76681         [BZ #10014]
76682         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
76683         example host name.
76685 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
76687         * malloc/arena.c (arena_get_retry): New function that gets
76688         another arena for the caller to try its request on.
76689         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
76690         current arena cannot fulfill the request.
76691         (__libc_memalign): Likewise.
76692         (__libc_memalign): Likewise.
76693         (__libc_pvalloc): Likewise.
76694         (__libc_calloc): Likewise.
76696 2012-09-05  John Tobey  <john.tobey@gmail.com>
76698         [BZ #13542]
76699         * manual/arith.texi (Operations on Complex): Fix description
76700         of carg branch cut.
76702 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
76704         [BZ #10014]
76705         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
76706         host name.
76708         [BZ #10038]
76709         * manual/memory.texi (Memory): Make order of menu items match
76710         order of sections.
76712 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76714         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
76715         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
76716         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
76718 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76720         * csu/libc-tls.c (static_dtv): Renamed to ...
76721         (_dl_static_dtv): This.  Make it global.
76722         (_dl_initial_dtv): Removed.
76723         (__libc_setup_tls): Updated.
76724         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
76725         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
76726         DL_INITIAL_DTV.
76728 2012-09-06  Petr Machata  <pmachata@redhat.com>
76730         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
76731         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
76732         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
76733         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
76735 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76737         [BZ #14545]
76738         * csu/libc-tls.c (_dl_initial_dtv): New variable.
76739         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
76740         freeing dtv[-1].
76742 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
76744         [BZ #14544]
76745         * Makeconfig (link-static-before-libc): Replace $(+prector)
76746         with $(+prectorT).
76747         (link-static-after-libc): Replace $(+postctor) with
76748         $(+postctorT).
76749         (link-bounded): Replace $(+prector)/$(+postctor) with
76750         $(+prectorT)/$(+postctorT).
76751         (+prectorT): New macro.
76752         (+postctorT): Likewise.
76754 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
76756         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
76757         (round_str): Handle values above the maximum for IBM long double
76758         as inexact.
76759         * stdlib/tst-strtod-round.c (tests): Regenerated.
76761 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76763         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
76764         assembler flag.
76765         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
76766         zarch_nohighgprs around the zarch optimized routines.
76767         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
76768         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
76769         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
76770         for zarch.
76772 2012-09-05  David S. Miller  <davem@davemloft.net>
76774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76776         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
76777         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
76778         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
76779         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
76780         entries.
76782 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76784         * malloc/arena.c: Fold copyright years.
76785         * malloc/mcheck.c, malloc/memusage.c: Likewise.
76787 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76789         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
76791 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76793         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
76795 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76797         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
76798         change internal state upon failure.
76800 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
76802         * malloc/mcheck.c (mcheck_check_all): Fix typo.
76803         * malloc/memusage.c (mmap): Likewise.
76804         (mmap64, mremap): Likewise.  Adjust name in comment.
76806 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76808         * libio/fileops.c: Fix typos in comments.
76809         * libio/oldfileops.c: Likewise.
76810         * libio/wfileops.c: Likewise.
76812 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
76814         [BZ #1349]
76815         * malloc/Makefile (tests): Add tst-malloc-usable test case.
76816         (tst-malloc-usable-ENV): Set environment for test case.
76817         * malloc/hooks.c (malloc_check_get_size): New function to get
76818         requested size.
76819         * malloc/malloc.c (musable): Use malloc_check_get_size.
76820         * malloc/tst-malloc-usable.c: New test case.
76822 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76824         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
76826 2012-09-05  Allan McRae  <allan@archlinux.org>
76828         [BZ #13966]
76829         * configure.in (CXX_SYSINCLUDES): Use compiler output to
76830         determine header location.
76831         * configure: Regenerated.
76833 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
76835         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
76836         float format.
76837         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
76838         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
76839         format.
76840         (test): Regenerate.
76842 2012-09-04  David S. Miller  <davem@davemloft.net>
76844         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
76845         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
76846         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
76848 2012-09-04  Florian Weimer  <fweimer@redhat.com>
76850         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
76851         failures.
76853         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
76855 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
76857         [BZ #9914]
76858         * libio/iogetdelim.c: Include <limits.h>.
76859         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
76860         + len + 1 would overflow.
76862 2012-09-03  Andreas Jaeger  <aj@suse.de>
76864         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76865         * sysdeps/i386/fpu/libm-test-ulps: Update.
76867 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76869         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
76870         Add s_sinf-sse2, s_conf-sse2.
76872         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
76873         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
76874         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
76875         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
76877         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
76878         for using routine as __sinf_ia32.
76879         Use macro for function declaration and weak_alias.
76880         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
76881         for using routine as __cosf_ia32.
76882         Use macro for function declaration and weak_alias.
76884         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
76885         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
76887         * sysdeps/x86_64/fpu/s_sinf.S: New file.
76888         * sysdeps/x86_64/fpu/s_cosf.S: New file.
76889         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76891         * math/libm-test.inc (cos_test): Add more test cases.
76892         (sin_test): Likewise.
76893         (sincos_test): Likewise.
76895 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76897         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
76898         (IFUNC_RESOLVE): Make pointers to the specialized implementations
76899         hidden.
76900         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
76902 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
76904         [BZ #14538]
76905         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
76906         first element of the GOT.
76907         (elf_machine_load_address): Return the difference between
76908         the runtime address of _DYNAMIC and elf_machine_dynamic ().
76910 2012-09-01  Allan McRae  <allan@archlinux.org>
76912         [BZ #13412]
76913         * configure.in (AWK): Require gawk version 3.0 or later.
76914         * configure: Regenerated.
76916 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
76918         * sysdeps/unix/sysv/linux/kernel-features.h
76919         (__ASSUME_POSIX_CPU_TIMERS): Remove.
76920         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
76921         [__NR_clock_getres]: Make code unconditional.
76922         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
76923         (clock_getcpuclockid): Remove code left unreachable by removal of
76924         conditionals.
76925         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
76926         code unconditional.
76927         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76928         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76929         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
76930         Make code unconditional.
76931         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
76932         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76933         * sysdeps/unix/sysv/linux/clock_settime.c
76934         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
76935         conditional code.
76936         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
76937         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
76939 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
76941         [BZ #14476]
76942         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
76943         scripts/test-installation.pl.
76945         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
76946         and $ld_so_version if it is set.
76948 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
76950         [BZ #14516]
76951         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
76952         failure if reading from procfs failed.
76953         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
76955 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76957         * sysdeps/unix/sysv/linux/kernel-features.h
76958         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
76959         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76960         Remove conditional code.
76961         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76962         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
76963         Remove conditional code.
76964         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76965         * sysdeps/unix/sysv/linux/i386/fxstat.c
76966         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76967         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76968         * sysdeps/unix/sysv/linux/i386/fxstatat.c
76969         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76970         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76971         * sysdeps/unix/sysv/linux/i386/lxstat.c
76972         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
76973         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76974         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
76975         Remove conditional code.
76976         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76977         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
76978         Remove conditional code.
76979         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76980         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
76981         <kernel-features.h>.
76982         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
76983         Remove.
76984         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
76985         Remove conditional code.
76986         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
76987         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
76988         Remove conditional.
76990 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
76992         [BZ #5400]
76993         * NEWS: Add fixed bug number.
76995 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
76997         [BZ #14519]
76998         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
76999         underflowing exponent in case of negative sign.
77000         * stdlib/tst-strtod-round-data: Add more tests.
77001         * stdlib/tst-strtod-round.c (tests): Regenerated.
77003         [BZ #3479]
77004         * stdlib/strtod_l.c (NDIG): Remove.
77005         (HEXNDIG): Likewise.
77006         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
77007         smallest representable value.
77008         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
77009         lie within an exact representation of 1/2 ulp of the result.
77010         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
77011         unconditionally.
77012         (TENS_P9_IDX): Define unconditionally.
77013         (TENS_P9_SIZE): Likewise.
77014         (TENS_P10_IDX): Likewise.
77015         (TENS_P10_SIZE): Likewise.
77016         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
77017         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
77018         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
77019         entries for 10^2^13 and 10^2^14.
77020         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
77021         (TENS_P13_IDX): Define.
77022         (TENS_P13_SIZE): Likewise.
77023         (TENS_P14_IDX): Likewise.
77024         (TENS_P14_SIZE): Likewise.
77025         (_fpioconst_pow10): Change array size to
77026         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
77027         unconditional.
77028         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
77029         1024]: Add entries for 10^2^13 and 10^2^14.
77030         [LAST_POW10 > _LAST_POW10]: Remove #error.
77031         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
77032         (_fpioconst_pow10): Change array size to
77033         FPIOCONST_POW10_ARRAY_SIZE.
77034         * stdlib/gen-fpioconst.c: New file.
77035         * stdlib/gen-tst-strtod-round.c: Likewise.
77036         * stdlib/tst-strtod-round-data: Likewise.
77037         * stdlib/tst-strtod-round.c: Likewise.
77038         * stdlib/Makefile (tests): Add tst-strtod-round.
77040         [BZ #14459]
77041         * stdlib/strtod_l.c: Include <stdint.h>.
77042         (NDEBUG): Do not define.
77043         (round_and_return): Change EXPONENT parameter to type intmax_t.
77044         Rearrange calculations to avoid internal overflow possibilities.
77045         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
77046         Rearrange calculations to avoid internal overflow possibilities.
77047         Assert that number fits inside MPNSIZE limbs.
77048         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
77049         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
77050         calculations and add assertions to avoid internal overflow
77051         possibilities.  Add casts to avoid signed/unsigned operations.
77052         * stdlib/tst-strtod-overflow.c: New file.
77053         * stdlib/Makefile (tests): Add tst-strtod-overflow.
77055 2012-08-25  Marek Polacek  <polacek@redhat.com>
77057         * time/time.h: Fix some typos in comments.
77059 2012-08-23  Roland McGrath  <roland@hack.frob.com>
77061         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
77062         * posix/tst-rfc3484-2.c: Likewise.
77063         * posix/tst-rfc3484-3.c: Likewise.
77065 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
77067         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
77068         (EF_ARM_ABI_FLOAT_HARD): Likewise.
77070 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
77072         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
77073         #include of fxstatat64.c.
77075 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77077         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
77078         * shadow/getspent_r.c: Likewise.
77079         * shadow/getspnam.c: Likewise.
77080         * shadow/getspnam_r.c: Likewise.
77081         * gshadow/getsgent.c: Likewise.
77082         * gshadow/getsgent_r.c: Likewise.
77083         * gshadow/getsgnam.c: Likewise.
77084         * gshadow/getsgnam_r.c: Likewise.
77085         * inet/getnetbyad.c: Likewise.
77086         * inet/getnetbyad_r.c: Likewise.
77087         * inet/getnetbynm.c: Likewise.
77088         * inet/getnetbynm_r.c: Likewise.
77089         * inet/getnetent.c: Likewise.
77090         * inet/getnetent_r.c: Likewise.
77091         * inet/getproto.c: Likewise.
77092         * inet/getproto_r.c: Likewise.
77093         * inet/getprtent.c: Likewise.
77094         * inet/getprtent_r.c: Likewise.
77095         * inet/getprtname.c: Likewise.
77096         * inet/getprtname_r.c: Likewise.
77097         * inet/getrpcbyname.c: Likewise.
77098         * inet/getrpcbyname_r.c: Likewise.
77099         * inet/getrpcbynumber.c: Likewise.
77100         * inet/getrpcbynumber_r.c: Likewise.
77101         * inet/getrpcent.c: Likewise.
77102         * inet/getrpcent_r.c: Likewise.
77103         * inet/getaliasent.c: Likewise.
77104         * inet/getaliasent_r.c: Likewise.
77105         * inet/getaliasname.c: Likewise.
77106         * inet/getaliasname_r.c: Likewise.
77107         * nscd/getgrgid_r.c: Likewise.
77108         * nscd/getgrnam_r.c: Likewise.
77109         * nscd/gethstbyad_r.c: Likewise.
77110         * nscd/gethstbynm3_r.c: Likewise.
77111         * nscd/getpwnam_r.c: Likewise.
77112         * nscd/getpwuid_r.c: Likewise.
77113         * nscd/getsrvbynm_r.c: Likewise.
77114         * nscd/getsrvbypt_r.c: Likewise.
77115         * nscd/gai.c: Likewise.
77117         * configure.in (build_nscd): New substituted variable, set
77118         by --disable-build-nscd and defaults to $use_nscd.
77119         * configure: Regenerated.
77120         * config.make.in (build-nscd): New substituted variable.
77121         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
77122         Change conditional to require [$(build-nscd) = yes] as well.
77123         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
77125         [BZ #13696]
77126         * configure.in (use_nscd): New substituted variable, set by
77127         --disable-nscd.  If enabled, define USE_NSCD.
77128         * configure: Regenerated.
77129         * config.h.in: Add USE_NSCD.
77130         * config.make.in (use-nscd): New substituted variable.
77131         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
77132         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
77133         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
77134         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
77135         (CFLAGS-getgrnam_r.c): Likewise.
77136         (CFLAGS-initgroups.c): Likewise.
77137         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
77138         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
77139         Variables removed.
77140         * inet/getnetgrent_r.c
77141         (nscd_setnetgrent): New function, broken out of ...
77142         (setnetgrent): ... here.  Call it.
77143         (innetgr): Conditionalize nscd bits on [USE_NSCD].
77144         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
77145         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
77146         * nscd/Makefile (routines, aux): Move definitions after include of
77147         Makeconfig.  Conditionalize on [$(use-nscd) != no].
77148         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
77149         Conditionalize on [USE_NSCD].
77150         (is_nscd, nscd_init_cb): Likewise.
77151         (nss_load_library): Conditionalize init callback on [USE_NSCD].
77152         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
77153         * nss/nss_db/db-init.c: Likewise.
77154         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
77155         [USE_NSCD].
77156         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
77157         (make_request): Use it.
77158         (cache_valid_p): New function.
77159         (__check_pf): Use it.
77160         * NEWS: Add item for --disable-nscd.
77162 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
77164         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
77165         to support sed >= 4.2.1-20-ga9bf076.
77166         * configure: Regenerated.
77168 2012-08-22  Roland McGrath  <roland@hack.frob.com>
77170         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
77171         Conditionalize whole body on [IREL].
77173 2012-08-22  Jeff Law <law@redhat.com>
77175         [BZ #14505]
77176         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
77177         if the family is PF_UNSPEC.
77179 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
77181         * Makerules (lib-version): Rename from V.
77182         (install-lib-nosubdir): Change V to lib-version.
77184 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
77186         [BZ #14252]
77187         * powerpc32/power6/wcschr.c: New file.
77188         * powerpc32/power6/wcscpy.c: New file.
77189         * powerpc32/power6/wcsrchr.c: New file.
77190         * powerpc64/power6/wcschr.c: New file.
77191         * powerpc64/power6/wcscpy.c: New file.
77192         * powerpc64/power6/wcsrchr.c: New file.
77194 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77196         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
77197         (two_way_short_needle): Use it.
77198         * string/strstr.c (AVAILABLE1_USES_J): Define.
77199         * string/strcasestr.c: Likewise.
77201         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
77202         array references.
77203         * string/strcasestr.c (TOLOWER): Make side-effect safe.
77205         [BZ #11607]
77206         * NEWS: Add an entry.
77207         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
77208         define their defaults.
77209         (two_way_short_needle): Detect end-of-string on-the-fly.
77210         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
77211         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
77212         * string/bug-strcasestr1.c: New test.
77213         * string/Makefile: Run it.
77215 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
77217         [BZ #11607]
77218         * string/str-two-way.h (two_way_short_needle): Optimize matching of
77219         the first character.
77221 2012-08-21  Roland McGrath  <roland@hack.frob.com>
77223         * csu/elf-init.c (__libc_csu_irel): Function removed.
77224         * csu/libc-start.c (apply_irel): New function.
77225         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
77227 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
77229         * sysdeps/unix/sysv/linux/kernel-features.h
77230         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
77231         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
77232         <kernel-features.h>.
77233         [__NR_fadvise64_64]: Make code unconditional.
77234         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
77235         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77236         !__NR_fadvise64_64)]: Likewise.
77237         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
77238         !__NR_fadvise64_64))]: Likewise.
77239         [__NR_fadvise64]: Make code unconditional.
77240         [!__NR_fadvise64]: Remove conditional code.
77241         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
77242         <kernel-features.h>.
77243         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77244         unconditional.
77245         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77246         conditional code.
77247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
77248         not include <kernel-features.h>.
77249         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77250         unconditional.
77251         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77252         conditional code.
77253         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
77254         include <kernel-features.h>.
77255         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
77256         unconditional.
77257         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
77258         conditional code.
77260 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
77262         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
77263         slight instruction rearrangements per scrollpipe analysis.
77264         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
77266 2012-08-20  Roland McGrath  <roland@hack.frob.com>
77268         * manual/syslog.texi (syslog; vsyslog, closelog):
77269         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
77270         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
77272         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
77273         DSOCAPS to match condition on defining it.
77275 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
77277         * sysdeps/unix/sysv/linux/kernel-features.h
77278         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
77279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
77280         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77281         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
77283         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77284         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
77286         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
77287         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
77289         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
77290         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
77292         * sysdeps/unix/sysv/linux/kernel-features.h
77293         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
77294         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
77295         unconditional.
77296         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77297         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
77298         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77299         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77300         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
77301         Make code unconditional.
77302         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77303         (__mmap64) [!__NR_mmap2]: Likewise.
77304         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
77305         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
77306         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77307         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
77308         [__NR_mmap2]: Make code unconditional.
77309         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
77310         (__mmap64) [!__NR_mmap2]: Likewise.
77312 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77314         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
77316 2012-08-18  Andreas Jaeger  <aj@suse.de>
77318         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
77320 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77322         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
77323         * include/unistd.h (__have_sock_cloexec): Likewise.
77324         (__have_pipe2): Likewise.
77325         (__have_dup3): Likewise.
77327 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
77329         [BZ #9685]
77330         * include/unistd.h (__have_pipe2): Change define into an extern int.
77331         (__have_dup3): Likewise.
77332         * socket/have_sock_cloexec.c: Include fcntl.h.
77333         (__have_pipe2): New variable.
77334         (__have_dup3): Likewise.
77336 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
77338         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
77340 2012-08-17  Marek Polacek  <polacek@redhat.com>
77342         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
77343         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
77345 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77347         * configure.in: Add AC_SUBST for sysheaders.
77348         * configure: Regenerated.
77349         * config.make.in (sysheaders): New substituted variable.
77351         * sysdeps/unix/mkfifo.c: Moved ...
77352         * sysdeps/posix/mkfifo.c: ... here.
77353         * sysdeps/unix/mkfifoat.c: Moved ...
77354         * sysdeps/posix/mkfifoat.c: ... here.
77356         * sysdeps/unix/utime.c: Moved ...
77357         * sysdeps/posix/utime.c: ... here.
77359         * sysdeps/unix/time.c: Moved ...
77360         * sysdeps/posix/time.c: ... here.
77361         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
77362         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
77364         * sysdeps/unix/nice.c: Moved ...
77365         * sysdeps/posix/nice.c: ... here.
77367         * sysdeps/unix/alarm.c: Moved ...
77368         * sysdeps/posix/alarm.c: ... here.
77370         * intl/Makefile ($(codeset_mo)): Depend on the input file.
77372 2012-08-17  Jeff Law <law@redhat.com>
77374         * intl/Makefile (codeset_mo): New variable.
77375         ($(codeset_mo)): New target.
77376         (tst-codeset.out): Depend on that.  Remove explicit rule.
77377         (tst-gettext3.out, tst-gettext5.out): Likewise.
77378         (LOCPATH-ENV, tst-codeset-ENV): New variables.
77379         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
77380         * intl/tst-codeset.sh: Remove.
77381         * intl/tst-gettext3.sh: Likewise.
77382         * intl/tst-gettext5.sh: Likewise.
77384 2012-08-17  Roland McGrath  <roland@hack.frob.com>
77386         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
77387         * sysdeps/unix/syscalls.list: ... here.
77389         * sysdeps/posix/getaddrinfo.c
77390         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
77391         (gaiconf_init, gaiconf_reload): Use them.
77392         [!_STATBUF_ST_NSEC]
77393         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
77394         Define using time_t rather than struct timespec.
77396         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
77397         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
77398         Macros removed.
77399         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
77400         [!NO_THREADS].
77401         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
77402         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
77403         Likewise.
77405         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
77406         __libc_cleanup_push argument.
77408         * bits/param.h: New file.
77409         * misc/sys/param.h: New file.
77410         * include/sys/param.h: New file.
77411         * misc/Makefile (headers): Add bits/param.h.
77412         * sysdeps/generic/sys/param.h: File removed.
77413         * sysdeps/unix/sysv/linux/bits/param.h: New file.
77414         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
77415         * sysdeps/mach/hurd/bits/param.h: New file.
77416         * sysdeps/mach/hurd/sys/param.h: File removed.
77418         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
77419         last change.
77421         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
77422         [_IO_MTSAFE_IO].
77423         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
77424         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
77425         New macros.
77427         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
77428         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
77429         rather than -D_IO_MTSAFE_IO conditionally.
77430         * stdio-common/Makefile (CPPFLAGS): Likewise.
77431         * wcsmbs/Makefile (CPPFLAGS): Likewise.
77432         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
77433         Use $(libio-mtsafe).
77434         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
77435         of -D_IO_MTSAFE_IO.
77436         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
77437         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
77438         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
77439         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
77440         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
77441         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
77442         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
77443         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
77444         (CFLAGS-fread_u_chk.c): Likewise.
77445         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
77446         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
77447         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
77448         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
77449         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
77450         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
77451         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
77452         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
77453         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
77455         * libio/Makefile: Test [$(libc-reentrant) = yes]
77456         instead of [$(filter %REENTRANT, $(defines)) nonempty].
77458         * Makeconfig
77459         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
77460         * sysdeps/pthread/configure: File removed.
77461         * sysdeps/pthread/Makeconfig: New file.
77462         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
77463         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
77465 2012-08-16  Gary Benson  <gbenson@redhat.com>
77467         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
77468         unmapping the first object in a namespace.
77470 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77472         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
77473         (__internal_setnetgrent): ... this.  Add internal_function to
77474         definition.  Add libc_hidden_def.
77475         (setnetgrent): Update caller.
77476         (internal_endnetgrent): Renamed to ...
77477         (__internal_endnetgrent): ... this.  Add internal_function to
77478         definition.  Add libc_hidden_def.
77479         (endnetgrent): Update caller.
77480         (internal_getnetgrent_r): Renamed to ...
77481         (__internal_getnetgrent_r): ... this.  Add internal_function to
77482         definition.  Add libc_hidden_def.
77483         (__getnetgrent_r): Update caller.
77484         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
77486 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77488         * stdlib/longlong.h: Update from GCC.
77490 2012-08-16  Roland McGrath  <roland@hack.frob.com>
77492         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
77493         on _QL, which is set by umul_ppmm but never used.
77494         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
77495         variables, which are set by GMP macros but never used.
77496         * stdio-common/_itowa.c (_itowa): Likewise.
77497         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
77498         * stdlib/mod_1.c (mpn_mod_1): Likewise.
77500 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
77502         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
77503         struct La_sh_regs is not constant.
77504         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
77505         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
77506         and struct La_sparc64_regs are not constant.
77508 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
77510         * sysdeps/unix/sysv/linux/kernel-features.h
77511         (__ASSUME_POSIX_TIMERS): Remove.
77512         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
77513         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77514         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
77515         Make code unconditional.
77516         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77517         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
77518         Make code unconditional.
77519         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77520         * sysdeps/unix/sysv/linux/clock_nanosleep.c
77521         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
77522         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77523         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
77524         Make code unconditional.
77525         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
77526         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
77527         (__libc_missing_posix_timers): Remove.
77529 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77531         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
77532         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
77534         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
77536         * elf/dl-sym.c: Include <stdlib.h>.
77538         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
77539         constants, which avoids warnings in 32-bit builds.
77541         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
77542         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
77544         * misc/lseek.c: File moved to ...
77545         * io/lseek.c: ... here.
77547         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
77549         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
77550         shifting LEN more than 31 bits at once.
77552 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77554         [BZ #14195]
77555         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
77556         segmentation fault for a case of two empty input strings.
77557         * string/test-strncasecmp.c (check1): Renamed to...
77558         (bz12205): ...this.
77559         (bz14195): Add new testcase for two empty input strings and N > 0.
77560         (test_main): Call new testcase, adapt for renamed function.
77562 2012-08-15  Andreas Jaeger  <aj@suse.de>
77564         [BZ #14090]
77565         * crypt/md5test2.c: New test, based on test supplied by Serge
77566         Belyshev <belyshev@depni.sinp.msu.ru>.
77567         * crypt/Makefile (xtests): Add md5test-giant..
77568         * crypt/Makefile ($(objpfx)md5test-giant): Add.
77570 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
77572         [BZ #14090]
77573         * crypt/md5.c (md5_process_block): Don't assume the buffer
77574         length is less than 2**32.
77575         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
77576         length is less than 2**64.
77578 2012-08-15  Roland McGrath  <roland@hack.frob.com>
77580         * string/str-two-way.h: Include <sys/param.h>.
77581         (MAX): Macro removed.
77583         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
77584         Move #define and #undef of memmove to just before and after
77585         including <string.h>.
77587         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
77588         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
77589         and after including <string.h>.  Move declarations of
77590         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
77591         to before #include "string/memmove.c".
77593         * include/dirent.h: Declare __getdirentries.
77595         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
77596         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
77598 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
77600         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
77601         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
77602         * sysdeps/i386/configure: Regenerated.
77603         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
77604         STABS_CURRENT_FILE, and STABS_FUN.
77605         (END): Remove call to STABS_FUN_END.
77606         (STABS_CURRENT_FILE1): Delete.
77607         (STABS_CURRENT_FILE): Likewise.
77608         (STABS_FUN): Likewise.
77609         (STABS_FUN_END): Likewise.
77610         (STABS_FUN2): Likewise.
77611         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
77612         * sysdeps/x86_64/configure: Regenerated.
77614 2012-08-14  Roland McGrath  <roland@hack.frob.com>
77616         * elf/dl-open.c: Include <atomic.h>.
77617         * elf/dl-lookup.c: Likewise.
77619 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
77621         * sysdeps/unix/sysv/linux/kernel-features.h
77622         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
77623         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
77624         unconditionally.
77625         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
77626         unconditionally.
77627         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
77628         condition on __ASSUME_CLONE_THREAD_FLAGS.
77630 2012-08-14  Andreas Jaeger  <aj@suse.de>
77632         * sysdeps/i386/fpu/libm-test-ulps: Update.
77634 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
77636         * include/atomic.h (atomic_exchange_and_add): Split into ...
77637         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
77638         New atomic macros.
77640 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
77642         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
77644 2012-08-13  Jeff Law <law@redhat.com>
77646         * manual/stdio.texi (snprintf): Clarify handling of the trailing
77647         null byte in the output string.
77649 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
77651         * sysdeps/unix/sysv/linux/kernel-features.h
77652         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
77653         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
77654         (__ASSUME_ARG_MAX_STACK_BASED): Define.
77655         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
77656         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
77657         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
77658         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
77660 2012-08-09  Jeff Law <law@redhat.com>
77662         [BZ #13939]
77663         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
77664         When avoid_arena is set, don't retry in the that arena.  Pick the
77665         next one, whatever it might be.
77666         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
77667         (arena_lock): Pass in new parameter to arena_get2.
77668         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
77669         arena_get2.
77670         (__libc_malloc): Unify retrying after main arena failure with
77671         __libc_memalign version.
77672         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
77674 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
77676         [BZ #14166]
77677         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
77678         to __redirect_strstr.
77679         (__strstr_sse42): Use typeof __redirect_strstr.
77680         (__strstr_ia32): Likewise.
77681         (__libc_strstr): New prototype.
77682         (strstr): Renamed to ...
77683         (__libc_strstr): This.
77684         (strstr): New strong alias of __libc_strstr.
77685         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
77686         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
77687         __redirect_time.
77688         Include <time.h>.
77689         (__libc_time): New prototype.
77690         (time_ifunc): Replace time with __libc_time.
77691         (time): New strong alias and hidden definition of __libc_time.
77692         (__GI_time): Remove strong alias.
77693         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
77694         Include <stddef.h>.
77695         (memmove): Redefined to __redirect_memmove.
77696         (__memmove_sse2): Use typeof __redirect_memmove.
77697         (__memmove_ssse3): Likewise.
77698         (__memmove_ssse3_back): Likewise.
77699         (__libc_memmove): New prototype.
77700         (memmove): Renamed to ...
77701         (__libc_memmove): This.
77702         (memmove): New strong alias of __libc_memmove.
77704 2012-08-08  Mark Salter  <msalter@redhat.com>
77706         * elf/elf.h
77707         (R_MN10300_TLS_GD): Define.
77708         (R_MN10300_TLS_LD): Likewise.
77709         (R_MN10300_TLS_LDO): Likewise.
77710         (R_MN10300_TLS_GOTIE): Likewise.
77711         (R_MN10300_TLS_IE): Likewise.
77712         (R_MN10300_TLS_LE): Likewise.
77713         (R_MN10300_TLS_DTPMOD): Likewise.
77714         (R_MN10300_TLS_DTPOFF): Likewise.
77715         (R_MN10300_TLS_TPOFF): Likewise.
77716         (R_MN10300_SYM_DIFF): Likewise.
77717         (R_MN10300_ALIGN): Likewise.
77718         (R_MN10300_NUM): Update.
77720 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
77722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
77723         Remove.
77725 2012-08-08  Roland McGrath  <roland@hack.frob.com>
77727         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
77729         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
77730         sysdeps/unix -> sysdeps/posix move.
77731         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
77733 2012-08-07      Allan McRae     <allan@archlinux.org>
77735         [BZ #14303]
77736         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
77737         (SUNOS_CPP): Likewise.
77738         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
77739         not found.
77740         (open_input): Call CPP using execvp.
77742 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77744         * sysdeps/unix/sysv/linux/kernel-features.h
77745         (__ASSUME_PROT_GROWSUPDOWN): Remove.
77746         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77747         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77748         (__ASSUME_WAITID_SYSCALL): Likewise.
77749         * sysdeps/unix/sysv/linux/dl-execstack.c
77750         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
77751         code unconditional.
77752         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
77753         conditional code.
77754         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
77755         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
77756         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
77757         code.
77758         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
77759         unconditional.
77760         [__ASSUME_WAITID_SYSCALL]: Likewise.
77761         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
77763 2012-08-07  Roland McGrath  <roland@hack.frob.com>
77765         * sysdeps/unix/closedir.c: Renamed to ...
77766         * sysdeps/posix/closedir.c: ... here.
77767         * sysdeps/unix/dirfd.c: Renamed to ...
77768         * sysdeps/posix/dirfd.c: ... here.
77769         * sysdeps/unix/dirstream.h: Renamed to ...
77770         * sysdeps/posix/dirstream.h: ... here.
77771         * sysdeps/unix/fdopendir.c: Renamed to ...
77772         * sysdeps/posix/fdopendir.c: ... here.
77773         * sysdeps/unix/opendir.c: Renamed to ...
77774         * sysdeps/posix/opendir.c: ... here.
77775         * sysdeps/unix/readdir.c: Renamed to ...
77776         * sysdeps/posix/readdir.c: ... here.
77777         * sysdeps/unix/readdir_r.c: Renamed to ...
77778         * sysdeps/posix/readdir_r.c: ... here.
77779         * sysdeps/unix/rewinddir.c: Renamed to ...
77780         * sysdeps/posix/rewinddir.c: ... here.
77781         * sysdeps/unix/seekdir.c: Renamed to ...
77782         * sysdeps/posix/seekdir.c: ... here.
77783         * sysdeps/unix/telldir.c: Renamed to ...
77784         * sysdeps/posix/telldir.c: ... here.
77785         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
77786         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
77787         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
77788         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
77790         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
77791         * bits/fcntl.h: ... here.
77793         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
77794         not 0.
77795         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
77796         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
77797         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
77798         (struct flock): Move l_start, l_len to the beginning.
77799         Use __pid_t for l_pid.
77800         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
77801         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
77802         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
77803         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
77804         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
77805         [__USE_LARGEFILE64] (struct flock64): New type.
77806         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
77808         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
77809         * bits/dirent.h: ... here.
77811         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
77812         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
77814 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
77816         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77817         Change from 2.6.0 to 2.6.16.
77818         * sysdeps/unix/sysv/linux/configure: Regenerated.
77819         * sysdeps/unix/sysv/linux/kernel-features.h
77820         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
77821         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
77822         version.
77823         (__ASSUME_UTIMES): Likewise.
77824         (__ASSUME_CLONE_STOPPED): Remove.
77825         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
77826         architectures, not kernel version.
77827         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
77828         (__ASSUME_NO_CLONE_DETACHED): Likewise.
77829         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
77830         (__ASSUME_WAITID_SYSCALL): Likewise.
77831         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
77832         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
77833         * README: State 2.6.16 as minimum Linux kernel version.  Do not
77834         refer to older versions.
77836 2012-08-06  Roland McGrath  <roland@hack.frob.com>
77838         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
77839         Define alphasort64 as an alias.
77840         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
77841         Define versionsort64 as an alias.
77842         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
77843         Define scandir64 as an alias.
77844         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
77845         Define scandirat64 as an alias.
77846         * dirent/alphasort64.c (alphasort64):
77847         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
77848         * dirent/versionsort64.c: Likewise.
77849         * dirent/scandir64.c: Likewise.
77850         * dirent/scandirat64.c: Likewise.
77851         * sysdeps/wordsize-64/alphasort.c: File removed.
77852         * sysdeps/wordsize-64/alphasort64.c: File removed.
77853         * sysdeps/wordsize-64/scandir.c: File removed.
77854         * sysdeps/wordsize-64/scandir64.c: File removed.
77855         * sysdeps/wordsize-64/scandirat.c: File removed.
77856         * sysdeps/wordsize-64/scandirat64.c: File removed.
77857         * sysdeps/wordsize-64/versionsort.c: File removed.
77858         * sysdeps/wordsize-64/versionsort64.c: File removed.
77859         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
77860         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
77861         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
77862         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
77863         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
77864         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
77865         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
77866         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
77868         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
77869         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77870         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
77871         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77872         [defined __arch64__ || defined __sparcv9]
77873         (__INO_T_MATCHES_INO64_T): New macro.
77874         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77875         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
77876         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
77877         * sysdeps/unix/sysv/linux/bits/dirent.h
77878         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
77879         (_DIRENT_MATCHES_DIRENT64): New macro.
77881         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
77882         Define lockf64 as an alias.
77883         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
77884         Define fseeko64 as an alias.
77885         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
77886         Define ftello64 as an alias.
77887         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
77888         Define _IO_fgetpos64 and fgetpos64 as aliases.
77889         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
77890         Define _IO_fsetpos64 and fsetpos64 as aliases.
77891         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
77892         Conditionalize body on this.
77893         * libio/fseeko64.c: Likewise.
77894         * libio/ftello64.c: Likewise.
77895         * libio/iofgetpos64.c: Likewise.
77896         * libio/iofsetpos64.c: Likewise.
77897         * sysdeps/wordsize-64/lockf.c: File removed.
77898         * sysdeps/wordsize-64/lockf64.c: File removed.
77899         * sysdeps/wordsize-64/fseeko.c: File removed.
77900         * sysdeps/wordsize-64/fseeko64.c: File removed.
77901         * sysdeps/wordsize-64/ftello.c: File removed.
77902         * sysdeps/wordsize-64/ftello64.c: File removed.
77903         * sysdeps/wordsize-64/iofgetpos.c: File removed.
77904         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
77905         * sysdeps/wordsize-64/iofsetpos.c: File removed.
77906         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
77907         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
77908         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
77909         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
77910         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
77911         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
77912         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
77913         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
77914         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
77915         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
77916         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
77918         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77919         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
77920         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
77921         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
77922         [defined __arch64__ || defined __sparcv9]
77923         (__OFF_T_MATCHES_OFF64_T): New macro.
77924         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
77925         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
77926         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
77927         (__OFF_T_MATCHES_OFF64_T): New macro.
77929 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77931         * stdlib/secure-getenv.c (__secure_getenv): Replace
77932         GLIBC_2_16 with GLIBC_2_17.
77934 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
77936         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
77937         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
77939 2012-08-03  David S. Miller  <davem@davemloft.net>
77941         * sysdeps/sparc/fpu/libm-test-ulps: Update.
77943 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77945         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
77946         Remove.
77947         (__ASSUME_CORRECT_SI_PID): Likewise.
77948         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
77949         (__ASSUME_TMPFS_NAME): Likewise.
77950         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
77951         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
77952         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
77953         (HAVE_AUX_SECURE): Make definition unconditional.
77954         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
77955         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
77957 2012-08-03  Roland McGrath  <roland@hack.frob.com>
77959         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
77960         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
77961         * sysdeps/mach/hurd/eloop-threshold.h: New file.
77962         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
77963         __eloop_threshold instead of SYMLOOP_MAX.
77965         * sysdeps/generic/eloop-threshold.h: New file.
77966         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
77967         of MAXSYMLINKS.
77968         * elf/chroot_canon.c (chroot_canon): Likewise.
77970 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
77972         [BZ #13717]
77973         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
77974         Change to 2.6.0 everywhere.
77975         * sysdeps/unix/sysv/linux/configure: Regenerated.
77976         * sysdeps/unix/sysv/linux/kernel-features.h
77977         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
77978         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
77979         kernel versions.
77980         (__ASSUME_POSIX_TIMERS): Define unconditionally.
77981         (__ASSUME_FUTEX_REQUEUE): Remove.
77982         (__ASSUME_STATFS64): Define unconditionally.
77983         (__ASSUME_AT_SECURE): Likewise.
77984         (__ASSUME_CORRECT_SI_PID): Likewise.
77985         (__ASSUME_TGKILL): Define without depending on kernel version for
77986         i386.
77987         (__ASSUME_UTIMES): Likewise.
77988         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
77989         kernel version.
77990         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
77991         (__ASSUME_TMPFS_NAME): Likewise.
77992         * README: Update reference to Linux kernel versions.
77994 2012-08-02  Marek Polacek  <polacek@redhat.com>
77996         [BZ #14150]
77997         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
77998         libc_cv_asm_type_prefix with %.
77999         * configure: Regenerated.
78000         * include/libc-symbols.h: Remove comment about
78001         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78002         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
78003         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
78004         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
78005         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
78006         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
78007         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
78008         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
78009         * elf/tst-unique2mod1.c: Likewise.
78010         * elf/tst-unique1mod2.c: Likewise.
78011         * elf/tst-unique1mod1.c: Likewise.
78012         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
78013         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
78014         Replace ASM_TYPE_DIRECTIVE with .type.
78015         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78016         * sysdeps/i386/sysdep.h: Likewise.
78017         * sysdeps/x86_64/sysdep.h: Likewise.
78018         * sysdeps/sh/sysdep.h: Likewise.
78019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
78020         Do not define ASM_TYPE_DIRECTIVE.
78021         * sysdeps/powerpc/sysdep.h: Likewise.
78022         * sysdeps/powerpc/powerpc32/sysdep.h:
78023         Replace ASM_TYPE_DIRECTIVE with .type.
78024         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78025         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78026         * sysdeps/i386/fpu/e_powf.S: Likewise.
78027         * sysdeps/i386/fpu/e_expl.S: Likewise.
78028         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78029         * sysdeps/i386/fpu/e_acosh.S: Likewise.
78030         * sysdeps/i386/fpu/e_pow.S: Likewise.
78031         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78032         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78033         * sysdeps/i386/fpu/s_expm1.S: Likewise.
78034         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78035         * sysdeps/i386/fpu/e_log2.S: Likewise.
78036         * sysdeps/i386/fpu/e_log2l.S: Likewise.
78037         * sysdeps/i386/fpu/e_scalb.S: Likewise.
78038         * sysdeps/i386/fpu/e_powl.S: Likewise.
78039         * sysdeps/i386/fpu/e_log10f.S: Likewise.
78040         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78041         * sysdeps/i386/fpu/e_logl.S: Likewise.
78042         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78043         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78044         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78045         * sysdeps/i386/fpu/e_log2f.S: Likewise.
78046         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78047         * sysdeps/i386/fpu/e_log.S: Likewise.
78048         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78049         * sysdeps/i386/fpu/e_logf.S: Likewise.
78050         * sysdeps/i386/fpu/e_log10l.S: Likewise.
78051         * sysdeps/i386/fpu/e_atanh.S: Likewise.
78052         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78053         * sysdeps/i386/fpu/e_log10.S: Likewise.
78054         * sysdeps/i386/fpu/s_frexp.S: Likewise.
78055         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78056         * sysdeps/i386/fpu/s_asinh.S: Likewise.
78057         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78058         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78059         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
78060         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78061         * sysdeps/i386/i686/strtok.S: Likewise.
78062         * sysdeps/i386/i386-mcount.S: Likewise.
78063         * sysdeps/i386/strtok.S: Likewise.
78064         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
78065         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78066         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78067         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78068         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
78069         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78070         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78071         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78072         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78073         * sysdeps/x86_64/_mcount.S: Likewise.
78074         * sysdeps/x86_64/strtok.S: Likewise.
78075         * sysdeps/sh/_mcount.S: Likewise.
78077 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78079         * libio/iofopen.c: Include <fcntl.h>.
78080         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
78081         (_IO_fopen64, fopen64): Define as aliases.
78082         * libio/iofopen64.c: Include <fcntl.h>.
78083         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
78084         Conditionalize body on this.
78085         * sysdeps/wordsize-64/iofopen.c: File removed.
78086         * sysdeps/wordsize-64/iofopen64.c: File removed.
78088 2012-08-01  Marek Polacek  <polacek@redhat.com>
78090         * libc/Makeconfig: Use elf in place of binfmt-subdir.
78091         Use dlfcn directly instead of a variable.
78092         (binfmt-subdir): Do not define.
78093         (dlfcn): Likewise.
78095 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
78097         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
78098         Remove all definitions.
78099         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
78100         <kernel-features.h>.
78101         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78102         (miss_F_GETOWN_EX): Remove all definitions.
78103         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
78104         macro definition.
78105         [!__ASSUME_FCNTL64]: Remove conditional code.
78106         [__ASSUME_FCNTL64]: Make code unconditional.
78107         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
78108         <kernel-features.h>.
78109         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
78110         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
78111         (lockf64) [__NR_fcntl64]: Make code unconditional.
78112         (lockf64) [__ASSUME_FCNTL64]: Likewise.
78114         * sysdeps/unix/sysv/linux/kernel-features.h
78115         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
78116         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
78117         Make code unconditional.
78118         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78119         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
78121         [__NR_vfork]: Make code unconditional.
78122         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78123         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
78125         [__NR_vfork]: Make code unconditional.
78126         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
78127         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
78129 2012-08-01  Roland McGrath  <roland@hack.frob.com>
78131         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
78132         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
78134         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78135         Define mkstemp64 as an alias.
78136         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78137         Define mkstemps64 as an alias.
78138         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78139         Define mkostemp64 as an alias.
78140         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
78141         Define mkostemps64 as an alias.
78142         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
78143         Conditionalize body on this.
78144         * misc/mkostemp64.c: Likewise.
78145         * misc/mkostemps64.c: Likewise.
78146         * misc/mkstemps64.c: Likewise.
78147         * sysdeps/wordsize-64/mkstemp64.c: File removed.
78148         * sysdeps/wordsize-64/mkostemp64.c: File removed.
78149         * sysdeps/wordsize-64/mkostemp.c: File removed.
78150         * sysdeps/wordsize-64/mkstemp.c: File removed.
78151         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
78152         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
78153         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
78154         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
78156         [BZ #14138]
78157         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
78158         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
78159         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
78160         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
78162         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
78163         compat_symbol macros from <shlib-compat.h> rather than the underlying
78164         default_symbol_version and symbol_version macros, so that DEFAULT
78165         lines in shlib-versions are respected.
78166         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
78168 2012-08-01  Florian Weimer  <fweimer@redhat.com>
78170         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
78171         Declare with warn_unused_result.
78172         (setgid, setregid, setegid, setresgid): Likewise.
78173         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
78174         Likewise.
78175         * WUR-REPORT: Remove set*id functions.
78177 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
78179         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
78181 2012-07-31  Roland McGrath  <roland@hack.frob.com>
78183         [BZ #10191]
78184         * include/sys/socket.h (__libc_accept, __libc_accept4):
78185         Add attribute_hidden.
78186         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
78188         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
78189         use of PTR_MANGLE.
78190         * inet/getnetgrent_r.c (setup): Likewise.
78192         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
78194 2012-07-31  David S. Miller  <davem@davemloft.net>
78196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78198 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
78200         [BZ #13629]
78201         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
78202         value between 1.0 and 2.0 and smaller part has absolute value less
78203         than 1.0.
78204         * math/s_clog10.c (__clog10): Likewise.
78205         * math/s_clog10f.c (__clog10f): Likewise.
78206         * math/s_clog10l.c (__clog10l): Likewise.
78207         * math/s_clogf.c (__clogf): Likewise.
78208         * math/s_clogl.c (__clogl): Likewise.
78209         * math/libm-test.inc (clog_test): Add more tests.
78210         (clog10_test): Likewise.
78211         * sysdeps/i386/fpu/libm-test-ulps: Update.
78212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78214 2012-07-31  Florian Weimer  <fweimer@redhat.com>
78216         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
78217         Exit with zero in case no suitable GID is found, and write a
78218         message to standard error.
78220 2012-07-30  Roland McGrath  <roland@hack.frob.com>
78222         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
78223         rather than to 1.
78224         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
78225         (MAXPATHLEN): Removed.
78226         (NOGROUP, NODEV): New macros.
78227         (setbit, clrbit, isset, isclr): New macros.
78228         (howmany, roundup, powerof2): New macros.
78229         (DEV_BSIZE): New macro.
78231         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
78232         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
78234         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
78235         definition on [!__NO_LONG_DOUBLE_MATH].
78237         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
78238         PTR_MANGLE and PTR_DEMANGLE.
78240         * socket/accept4.c (accept4): Rename to __libc_accept4.
78241         Define accept4 as a weak alias.
78243         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
78244         on [_DIRENT_HAVE_D_TYPE].
78245         * io/ftw.c (ftw_dir): Likewise.
78247         * io/xmknod.c (__xmknod): Don't check PATH for being null.
78249         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
78251         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
78252         Use the BSD numbers rather than the arbitrary ones we had.
78253         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
78254         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
78255         (SIGXCPU, SIGXFSZ): New macros.
78256         (_NSIG): Now 32.
78258         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
78259         initializer on [_LIBC_REENTRANT].
78261         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
78262         definitions inside [_POSIX_MAPPED_FILES].
78264         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
78266         * dirent/opendir.c: Include <fcntl.h>.
78268         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
78269         (__libc_getspecific): Likewise.
78270         (__libc_key_create): Likewise.
78272         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
78273         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
78274         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
78275         (tmpfile64): Define as alias.
78276         * sysdeps/wordsize-64/tmpfile.c: File removed.
78277         * sysdeps/wordsize-64/tmpfile64.c: File removed.
78278         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
78279         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
78281         * stdio-common/vfscanf.c: Include <stdbool.h>.
78282         * nss/makedb.c: Likewise.
78283         * stdio-common/_i18n_number.h: Likewise.
78284         * argp/argp-help.c: Likewise.
78285         * posix/wordexp.c: Likewise.
78286         * sysdeps/posix/spawni.c: Likewise.
78287         * nss/nss_files/files-initgroups.c: Likewise.
78288         * stdio-common/reg-modifier.c: Include <stdlib.h>.
78289         * nss/nss_files/files-initgroups.c: Likewise.
78290         * nss/nss_db/db-netgrp.c: Likewise.
78291         * nss/nss_db/db-initgroups.c: Likewise.
78292         * io/fchmodat.c: Include <sys/stat.h>.
78294         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
78295         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
78297         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
78298         [HAVE_MMAP].
78300         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
78301         Add multiple inclusion protection.
78303 2012-07-27  David S. Miller  <davem@davemloft.net>
78305         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78307 2012-07-27  Gary Benson  <gbenson@redhat.com>
78309         [BZ #14298]
78310         * elf/rtld.c: Include <stap-probe.h>.
78311         (dl_main): Added static probes "init_start" and "init_complete".
78312         * elf/dl-load.c: Include <stap-probe.h>.
78313         (lose): Take new parameter "nsid".
78314         Added static probe "map_failed".
78315         (_dl_map_object_from_fd): Pass namespace id to lose.
78316         Added static probe "map_start".
78317         (open_verify): Pass namespace id to lose.
78318         * elf/dl-open.c: Include <stap-probe.h>.
78319         (dl_open_worker) Added static probes "map_complete", "reloc_start"
78320         and "reloc_complete".
78321         * elf/dl-close.c: Include <stap-probe.h>.
78322         (_dl_close_worker): Added static probes "unmap_start" and
78323         "unmap_complete".
78324         * elf/rtld-debugger-interface.txt: New file documenting the above.
78326 2012-07-26  Roland McGrath  <roland@hack.frob.com>
78328         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
78329         rather than a string variable.
78330         * sunrpc/rpc_main.c (h_output): Likewise.
78331         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
78333 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
78335         * inet/check_native.c: New file.
78337 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
78339         [BZ #13629]
78340         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
78341         if larger part has absolute value 1.0.
78342         * math/s_clog10.c (__clog10): Likewise.
78343         * math/s_clog10f.c (__clog10f): Likewise.
78344         * math/s_clog10l.c (__clog10l): Likewise.
78345         * math/s_clogf.c (__clogf): Likewise.
78346         * math/s_clogl.c (__clogl): Likewise.
78347         * math/libm-test.inc (clog_test): Add more tests.
78348         (clog10_test): Likewise.
78349         * sysdeps/i386/fpu/libm-test-ulps: Update.
78350         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78352         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
78353         (pltexit): Likewise.
78354         (La_regs): Likewise.
78355         (La_retval): Likewise.
78356         (int_retval): Likewise.
78357         Update #error for removed macros to refer only to definitions in
78358         tst-audit.h.
78359         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
78360         macro.
78361         (pltexit): Likewise.
78362         (La_regs): Likewise.
78363         (La_retval): Likewise.
78364         (int_retval): Likewise.
78365         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
78366         macro.
78367         (pltexit): Likewise.
78368         (La_regs): Likewise.
78369         (La_retval): Likewise.
78370         (int_retval): Likewise.
78371         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
78372         macro.
78373         (pltexit): Likewise.
78374         (La_regs): Likewise.
78375         (La_retval): Likewise.
78376         (int_retval): Likewise.
78377         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
78378         macro.
78379         (pltexit): Likewise.
78380         (La_regs): Likewise.
78381         (La_retval): Likewise.
78382         (int_retval): Likewise.
78383         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
78384         macro.
78385         (pltexit): Likewise.
78386         (La_regs): Likewise.
78387         (La_retval): Likewise.
78388         (int_retval): Likewise.
78389         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
78390         macro.
78391         (pltexit): Likewise.
78392         (La_regs): Likewise.
78393         (La_retval): Likewise.
78394         (int_retval): Likewise.
78395         * sysdeps/generic/tst-audit.h: Update comment to refer only to
78396         macro definitions in tst-audit.h.
78397         * sysdeps/i386/tst-audit.h: New file.
78398         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
78399         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
78400         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
78401         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
78402         * sysdeps/sh/tst-audit.h: Likewise.
78403         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
78404         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
78405         * sysdeps/x86_64/tst-audit.h: Likewise.
78407 2012-07-26  Andreas Jaeger  <aj@suse.de>
78409         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
78410         ptrace.
78412         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
78413         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
78414         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
78415         PTRACE_O_MASK.
78416         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
78417         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
78418         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
78420         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
78421         value.
78423         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
78424         _sigsys.
78425         (si_call_addr, si_syscall, si_arch): Define new macro.
78426         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
78427         _sigsys.
78428         (si_call_addr, si_syscall, si_arch): Define new marcro.
78429         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
78430         _sigsys.
78431         (si_call_addr, si_syscall, si_arch): Define new macro.
78432         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
78433         _sigsys.
78434         (si_call_addr, si_syscall, si_arch): Define new macro.
78436 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78438         [BZ #13717]
78439         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78440         Change to 2.4.21 where previously 2.4.1.
78441         * sysdeps/unix/sysv/linux/configure: Regenerated.
78442         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
78443         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
78444         Linux kernel version.
78445         (__ASSUME_STD_AUXV): Remove.
78446         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
78447         kernel version.
78448         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
78449         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
78450         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
78451         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
78452         (__ASSUME_NETLINK_SUPPORT): Likewise.
78453         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
78454         (__no_netlink_support): Remove conditional definition.
78455         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
78456         Remove.
78457         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78458         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
78459         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
78460         (if_nameindex_ioctl): Remove.
78461         (if_nameindex_netlink): Do not handle __no_netlink_support.
78462         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78463         code.
78464         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
78465         Remove conditional code.
78466         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
78467         code.
78468         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
78469         unconditional.
78470         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
78471         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
78472         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
78473         Remove.
78474         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
78475         [!__ASSUME_STD_AUXV]: Remove conditional code.
78476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
78477         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
78478         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
78479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
78480         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
78481         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78482         code.
78483         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
78485         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
78486         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78487         conditional code.
78488         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
78489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
78490         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
78491         code.
78492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
78493         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
78494         conditional code.
78495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
78496         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78497         code unconditional.
78498         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78499         conditional code.
78500         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78501         unconditional.
78502         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78503         conditional code.
78504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
78505         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78506         unconditional.
78507         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78508         conditional code.
78509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
78510         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78511         code unconditional.
78512         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78513         conditional code.
78514         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78515         unconditional.
78516         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78517         conditional code.
78518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
78519         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
78520         code unconditional.
78521         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78522         conditional code.
78523         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
78524         unconditional.
78525         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
78526         conditional code.
78528 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
78530         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
78531         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
78532         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
78533         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
78534         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
78535         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
78536         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
78537         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
78538         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
78539         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
78540         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
78541         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
78542         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
78543         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
78544         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
78545         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
78546         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
78547         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
78548         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
78549         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
78550         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
78551         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
78552         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
78554 2012-07-25  Florian Weimer  <fweimer@redhat.com>
78556         * Versions.def: Add GLIBC_2.17.
78557         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
78558         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
78559         Introduce __libc_secure_getenv.
78560         * stdlib/Versions (2.17): Add secure_getenv
78561         (GLIBC_PRIVATE): Add __libc_secure_getenv.
78562         * stdlib/secure-getenv.c: Rename __secure_getenv to
78563         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
78564         symbol __secure_getenv for GLIBC_2.0.
78565         * stdlib/tst-secure-getenv.c: New.
78566         * stdlib/Makefile (tests): Add testcase.
78567         * manual/startup.texi (Environment Access): Document
78568         secure_getenv.
78569         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
78570         __libc_secure_getenv.
78571         * inet/ruserpass.c (ruserpass): Likewise.
78572         * malloc/mtrace.c (mtrace): Likewise.
78573         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
78574         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
78575         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
78576         * sysdeps/posix/tempname.c: Likewise.  Evaluate
78577         HAVE_SECURE_GETENV.
78578         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
78579         __secure_getenv to __libc_secure_getenv.
78580         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
78581         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78582         Likewise.
78583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
78584         Likewise.
78585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
78586         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
78587         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
78588         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
78589         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
78590         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
78591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
78593 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
78595         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
78596         (struct La_i86_retval): Likewise.
78597         (struct La_x86_64_regs): Likewise.
78598         (struct La_x86_64_retval): Likewise.
78599         (struct La_x32_regs): Likewise.
78600         (struct La_x32_retval): Likewise.
78601         (struct La_ppc32_regs): Likewise.
78602         (struct La_ppc32_retval): Likewise.
78603         (struct La_ppc64_regs): Likewise.
78604         (struct La_ppc64_retval): Likewise.
78605         (struct La_sh_regs): Likewise.
78606         (struct La_sh_retval): Likewise.
78607         (struct La_s390_32_regs): Likewise.
78608         (struct La_s390_32_retval): Likewise.
78609         (struct La_s390_64_regs): Likewise.
78610         (struct La_s390_64_retval): Likewise.
78611         (struct La_sparc32_regs): Likewise.
78612         (struct La_sparc32_retval): Likewise.
78613         (struct La_sparc64_regs): Likewise.
78614         (struct La_sparc64_retval): Likewise.
78615         (struct audit_ifaces): Remove architecture-specific pltenter and
78616         pltexit members.
78617         * sysdeps/i386/ldsodefs.h: New file.
78618         * sysdeps/powerpc/ldsodefs.h: Likewise.
78619         * sysdeps/s390/ldsodefs.h: Likewise.
78620         * sysdeps/sh/ldsodefs.h: Likewise.
78621         * sysdeps/sparc/ldsodefs.h: Likewise.
78622         * sysdeps/x86_64/ldsodefs.h: Likewise.
78624 2012-07-25  Marek Polacek  <polacek@redhat.com>
78626         [BZ #6808]
78627         * math/libm-test.inc (yn_test): Add another test.
78628         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
78629         to ERANGE when the result is +-Inf.
78630         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
78631         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
78632         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
78633         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
78635 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
78637         * conform/data/time.h-data (NULL): Use macro-constant.  Require
78638         equal to 0.
78639         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
78640         clock_t.
78641         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
78643 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
78645         * configure.in <sysdeps resolving>: Correct printing
78646         Implies_before.
78647         * configure: Regenerate.
78649 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
78651         * math/w_ilogb.c: Include <limits.h>.
78652         * math/w_ilogbl.c: Likewise.
78654 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78656         * manual/lang.texi (__va_copy): Document primarily as ISO C99
78657         va_copy.  Document allowing for unavailable va_copy only as
78658         pre-C99 compatibility.
78659         * manual/string.texi (Copying and Concatenation): Use va_copy
78660         instead of __va_copy in concat example.
78662 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
78664         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
78665         (__sendto): Use create_address_port.  Initialize APORT and deallocate
78666         it if not null.
78668         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
78669         with O_NOLINK passed to __file_name_lookup.
78671         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
78672         with O_NOLINK passed to __file_name_lookup.
78674         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
78675         negative N or less than NGIDS.
78677         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
78678         type to string_t.  Set ERANGE as errno and return it if NAME is not big
78679         enough.  Use memcpy instead of strncpy.
78681 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
78683         * elf/Makefile (check-data): Remove.
78684         (localplt.data): New vpath directive.
78685         ($(objpfx)check-localplt.out): Use localplt.data from vpath
78686         instead of $(check-data).
78687         * scripts/data/localplt-generic.data: Move to ...
78688         * sysdeps/generic/localplt.data: ... here.
78689         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
78690         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
78691         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
78692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
78693         ... here.
78694         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
78695         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
78696         ... here.
78697         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
78698         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
78699         ... here.
78700         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
78701         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
78702         ... here.
78703         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
78704         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
78705         ... here.
78706         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
78707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
78708         ... here.
78710 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78712         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
78713         PPC32 and PPC64 files.
78714         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
78715         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
78717 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78719         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
78720         __makecontext_ret to ...
78721         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
78722         ... here and call exit if uc_link is NULL.  New file.
78723         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
78724         __makecontext_ret.S.
78725         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
78726         __makecontext_ret to ...
78727         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
78728         ... here and call exit if uc_link is NULL.  New file.
78729         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
78730         __makecontext_ret.S.
78732 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78734         * elf/elf.h (R_390_IRELATIVE): New definition.
78735         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
78736         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
78737         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
78738         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
78739         (elf_machine_lazy_rel): Likewise.
78740         * sysdeps/s390/dl-irel.h: New file.
78741         * sysdeps/s390/s390-64/memcpy.S: New asm code.
78742         * sysdeps/s390/s390-64/memset.S: New asm code.
78743         * sysdeps/s390/s390-64/memcmp.S: New asm code.
78744         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
78745         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
78746         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
78747         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
78748         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
78749         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
78750         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
78751         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
78752         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
78753         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
78754         * sysdeps/s390/s390-32/memcpy.S: New asm code.
78755         * sysdeps/s390/s390-32/memset.S: New asm code.
78756         * sysdeps/s390/s390-32/memcmp.S: New asm code.
78758 2012-07-17  Marek Polacek  <polacek@redhat.com>
78760         [BZ #14349]
78761         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
78762         * sysdeps/s390/s390-64/configure.in: Likewise.
78763         * sysdeps/sparc/configure.in: Likewise.
78764         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
78765         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
78766         * sysdeps/i386/configure.in: Likewise.
78767         * sysdeps/x86_64/configure.in: Likewise.
78768         * sysdeps/sh/configure.in: Likewise.
78769         * sysdeps/s390/s390-32/configure: Regenerated.
78770         * sysdeps/s390/s390-64/configure: Likewise.
78771         * sysdeps/x86_64/configure: Likewise.
78772         * sysdeps/sh/configure: Likewise.
78773         * sysdeps/powerpc/powerpc64/configure: Likewise.
78774         * sysdeps/powerpc/powerpc32/configure: Likewise.
78775         * sysdeps/sparc/configure: Likewise.
78776         * sysdeps/i386/configure: Likewise.
78778         * elf/dl-open.c: Comment fixes.
78780 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
78782         * Makefile [CXX] (check-data): Remove.
78783         [CXX] (c++-types.data): New vpath directive.
78784         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
78785         vpath.  Do not allow for C++ type data being missing.
78786         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
78787         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
78788         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
78789         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
78790         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
78791         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
78792         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
78793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
78794         ... here.
78795         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
78796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
78797         ... here.
78798         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
78799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
78800         ... here.
78801         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
78802         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
78803         ... here.
78804         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
78805         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
78806         ... here.
78807         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
78808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
78809         ... here.
78810         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
78811         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
78812         ... here.
78813         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
78814         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
78816         * elf/tls-macros.h (TLS_LE): Move architecture-specific
78817         definitions to architecture-specific files.
78818         (TLS_IE): Likewise.
78819         (TLS_LD): Likewise.
78820         (TLS_GD): Likewise.
78821         * sysdeps/i386/tls-macros.h: New file.
78822         * sysdeps/powerpc/tls-macros.h: Likewise.
78823         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
78824         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
78825         * sysdeps/sh/tls-macros.h: Likewise.
78826         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
78827         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
78828         * sysdeps/x86_64/tls-macros.h: Likewise.
78830 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78832         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
78833         zero value for regular exit case.
78835         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
78836         (__start_context): Preserve zero value for regular exit case.
78838 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
78839             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78841         * manual/setjmp.texi (setcontext): Clarify normal process
78842         termination when uc_link is the null pointer.
78843         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
78844         exit call.
78846 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
78848         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
78849         preprocessor.  Test for each exception mask separately.
78851 2012-07-16  Andreas Jaeger  <aj@suse.de>
78853         * po/ru.po: Update from translation team.
78855 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
78857         * conform/data/string.h-data (NULL): Use macro-constant.  Require
78858         equal to 0.
78859         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
78860         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
78861         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
78862         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
78863         [ISO || ISO99 || ISO11] (*_t): Do not allow.
78865 2012-07-13  Andreas Jaeger  <aj@suse.de>
78867         * po/fr.po: Update from translation team.
78869 2012-07-12  Marek Polacek  <polacek@redhat.com>
78871         [BZ #14173]
78872         * math/libm-test.inc (yn_test): Add test for BZ #14173.
78873         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
78874         loop condition.
78876 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
78878         [BZ #13717]
78879         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
78880         Change to 2.4.1 where previously 2.4.0.
78881         * sysdeps/unix/sysv/linux/configure: Regenerated.
78882         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
78883         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
78884         version.
78885         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
78886         (__ASSUME_AT_CLKTCK): Remove.
78887         (__ASSUME_AT_PAGESIZE): Likewise.
78888         (__ASSUME_AT_XID): Likewise.
78889         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
78890         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
78891         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
78892         unconditionally.
78893         (HAVE_AUX_PAGESIZE): Likewise.
78894         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
78895         [__ASSUME_AT_CLKTCK]: Make code unconditional.
78896         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
78898 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
78900         [BZ #14307]
78901         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
78902         the temporary buffer used to invoke __gethostbyname2_r,
78903         __gethostbyaddr_r and gethostbyname4_r to make room for struct
78904         host_data / struct gaih_addrtuple.
78905         * resolv/nss_dns/dns-host.c (global scope): Move definition of
78906         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
78907         header file nss/nsswitch.h.
78908         * nss/nsswitch.h (global scope): Add definition of implementation
78909         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
78910         resolv/nss_dns/dns-host.c).
78912 2012-07-11  Andreas Jaeger  <aj@suse.de>
78914         * po/fr.po: Update from translation team.
78916         * po/sv.po: Update from translation team
78917         * po/fr.po: Another update from translation team.
78919 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78921         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
78922         for subnormals or multiply small sinh result by itself.
78923         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
78924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78926 2012-07-11  David S. Miller  <davem@davemloft.net>
78928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78930 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
78932         [BZ #14347]
78933         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
78934         (INTERNAL_MARK): Shift it here.
78936 2012-07-10  Marek Polacek  <polacek@redhat.com>
78938         [BZ #14151]
78939         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
78940         libc_cv_asm_global_directive with .globl.
78941         * configure: Regenerated.
78942         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
78943         with .globl.
78944         * sysdeps/i386/configure: Regenerated.
78945         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
78946         with .globl.
78947         * sysdeps/x86_64/configure: Regenerated.
78948         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
78949         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
78950         * elf/tst-unique2mod2.c: Likewise.
78951         * elf/tst-unique2mod1.c: Likewise.
78952         * elf/tst-unique1mod2.c: Likewise.
78953         * elf/tst-unique1mod1.c: Likewise.
78954         * sysdeps/s390/s390-32/sysdep.h: Likewise.
78955         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
78956         * sysdeps/s390/s390-64/sysdep.h: Likewise.
78957         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
78958         * sysdeps/mach/sysdep.h: Likewise.
78959         * sysdeps/i386/sysdep.h: Likewise.
78960         * sysdeps/i386/i386-mcount.S: Likewise.
78961         * sysdeps/x86_64/_mcount.S: Likewise.
78962         * sysdeps/x86_64/sysdep.h: Likewise.
78963         * sysdeps/sh/_mcount.S: Likewise.
78964         * sysdeps/sh/sysdep.h: Likewise.
78965         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
78966         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
78967         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
78968         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78969         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
78970         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
78971         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
78972         * locale/localeinfo.h: Likewise.
78973         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
78974         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
78976 2012-07-09  Roland McGrath  <roland@hack.frob.com>
78978         [BZ #14336]
78979         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
78980         system".
78981         * manual/message.texi (The Uniforum approach): Likewise.
78982         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
78983         (glibc iconv Implementation): Likewise.
78985 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
78987         [BZ #14337]
78988         * math/s_clog.c (__clog): Avoid scaling a value down where that
78989         could result in underflow.
78990         * math/s_clog10.c (__clog10): Likewise.
78991         * math/s_clog10f.c (__clog10f): Likewise.
78992         * math/s_clog10l.c (__clog10l): Likewise.
78993         * math/s_clogf.c (__clogf): Likewise.
78994         * math/s_clogl.c (__clogl): Likewise.
78995         * math/libm-test.inc (clog_test): Add more tests.
78996         (clog10_test): Likewise.
78997         * sysdeps/i386/fpu/libm-test-ulps: Update.
78998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79000 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
79002         [BZ #14283]
79003         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
79004         by 7 not 8 to examine high bit of fractional part.
79006         [BZ #14042]
79007         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
79008         for call to __mcount_internal.
79009         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
79010         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
79011         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
79013 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
79015         [BZ #14154]
79016         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
79017         approximation for values within 0x1p-13f of an odd multiple of
79018         pi/4.
79019         * math/libm-test.inc (tan_test): Do not allow spurious underflow
79020         exception.  Add more tests.
79021         * sysdeps/i386/fpu/libm-test-ulps: Update.
79023         [BZ #6778]
79024         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
79025         inputs and return -1 for them.  Do not check for +Inf in case not
79026         reachable for +Inf.
79027         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
79028         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
79029         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79030         and return -1 for them.  Do not check for +Inf in case not
79031         reachable for +Inf.
79032         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
79033         define.
79034         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
79035         and return -1 for them.  Do not check for +Inf in case not
79036         reachable for +Inf.
79037         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
79038         spurious underflow.
79039         * sysdeps/i386/fpu/libm-test-ulps: Update.
79040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79042 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
79044         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
79046 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
79048         [BZ #14157]
79049         [BZ #14331]
79050         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
79051         could result in spurious underflow.  Scale down values above
79052         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
79053         * math/s_csqrtf.c (__csqrtf): Likewise.
79054         * math/s_csqrtl.c (__csqrtl): Likewise.
79055         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
79056         spurious underflow.
79057         * sysdeps/i386/fpu/libm-test-ulps: Update.
79058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79060 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
79062         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
79063         xopen-msg.sed.
79064         * catgets/xopen-msg.awk: New file.
79065         * catgets/xopen-msg.sed: Removed.
79067         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
79068         po2text.sed.
79069         * intl/po2test.awk: New file.
79070         * intl/po2test.sed: Removed.
79072 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
79074         [BZ #14328]
79075         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
79076         or multiply small sinh result by itself.
79077         * math/s_ctanf.c (__ctanf): Likewise.
79078         * math/s_ctanh.c (__ctanh): Likewise.
79079         * math/s_ctanhf.c (__ctanhf): Likewise.
79080         * math/s_ctanhl.c (__ctanhl): Likewise.
79081         * math/s_ctanl.c (__ctanl): Likewise.
79082         * math/libm-test.inc (ctan_test_tonearest): New function.
79083         (ctan_test_towardzero): Likewise.
79084         (ctan_test_downward): Likewise.
79085         (ctan_test_upward): Likewise.
79086         (ctanh_test_tonearest): Likewise.
79087         (ctanh_test_towardzero): Likewise.
79088         (ctanh_test_downward): Likewise.
79089         (ctanh_test_upward): Likewise.
79090         (main): Call these new functions.
79091         * sysdeps/i386/fpu/libm-test-ulps: Update.
79092         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
79094 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
79096         * .gitignore: Delete /ports entry.
79098 2012-07-03  Andreas Jaeger  <aj@suse.de>
79100         * po/bg.po: Update from translation team.
79101         * po/cs.po: Likewise.
79102         * po/de.po: Likewise.
79103         * po/hr.po: Likewise.
79104         * po/nl.pl: Likewise.
79105         * po/pl.po: Likewise.
79106         * po/vi.po: Likewise.
79108 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
79110         * Makeconfig [!+link] (+link-before-libc): New variable.
79111         [!+link] (+link-after-libc): Likewise.
79112         [!+link] (+link-tests): Likewise.
79113         [!+link] (+link): Define in terms of $(+link-before-libc) and
79114         $(+link-after-libc).
79115         [!+link-static] (+link-static-before-libc): New variable.
79116         [!+link-static] (+link-static-after-libc): Likewise.
79117         [!+link-static] (+link-static-tests): Likewise.
79118         [!+link-static] (+link-static): Define in terms of
79119         $(+link-static-before-libc) and $(+link-static-after-libc).
79120         [build-shared] (link-libc-before-gnulib): New variable.
79121         [build-shared] (link-libc-tests): Likewise.
79122         [build-shared] (link-libc): Define in terms of
79123         $(link-libc-before-gnulib).
79124         [!build-shared] (link-libc-tests): New variable.
79125         (link-libc-static-tests): New variable.
79126         [!gnulib] (gnulib-arch): New variable.
79127         [!gnulib] (gnulib-tests): Likewise.
79128         [!gnulib] (static-gnulib-arch): Likewise.
79129         [!gnulib] (static-gnulib-tests): Likewise.
79130         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
79131         Define with "=" instead of ":=".
79132         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
79133         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
79134         * Rules (binaries-all-notests): New variable.
79135         (binaries-all-tests): Likewise.
79136         (binaries-static-notests): Likewise.
79137         (binaries-static-tests): Likewise.
79138         (binaries-all): Define using $(binaries-all-notests) and
79139         $(binaries-all-tests).
79140         (binaries-static): Define using $(binaries-static-notests) and
79141         $(binaries-static-tests).
79142         (binaries-shared-tests): New variable.
79143         (binaries-shared-notests): Likewise.
79144         (binaries-shared): Remove variable.
79145         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
79146         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
79147         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
79148         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
79149         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
79150         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
79151         * elf/Makefile (sln-modules): New variable.
79152         (extra-objs): Add $(sln-modules:=.o).
79153         (ldconfig-modules): Add static-stubs.
79154         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
79155         * elf/static-stubs.c: New file.
79157         [BZ #14283]
79158         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
79159         by 7 not 8 to examine high bit of fractional part.  Use volatile
79160         variables when splitting into final array of floats if
79161         __FLT_EVAL_METHOD__ != 0.
79162         * math/libm-test.inc (cos_test): Add another test.
79163         (sin_test): Likewise.
79164         * sysdeps/i386/fpu/libm-test-ulps: Update.
79166         [BZ #14273]
79167         * math/libm-test.inc (cosh_test): Add more tests.
79169         * version.h (RELEASE): Set to "development".
79170         (VERSION): Set to "2.16.90".
79172 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
79174         * NEWS: Update copyright. Remove last-updated date.
79175         Mention math library bug fixes and timezone data changes.
79176         * README: Mention GNU/Hurd, x32, and HPPA support status.
79178 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
79180         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
79182 2012-06-27  Andreas Jaeger  <aj@suse.de>
79184         * manual/contrib.texi (Contributors): Add Samuel Thibault.
79186 2012-06-25  Andreas Jaeger  <aj@suse.de>
79188         * sysdeps/s390/fpu/libm-test-ulps: Update.
79190 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
79191             Thomas Schwinge  <thomas@codesourcery.com>
79193         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
79194         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
79195         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
79196         fanotify_mark.
79198 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
79200         * sysdeps/mach/start.c: Remove file.
79201         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
79202         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
79203         * sysdeps/sh/init-first.c: Likewise.
79205         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
79206         registers for frame unwinding purposes, add CFI directives.
79207         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79208         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
79209         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
79210         Likewise.
79212         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
79213         __fortify_fail returning.
79214         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
79216         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
79217         sysdeps/sh/____longjmp_chk.S.
79218         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
79219         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
79220         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
79221         (gen-as-const-headers): Append sigaltstack-offsets.sym.
79223         * sysdeps/sh/abort-instr.h: New file.
79224         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
79225         process in case exit returns.
79227         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
79228         initialize the GOT register before use.
79230         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
79231         calculation of ARGC > 4.
79233         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
79234         meaningful names to some local labels.
79236 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
79237             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79239         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
79240         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
79241         (__arch_compare_and_exchange_val_16_acq): Likewise.
79242         (__arch_compare_and_exchange_val_32_acq): Likewise.
79243         (atomic_exchange_and_add): Fix gUSA sequence.
79244         (atomic_add): Likewise.
79245         (atomic_add_negative): Likewise.
79246         (atomic_add_zero): Likewise.
79247         (atomic_bit_test_set): Likewise.
79249 2012-06-22  Andreas Schwab  <schwab@redhat.com>
79251         [BZ #13579]
79252         * include/link.h (struct link_map): Add l_free_initfini.
79253         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
79254         l_initfini.
79255         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
79256         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
79257         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
79258         set.
79260 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
79262         * configure.in: Use AC_LANG_SOURCE.
79263         * configure: Regenerate.
79265 2012-06-22  Roland McGrath  <roland@hack.frob.com>
79267         * configure.in (libc_cv_localstatedir): New substituted variable.
79268         * configure: Regenerated.
79269         * config.make.in (localstatedir): New variable, substituted from
79270         libc_cv_localstatedir.
79271         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
79272         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
79273         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
79274         * sysdeps/gnu/configure: Regenerated.
79276 2012-06-21  Jeff Law  <law@redhat.com>
79278         [BZ #14277]
79279         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
79280         free.  Simplify list management for _LIBC case.
79282 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
79284         [BZ #14273]
79285         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
79286         Clear sign bit of 64-bit integer value before comparing against
79287         overflow value.
79289         * sysdeps/mach/configure: Regenerated.
79291 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
79293         [BZ #14278]
79294         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
79296 2012-06-21  Jeff Law  <law@redhat.com>
79298         [BZ #13882]
79299         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
79300         uint16_t for elements in the "seen" array to avoid char overflows.
79301         * elf/dl-fini.c (_dl_sort_fini): Likewise.
79302         * elf/dl-open.c (dl_open_worker): Likewise.
79304 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
79306         * scripts/list-sources.sh: Scan PORTS for translations.
79307         * po/libc.pot: Regenerated.
79309 2012-06-21  Andreas Jaeger  <aj@suse.de>
79311         [BZ #12194]
79312         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
79313         warning.
79314         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
79315         * bits/byteswap-16.h (__bswap_16): Likewise.
79316         * bits/byteswap.h (__bswap_constant_16): Likewise.
79318 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
79320         [BZ #14117]
79321         * sysdeps/i386/fpu_control.h: Removed.
79322         * sysdeps/x86_64/fpu_control.h: Moved to ...
79323         * sysdeps/x86/fpu_control.h: Here.
79325         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
79326         (_FPU_SETCW): Likewise.
79328 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
79330         [BZ #14117]
79331         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
79332         * sysdeps/x86/fpu/bits/mathinline.h: This.
79333         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
79335         [BZ #14050]
79336         [BZ #14117]
79337         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
79338         functions if __x86_64__ is defined.
79340 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
79342         * string/endian.h: Add !__ASSEMBLER__ condition for including
79343         conversion interfaces.
79345 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
79347         [BZ #14241]
79348         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
79349         of ABS(x) in calculating zero to negative powers other than odd
79350         integers.
79351         * math/libm-test.inc (pow_test): Add more tests.
79353 2012-06-15  Andreas Jaeger  <aj@suse.de>
79355         * manual/contrib.texi (Contributors): Update entry of Liubov
79356         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
79357         Machado Filho.
79359 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
79361         * string/string.h: Add __wur to GNU version of strerror_r.
79363 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
79365         [BZ #14229]
79366         * string/Makefile (tests): Add tst-strtok_r.
79367         * string/tst-strtok_r.c: New file.
79368         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
79369         RAX_LP/RDX_LP on SAVE_PTR.
79371 2012-06-14  Roland McGrath  <roland@hack.frob.com>
79373         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
79375 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
79377         * libm_test.inc (csqrt_test): Allow more spurious underflow
79378         exceptions.
79379         (j0_test): Likewise.
79380         (j1_test): Likewise.
79381         (y0_test): Likewise.
79382         (y1_test): Likewise.
79384 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
79386         * po/Makefile (libc.pot): Use UTF-8 charset.
79388 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
79390         [BZ #14210]
79391         Suppress sign-conversion warning from FD_SET.
79392         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
79393         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
79394         not unsigned long int.
79395         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
79397 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
79399         [BZ #14050]
79400         [BZ #14117]
79401         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
79402         __extern_always_inline instead of __extern_inline.
79403         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
79404         (__signbit): Likewise.
79405         (__signbitl): Support C++ namespace.
79406         (lrintf): New inline function.
79407         (lrint): Likewise.
79408         (llrintf): Likewise.
79409         (llrint): Likewise.
79410         (fmaxf): Likewise.
79411         (fmax): Likewise.
79412         (fminf): Likewise.
79413         (fmin): Likewise.
79414         (rint): Likewise.
79415         (rintf): Likewise.
79416         (ceil): Likewise.
79417         (ceilf): Likewise.
79418         (floor): Likewise.
79419         (floorf): Likewise.
79420         (nearbyint): Likewise.
79421         (nearbyintf): Likewise.
79423 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
79425         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
79426         non-default versions.
79428 2012-06-11  Roland McGrath  <roland@hack.frob.com>
79430         [BZ #14218]
79431         * manual/argp.texi (Argp): Reword argp_parse description slightly.
79433 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
79435         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
79436         (FE_UPWARD, FE_DOWNWARD): Don't define.
79437         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
79438         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
79440         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
79441         reading it.
79442         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
79443         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
79445 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
79447         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
79448         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
79449         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
79450         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
79452 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
79454         [BZ #14117]
79455         * sysdeps/i386/fpu/bits/fenv.h: Removed.
79456         * sysdeps/i386/fpu/Implies: New file.
79457         * sysdeps/x86_64/fpu/Implies: Likewise.
79458         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
79459         * sysdeps/x86/fpu/bits/fenv.h: This.
79461         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
79462         __SSE_MATH__.
79464 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
79466         [BZ #14134]
79467         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
79468         character 0xffff that matches the last element of the
79469         conversion table.
79471 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79473         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
79474         fmodl commit.
79476 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79478         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
79479         values higher than 25.6283.
79481 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79483         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
79484         subnormal exponent extraction and add some __builtin_expect.
79485         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
79486         Fix for subnormal mantissa calculation.
79488 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
79490         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
79491         cpu2 is -1 and errno is not ENOSYS.
79493 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
79495         [BZ #14117]
79496         * sysdeps/i386/i486/bits/string.h: Renamed to ...
79497         * sysdeps/x86/bits/string.h: This.
79498         * sysdeps/x86_64/bits/string.h: Removed.
79500         * sysdeps/i386/i486/bits/string.h: Define inline functions only
79501         if not compiling for x86-64, but compiling for >= i486.
79503         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
79504         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
79506         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
79507         New macro from Linux kernel 3.4.0.
79508         (FP_XSTATE_MAGIC2): Likewise.
79509         (FP_XSTATE_MAGIC2_SIZE): Likewise.
79510         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
79511         (struct _fpx_sw_bytes): New struct.
79512         (struct _xsave_hdr): Likewise.
79513         (struct _ymmh_state): Likewise.
79514         (struct _xstate): Likewise.
79516         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
79517         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
79518         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
79519         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
79520         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
79521         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
79523         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
79524         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
79525         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
79526         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
79527         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
79528         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
79530 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
79532         [BZ #13743]
79533         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
79534         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
79535         (sysdep_headers): Include sys/platform/ppc.h.
79536         * sysdeps/powerpc/test-gettimebase.c: Test for
79537         __ppc_get_timebase() to catch future ISA opcode/insn changes.
79538         * manual/Makefile (appendices): Include platform.texi.
79539         * manual/contrib.texi (Contributors): Update @node pointers.
79540         * manual/maint.texi (Maintenance): Likewise.
79541         (Platform): New node.
79542         * manual/platform.texi: New file.  Document the new features.
79544 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
79545             Jakub Jelinek  <jakub@redhat.com>
79547         [BZ #14188]
79548         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
79549         where __builtin_expect is unavailable.
79551 2012-06-03  David S. Miller  <davem@davemloft.net>
79553         * stdlib/longlong.h: Updated from GCC.
79555 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
79557         [BZ #14042]
79558         * sysdeps/powerpc/powerpc32/mcount.c: New file.
79559         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
79560         __mcount_internal.
79561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
79562         (GLIBC_2.16): Likewise.
79564 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79566         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
79568 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
79571         (default-abi): New variable.
79572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
79573         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
79574         variable.
79575         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
79576         Likewise.
79577         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
79578         Likewise.
79579         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
79580         Likewise.
79582         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
79583         definition.  Document in comment.
79585 2012-06-01  David S. Miller  <davem@davemloft.net>
79587         * stdlib/longlong.h: Updated from GCC.
79589 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79591         [BZ #14117]
79592         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
79593         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
79594         sys/debugreg.h sys/io.h here.
79595         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
79596         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
79597         sys/io.h.
79598         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
79599         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
79600         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
79601         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
79602         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
79603         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
79605         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
79606         Define only if __x86_64__ is defined.
79608 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
79610         [BZ #14048]
79611         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
79612         Use int64_t for variable i.
79613         * math/libm-test.inc (fmod_test): Add more tests.
79615         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
79616         z computation is not scheduled after fetestexcept.
79617         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
79618         Use math_force_eval instead of asm to ensure calculation scheduled
79619         before exception test.
79620         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
79621         Ensure a1 + u.d computation is not scheduled after fetestexcept.
79623 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
79625         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
79626         computation is not scheduled after fetestexcept.
79628 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
79630         [BZ #14117]
79631         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
79632         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
79634 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79636         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
79637         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
79639 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
79641         [BZ #14117]
79642         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
79643         <bits/wordsize.h>.
79644         (__WCHAR_MIN): Support __WORDSIZE == 64.
79645         (__WCHAR_MAX): Likewise.
79647         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
79648         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
79650         [BZ #14183]
79651         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
79652         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
79654         [BZ #14117]
79655         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
79656         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
79658         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
79659         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
79661         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
79662         Defined to 1 if __x86_64__ isn't defined.
79663         (_STAT_VER_LINUX_OLD): New.
79664         (st_atime): Remove duplicate.
79665         (st_mtime): Likewise.
79666         (st_ctime): Likewise.
79668 2012-05-31  David S. Miller  <davem@davemloft.net>
79670         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
79671         entries.
79673 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
79675         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
79676         gen-libm-test.pl.
79678         [BZ #14132]
79679         * elf/dl-reloc.c: Include <_itoa.h>.
79680         (_dl_reloc_bad_type): Remove use of INTUSE.
79681         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
79682         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
79683         * stdio-common/psiginfo.c (psiginfo): Likewise.
79684         * stdio-common/psignal.c (psignal): Likewise.
79685         * string/strsignal.c (strsignal): Likewise.
79686         * include/signal.h (_sys_siglist): Declare hidden proto.
79687         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
79688         INTVARDEF with libc_hidden_data_def.
79689         * stdio-common/itoa-udigits.c: Likewise.
79690         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
79691         (_itoa_lower_digits_internal): Remove declaration.
79692         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
79693         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
79694         (_sys_sigabbrev_internal): Remove aliases.
79695         (_sys_siglist): Define hidden alias.
79697 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
79699         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79700         bits/sysctl.h.
79702 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
79704         [BZ #14117]
79705         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
79706         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
79708         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
79709         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
79710         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
79711         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
79712         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
79713         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
79715         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
79716         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
79717         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
79719         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
79720         with __addr.
79721         (insw): Likewise.
79722         (insl): Likewise.
79723         (outsb): Likewise.
79724         (outsw): Likewise.
79725         (outsl): Likewise.
79727         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
79728         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
79729         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
79731         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
79732         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
79733         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
79734         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
79735         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
79736         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
79738         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
79739         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
79741         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
79742         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
79744         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
79745         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
79746         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
79748         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
79749         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
79750         to ...
79751         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
79753         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
79754         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
79755         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
79757         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
79758         for x86-64.
79759         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
79761 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
79763         * math/math.h (M_El): Use two more decimal places.
79764         (M_LOG2El): Likewise.
79765         (M_LOG10El): Likewise.
79766         (M_LN2l): Likewise.
79767         (M_LN10l): Likewise.
79768         (M_PIl): Likewise.
79769         (M_PI_2l): Likewise.
79770         (M_PI_4l): Likewise.
79771         (M_1_PIl): Likewise.
79772         (M_2_PIl): Likewise.
79773         (M_2_SQRTPIl): Likewise.
79774         (M_SQRT2l): Likewise.
79775         (M_SQRT1_2l): Likewise.
79777 2012-05-31  David S. Miller  <davem@davemloft.net>
79779         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
79780         values between float registers.
79781         * sysdeps/sparc/sparc64/memset.S: Likewise.
79782         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
79784 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
79786         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
79787         -D_FORTIFY_SOURCE=1.
79788         (CPPFLAGS-tst-longjmp_chk.c): Define.
79789         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
79790         (CPPFLAGS-tst-longjmp_chk2.c): Define.
79791         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
79792         CFLAGS-tst-wchar-h.c.
79794 2012-05-31  Marek Polacek  <polacek@redhat.com>
79796         [BZ #14132]
79797         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
79798         __endmntent_internal): Remove declaration.
79799         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
79800         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
79801         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
79803 2012-05-30  David S. Miller  <davem@davemloft.net>
79805         * sysdeps/sparc/sparc32/soft-fp/q_util.c
79806         (___Q_simulate_exceptions): Use real FP ops rather than writing
79807         into the %fsr.
79808         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
79809         Likewise.
79811 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79813         [BZ #14117]
79814         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
79815         * sysdeps/x86/bits/xtitypes.h: This.
79817         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
79818         * sysdeps/x86/bits/wordsize.h: This.
79820         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
79821         * sysdeps/x86/bits/huge_vall.h: This.
79823         * sysdeps/i386/bits/select.h: Removed.
79824         * sysdeps/x86_64/bits/select.h: Renamed to ...
79825         * sysdeps/x86/bits/select.h: This.
79827         * sysdeps/i386/bits/setjmp.h: Removed.
79828         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
79829         * sysdeps/x86/bits/setjmp.h: This.
79831         * sysdeps/i386/bits/mathdef.h: Removed.
79832         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
79833         * sysdeps/x86/bits/mathdef.h: This.
79835 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
79837         [BZ #14132]
79838         * include/sys/socket.h (__connect_internal)
79839         (__libc_sa_len_internal): Remove declaration.
79840         (__connect, __libc_sa_len): Declare hidden_proto.
79841         (SA_LEN): Remove use of INTUSE.
79842         * socket/connect.c: Add libc_hidden_def.
79843         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
79844         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
79845         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
79846         alias.
79847         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
79848         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
79849         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
79850         of adding _internal alias.
79852 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79854         [BZ #14117]
79855         * sysdeps/i386/bits/link.h: Removed.
79856         * sysdeps/i386/bits/linkmap.h: Likewise.
79857         * sysdeps/x86_64/bits/link.h: Renamed to ...
79858         * sysdeps/x86/bits/link.h: This.
79859         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
79860         * sysdeps/x86/bits/linkmap.h: This.
79862         * sysdeps/i386/bits/endian.h: Removed.
79863         * sysdeps/x86_64/bits/endian.h: Renamed to ...
79864         * sysdeps/x86/bits/endian.h: This.
79866         * sysdeps/i386/bits/byteswap.h: Removed.
79867         * sysdeps/i386/bits/byteswap-16.h: Likewise.
79868         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
79869         * sysdeps/x86/bits/byteswap.h: This.
79870         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
79871         * sysdeps/x86/bits/byteswap-16.h: This.
79872         * sysdeps/i386/Implies: Add x86.
79873         * sysdeps/x86_64/Implies: Likewise.
79875 2012-05-30  David S. Miller  <davem@davemloft.net>
79877         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
79878         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
79879         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
79880         (FP_TRAPPING_EXCEPTIONS): Define.
79881         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
79882         (FP_TRAPPING_EXCEPTIONS): Define.
79883         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
79884         subnormals only when inexact has been signalled or underflow
79885         exceptions are enabled.
79886         (_FP_PACK_CANONICAL): Likewise.
79888 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79890         [BZ #14183]
79891         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
79892         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
79894 2012-05-30  Richard Henderson  <rth@twiddle.net>
79896         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
79897         with #ifndef NOT_IN_libc.
79899         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
79900         marked to avoid plt entry.
79902 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
79904         [BZ #14112]
79905         * Makeconfig (default-abi): New macro.
79906         (abi-includes): Likewise.
79907         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
79908         $(abi-$(default-abi)-lib-soname) for soname if defined.
79909         ($(common-objpfx)gnu/lib-names.stmp): Generate from
79910         abi-variants.
79911         * Makefile (installed-stubs): Likewise.
79912         * include/stubs-biarch.h: Removed.
79913         * scripts/lib-names.awk: Only handle one library at a time.
79914         * scripts/soversions.awk: Remove WORDSIZE support.
79915         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
79916         entries.
79917         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
79918         Removed.
79919         (syscall-list-default-condition): Likewise.
79920         (syscall-list-default-condition): Likewise.
79921         (syscall-list-includes): Likewise.
79922         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
79923         syscall-list-* with abi-*.  Handle undefined abi-variants.
79924         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
79925         * sysdeps/unix/sysv/linux/i386/Implies: New file.
79926         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
79927         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
79928         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
79929         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
79930         Removed.
79931         (syscall-list-32-options): Likewise.
79932         (syscall-list-32-condition): Likewise.
79933         (syscall-list-64-options): Likewise.
79934         (syscall-list-64-condition): Likewise.
79935         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
79936         macro.
79937         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
79938         Renamed to ...
79939         (abi-*): This.
79940         (abi-64-ld-soname): New macro.
79941         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
79942         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
79943         Renamed to ...
79944         (abi-*): This.
79945         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
79946         * sysdeps/x86_64/x32/shlib-versions: Likewise.
79948 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
79950         * sysdeps/unix/sysv/linux/kernel-features.h
79951         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
79952         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
79953         include <kernel-features.h>.
79954         [!__NR_ftruncate64]: Remove conditional code.
79955         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79956         [__NR_ftruncate64]: Make code unconditional.
79957         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79958         * sysdeps/unix/sysv/linux/truncate64.c: Do not
79959         include <kernel-features.h>.
79960         [!__NR_ftruncate64]: Remove conditional code.
79961         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79962         [__NR_ftruncate64]: Make code unconditional.
79963         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
79965         include <kernel-features.h>.
79966         [!__NR_ftruncate64]: Remove conditional code.
79967         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79968         [__NR_ftruncate64]: Make code unconditional.
79969         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
79971         include <kernel-features.h>.
79972         [!__NR_ftruncate64]: Remove conditional code.
79973         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79974         [__NR_ftruncate64]: Make code unconditional.
79975         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
79977         * configure.in (libc_cv_fpie): Weaken to a compile test using
79978         LIBC_TRY_CC_OPTION.
79979         * configure: Regenerated.
79981 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79983         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
79984         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
79985         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
79986         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
79987         Refreshed.
79988         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
79989         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
79990         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
79991         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
79992         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
79993         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
79994         Refreshed.
79996 2012-05-27  David S. Miller  <davem@davemloft.net>
79998         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
79999         (___Q_zero): New.
80000         (__Q_simulate_exceptions): Return void.  Change to simulate
80001         exceptions by writing into the %fsr.
80002         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
80003         (__Qp_handle_exceptions): Likewise.
80004         (numbers): Delete.
80005         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
80006         __Qp_handle_exceptions.
80007         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
80008         __Qp_handle_exceptions.
80009         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80010         as unused and give dummy FP_RND_NEAREST initializer.
80011         (FP_INHIBIT_RESULTS): Define.
80012         (___Q_simulate_exceptions): Update declaration.
80013         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
80014         formatting.
80015         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
80016         as unused and give dummy FP_RND_NEAREST initializer.
80017         (__Qp_handle_exceptions): Update declaration.
80018         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
80019         formatting.
80021 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
80023         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
80024         the temporary FPU control word.
80025         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
80026         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
80027         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
80028         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
80029         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
80030         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
80031         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
80032         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
80033         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
80034         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
80035         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80037 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
80039         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
80040         fields.
80042 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
80044         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
80045         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
80046         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
80047         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
80048         Likewise.
80049         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
80050         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
80051         Likewise.
80053 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
80055         * po/h.po: Update from translation team.
80057 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
80059         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
80061         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
80062         handling of denormals.
80063         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
80064         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
80065         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
80066         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
80067         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
80068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
80069         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
80070         Likewise.
80072 2012-05-26  Marek Polacek  <polacek@redhat.com>
80074         [BZ #14152]
80075         * math/libm-test.inc (fma_test): Don't always expect underflow
80076         exception.
80078 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
80080         [BZ #12416]
80081         * elf/tst-execstack.c: Include stackinfo.h.
80082         (do_test): Adjust test case to ensure that pthread_getattr_np
80083         behaviour remains the same after marking stack executable.
80085 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80087         * sysdeps/unix/sysv/linux/kernel-features.h
80088         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
80089         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
80090         kernel-features.h.
80091         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80092         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80093         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
80094         kernel-features.h.
80095         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
80096         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
80098 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
80100         * configure.in: Define the default includes to being none.
80101         * configure: Regenerated.
80103 2012-05-25  Roland McGrath  <roland@hack.frob.com>
80105         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
80106         * sysdeps/x86_64/setjmp.S: Likewise.
80107         * sysdeps/i386/bsd-setjmp.S: Likewise.
80108         * sysdeps/i386/bsd-_setjmp.S: Likewise.
80109         * sysdeps/i386/setjmp.S: Likewise.
80110         * sysdeps/i386/__longjmp.S: Likewise.
80111         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80112         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
80114         * include/stap-probe.h: New file.
80115         * configure.in: Handle --enable-systemtap.
80116         * configure: Regenerated.
80117         * config.h.in (USE_STAP_PROBE): New #undef.
80118         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
80119         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
80120         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
80122 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
80124         [BZ #13717]
80125         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
80126         to 2.4.0 where earlier.
80127         * sysdeps/unix/sysv/linux/configure: Regenerated.
80128         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
80129         <kernel-features.h>.
80130         [__ASSUME_32BITUIDS]: Make code unconditional.
80131         [!__ASSUME_32BITUIDS]: Remove conditional code.
80132         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
80133         <kernel-features.h>.
80134         [__ASSUME_32BITUIDS]: Make code unconditional.
80135         [!__ASSUME_32BITUIDS]: Remove conditional code.
80136         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
80137         [__ASSUME_32BITUIDS]: Make code unconditional.
80138         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
80139         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
80140         <kernel-features.h>.
80141         [__ASSUME_32BITUIDS]: Make code unconditional.
80142         [!__ASSUME_32BITUIDS]: Remove conditional code.
80143         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
80144         <kernel-features.h>.
80145         [__ASSUME_32BITUIDS]: Make code unconditional.
80146         [!__ASSUME_32BITUIDS]: Remove conditional code.
80147         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
80148         <kernel-features.h>.
80149         [__ASSUME_32BITUIDS]: Make code unconditional.
80150         [!__ASSUME_32BITUIDS]: Remove conditional code.
80151         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
80152         <kernel-features.h>.
80153         [__ASSUME_32BITUIDS]: Make code unconditional.
80154         [!__ASSUME_32BITUIDS]: Remove conditional code.
80155         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
80156         <kernel-features.h>.
80157         [__ASSUME_32BITUIDS]: Make code unconditional.
80158         [!__ASSUME_32BITUIDS]: Remove conditional code.
80159         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
80160         <kernel-features.h>.
80161         [__ASSUME_32BITUIDS]: Make code unconditional.
80162         [!__ASSUME_32BITUIDS]: Remove conditional code.
80163         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
80164         <kernel-features.h>.
80165         [__ASSUME_32BITUIDS]: Make code unconditional.
80166         [!__ASSUME_32BITUIDS]: Remove conditional code.
80167         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
80168         <kernel-features.h>.
80169         [__ASSUME_32BITUIDS]: Make code unconditional.
80170         [!__ASSUME_32BITUIDS]: Remove conditional code.
80171         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
80172         <kernel-features.h>.
80173         [__ASSUME_32BITUIDS]: Make code unconditional.
80174         [!__ASSUME_32BITUIDS]: Remove conditional code.
80175         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
80176         <kernel-features.h>.
80177         [__ASSUME_32BITUIDS]: Make code unconditional.
80178         [!__ASSUME_32BITUIDS]: Remove conditional code.
80179         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
80180         <kernel-features.h>.
80181         [__NR_setresgid] (__setresgid): Do not declare.
80182         [__ASSUME_32BITUIDS]: Make code unconditional.
80183         [!__ASSUME_32BITUIDS]: Remove conditional code.
80184         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
80185         <kernel-features.h>.
80186         [__NR_setresuid] (__setresuid): Do not declare.
80187         [__ASSUME_32BITUIDS]: Make code unconditional.
80188         [!__ASSUME_32BITUIDS]: Remove conditional code.
80189         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
80190         <kernel-features.h>.
80191         [__ASSUME_32BITUIDS]: Make code unconditional.
80192         [!__ASSUME_32BITUIDS]: Remove conditional code.
80193         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
80194         <kernel-features.h>.
80195         [__ASSUME_32BITUIDS]: Make code unconditional.
80196         [!__ASSUME_32BITUIDS]: Remove conditional code.
80197         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
80198         <kernel-features.h>.
80199         [__ASSUME_32BITUIDS]: Make code unconditional.
80200         [!__ASSUME_32BITUIDS]: Remove conditional code.
80201         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
80202         <kernel-features.h>.
80203         [__ASSUME_32BITUIDS]: Make code unconditional.
80204         [!__ASSUME_32BITUIDS]: Remove conditional code.
80205         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
80206         <kernel-features.h>.
80207         [__ASSUME_32BITUIDS]: Make code unconditional.
80208         [!__ASSUME_32BITUIDS]: Remove conditional code.
80209         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
80210         <kernel-features.h>.
80211         [__ASSUME_32BITUIDS]: Make code unconditional.
80212         [!__ASSUME_32BITUIDS]: Remove conditional code.
80213         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
80214         <kernel-features.h>.
80215         [__ASSUME_32BITUIDS]: Make code unconditional.
80216         [!__ASSUME_32BITUIDS]: Remove conditional code.
80217         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
80218         <kernel-features.h>.
80219         [__ASSUME_32BITUIDS]: Make code unconditional.
80220         [!__ASSUME_32BITUIDS]: Remove conditional code.
80221         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
80222         <kernel-features.h>.
80223         [__ASSUME_32BITUIDS]: Make code unconditional.
80224         [!__ASSUME_32BITUIDS]: Remove conditional code.
80225         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
80226         <kernel-features.h>.
80227         [__ASSUME_32BITUIDS]: Make code unconditional.
80228         [!__ASSUME_32BITUIDS]: Remove conditional code.
80229         * sysdeps/unix/sysv/linux/kernel-features.h
80230         (__ASSUME_SETRESUID_SYSCALL): Remove.
80231         (__ASSUME_SETRESGID_SYSCALL): Likewise.
80232         (__ASSUME_32BITUIDS): Likewise.
80233         (__ASSUME_LDT_WORKS): Likewise.
80234         (__ASSUME_O_DIRECTORY): Likewise.
80235         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
80236         architecture but not kernel version.
80237         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
80238         (__ASSUME_MMAP2_SYSCALL): Likewise.
80239         (__ASSUME_STAT64_SYSCALL): Likewise.
80240         (__ASSUME_IPC64): Likewise.
80241         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
80242         <kernel-features.h>.
80243         [__ASSUME_32BITUIDS]: Make code unconditional.
80244         [!__ASSUME_32BITUIDS]: Remove conditional code.
80245         * sysdeps/unix/sysv/linux/opendir.c: Do not include
80246         <kernel-features.h>.
80247         [__ASSUME_O_DIRECTORY]: Make code unconditional.
80248         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
80249         132096]: Remove conditional code.
80250         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
80251         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
80252         <kernel-features.h>.
80253         [__ASSUME_32BITUIDS]: Make code unconditional.
80254         [!__ASSUME_32BITUIDS]: Remove conditional code.
80255         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
80256         <kernel-features.h>.
80257         [__ASSUME_32BITUIDS]: Make code unconditional.
80258         [!__ASSUME_32BITUIDS]: Remove conditional code.
80259         * sysdeps/unix/sysv/linux/setegid.c: Do not include
80260         <kernel-features.h>.
80261         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
80262         unconditional.
80263         (__setresgid): Do not declare.
80264         [__ASSUME_32BITUIDS]: Make code unconditional.
80265         [!__ASSUME_32BITUIDS]: Remove conditional code.
80266         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
80267         <kernel-features.h>.
80268         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
80269         unconditional.
80270         (__setresuid): Do not declare.
80271         [__ASSUME_32BITUIDS]: Make code unconditional.
80272         [!__ASSUME_32BITUIDS]: Remove conditional code.
80273         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
80274         <kernel-features.h>.
80275         [__ASSUME_32BITUIDS]: Make code unconditional.
80276         [!__ASSUME_32BITUIDS]: Remove conditional code.
80277         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
80278         <kernel-features.h>.
80279         [__ASSUME_32BITUIDS]: Make code unconditional.
80280         [!__ASSUME_32BITUIDS]: Remove conditional code.
80282 2012-05-25  Richard Henderson  <rth@twiddle.net>
80284         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
80285         dl_hwcap to ifunc resolver.
80286         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
80287         elf_ifunc_invoke.
80288         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
80289         dl_hwcap to ifunc resolver.
80290         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
80292 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80294         [BZ #14153]
80295         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
80296         for |x| <= 2**-26, not 2**-57.
80297         * math/libm-test.inc (acos_test): Do not allow spurious underflow
80298         exception.
80300 2012-05-24  Jeff Law  <law@redhat.com>
80302         * stdio-common/Makefile (tests): Add bug25.
80303         * stdio-common/bug25.c: New test.
80305 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80307         [BZ #13576]
80308         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
80309         multiple of MALLOC_ALIGNMENT in size.
80310         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
80312 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80314         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
80315         Require >= 256.
80316         (FILENAME_MAX): Use macro-int-constant.
80317         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
80318         (_IOFBF): Use macro-int-constant.
80319         (_IOLBF): Likewise.
80320         (_IONBF): Likewise.
80321         (SEEK_CUR): Likewise.
80322         (SEEK_END): Likewise.
80323         (SEEK_SET): Likewise.
80324         (TMP_MAX): Likewise.
80325         (EOF): Use macro-int-constant.  Require < 0.
80326         (NULL): Use macro-constant.  Require == 0.
80327         (stdin): Require type to be FILE *.
80328         (stdout): Likewise.
80329         (stderr): Likewise.
80330         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
80331         macro-int-constant.
80332         (EXIT_SUCCESS): Likewise.
80333         (NULL): Use macro-constant.  Require == 0.
80334         (RAND_MAX): Use macro-int-constant.
80335         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
80336         [C99-based standards] (strtof): Require function.
80337         [C99-based standards] (strtold): Likewise.
80338         [C99-based standards] (strtoll): Likewise.
80339         [C99-based standards] (strtoull): Likewise.
80340         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
80341         [ISO || ISO99 || ISO11] (limits.h): Likewise.
80342         [ISO || ISO99 || ISO11] (math.h): Likewise.
80343         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
80344         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
80345         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80347 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
80349         [BZ #14132]
80350         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
80351         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
80352         * intl/dgettext.c (DCGETTEXT): Likewise.
80353         * intl/gettext.c (DCGETTEXT): Likewise.
80354         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
80355         * posix/regex_internal.h (gettext): Likewise.
80356         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
80357         Remove declaration.
80358         * include/argz.h (__argz_count_internal)
80359         (__argz_stringify_internal): Remove declaration.
80360         (__argz_count, __argz_stringify): Declare hidden proto.
80361         * intl/dcgettext.c: Remove use of INTDEF.
80362         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
80363         * string/argz-stringify.c: Likewise.
80364         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80365         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80366         Declare hidden proto.
80367         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
80368         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
80369         Declare hidden proto.
80370         * include/stdio.h (__asprintf_internal): Don't declare.
80371         (__asprintf): Don't define as macro.  Declare hidden proto.
80372         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
80373         (__fsetlocking): Declare hidden proto.
80374         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
80375         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
80376         hidden proto.
80377         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
80378         (_IO_setlinebuf): Remove use of INTUSE.
80379         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
80380         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
80381         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
80382         Remove declaration.
80383         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
80384         (_IO_do_flush): Remove use of INTUSE.
80385         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
80386         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
80387         (_IO_adjust_column, _IO_least_wmarker)
80388         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
80389         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
80390         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
80391         (_IO_default_doallocate, _IO_wdefault_doallocate)
80392         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
80393         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
80394         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
80395         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
80396         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
80397         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
80398         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
80399         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
80400         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
80401         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
80402         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
80403         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
80404         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
80405         proto.
80406         (_IO_flush_all_internal, _IO_adjust_column_internal)
80407         (_IO_default_uflow_internal, _IO_default_finish_internal)
80408         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
80409         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
80410         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
80411         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
80412         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
80413         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
80414         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
80415         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
80416         (_IO_file_close_internal, _IO_file_close_it_internal)
80417         (_IO_file_underflow_internal, _IO_file_overflow_internal)
80418         (_IO_file_init_internal, _IO_file_attach_internal)
80419         (_IO_file_fopen_internal, _IO_file_read_internal)
80420         (_IO_file_sync_internal, _IO_file_seek_internal)
80421         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
80422         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
80423         (_IO_str_underflow_internal, _IO_str_overflow_internal)
80424         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
80425         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
80426         (_IO_list_all_internal, _IO_link_in_internal)
80427         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
80428         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
80429         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
80430         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
80431         (_IO_do_write_internal, _IO_padn_internal)
80432         (_IO_getline_info_internal, _IO_getline_internal)
80433         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
80434         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
80435         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
80436         (_IO_vfscanf_internal, _IO_vfprintf_internal)
80437         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
80438         (_IO_init_internal, _IO_un_link_internal): Don't declare.
80439         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
80440         with libc_hidden_ver, remove use of INTUSE.
80441         * libio/genops.c: Likewise.
80442         * libio/freopen.c: Likewise.
80443         * libio/freopen64.c: Likewise.
80444         * libio/iofclose.c: Likewise.
80445         * libio/iofdopen.c: Likewise.
80446         * libio/iofflush.c: Likewise.
80447         * libio/iofflush_u.c: Likewise.
80448         * libio/iofgets.c: Likewise.
80449         * libio/iofgets_u.c: Likewise.
80450         * libio/iofopen.c: Likewise.
80451         * libio/iofopncook.c: Likewise.
80452         * libio/iofread.c: Likewise.
80453         * libio/iofread_u.c: Likewise.
80454         * libio/ioftell.c: Likewise.
80455         * libio/iofwrite.c: Likewise.
80456         * libio/iogetline.c: Likewise.
80457         * libio/iogets.c: Likewise.
80458         * libio/iogetwline.c: Likewise.
80459         * libio/iopadn.c: Likewise.
80460         * libio/iopopen.c: Likewise.
80461         * libio/ioseekoff.c: Likewise.
80462         * libio/ioseekpos.c: Likewise.
80463         * libio/iosetbuffer.c: Likewise.
80464         * libio/iosetvbuf.c: Likewise.
80465         * libio/ioungetc.c: Likewise.
80466         * libio/ioungetwc.c: Likewise.
80467         * libio/iovdprintf.c: Likewise.
80468         * libio/iovsprintf.c: Likewise.
80469         * libio/iovsscanf.c: Likewise.
80470         * libio/memstream.c: Likewise.
80471         * libio/obprintf.c: Likewise.
80472         * libio/oldfileops.c: Likewise.
80473         * libio/oldiofclose.c: Likewise.
80474         * libio/oldiofdopen.c: Likewise.
80475         * libio/oldiofopen.c: Likewise.
80476         * libio/oldiopopen.c: Likewise.
80477         * libio/oldstdfiles.c: Likewise.
80478         * libio/putc.c: Likewise.
80479         * libio/setbuf.c: Likewise.
80480         * libio/setlinebuf.c: Likewise.
80481         * libio/stdfiles.c: Likewise.
80482         * libio/strops.c: Likewise.
80483         * libio/vasprintf.c: Likewise.
80484         * libio/vscanf.c: Likewise.
80485         * libio/vsnprintf.c: Likewise.
80486         * libio/vswprintf.c: Likewise.
80487         * libio/wfiledoalloc.c: Likewise.
80488         * libio/wfileops.c: Likewise.
80489         * libio/wgenops.c: Likewise.
80490         * libio/wmemstream.c: Likewise.
80491         * libio/wstrops.c: Likewise.
80492         * libio/__fpurge.c: Likewise.
80493         * libio/__fsetlocking.c: Likewise.
80494         * assert/assert.c: Likewise.
80495         * debug/fgets_chk.c: Likewise.
80496         * debug/fgets_u_chk.c: Likewise.
80497         * debug/fread_chk.c: Likewise.
80498         * debug/fread_u_chk.c: Likewise.
80499         * debug/gets_chk.c: Likewise.
80500         * debug/obprintf_chk.c: Likewise.
80501         * debug/vasprintf_chk.c: Likewise.
80502         * debug/vdprintf_chk.c: Likewise.
80503         * debug/vsnprintf_chk.c: Likewise.
80504         * debug/vsprintf_chk.c: Likewise.
80505         * malloc/mtrace.c: Likewise.
80506         * misc/error.c: Likewise.
80507         * misc/syslog.c: Likewise.
80508         * stdio-common/asprintf.c: Likewise.
80509         * stdio-common/fxprintf.c: Likewise.
80510         * stdio-common/getw.c: Likewise.
80511         * stdio-common/isoc99_fscanf.c: Likewise.
80512         * stdio-common/isoc99_scanf.c: Likewise.
80513         * stdio-common/isoc99_vfscanf.c: Likewise.
80514         * stdio-common/isoc99_vscanf.c: Likewise.
80515         * stdio-common/isoc99_vsscanf.c: Likewise.
80516         * stdio-common/printf-prs.c: Likewise.
80517         * stdio-common/printf_fp.c: Likewise.
80518         * stdio-common/printf_fphex.c: Likewise.
80519         * stdio-common/printf_size.c: Likewise.
80520         * stdio-common/putw.c: Likewise.
80521         * stdio-common/scanf.c: Likewise.
80522         * stdio-common/sprintf.c: Likewise.
80523         * stdio-common/tmpfile.c: Likewise.
80524         * stdio-common/vfprintf.c: Likewise.
80525         * stdio-common/vfscanf.c: Likewise.
80526         * stdlib/strfmon_l.c: Likewise.
80527         * sunrpc/openchild.c: Likewise.
80528         * sunrpc/xdr_stdio.c: Likewise.
80529         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
80530         * sysdeps/mach/hurd/tmpfile.c: Likewise.
80532 2012-05-24  Roland McGrath  <roland@hack.frob.com>
80534         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80536         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
80537         in the third column, to generate for the shared library an IFUNC
80538         that uses _dl_vdso_vsym.
80539         * Makerules (COMPILE.c, compile-stdin.c): New variables.
80540         * Makeconfig (object-suffixes-noshared): New variable.
80542         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
80543         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
80544         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
80545         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
80547         [BZ #14132]
80548         * include/sys/time.h (__gettimeofday): Remove macro.
80549         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
80550         * time/gettimeofday.c (__gettimeofday): Remove #undef.
80551         Remove INTDEF.
80552         (__gettimeofday): Add libc_hidden_def.
80553         (gettimeofday): Add libc_hidden_weak.
80554         * sysdeps/mach/gettimeofday.c: Likewise.
80555         * sysdeps/posix/gettimeofday.c: Likewise.
80556         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
80557         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
80558         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
80559         (__gettimeofday_internal): Remove strong_alias.
80560         (__gettimeofday): Add libc_hidden_def.
80561         (gettimeofday): Add libc_hidden_weak.
80562         * sysdeps/unix/syscalls.list (gettimeofday):
80563         Remove __gettimeofday_internal alias.
80565 2012-05-24  Daniel Jacobowitz  <drow@false.org>
80566             H.J. Lu  <hongjiu.lu@intel.com>
80568         [BZ #12495]
80569         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
80570         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
80571         (largebin_index_32_big): New.
80572         (largebin_index): Use it for 16-byte alignment.
80573         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
80574         correction with front_misalign.
80576 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
80578         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
80579         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
80580         Likewise.
80581         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
80582         Likewise.
80583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
80584         Likewise.
80585         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
80586         Likewise.
80587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
80588         Likewise.
80589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
80590         Likewise.
80591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
80592         Likewise.
80593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
80594         Likewise.
80595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
80596         Likewise.
80597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
80598         Likewise.
80599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
80600         Likewise.
80601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
80602         Likewise.
80604         * scripts/data/c++-types-x32-linux-gnu.data: New file.
80605         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
80607 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
80609         [BZ #10846]
80610         [BZ #14036]
80611         * math/libm-test.inc (exp_test): Add test from bug 14036.
80612         (pow_test): Add test from bug 10846.
80614         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
80615         and other flags.
80616         (special_function): Do not include flags in test name.
80617         (parse_args): Likewise.
80618         * sysdeps/i386/fpu/libm-test-ulps: Update.
80619         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
80620         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
80621         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
80622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80624         * math/gen-libm-test.pl (%beautify): Add entries for underflow
80625         exceptions.
80626         * math/libm-test.inc ("Philosophy"): Update comment about
80627         exception testing.
80628         (UNDERFLOW_EXCEPTION): New macro.
80629         (UNDERFLOW_EXCEPTION_OK): Likewise.
80630         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
80631         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
80632         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
80633         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
80634         (INVALID_EXCEPTION_OK): Update value.
80635         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
80636         (OVERFLOW_EXCEPTION_OK): Likewise.
80637         (IGNORE_ZERO_INF_SIGN): Likewise.
80638         (test_exceptions): Handle underflow exceptions.
80639         (acos_test): Update for underflow exception expectations.
80640         (cexp_test): Likewise.
80641         (clog_test): Likewise.
80642         (clog10_test): Likewise.
80643         (csqrt_test): Likewise.
80644         (ctan_test): Likewise.
80645         (ctanh_test): Likewise.
80646         (exp_test): Likewise.
80647         (exp10_test): Likewise.
80648         (exp2_test): Likewise.
80649         (expm1_test): Likewise.
80650         (fma_test): Likewise.
80651         (j0_test): Likewise.
80652         (jn_test): Likewise.
80653         (nexttoward_test): Likewise.
80654         (pow_test): Likewise.
80655         (scalbn_test): Likewise.
80656         (scalbln_test): Likewise.
80657         (tan_test): Likewise.
80658         (y1_test): Likewise.
80659         * sysdeps/i386/fpu/libm-test-ulps: Update.
80660         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80662 2012-05-23  David S. Miller  <davem@davemloft.net>
80664         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
80665         (__libc_sigaction): Remove unused local variables.
80667 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80669         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
80671 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
80673         mktime: avoid signed integer overflow
80674         * time/mktime.c (__mktime_internal): Do not mishandle the case
80675         where diff == INT_MIN.
80677         mktime: simplify computation of average
80678         * time/mktime.c (ranged_convert): Use new time_t_avg function
80679         instead of rolling our own (probably-slower) code.
80681         mktime: do not assume signed right shift propagates sign bit
80682         * time/mktime.c (isdst_differ): New static function.
80683         (__mktime_internal): No need to normalize tm_isdst now.
80684         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
80685         tm_isdst values.
80687         mktime: merge another wrapv change from gnulib
80688         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
80689         from some compilers.
80691         mktime: remove incorrect attempt at unusual arithmetics
80692         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
80693         The code didn't really work on such machines anyway.
80694         (TYPE_MINIMUM): Assume two's complement.
80695         (twos_complement_arithmetic): Verify that long_int and time_t
80696         are two's complement (or unsigned, in the latter case).
80698         mktime: check signed shifts on long_int and time_t, too
80699         * time/mktime.c (SHR): Check that shifts work as desired
80700         on the types long_int and time_t too, as SHR is used on
80701         such types.
80703         mktime: do not assume 'long' is wide enough
80704         * time/mktime.c (verify): Move decl up.
80705         (long_int): New type.
80706         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
80707         to remove assumption in the code that 'long' is wide enough to
80708         store year values.  This assumption is not true on x32 and on
80709         some non-glibc platforms.
80711         mktime: merge wrapv change from gnulib
80712         * time/mktime.c (WRAPV): New macro.
80713         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
80714         (guess_time_tm, __mktime_internal): Do not assume that signed
80715         integer overflow wraps around; modern compilers generate code
80716         where this assumption is no longer valid.
80718 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80720         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80721         Replace "jmp L(pseudo_end)" with "ret".
80722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
80723         Likewise.
80725 2012-05-23  Andreas Jaeger  <aj@suse.de>
80727         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
80728         * sysdeps/unix/sysv/linux/poll.c: Remove file.
80730 2012-05-23  Andreas Jaeger  <aj@suse.de>
80731             Maximilian Attems  <max@stro.at>
80733         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
80734         New macros.
80736 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
80738         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
80739         code so that pseudo_end is just ret and the stack pointer is
80740         correct also for static library in error case.
80742 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
80744         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
80745         move to syscalls.list.
80746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
80747         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
80748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
80749         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
80751         * manual/install.texi (Running make install): Do not mention Linux
80752         kernel version for which pt_chown is not needed.
80753         (Linux): Do not mention problems with nscd with 2.0 kernels.
80754         * INSTALL: Regenerated.
80756 2012-05-23  Andreas Jaeger  <aj@suse.de>
80758         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
80759         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
80760         macro.
80761         * sysdeps/unix/sysv/linux/s390/bits/mman.h
80762         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80763         * sysdeps/unix/sysv/linux/sh/bits/mman.h
80764         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80765         * sysdeps/unix/sysv/linux/i386/bits/mman.h
80766         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80767         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
80768         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80769         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
80770         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
80771         * sysdeps/unix/sysv/linux/bits/in.h
80772         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
80774 2012-05-22  Roland McGrath  <roland@hack.frob.com>
80776         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
80777         (PREPARE_VERSION): Just use assert instead, it will be elided
80778         under [NDEBUG] anyway.
80780 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80782         * sysdeps/unix/sysv/linux/Makefile: Include
80783         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
80784         (sysdep_routines): Remove sysctl.
80785         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
80786         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
80787         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
80788         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
80789         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
80791 2012-05-22  Andreas Jaeger  <aj@suse.de>
80793         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
80794         that pseudo_end is just ret and the stack pointer is correct also
80795         for static library in error case.
80797 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
80799         [BZ #14122]
80800         * nss/nsswitch.c (defconfig_entries): New variable.
80801         (__nss_database_lookup): Don't leak defconfig entries.
80802         (nss_parse_service_list): Don't leak on error paths.
80803         (free_database_entries): New function.
80804         (free_defconfig): New function.
80805         (free_mem): Move common code to free_database_entries.
80807 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80809         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
80810         Add arch_prctl.
80811         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
80813         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
80814         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
80815         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
80816         New macro.
80817         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
80818         (INTERNAL_SYSCALL_TYPES): Likewise.
80819         (LOAD_ARGS_TYPES_[1-6]): Likewise.
80820         (LOAD_REGS_TYPES_[1-6]): Likewise.
80821         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
80822         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
80824 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80826         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
80827         copysignl for GLIBC_2_0.
80828         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
80829         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
80830         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
80831         logbl for GLIBC_2_0.
80832         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
80833         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
80835 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80837         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
80838         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
80840         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
80841         Use "neg %eax".
80843         * time/mktime.c: Update copyright years.
80845 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
80847         mktime: merge comment-quoting-style change from gnulib
80848         * time/mktime.c: Quote 'like this' in comments.
80849         The GNU coding standards suggest that we no longer quote `like this',
80850         as "`" and "'" are typically rendered asymmetrically nowadays.
80851         The typical gnulib style is to quote 'like this' when quoting
80852         code, and "like this" when quoting English.
80854         * time/mktime.c (compile-command): Add "-I.".
80856         mktime: merge mktime-internal.h change from gnulib
80857         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
80859         mktime: merge time_r change from gnulib
80860         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
80862         mktime: merge DEBUG change from gnulib
80863         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
80864         case system <time.h> has a #define.
80866         mktime: merge <sys/types.h> change from gnulib
80867         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
80868         since <time.t> is now guaranteed to define time_t.
80870         mktime: merge HAVE_CONFIG_H change from gnulib
80871         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
80873 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
80875         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80876         Use "neg %eax".
80878         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
80879         __rlim_t cast.
80880         (struct rusage): Use anonymous union to pad each field to
80881         __syscall_slong_t.
80883 2012-05-21  David S. Miller  <davem@davemloft.net>
80885         * Makefules (o-iterator): Remove .s cases.
80886         (compile-command.s): Delete.
80887         (COMPILE.s): Delete.
80888         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
80890 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
80892         * configure.in (libc_cv_predef_stack_protector): Only consider
80893         "foobar" and "__stack_chk_fail" lines in libc_undefs.
80894         * configure: Regenerated.
80896 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80898         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
80899         New macro.  Use R*LP on int and pointer.
80900         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
80901         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
80902         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
80903         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
80905         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
80906         [__WORDSIZE_TIME64_COMPAT32] instead of
80907         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
80908         (struct utmp): Likewise.
80909         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
80910         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
80911         Renamed to ...
80912         (__WORDSIZE_TIME64_COMPAT32): This.
80913         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
80914         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
80915         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
80916         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
80917         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
80918         (__WORDSIZE_TIME64_COMPAT32): New macro.
80920 2012-05-21  Andreas Jaeger  <aj@suse.de>
80922         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
80923         only if [SHARED]. Add prototype for __wcschr_ia32.
80925 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80927         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
80928         of %rbp unmolested in the jmp_buf while mangling the low bits.
80929         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
80930         unmolested high bits of %rbp while demangling the low bits.
80931         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
80933 2012-05-21  Andreas Jaeger  <aj@suse.de>
80935         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
80936         * sunrpc/svc_simple.c: Use it for registerrpc.
80937         * sunrpc/xcrypt.c: Use it for passwd2des.
80939         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
80941 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80943         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
80944         Don't define if [__SYSCALL_WORDSIZE != 32].
80945         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
80946         New macro.
80948 2012-05-21  Bruno Haible  <bruno@clisp.org>
80949             Andreas Jaeger  <aj@suse.de>
80951         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
80952         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
80953         inptr and inend for must_buffer_ch.
80954         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
80955         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
80956         * stdio-common/Makefile (tests): Remove bug15.
80957         (bug15-ENV): Remove macro.
80958         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
80959         anymore.
80961 2012-05-19  Andreas Jaeger  <aj@suse.de>
80962             Roland McGrath  <roland@hack.frob.com>
80964         * manual/contrib.texi: Completely rewritten. It contains now an
80965         alphabetical list of contributors and their contributions.
80967 2012-05-21  Richard Henderson  <rth@twiddle.net>
80969         * misc/getauxval.c (__getauxval): Use unsigned long int.
80970         * misc/sys/auxv.h: Include <sys/cdefs.h>.
80971         (getauxval): Use unsigned long int.
80973 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
80975         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
80977 2012-05-21  Roland McGrath  <roland@hack.frob.com>
80979         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
80980         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
80981         __alignof__ (long double).
80983 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80985         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80987 2012-05-20  Richard Henderson  <rth@twiddle.net>
80989         * misc/getauxval.c: New file.
80990         * misc/sys/auxv.h: New file.
80991         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
80992         (routines): Add getauxval.
80993         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
80994         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
80995         * elf/dl-sysdep.c (_dl_auxv): Remove.
80996         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
80997         * elf/dl-support.c (_dl_auxv): New variable.
80998         (_dl_aux_init): Initialize it.
80999         * manual/startup.texi (Auxiliary Vector): New node.
81000         * sysdeps/generic/bits/hwcap.h: New file.
81001         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
81002         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
81003         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
81004         * sysdeps/sparc/sysdep.h: ... here.  Include it.
81005         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
81006         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
81007         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81008         Update.
81009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
81010         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
81011         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
81012         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
81013         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81014         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
81015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
81016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
81018 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
81022 2012-05-19  David S. Miller  <davem@davemloft.net>
81024         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81026 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81028         [BZ #14123]
81029         * math/s_ccosh.c: Include <float.h>
81030         (__ccosh): Avoid internal overflow calculating sinh and cosh
81031         values before multiplying by sin and cos values.
81032         * math/s_ccoshf.c: Likewise.
81033         * math/s_ccoshl.c: Likewise.
81034         * math/s_csin.c: Likewise.
81035         * math/s_csinf.c: Likewise.
81036         * math/s_csinl.c: Likewise.
81037         * math/s_csinh.c: Likewise.
81038         * math/s_csinhf.c: Likewise.
81039         * math/s_csinhl.c: Likewise.
81040         * math/libm-test.inc (ccos_test): Add more tests.
81041         (ccosh_test): Likewise.
81042         (csin_test): Likewise.
81043         (csinh_test): Likewise.
81044         * sysdeps/i386/fpu/libm-test-ulps: Update.
81045         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81047 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
81049         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
81050         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
81052         * sysdeps/x86_64/x32/_itoa.h: Add comment.
81054 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
81056         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
81057         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
81058         * sysdeps/powerpc/soft-fp/Versions: Likewise.
81059         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
81060         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
81061         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
81062         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
81063         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
81064         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
81065         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
81066         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
81067         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
81068         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
81069         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
81070         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
81071         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
81072         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
81073         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
81074         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
81075         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
81076         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
81077         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
81078         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
81079         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
81080         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
81081         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
81082         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
81083         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
81084         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
81085         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
81086         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
81088 2012-05-18  Andreas Jaeger  <aj@suse.de>
81090         * csu/.gitignore: Delete.
81092 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81094         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
81095         (timex): Use __syscall_slong_t.
81097 2012-05-18  Andreas Jaeger  <aj@suse.de>
81098             Carlos O'Donell  <carlos_odonell@mentor.com>
81100         * manual/install.texi (Configuring and compiling): Update
81101         description about files modified in the source directory.
81102         * INSTALL: Regenerated.
81104 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81106         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
81107         value.  Use "or" to set return value to -1.
81108         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
81109         negate return value.
81111 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
81113         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
81114         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
81115         failure if the compiler has Graphite support disabled.
81116         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
81117         Likewise.
81118         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
81119         (CFLAGS-memmove.c): Likewise.
81120         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
81121         Likewise.
81123 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
81125         * sysdeps/x86_64/x32/_itoa.h: New file.
81127         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
81128         getdents system call only if kernel and user dirents have the
81129         same d_ino and d_off.
81131         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
81132         LLONG_MAX != LONG_MAX.
81133         (_itoa_word): Use _ITOA_WORD_TYPE on value.
81134         (_fitoa_word): Likewise.
81136         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
81137         years.
81138         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
81139         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
81140         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
81142         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
81143         include <bits/wordsize.h>.  Check __x86_64__ instead of
81144         __WORDSIZE.
81145         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
81146         if __x86_64__ is defined.  Use anonymous union on fpstate.
81148         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
81149         anonymous union.
81151 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
81153         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
81154         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
81155         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
81156         Refer to _rtld_local_ro instead of _rtld_global_ro.
81157         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
81158         Likewise.
81159         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
81160         Likewise.
81161         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
81162         Likewise.
81163         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
81164         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
81165         of _rtld_global, and rtld_progname instead of _dl_argv[0].
81167         [BZ #10882]
81168         * sysdeps/powerpc/powerpc32/dl-machine.c
81169         (__elf_machine_runtime_setup) [PROF]: Don't reference
81170         _dl_prof_resolve.
81172 2012-05-18  Andreas Jaeger  <aj@suse.de>
81174         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
81175         function only available for GCCs before 3.4 since GCC 3.4
81176         introduced a builtin.
81177         (lrint): Likewise.
81178         (llrintf): Likewise.
81179         (llrint): Likewise.
81180         (fmaxf): Likewise.
81181         (fmax): Likewise.
81182         (fminf): Likewise.
81183         (fmin): Likewise.
81184         (rint): Likewise.
81185         (rintf): Likewise.
81186         (nearbyint): Likewise.
81187         (nearbyintf): Likewise.
81188         (ceil): Likewise.
81189         (ceilf): Likewise.
81190         (floor): Likewise.
81191         (floorf): Likewise.
81193 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81195         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
81196         on both fields and cast pointer to __syscall_ulong_t.
81198         * bits/types.h (__fsword_t): New type.
81199         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
81200         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
81201         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81202         (__FSWORD_T_TYPE): Likewise.
81203         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81204         (__FSWORD_T_TYPE): Likewise.
81205         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81206         (__FSWORD_T_TYPE): Likewise.
81207         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
81208         (__FSWORD_T_TYPE): Likewise.
81209         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
81210         __SWORD_TYPE with __fsword_t.
81211         (statfs64): Likewise.
81213 2012-05-17  David S. Miller  <davem@davemloft.net>
81215         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
81217 2012-05-17  Andreas Jaeger  <aj@suse.de>
81219         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
81220         warning.
81222 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81224         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
81226 2012-05-17  Andreas Jaeger  <aj@suse.de>
81228         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
81229         when it is used.
81231 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81233         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
81235 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
81237         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
81238         * sysdeps/x86_64/tst-mallocalign1.c: New file.
81240 2012-05-17  Andreas Jaeger  <aj@suse.de>
81241             Carlos O'Donell  <carlos_odonell@mentor.com>
81243         [BZ #14059]
81244         * sysdeps/x86_64/multiarch/init-arch.h
81245         (bit_YMM_Usable): Rename to...
81246         (bit_AVX_Usable): ... this.
81247         (bit_FMA4_Usable): New macro.
81248         (bit_XMM_state): New macro.
81249         (bit_YMM_state): New macro.
81250         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
81251         [__ASSEMBLER__] (index_AVX_Usable): ... this.
81252         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
81253         (CPUID_OSXSAVE): New macro.
81254         (CPUID_AVX): New macro.
81255         (CPUID_FMA4): New macro.
81256         (index_YMM_Usable): Rename to...
81257         (index_AVX_Usable): ... this.
81258         (HAS_AVX): Use HAS_ARCH_FEATURE.
81259         (HAS_FMA4): Likewise.
81260         (HAS_YMM_USABLE): Remove.
81261         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81262         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
81263         are present.
81264         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
81265         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
81266         * sysdeps/x86_64/multiarch/Makefile: Likewise.
81267         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
81268         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
81270 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
81272         * math/libm-test.c: Support platforms without multiple rounding modes.
81273         * math/bug-nextafter.c: Support platforms without FP exceptions.
81274         * math/bug-nexttoward.c: Likewise.
81275         * math/test-fenv.c: Likewise.
81276         * math/test-misc.c: Likewise.
81277         * stdlib/bug-getcontext.c: Likewise.
81279 2012-05-17  Andreas Jaeger  <aj@suse.de>
81281         * manual/examples/search.c (critter_cmp): Change signature to
81282         avoid warnings.
81283         * manual/string.texi (Collation Functions): Likewise.
81285 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81287         * bits/types.h: Fold copyright years.
81288         * bits/typesizes.h: Likewise.
81289         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
81290         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
81291         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
81292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
81293         * time/time.h: Likewise.
81295 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
81297         [BZ #208]
81298         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
81299         in instead of returning them.  Return void.
81300         (__libc_mallinfo): Accumulate over all arenas.
81301         (__malloc_stats): Adjust for change in int_mallinfo interface.
81303 2012-05-16  Roland McGrath  <roland@hack.frob.com>
81305         [BZ #10375]
81306         * configure.in (NM): Add AC_CHECK_TOOL for it.
81307         (libc_extra_cflags): New substituted variable.
81308         Check for -fstack-protector being used implicitly.
81309         * configure: Regenerated.
81310         * config.make.in (config-extra-cflags): New variable,
81311         gets @libc_extra_cflags@.
81312         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
81314         [BZ #10375]
81315         * configure.in: Check for _FORTIFY_SOURCE being predefined.
81316         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
81317         * configure: Regenerated.
81318         * config.make.in (CPPUNDEFS): New substituted variable.
81319         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
81320         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
81321         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
81323 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81325         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
81326         (mq_attr): Use __syscall_slong_t.
81328 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81330         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
81331         Check __x86_64__ instead of __WORDSIZE.
81332         (_STAT_VER_LINUX): Likewise.
81333         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
81334         __syscall_ulong_t and __syscall_slong_t.
81335         (stat64): Likewise.
81337 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81339         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
81341 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81343         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
81345 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81347         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
81348         __syscall_ulong_t.
81350         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
81351         include <bits/wordsize.h>.  Check __x86_64__ instead of
81352         __WORDSIZE.
81353         (greg_t): Use "__extension__ long long int" if __x86_64__ is
81354         defined.
81355         (mcontext_t): Replace "unsigned long" with "unsigned long long".
81357         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
81358         include <bits/wordsize.h>.  Check __x86_64__ instead of
81359         __WORDSIZE.
81360         (user_regs_struct): Use "__extension__ unsigned long long"
81361         instead of "unsigned long" if __x86_64__ is defined.
81362         (user): Likewise.  Pad after pointer field if __ILP32__ is
81363         defined.
81365 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
81367         * configure.in (makeinfo): Require version 4.5 or later.  Allow
81368         versions 5 to 9.
81369         * configure: Regenerated.
81370         * manual/install.texi (texinfo): Increase version requirement to
81371         4.5 or later.
81372         * INSTALL: Regenerated.
81374         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
81376 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
81378         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
81380         * sysdeps/x86_64/x32/ffs.c: New file.
81382         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
81383         __syscall_ulong_t.
81384         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
81385         defined.  Use __syscall_ulong_t.
81386         (shminfo): Use __syscall_ulong_t.
81387         (shm_info): Likewise.
81389         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
81390         __syscall_ulong_t.
81392         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
81393         <bits/wordsize.h>.
81394         (msgqnum_t): Use __syscall_ulong_t.
81395         (msglen_t): Likewise.
81396         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
81397         __syscall_ulong_t.
81399         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
81400         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81402         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
81404         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
81405         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
81407         * sysvipc/sys/msg.h (msgbuf): Replace long int with
81408         __syscall_slong_t.
81410         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
81411         include <bits/wordsize.h>.  Check __x86_64__ instead of
81412         __WORDSIZE.
81414         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
81415         "unsigned long long int" if __x86_64__ is defined.
81416         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
81418         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
81419         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
81420         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
81422         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
81423         <stdint.h>.
81424         (GET_PC): Cast to uintptr_t first.
81425         (GET_FRAME): Likewise.
81426         (GET_STACK): Likewise.
81428         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
81429         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
81430         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
81431         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
81432         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
81433         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
81434         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
81435         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
81436         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
81437         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
81438         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
81439         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
81440         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
81441         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
81442         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
81443         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
81444         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
81445         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
81446         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
81447         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
81448         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
81449         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
81450         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
81451         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
81452         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
81453         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
81454         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
81455         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
81456         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
81458 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
81460         * Makerules (+depfiles): Also collect depfiles from .oS in
81461         $(extra-objs).
81462         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
81463         .oS, $(libnldbl-routines)).
81465         * Makerules (native-compile-mkdep-flags): Define.
81466         * sunrpc/Makefile (extra-objs): Add $(addprefix
81467         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
81468         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
81469         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
81470         calling $(make-target-directory).
81472 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81474         * bits/types.h (__snseconds_t): Removed.
81475         * time/time.h (struct timespec): Replace __snseconds_t with
81476         __syscall_slong_t.
81477         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
81478         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
81479         Likewise.
81480         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81481         (__SNSECONDS_T_TYPE): Likewise.
81482         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81483         (__SNSECONDS_T_TYPE): Likewise.
81484         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81485         (__SNSECONDS_T_TYPE): Likewise.
81487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81489         * sysdeps/mach/hurd/bits/typesizes.h
81490         (__SYSCALL_SLONG_TYPE): New macro.
81491         (__SYSCALL_ULONG_TYPE): Likewise.
81493 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81495         * bits/types.h (__syscall_slong_t): New type.
81496         (__syscall_ulong_t): Likewise.
81498         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
81499         (__SYSCALL_ULONG_TYPE): Likewise.
81500         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81501         (__SYSCALL_SLONG_TYPE): Likewise.
81502         (__SYSCALL_ULONG_TYPE): Likewise.
81503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81504         (__SYSCALL_SLONG_TYPE): Likewise.
81505         (__SYSCALL_ULONG_TYPE): Likewise.
81506         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81507         (__SYSCALL_SLONG_TYPE): Likewise.
81508         (__SYSCALL_ULONG_TYPE): Likewise.
81510 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81512         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
81513         Add sigaltstack-offsets.sym.
81514         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
81515         <sigaltstack-offsets.h>.
81516         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
81517         longjmp_msg pointer.
81518         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
81519         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
81520         signal stack.
81521         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
81523 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81525         * elf/stackguard-macros.h: Remove file.
81526         * sysdeps/generic/stackguard-macros.h: New file.
81527         * sysdeps/i386/stackguard-macros.h: Likewise.
81528         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
81529         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
81530         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
81531         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
81532         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
81533         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
81534         * sysdeps/x86_64/stackguard-macros.h: Likewise.
81535         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
81536         <elf/stackguard-macros.h>.
81538         [BZ #14109]
81539         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
81540         __aligned__ in attribute.
81541         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
81542         (gregset_t): Likewise.
81544 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81546         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
81547         * sysdeps/x86_64/64/Implies-after: Here.  New file.
81548         * sysdeps/x86_64/x32/Implies-after: New file.
81550 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81552         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
81553         and access return value for _dl_profile_fixup.  Use R10_LP to
81554         load frame size.
81556 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81558         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
81560 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81562         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
81563         * sysdeps/x86_64/x32/sysdep.h: New file.
81565 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81567         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
81568         * sysdeps/x86_64/setjmp.S: Likewise.
81570 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81572         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
81573         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
81574         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
81575         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
81576         remove unused global constant.
81578 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
81580         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
81581         include of <not-cancel.h>.
81583 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81585         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
81587 2012-05-15  Jeff Law  <law@redhat.com>
81588             Andreas Jaeger  <aj@suse.de>
81590         [BZ #13594]
81591         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
81592         out from...
81593         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
81594         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
81595         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
81596         code changing __hst_map_handle.map.
81598 2012-05-15  Roland McGrath  <roland@hack.frob.com>
81600         * configure.in (sysnames): Look for Implies-before and Implies-after
81601         files.
81602         * configure: Regenerated.
81604 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81606         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
81607         8-byte data alignment with LP_SIZE alignment.
81609 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81611         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
81612         into R10_LP.
81614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81616         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
81618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81620         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
81621         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
81622         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
81623         Likewise.
81624         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
81626 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81628         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
81629         (stackinfo_sub_sp): Likewise.
81631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81633         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
81634         RAX_LP.
81636 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81638         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
81639         into R*_LP.
81641 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81643         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
81644         sizes into R*_LP.
81646 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81648         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
81650 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81652         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
81653         into R11_LP and load __x86_64_shared_cache_size_half into
81654         R8_LP.
81656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
81658         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
81659         R8_LP.
81661 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81663         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
81664         logb for POWER7.
81665         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
81666         logbf for POWER7.
81667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
81668         logbl for POWER7.
81669         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
81670         powerpc32/power7/fpu/s_logb.c via #include.
81671         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
81672         powerpc32/power7/fpu/s_logbf.c via #include.
81673         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
81674         powerpc32/power7/fpu/s_logbl.c via #include.
81676 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
81678         * README.libm: Remove file.
81680 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81682         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
81683         count for x32.  Use R*_LP and omit operand-size suffix.
81685 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81687         * shlib-versions: Move x86_64-.*-linux.* entries to ...
81688         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
81689         * sysdeps/x86_64/x32/shlib-versions: New file.
81691 2012-05-14  Roland McGrath  <roland@hack.frob.com>
81693         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
81694         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
81695         Use _dl_fatal_printf instead.
81697 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
81699         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
81700         set if not set by the user.  Do not allow for being unset.
81701         * sysdeps/unix/sysv/linux/configure: Regenerated.
81703 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81705         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
81706         the `q' suffix from lea and replace .quad with ASM_ADDR.
81708 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
81711         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
81712         instead of $17.
81713         (PTR_DEMANGLE): Likewise.
81715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81717         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
81718         (LP_OP): Likewise.
81719         (ASM_ADDR): Likewise.
81720         (RAX_LP): Likewise.
81721         (RBP_LP): Likewise.
81722         (RBX_LP): Likewise.
81723         (RCX_LP): Likewise.
81724         (RDI_LP): Likewise.
81725         (RSI_LP): Likewise.
81726         (RSP_LP): Likewise.
81727         (R8_LP): Likewise.
81728         (R9_LP): Likewise.
81729         (R10_LP): Likewise.
81730         (R10_LP): Likewise.
81731         (R11_LP): Likewise.
81732         (R12_LP): Likewise.
81733         (R13_LP): Likewise.
81734         (R14_LP): Likewise.
81735         (R15_LP): Likewise.
81737 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81739         * sysdeps/x86_64/x32/dl-machine.h: New file.
81741 2012-05-14  Andreas Jaeger  <aj@suse.de>
81743         * manual/Makefile (subdir): Remove export of subdir.
81744         (all): Remove target.
81745         (.PHONY): Remove all from list.
81746         (mkinstalldirs): Remove.
81747         (.PHONY): Remove installdirs from list.
81748         ($(inst_infodir)/libc.info): Use make-target-directory.
81749         (installdirs): Remove.
81750         (subdir_%): Remove.
81751         (glibc-targets): Remove.
81752         (lib): Remove.
81753         (stubs): Remove.
81754         ($(objpfx)stubs ../po/manual.pot): Remove.
81755         ($(objpfx)stamp%): Remove.
81756         (make-target-directory): Remove.
81757         (subdir_install): Remove.
81758         (routines): Remove.
81759         (aux): Remove.
81760         (sources): Remove.
81761         (objects): Remove.
81762         (headers): Remove.
81764         [BZ #13750]
81765         * manual/.gitignore: Remove, it's not needed anymore.
81766         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
81767         all files in it.
81768         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
81769         directory.
81770         (texis): Renamed to $(objpfx)texis.
81771         (texis-path): New, contains path to generated files.
81772         (chapters.%): Use texis-path for complete path, add extra argument
81773         libc-texinfo.sh.
81774         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
81775         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
81776         (summary,texi, stamp-summary): Use complete path of
81777         files. Generate files in build dir.
81778         (dir-add.texi): Build in build dir.
81779         (libm-err.texi,stamp-libm-err): Likewise.
81780         (version.texi, stamp-version): Likewise.
81781         (.%c.texi): Likewise.
81782         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
81783         (mostlyclean): Remove target.
81784         (realclean): Remove target.
81785         (generated): Add new variable with contents from mostlyclean and
81786         realclean, remove entries duplicated in common-mostlyclean, add
81787         stamp-libm-err and stamp-version.
81788         (generated-dirs): Add libc directory.
81789         ($(inst_infodir)/libc.info): Install files from build dir.
81791         * manual/install.texi (Configuring and compiling): Adjust since
81792         the info files are not part of the tar ball anymore.
81794 2012-05-14  Andreas Jaeger  <aj@suse.de>
81796         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
81797         variable.
81799 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
81801         [BZ #13717]
81802         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
81803         to 2.2.0 where earlier.
81804         * sysdeps/unix/sysv/linux/configure: Regenerated.
81805         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
81806         Remove conditional code.
81807         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
81808         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
81809         Remove conditional code.
81810         [!__NR_lchown]: Likewise.
81811         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81812         [__NR_lchown]: Likewise.
81813         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
81814         comment referencing __ASSUME_LCHOWN_SYSCALL.
81815         * sysdeps/unix/sysv/linux/i386/sigaction.c
81816         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81817         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81818         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
81819         Remove conditional code.
81820         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
81821         (__protocol_available): Remove #if 0 code.
81822         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
81823         conditional code.
81824         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
81825         * sysdeps/unix/sysv/linux/kernel-features.h
81826         (__ASSUME_GETCWD_SYSCALL): Don't define.
81827         (__ASSUME_REALTIME_SIGNALS): Likewise.
81828         (__ASSUME_PREAD_SYSCALL): Likewise.
81829         (__ASSUME_PWRITE_SYSCALL): Likewise.
81830         (__ASSUME_POLL_SYSCALL): Likewise.
81831         (__ASSUME_LCHOWN_SYSCALL): Likewise.
81832         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
81833         non-SPARC.
81834         (__ASSUME_SIOCGIFNAME): Don't define.
81835         (__ASSUME_MSG_NOSIGNAL): Likewise.
81836         (__ASSUME_SENDFILE): Define unconditionally.
81837         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
81838         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
81839         conditional code.
81840         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
81841         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
81842         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81843         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81844         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
81845         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
81846         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
81847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
81848         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81849         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
81851         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81852         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
81854         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81855         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
81857         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81858         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
81860         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81861         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
81863         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
81864         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
81866         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81867         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
81869         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81870         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81871         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
81872         Remove conditional code.
81873         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81874         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81875         Remove conditional code.
81876         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81877         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
81878         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
81879         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81880         Remove conditional code.
81881         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81882         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
81883         Remove conditional code.
81884         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81885         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
81886         Remove conditional code.
81887         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81888         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
81889         Remove conditional code.
81890         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
81891         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
81892         Remove conditional code.
81893         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81894         * sysdeps/unix/sysv/linux/sh/pwrite64.c
81895         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
81896         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
81897         * sysdeps/unix/sysv/linux/sigaction.c
81898         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81899         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81900         * sysdeps/unix/sysv/linux/sigpending.c
81901         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81902         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81903         * sysdeps/unix/sysv/linux/sigprocmask.c
81904         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81905         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81906         * sysdeps/unix/sysv/linux/sigsuspend.c
81907         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
81908         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
81909         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
81910         (__libc_missing_rt_sigs): Remove.
81911         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
81912         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
81913         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
81914         Remove conditional code.
81915         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
81916         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
81917         return 1.
81918         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
81919         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
81920         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
81921         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
81923 2012-05-14  Andreas Jaeger  <aj@suse.de>
81925         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
81926         it's not used in glibc.
81927         (__coshm1): Likewise.
81928         (__acosh1p): Likewise.
81929         (__sgn): Likewise.
81931         * manual/string.texi (Copying and Concatenation): Add missing
81932         variable in concat example.
81933         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
81935 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81937         [BZ #14103]
81938         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
81939         __builtin_clzl with __builtin_clzll.
81941 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
81943         [BZ #14104]
81944         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
81945         libc_freeres_ptr.
81947 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
81949         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
81950         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
81951         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
81952         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
81954 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
81956         * NEWS: Update ia64 info.
81958 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
81960         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
81961         used as bcopy.
81963 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
81965         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
81966         * sysdeps/unix/syscalls.list (dup3): Likewise.
81967         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
81968         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
81970 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81972         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
81973         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
81975 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
81977         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
81978         thread pointer.
81979         (TLS_IE): Use mov/add instead of movq/addq to load thread
81980         pointer.
81981         (TLS_GD_PREFIX): New.
81982         (TLS_GD): Use it.
81984 2012-05-11  David S. Miller  <davem@davemloft.net>
81986         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
81987         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
81988         (_FPU_SETCW): Likewise.
81990 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
81992         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
81993         is 32-byte aligned.
81995 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
81997         [BZ #11837]
81998         * iconvdata/gb18030.c: Update tables.
81999         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
82000         characters specially.
82001         (BODY for TO_LOOP): Add encoding of missing ranges.
82003 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
82005         [BZ #13673]
82006         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
82007         * sysdeps/mach/hurd/dup3.c: Likewise.
82008         * sysdeps/mach/hurd/readlinkat.c: Likewise.
82009         * sysdeps/powerpc/memmove.c:: Likewise.
82011 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82013         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
82014         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
82016 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82018         * elf/elf.h (R_X86_64_RELATIVE64): New.
82019         (R_X86_64_NUM): Updated.
82020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
82021         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
82022         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
82023         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
82024         tst-quad1pie tst-quad2pie
82025         (modules-names): Add tst-quadmod1 tst-quadmod2.
82026         ($(objpfx)tst-quad1): New dependency.
82027         ($(objpfx)tst-quad2): Likewise.
82028         ($(objpfx)tst-quad1pie): Likewise.
82029         ($(objpfx)tst-quad2pie): Likewise.
82030         * sysdeps/x86_64/tst-quad1.c: New file.
82031         * sysdeps/x86_64/tst-quad1pie.c: New file.
82032         * sysdeps/x86_64/tst-quad2.c: Likewise.
82033         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
82034         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
82035         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
82036         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
82037         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
82039 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82041         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
82042         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
82043         * streams/stropts.h (t_scalar_t): Define type.
82045         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
82046         (_PATH_PRESERVE): Set to "/var/lib".
82047         (_PATH_RWHODIR): Set to "/var/spool/rwho".
82049         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
82050         instead of int.
82052         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
82053         if __dir_mkfile succeeded.
82055         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
82056         checking for _hurd_dtablesize.  Unlock it right after having
82057         finished _hurd_dtable allocation.
82059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82061         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
82062         * sysdeps/mach/hurd/configure: Regenerated.
82063         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
82064         special-casing to...
82065         * sysdeps/gnu/configure.in: ... this new file.
82066         * sysdeps/unix/sysv/linux/configure: Regenerated.
82067         * sysdeps/gnu/configure: New generated file.
82069         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
82070         for Linux: use nsec instead of usec, as well as:
82071         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
82072         members of type struct timespec.
82073         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
82074         New macros.
82075         (struct stat64): Likewise.
82076         (_STATBUF_ST_NSEC): New macro.
82077         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
82079         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
82080         __strtoul_internal rather than strtoul.
82082 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82084         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
82085         and reject them.
82087 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82089         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
82090         which preserves existing values.
82091         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
82093 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82095         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
82096         TIMEOUT values.  Return EINVAL for NFDS values either negative or
82097         greater than FD_SETSIZE.
82099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82101         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
82102         allocated, call __vm_protect to finish enabling the existing space, and
82103         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
82104         allocate the remainder.
82106 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82108         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
82109         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
82111 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82113         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
82114         sysdeps/mach/hurd/readlink.c.
82116         * posix/tst-sysconf.c (posix_options): Only use
82117         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
82118         _POSIX_SYNCHRONIZED_IO when they are defined
82119         * sysdeps/mach/hurd/bits/posix_opt.h:
82120         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
82121         (_XOPEN_REALTIME): Undefine macro.
82122         (_XOPEN_REALTIME_THREADS): Undefine macro.
82123         (_XOPEN_SHM): Undefine macro.
82124         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
82125         macro to -1.
82126         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
82127         macro to -1.
82128         (_POSIX_ASYNC_IO): Undefine macro.
82129         (_POSIX_PRIORITIZED_IO): Undefine macro.
82130         (_POSIX_SPIN_LOCKS): Define macro to -1.
82132         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
82133         SA_NODEFER, SA_RESETHAND.
82134         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
82135         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
82136         F_DUPFD_CLOEXEC.
82138 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82140         * elf/Makefile (pldd-modules): Define unconditionally.
82142 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82144         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
82146 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82148         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
82149         Return ENOENT when name is empty.
82150         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
82152 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82154         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
82156         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
82158 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82160         Fix mlock in all cases except non-readable pages.
82161         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
82162         instead of VM_PROT_ALL as parameter to __vm_wire function.
82164         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
82165         (__mkdir): When path is `/', just fail with EEXIST.
82166         * sysdeps/mach/hurd/mkdirat.c: Likewise.
82168 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82170         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
82171         <sys/uio.h> (for writev).
82172         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
82173         and <sys/param.h> (for MIN).
82175 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
82177         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
82178         REQUESTED_TIME.  Properly set the remaining time and return EINTR
82179         if interrupted.
82181 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82183         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
82184         Depend on against $(link-rpcuserlibs).
82186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82188         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
82189         (__libc_stack_end): Do not use attribute_relro.
82190         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
82191         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
82192         to libthread-provided value.
82193         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
82194         attribute_relro.
82196 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82198         [BZ #3748]
82199         * bits/libc-lock.h (__libc_once_get): New macro.
82200         * sysdeps/mach/bits/libc-lock.h: Likewise.
82201         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
82202         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
82203         instead of using implementation details.
82205         * libio/fileops.c: Unconditionally include <kernel-features.h>.
82206         * libio/freopen.c: Likewise.
82207         * libio/freopen64.c: Likewise.
82208         * misc/syslog.c: Likewise.
82209         * nscd/connections.c: Likewise.
82210         * nscd/netgroupcache.c: Likewise.
82211         * sysdeps/posix/getcwd.c: Likewise.
82213 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82215         * math/w_ilogbf.c: Add #include <limits.h>.
82217 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82219         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
82220         path instead of returning without unlocking.
82222         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
82223         immediate-write ioctls.
82224         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
82226 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82228         * sysdeps/mach/hurd/i386/init-first.c (init): Use
82229         __builtin_frame_address instead of making assumptions about the
82230         location of the return address relative to DATA.  Force early load of
82231         the return address.
82232         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
82233         __builtin_frame_address.
82235         dup3 for GNU Hurd.
82236         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
82237         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
82238         implement dup3 and do some further code clean-ups.
82239         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
82240         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
82242 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82244         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
82246         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
82247         HURD_CRITICAL_END around holding _hurd_dtable_lock.
82248         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
82249         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
82250         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
82251         d->port.lock.
82253         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
82254         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
82255         when handler == SIG_ERR, not when handler != SIG_ERR.
82257 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82259         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
82260         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
82261         definitions.
82263         accept4 for GNU Hurd.
82264         * include/sys/socket.h (__libc_accept4): New prototype.
82265         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
82266         to implement __libc_accept4.
82267         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
82268         __libc_accept4.
82269         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
82271         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
82272         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
82273         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
82274         signal-defines.sym.
82276 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82278         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
82280 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
82282         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
82283         assertion on O_CLOEXEC flag.
82284         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
82285         * hurd/intern-fd.c: Likewise.
82286         * hurd/port2fd.c: Likewise.
82288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
82290         [BZ #3906]
82291         * bits/in.h (IPV6_PKTINFO): Define new macro.
82292         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
82294 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82296         [BZ #13954]
82297         [BZ #13955]
82298         [BZ #13956]
82299         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
82300         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
82301         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
82302         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
82303         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
82304         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
82305         * math/libm-test.inc (logb_test) : Additional logb tests.
82307 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
82308             Andreas Jaeger  <aj@suse.de>
82310         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
82311         * configure: Regenerated.
82312         * config.h.in (LINK_OBSOLETE_RPC): New macro.
82313         * config.make.in (link-obsolete-rpc): New substituted variable.
82314         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
82315         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
82316         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82317         (shared-only-routines): Don't set it under [link-obsolete-rpc],
82318         so that libc.a contains the symbols.
82319         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
82320         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
82321         * sunrpc/auth_none.c: Likewise.
82322         * sunrpc/auth_unix.c: Likewise.
82323         * sunrpc/authdes_prot.c: Likewise.
82324         * sunrpc/authuxprot.c: Likewise.
82325         * sunrpc/clnt_gen.c: Likewise.
82326         * sunrpc/clnt_perr.c: Likewise.
82327         * sunrpc/clnt_raw.c: Likewise.
82328         * sunrpc/clnt_simp.c: Likewise.
82329         * sunrpc/clnt_tcp.c: Likewise.
82330         * sunrpc/clnt_udp.c: Likewise.
82331         * sunrpc/clnt_unix.c: Likewise.
82332         * sunrpc/des_crypt.c: Likewise.
82333         * sunrpc/des_soft.c: Likewise.
82334         * sunrpc/get_myaddr.c: Likewise.
82335         * sunrpc/key_call.c: Likewise.
82336         * sunrpc/key_prot.c: Likewise.
82337         * sunrpc/netname.c: Likewise.
82338         * sunrpc/pm_getmaps.c: Likewise.
82339         * sunrpc/pm_getport.c: Likewise.
82340         * sunrpc/pmap_clnt.c: Likewise.
82341         * sunrpc/pmap_prot.c: Likewise.
82342         * sunrpc/pmap_prot2.c: Likewise.
82343         * sunrpc/pmap_rmt.c: Likewise.
82344         * sunrpc/publickey.c: Likewise.
82345         * sunrpc/rpc_cmsg.c: Likewise.
82346         * sunrpc/rpc_common.c: Likewise.
82347         * sunrpc/rpc_dtable.c: Likewise.
82348         * sunrpc/rpc_prot.c: Likewise.
82349         * sunrpc/rpc_thread.c: Likewise.
82350         * sunrpc/rtime.c: Likewise.
82351         * sunrpc/svc.c: Likewise.
82352         * sunrpc/svc_auth.c: Likewise.
82353         * sunrpc/svc_raw.c: Likewise.
82354         * sunrpc/svc_run.c: Likewise.
82355         * sunrpc/svc_tcp.c: Likewise.
82356         * sunrpc/svc_udp.c: Likewise.
82357         * sunrpc/svc_unix.c: Likewise.
82358         * sunrpc/svcauth_des.c: Likewise.
82359         * sunrpc/xcrypt.c: Likewise.
82360         * sunrpc/xdr.c: Likewise.
82361         * sunrpc/xdr_array.c: Likewise.
82362         * sunrpc/xdr_float.c: Likewise.
82363         * sunrpc/xdr_intXX_t.c: Likewise.
82364         * sunrpc/xdr_mem.c: Likewise.
82365         * sunrpc/xdr_rec.c: Likewise.
82366         * sunrpc/xdr_ref.c: Likewise.
82367         * sunrpc/xdr_sizeof.c: Likewise.
82368         * sunrpc/xdr_stdio.c: Likewise.
82370 2012-05-10  Roland McGrath  <roland@hack.frob.com>
82372         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
82373         change.  Update copyright years.
82375 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82377         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
82379 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
82380             Joseph Myers  <joseph@codesourcery.com>
82381             Paul Pluzhnikov  <ppluzhnikov@google.com>
82383         [BZ #14012]
82384         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
82385         requiring rpcgen.
82386         [cross-compiling] (extra-libs): Likewise.
82387         [cross-compiling] (extra-libs-others): Likewise.
82388         [cross-compiling] (librpcsvc-routines): Likewise.
82389         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
82390         [cross-compiling] (omit-deps): Likewise.
82391         (sunrpc-CPPFLAGS): New variable.
82392         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
82393         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
82394         (cross-rpcgen-objs): New variable.
82395         (extra-objs): Append $(cross-rpcgen-objs).
82396         ($(cross-rpcgen-objs)): New rule.
82397         ($(objpfx)cross-rpcgen): Likewise.
82398         (rpcgen-cmd): Define to use $(built-program-file).  Expand
82399         comment.
82400         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
82401         ($(objpfx)x%.stmp): Likewise.
82402         * sunrpc/proto.h [IS_IN_build] (_): Define.
82403         [IS_IN_build] (_libc_intl_domainname): Likewise.
82405 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
82407         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
82408         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
82409         and R_X86_64_TPOFF64.
82411 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
82413         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
82414         sysdeps/unix/sysv/syscalls.list.
82415         (stime): Likewise.
82416         (utime): Likewise.
82417         * sysdeps/unix/sysv/syscalls.list: Remove file.
82419 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
82421         [BZ #3440]
82422         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
82423         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
82424         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
82425         (__LC_IDENTIFICATION): Make these macros useful in #if
82426         expressions, as required by C99.
82428 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
82430         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
82431         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
82432         after this.
82434 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
82436         * stdlib/longlong.h: Updated from GCC.
82438 2012-05-09  Andreas Jaeger  <aj@suse.de>
82440         * nscd/nscd.c (run_modes): Make named enum, reorder so that
82441         default is first entry.
82442         (run_mode): Set type.
82443         (main): Remove informal message about syslog.
82444         (options): Fix typo.
82446         [BZ #14053]
82447         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
82448         to asm.
82449         (lrint): Likewise.
82450         (llrintf): Likewise.
82451         (llrint): Likewise.
82452         (rint): Likewise.
82453         (rintf): Likewise.
82454         (nearbyint): Likewise.
82455         (nearbyintf): Likewise.
82457 2012-05-09  Andreas Jaeger  <aj@suse.de>
82458             Pedro Alves  <palves@redhat.com>
82460         * nscd/nscd.c (run_mode): Use enum.
82461         (main): Cleanup coding style issue.
82463 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
82464             Andreas Jaeger  <aj@suse.de>
82466         * nscd/nscd.c (go_background): Replaced with...
82467         (run_mode): ... this.
82468         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
82469         (options): Add -F --foreground.
82470         (main): Implement it.
82471         (parse_opt): Parse it.
82473 2012-05-09  Andreas Jaeger  <aj@suse.de>
82475         [BZ #14083]
82476         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
82477         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
82478         -Wconversion warning.
82479         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
82480         Likewise.
82482 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
82484         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
82485         == 0.
82486         (LC_ALL): Use macro-int-constant.
82487         (LC_COLLATE): Likewise.
82488         (LC_CTYPE): Likewise.
82489         (LC_MESSAGES): Likewise.
82490         (LC_MONETARY): Likewise.
82491         (LC_NUMERIC): Likewise.
82492         (LC_TIME): Likewise.
82493         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
82494         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82495         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82496         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
82497         Specify type.
82498         [C99-based standards] (float_t): Expect type.
82499         [C99-based standards] (double_t): Expect type.
82500         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
82501         type.
82502         [C99-based standards] (HUGE_VALL): Likewise.
82503         [C99-based standards] (INFINITY): Likewise.
82504         [C99-based standards] (NAN): Likewise.
82505         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
82506         [C99-based standards] (FP_NAN): Likewise.
82507         [C99-based standards] (FP_NORMAL): Likewise.
82508         [C99-based standards] (FP_SUBNORMAL): Likewise.
82509         [C99-based standards] (FP_ZERO): Likewise.
82510         [C99-based standards] (FP_FAST_FMA): Use
82511         optional-macro-int-constant.  Specify type.  Require == 1.
82512         [C99-based standards] (FP_FAST_FMAF): Likewise.
82513         [C99-based standards] (FP_FAST_FMAL): Likewise.
82514         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
82515         [C99-based standards] (FP_ILOGBNAN): Likewise.
82516         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
82517         Specify type.
82518         [C99-based standards] (MATH_ERREXCEPT): Likewise.
82519         [C99-based standards] (math_errhandling): Specify type.
82520         [ISO99 || ISO11] (signgam): Do not allow.
82521         [non-C99-based standards] (copysignf): Do not allow.
82522         [non-C99-based standards] (exp2f): Likewise.
82523         [non-C99-based standards] (log2f): Likewise.
82524         [non-C99-based standards] (modff): Allow.
82525         [non-C99-based standards] (erff): Do not allow.
82526         [non-C99-based standards] (erfcf): Likewise.
82527         [non-C99-based standards] (gammaf): Likewise.
82528         [non-C99-based standards] (hypotf): Likewise.
82529         [non-C99-based standards] (j0f): Likewise.
82530         [non-C99-based standards] (j1f): Likewise.
82531         [non-C99-based standards] (jnf): Likewise.
82532         [non-C99-based standards] (lgammaf): Likewise.
82533         [non-C99-based standards] (tgammaf): Likewise.
82534         [non-C99-based standards] (y0f): Likewise.
82535         [non-C99-based standards] (y1f): Likewise.
82536         [non-C99-based standards] (ynf): Likewise.
82537         [non-C99-based standards] (isnanf): Likewise.
82538         [non-C99-based standards] (acoshf): Likewise.
82539         [non-C99-based standards] (asinhf): Likewise.
82540         [non-C99-based standards] (atanhf): Likewise.
82541         [non-C99-based standards] (cbrtf): Likewise.
82542         [non-C99-based standards] (expm1f): Likewise.
82543         [non-C99-based standards] (ilogbf): Likewise.
82544         [non-C99-based standards] (log1pf): Likewise.
82545         [non-C99-based standards] (logbf): Likewise.
82546         [non-C99-based standards] (nextafterf): Likewise.
82547         [non-C99-based standards] (remainderf): Likewise.
82548         [non-C99-based standards] (rintf): Likewise.
82549         [non-C99-based standards] (scalbf): Likewise.
82550         [non-C99-based standards] (copysignl): Likewise.
82551         [non-C99-based standards] (exp2l): Likewise.
82552         [non-C99-based standards] (log2l): Likewise.
82553         [non-C99-based standards] (modfl): Allow.
82554         [non-C99-based standards] (erfl): Do not allow.
82555         [non-C99-based standards] (erfcl): Likewise.
82556         [non-C99-based standards] (gammal): Likewise.
82557         [non-C99-based standards] (hypotl): Likewise.
82558         [non-C99-based standards] (j0l): Likewise.
82559         [non-C99-based standards] (j1l): Likewise.
82560         [non-C99-based standards] (jnl): Likewise.
82561         [non-C99-based standards] (lgammal): Likewise.
82562         [non-C99-based standards] (tgammal): Likewise.
82563         [non-C99-based standards] (y0l): Likewise.
82564         [non-C99-based standards] (y1l): Likewise.
82565         [non-C99-based standards] (ynl): Likewise.
82566         [non-C99-based standards] (isnanl): Likewise.
82567         [non-C99-based standards] (acoshl): Likewise.
82568         [non-C99-based standards] (asinhl): Likewise.
82569         [non-C99-based standards] (atanhl): Likewise.
82570         [non-C99-based standards] (cbrtl): Likewise.
82571         [non-C99-based standards] (expm1l): Likewise.
82572         [non-C99-based standards] (ilogbl): Likewise.
82573         [non-C99-based standards] (log1pl): Likewise.
82574         [non-C99-based standards] (logbl): Likewise.
82575         [non-C99-based standards] (nextafterl): Likewise.
82576         [non-C99-based standards] (remainderl): Likewise.
82577         [non-C99-based standards] (rintl): Likewise.
82578         [non-C99-based standards] (scalbl): Likewise.
82579         [ISO || ISO99 || ISO11] (*_t): Do not allow.
82580         [non-C99-based standards] (FP_*): Do not allow.
82581         [C99-based standards] (FP_*): Change to
82582         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
82583         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82584         allow.
82585         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
82586         (SIG_ERR): Likewise.
82587         [X/Open-based standards] (SIG_HOLD): Likewise.
82588         (SIG_IGN): Likewise.
82589         (SIGABRT): Use macro-int-constant.  Specify type.  Require
82590         positive value.
82591         (SIGFPE): Likewise.
82592         (SIGILL): Likewise.
82593         (SIGINT): Likewise.
82594         (SIGSEGV): Likewise.
82595         (SIGTER): Likewise.
82596         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
82597         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
82598         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
82599         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
82600         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
82601         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
82602         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
82603         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
82604         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
82605         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
82606         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
82607         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
82608         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
82609         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
82610         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
82611         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
82612         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
82613         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
82614         [X/Open-based standards] (SIGTRAP): Likewise.
82615         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
82616         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
82617         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
82618         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
82619         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
82620         allow.
82622 2012-05-08  Ian Wienand  <ianw@vmware.com>
82624         [BZ #14080]
82625         * time/tzset.c (__tzset_parse_tz): Update default rules for
82626         daylight time changes in the Energy Policy Act of 2005.
82628 2012-05-09  Andreas Jaeger  <aj@suse.de>
82630         [BZ #13983]
82631         * elf/ldconfig.c (parse_conf): Change string to make clear that
82632         ldconfig only issued a warning if ld.so.conf does not exist.
82634 2012-05-08  David S. Miller  <davem@davemloft.net>
82636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
82637         movxtod instead of popping the value on the stack.
82639         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82641 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
82643         * config.h.in: Add HAVE_ARM_PCS_VFP.
82645 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
82647         [BZ #13979]
82648         * include/features.h: Warn if user requests __FORTIFY_SOURCE
82649         checking but the checks are disabled for any reason.
82651 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
82653         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
82654         and ELF64_R_TYPE with ELFW(R_TYPE).
82656 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
82658         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
82659         (ulimit): Likewise.
82661         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
82662         (settimeofday): Likewise.
82664 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
82666         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
82667         a struct th_u2 inside the union, and move tu_block/tu_code into
82668         a new th_u3 union of tu_block/tu_code inside of that.  Move
82669         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
82670         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
82671         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
82672         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
82673         (th_stuff): Change to th_u1.tu_stuff.
82674         (th_data): Define.
82675         (th_msg): Change to th_u1.th_u2.tu_data.
82677 2012-05-07  David S. Miller  <davem@davemloft.net>
82679         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82681         [BZ #14074]
82682         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
82683         (SETUP_PIC_REG): Use it.
82684         (SETUP_PIC_REG_LEAF): Use it.
82686 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
82688         [BZ #13885]
82689         [BZ #13923]
82690         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82691         USE_AS_EXPM1L.
82692         (EXPL_FINITE): Likewise.
82693         (FLDLOG): Likewise.
82694         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82695         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82696         e_expl.S.
82697         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82698         USE_AS_EXPM1L.
82699         (EXPL_FINITE): Likewise.
82700         (FLDLOG): Likewise.
82701         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
82702         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
82703         e_expl.S.
82704         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
82705         test of -max_value argument for long double.
82706         * sysdeps/i386/fpu/libm-test-ulps: Update.
82707         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82709 2012-05-06  David S. Miller  <davem@davemloft.net>
82711         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
82712         quad soft-float symbols whose references which are compiler
82713         generated.
82714         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82716 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
82718         [BZ #13884]
82719         [BZ #13914]
82720         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82721         USE_AS_EXP10L.
82722         (EXPL_FINITE): Likewise.
82723         (FLDLOG): Likewise.
82724         (c0): Likewise.
82725         (c1): Likewise.
82726         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82727         Adjust comments for base varying.
82728         (__expl_finite): Change alias to EXPL_FINITE.
82729         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
82730         e_expl.S.
82731         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
82732         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
82733         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
82734         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
82735         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
82736         USE_AS_EXP10L.
82737         (EXPL_FINITE): Likewise.
82738         (FLDLOG): Likewise.
82739         (c0): Likewise.
82740         (c1): Likewise.
82741         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
82742         Adjust comments for base varying.
82743         (__expl_finite): Change alias to EXPL_FINITE.
82744         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
82745         tests for bugs.
82746         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82748         [BZ #14064]
82749         * math/libm-test.inc (check_float_internal): Correct ulp
82750         calculation for subnormal expected results.
82752 2012-05-06  Andreas Jaeger  <aj@suse.de>
82754         * Makeconfig (+math-flags): New, set to -frounding-math.
82755         (+cflags): Add +math-flags so that all of glibc gets compiled with
82756         it.
82758         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
82760 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
82762         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
82763         Disable one test.
82765         [BZ #13787]
82766         [BZ #13922]
82767         [BZ #14036]
82768         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
82769         (__ieee754_expl): Allow for and saturate large arguments.
82770         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
82771         (u_threshold): Likewise.
82772         (__exp): Call __ieee754_exp before checking for overflow and
82773         underflow.
82774         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
82775         (u_threshold): Likewise.
82776         (__expf): Call __ieee754_expf before checking for overflow and
82777         underflow.
82778         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
82779         (u_threshold): Likewise.
82780         (__expl): Call __ieee754_expl before checking for overflow and
82781         underflow.
82782         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
82783         (__ieee754_expl): Allow for and saturate large arguments.
82784         * math/libm-test.inc (exp_test): Add another test.  Do not allow
82785         missing overflow exception on overflow.
82786         (expm1_test): Do not allow missing overflow exception on overflow.
82788         * sysdeps/i386/fpu/e_expl.c: Move to ...
82789         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
82790         rather than using inline asm.
82791         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
82792         * sysdeps/x86_64/fpu/e_expl.S: Copy from
82793         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
82795         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
82796         (nice): Likewise.
82797         (poll): Likewise.
82798         (signal): Likewise.
82799         (time): Likewise.
82800         (times): Likewise.
82802 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82804         * sysdeps/unix/syscalls.list (adjtime): Add entry from
82805         sysdeps/unix/common/syscalls.list.
82806         (fchmod): Likewise.
82807         (fchown): Likewise.
82808         (ftruncate): Likewise.
82809         (getrusage): Likewise.
82810         (gettimeofday): Likewise.
82811         (setpgid): Likewise.
82812         (setregid): Likewise.
82813         (setreuid): Likewise.
82814         (sigaction): Likewise.
82815         (truncate): Likewise.
82816         (vhangup): Likewise.
82817         * sysdeps/unix/common/syscalls.list: Remove file.
82818         * sysdeps/unix/bsd/Implies: Don't include unix/common.
82819         * sysdeps/unix/sysv/linux/Implies: Likewise.
82821 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
82823         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
82824         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
82825         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
82826         Moved to ...
82827         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
82828         Here.
82829         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
82830         to ...
82831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
82832         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
82833         to ...
82834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
82835         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
82836         to ...
82837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
82838         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
82839         to ...
82840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
82841         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
82842         to ...
82843         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
82844         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
82845         to ...
82846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
82847         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
82848         to ...
82849         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
82850         Here.
82851         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
82852         to ...
82853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
82854         Here.
82855         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
82856         to ...
82857         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
82858         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
82859         Moved to ...
82860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
82861         Here.
82862         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
82863         to ...
82864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
82866 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82868         * sysdeps/unix/common/bits/dirent.h: Remove file.
82869         * sysdeps/unix/common/bits/fcntl.h: Likewise.
82871         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
82872         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
82873         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
82874         * sysdeps/unix/bsd/isatty.c: Likewise.
82875         * sysdeps/unix/bsd/tcdrain.c: Likewise.
82876         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
82877         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
82879 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82881         [BZ #13563]
82882         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
82883         long double comparison inaccuracies.
82884         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
82885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82887 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
82889         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
82890         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
82892 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
82894         [BZ #14049]
82895         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
82896         nonzero digits before rounding a hex value.
82897         * stdlib/tst-strtod.c (tests): Add another test.
82899 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
82901         * sysdeps/s390/fpu/libm-test-ulps: Update.
82903 2012-05-03  Andreas Jaeger  <aj@suse.de>
82905         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
82906         does not get optimized out.
82907         (malloc_opt_barrier): New.
82909 2012-05-03  Andreas Jaeger  <aj@suse.de>
82910             Roland McGrath  <roland@hack.frob.com>
82912         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
82913         intermediate file deletion.
82914         (generated): Add .symlist files.
82916 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
82918         [BZ #13775]
82919         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
82920         Redirect under this condition.
82921         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82922         [__USE_GNU] (__dprintf_chk): Not under this condition.
82923         [__USE_GNU] (__vdprintf_chk): Likewise.
82924         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
82925         under this condition.
82926         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
82927         [__USE_XOPEN2K8] (dprintf): Define under this condition.
82928         [__USE_XOPEN2K8] (vdprintf): Likewise.
82929         [__USE_GNU] (__dprintf_chk): Not under this condition.
82930         [__USE_GNU] (__vdprintf_chk): Likewise.
82931         [__USE_GNU] (dprintf): Likewise.
82932         [__USE_GNU] (vdprintf): Likewise.
82934 2012-05-03  Roland McGrath  <roland@hack.frob.com>
82936         * elf/Makefile (common-generated): Set this instead of generated for
82937         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
82938         $(all-built-dso)-derived lists.
82940 2012-05-03  Andreas Jaeger  <aj@suse.de>
82942         * sysdeps/i386/fpu/libm-test-ulps: Update.
82944         * FAQ: Removed.
82945         * FAQ.in: Likewise.
82946         * scripts/gen-FAQ.pl: Likewise.
82947         * manual/install.texi (Installation): Point to online location of
82948         FAQ.
82949         * Makefile (files-for-dist): Remove FAQ.
82950         (FAQ): Remove.
82952 2012-05-02  Allan McRae  <allan@archlinux.org>
82954         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
82955         (LDFLAGS-reldepmod5.so): Likewise.
82956         (LDFLAGS-reldep6mod1.so): Likewise.
82957         (LDFLAGS-reldep6mod4.so): Likewise.
82958         (LDFLAGS-reldep8mod3.so): Likewise.
82959         (LDFLAGS-unload4mod1.so): Likewise.
82960         (LDFLAGS-unload4mod2.so): Likewise.
82961         (LDFLAGS-tst-initorder): Likewise.
82962         (LDFLAGS-tst-initordera2.so): Likewise.
82963         (LDFLAGS-tst-initordera3.so): Likewise.
82964         (LDFLAGS-tst-initordera4.so): Likewise.
82965         (LDFLAGS-tst-initorderb2.so): Likewise.
82966         (LDFLAGS-noload): Likewise.
82967         (LDFLAGS-next): Likewise.
82968         (LDFLAGS-order2mod1.so): Likewise.
82969         (LDFLAGS-order2mod2.so): Likewise.
82970         (LDFLAGS-tst-initorder2): Likewise.
82971         (LDFLAGS-tst-initorder2a.so): Likewise.
82972         (LDFLAGS-tst-initorder2b.so): Likewise.
82973         (LDFLAGS-tst-initorder2c.so): Likewise.
82974         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
82976 2012-05-02  David S. Miller  <davem@davemloft.net>
82978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82980 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
82982         [BZ #14055]
82983         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
82985 2012-05-02  Andreas Jaeger  <aj@suse.de>
82987         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
82988         since we manipulate rounding mode.
82989         (CPPFLAGS-test-idouble.c): Likewise.
82990         (CPPFLAGS-test-ifloat.c): Likewise.
82991         (CFLAGS-test-ldouble.c): Likewise.
82992         (CFLAGS-test-double.c): Likewise.
82993         (CFLAGS-test-float.c): Likewise.
82994         (CFLAGS-test-misc.c): Likewise.
82995         (CFLAGS-test-test-fenv.c): Likewise.
82997 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
82999         [BZ #2550]
83000         [BZ #2570]
83001         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
83002         comparisons to determine direction to adjust input.
83004 2012-05-01  Roland McGrath  <roland@hack.frob.com>
83006         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
83007         output to the target.
83009         * scripts/localplt.awk: New file.
83010         * elf/Makefile ($(objpfx)check-localplt): Target removed.
83011         (check-localplt-CFLAGS): Variable removed.
83012         ($(all-built-dso:=.jmprel)): New static pattern rule.
83013         (generated): Add those targets.
83014         (localplt-built-dso): New variable.
83015         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
83017         * elf/check-localplt.c: File removed.
83019         * scripts/check-execstack.awk: New file.
83020         * elf/Makefile ($(objpfx)check-execstack): Target removed.
83021         (check-execstack-CFLAGS): Variable removed.
83022         ($(objpfx)check-execstack.h): Target removed.
83023         ($(objpfx)execstack-default): New target.
83024         (generated): Add that instead of check-execstack.h.
83025         ($(all-built-dso:=.phdr)): New static pattern rule.
83026         (generated): Add those targets.
83027         * elf/check-execstack.c: File removed.
83029         * scripts/check-textrel.awk: New file.
83030         * elf/Makefile ($(objpfx)check-textrel): Target removed.
83031         (check-textrel-CFLAGS): Variable removed.
83032         (all-built-dso): Use := to define.o
83033         ($(all-built-dso:=.dyn)): New static pattern rule.
83034         (generated): Add those targets.
83035         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
83036         * config.make.in (READELF): New substituted variable.
83037         * elf/check-textrel.c: File removed.
83039 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83041         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
83042         allow.
83043         * conform/data/ctype.h-data [C99-based standards] (isblank):
83044         Expect function.
83045         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
83046         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
83047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83048         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
83049         Specify type.  Require positive value.
83050         (EILSEQ): Likewise.
83051         (ERANGE): Likewise.
83052         [ISO || POSIX] (EILSEQ): Do not expect.
83053         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
83054         Specify type.  Require positive value.
83055         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
83056         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
83057         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
83058         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
83059         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
83060         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
83061         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
83062         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
83063         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
83064         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
83065         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
83066         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
83067         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
83068         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
83069         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
83070         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
83071         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
83072         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
83073         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
83074         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
83075         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
83076         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
83077         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
83078         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
83079         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
83080         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
83081         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
83082         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
83083         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
83084         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
83085         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
83086         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
83087         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
83088         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
83089         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
83090         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
83091         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
83092         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
83093         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
83094         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
83095         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
83096         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
83097         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
83098         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
83099         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
83100         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
83101         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
83102         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
83103         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
83104         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
83105         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
83106         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
83107         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
83108         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
83109         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
83110         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
83111         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
83112         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
83113         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
83114         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
83115         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
83116         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
83117         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
83118         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
83119         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
83120         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
83121         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
83122         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
83123         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
83124         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
83125         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
83126         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
83127         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
83128         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
83129         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
83130         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
83131         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
83132         Require >= 2.
83133         (FLT_ROUNDS): Expect as macro, not constant.
83134         (FLT_MANT_DIG): Use macro-int-constant.
83135         (DBL_MANT_DIG): Likewise.
83136         (LDBL_MANT_DIG): Likewise.
83137         (FLT_DIG): Likewise.
83138         (DBL_DIG): Likewise.
83139         (LDBL_DIG): Likewise.
83140         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
83141         (DBL_MIN_EXP): Likewise.
83142         (LDBL_MIN_EXP): Likewise.
83143         (FLT_MAX_EXP): Use macro-int-constant.
83144         (DBL_MAX_EXP): Likewise.
83145         (LDBL_MAX_EXP): Likewise.
83146         (FLT_MAX_10_EXP): Likewise.
83147         (DBL_MAX_10_EXP): Likewise.
83148         (LDBL_MAX_10_EXP): Likewise.
83149         (FLT_MAX): Use macro-constant.
83150         (DBL_MAX): Likewise.
83151         (LDBL_MAX): Likewise.
83152         (FLT_EPSILON): Use macro-constant.  Give upper bound.
83153         (DBL_EPSILON): Likewise.
83154         (LDBL_EPSILON): Likewise.
83155         (FLT_MIN): Likewise.
83156         (DBL_MIN): Likewise.
83157         (LDBL_MIN): Likewise.
83158         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
83159         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
83160         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
83161         [ISO11] (FLT_HAS_SUBNORM): Likewise.
83162         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
83163         [ISO11] (DBL_DECIMAL_DIG): Likewise.
83164         [ISO11] (FLT_DECIMAL_DIG): Likewise.
83165         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
83166         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
83167         [ISO11] (FLT_TRUE_MIN): Likewise.
83168         [ISO11] (LDBL_TRUE_MIN): Likewise.
83169         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83170         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
83171         (SCHAR_MIN): Use macro-int-constant.  Specify type.
83172         (SCHAR_MAX): Likewise.
83173         (UCHAR_MAX): Likewise.
83174         (CHAR_MIN): Likewise.
83175         (CHAR_MAX): Likewise.
83176         (MB_LEN_MAX): Use macro-int-constant.
83177         (SHRT_MIN): Use macro-int-constant.  Specify type.
83178         (SHRT_MAX): Likewise.
83179         (USHRT_MAX): Likewise.
83180         (INT_MAX): Likewise.
83181         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
83182         bound negative.
83183         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83184         bound with "U".
83185         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83186         bound with "L".
83187         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
83188         bound negative.  Suffix upper bound with "L".
83189         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
83190         bound with "UL".
83191         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
83192         Specify type.
83193         [C99-based standards] (LLONG_MAX): Likewise.
83194         [C99-based standards] (ULLONG_MAX): Likewise.
83195         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
83196         == 0.
83197         [ISO11] (max_align_t): Require type.
83198         [ISO || ISO99 || ISO11] (*_t): Do not allow.
83200         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
83201         from $CFLAGS, without defining away __attribute__ calls.
83202         (checknamespace): Use $CFLAGS_namespace.
83204         * conform/conformtest.pl (@keywords): Only include C99 keywords
83205         for standards based on C99 or C11.
83207         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
83208         Disable tests.
83209         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
83210         UNIX98]: Likewise.
83212         * conform/conformtest.pl: Handle "macro-int-constant" and test for
83213         usability of symbols in #if.
83215         * conform/conformtest.pl: If macro or constant types start
83216         "promoted:", expect the symbol to be of the following type
83217         promoted by the integer promotions.
83219         * conform/conformtest.pl: Parse all "constant" and "macro" lines
83220         in one place.  Also handle "macro-constant".
83222         * conform/conformtest.pl: Only accept expected macro values with
83223         "==".  Parse all "macro" lines in one place.
83224         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
83226         * conform/conformtest.pl: Handle braced types on "constant" lines
83227         instead of handling "typed-constant".
83228         * conform/data/signal.h-data: Use "constant" instead of
83229         "typed-constant".
83231         * conform/conformtest.pl: Handle "optional-" at start of lines in
83232         one place rather than duplicating several cases.  Handle each
83233         format of "macro" line with initial "optional-".
83235         * conform/conformtest.pl: Only accept expected constant or
83236         optional-constant values with "==".  Parse all "constant" lines in
83237         one place.  Parse all "optional-constant" lines in one place.
83238         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
83239         * conform/data/fmtmsg.h-data: Likewise.
83240         * conform/data/netinet/in.h-data: Likewise.
83241         * conform/data/tar.h-data: Likewise.
83242         * conform/data/limits.h-data: Use "==" form on "constant" and
83243         "optional-constant" lines.
83245         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
83246         Use -std=c99 for XOPEN2K.
83247         (@knownproblems): Remove.
83248         (newtoken): Don't check %isknown.
83250         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
83251         Do not expect macro.
83252         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
83253         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
83254         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
83255         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
83256         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
83257         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
83258         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
83259         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
83260         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
83261         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
83262         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
83263         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
83264         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
83265         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
83266         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
83267         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
83268         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
83269         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
83270         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
83271         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
83272         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
83273         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
83274         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
83275         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
83276         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
83277         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
83278         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
83279         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
83280         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
83281         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
83282         [XPG3] (acosh): Likewise.
83283         [XPG3] (asinh): Likewise.
83284         [XPG3] (atanh): Likewise.
83285         [XPG3] (cbrt): Likewise.
83286         [XPG3] (expm1): Likewise.
83287         [XPG3] (ilogb): Likewise.
83288         [XPG3] (log1p): Likewise.
83289         [XPG3] (logb): Likewise.
83290         [XPG3] (nextafter): Likewise.
83291         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
83292         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
83293         [XPG3] (remainder): Likewise.
83294         [XPG3] (rint): Likewise.
83295         [XPG3 || XPG4 || UNIX98] (round): Likewise.
83296         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
83297         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
83298         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
83299         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
83300         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
83301         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
83302         [UNIX98 || XOPEN2K] (scalb): Expect.
83303         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
83304         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
83305         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
83306         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
83307         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
83308         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
83309         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
83310         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
83311         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
83312         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
83313         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
83314         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
83315         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
83316         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
83317         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
83318         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
83319         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
83320         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
83321         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
83322         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
83323         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
83324         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
83325         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
83326         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
83327         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
83328         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
83329         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
83330         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
83331         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
83332         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
83333         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
83334         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
83335         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
83336         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
83337         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
83338         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
83339         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
83340         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
83341         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
83342         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
83343         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
83344         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
83345         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
83346         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
83347         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
83348         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
83349         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
83350         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
83351         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
83352         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
83353         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
83354         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
83355         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
83356         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
83357         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
83358         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
83359         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
83360         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
83361         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
83362         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
83363         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
83364         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
83365         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
83366         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
83367         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
83368         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
83369         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
83370         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
83371         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
83372         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
83373         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
83374         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
83375         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
83376         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
83377         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
83378         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
83379         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
83380         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
83381         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
83382         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
83383         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
83384         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
83385         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
83386         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
83387         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
83388         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
83389         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
83390         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
83391         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
83392         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
83393         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
83394         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
83395         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
83396         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
83397         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
83398         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
83399         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
83400         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
83401         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
83402         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
83403         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
83404         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
83405         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
83406         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
83407         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
83408         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
83409         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
83410         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
83411         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
83412         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
83413         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
83414         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
83415         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
83416         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
83417         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
83418         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
83419         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
83420         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
83421         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
83422         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
83423         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
83424         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
83425         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
83426         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
83427         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
83428         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
83429         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
83430         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
83431         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
83432         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
83433         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
83434         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
83435         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
83436         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
83437         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
83438         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
83439         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
83441         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
83442         _XOPEN_SOURCE_EXTENDED for XPG4.
83444         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
83446         * Makeconfig (localtime): Remove variable.
83447         (inst_localtime-file): Likewise.
83449 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
83452         Update.
83453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
83454         Update.
83455         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
83456         Update.
83457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
83458         Update.
83459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
83460         Update.
83461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
83462         Update.
83463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
83464         Update.
83465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
83466         Update.
83467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83468         Update.
83470 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
83472         [BZ #2550]
83473         [BZ #2570]
83474         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
83475         comparisons to determine direction to adjust input.
83476         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
83477         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
83478         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
83479         Likewise.
83480         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
83481         Likewise.
83482         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
83483         Likewise.
83484         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
83485         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
83486         Likewise.
83487         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
83488         Likewise.
83489         * math/libm-test.inc (nexttoward_test): Add more tests.
83491 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
83493         [BZ #14040]
83494         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
83495         in version GLIBC_2.1, not GLIBC_2.0.
83496         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
83497         Likewise.
83499 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
83501         [BZ #13942]
83502         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
83503         (1 - x) * (1 + x).
83504         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83505         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
83506         * math/libm-test.inc (acos_test): Add more tests.
83507         (asin_test): Likewise.
83508         * sysdeps/i386/fpu/libm-test-ulps: Update.
83509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83511         [BZ #14034]
83512         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
83513         of square root.
83514         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
83515         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
83516         * math/libm-test.inc (acos_test_tonearest): New function.
83517         (acos_test_towardzero): Likewise.
83518         (acos_test_downward): Likewise.
83519         (acos_test_upward): Likewise.
83520         (asin_test_tonearest): Likewise.
83521         (asin_test_towardzero): Likewise.
83522         (asin_test_downward): Likewise.
83523         (asin_test_upward): Likewise.
83524         (main): Call the new functions.
83525         * sysdeps/i386/fpu/libm-test-ulps: Update.
83526         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
83528         [BZ #13884]
83529         [BZ #13924]
83530         * math/e_exp10.c: Include <float.h>.
83531         (__ieee754_exp10): Handle underflow here rather than multiplying
83532         large negative argument by M_LN10.
83533         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
83534         of __ieee754_expf.
83535         * math/e_exp10l.c: Include <float.h>.
83536         (__ieee754_exp10l): Handle underflow here rather than multiplying
83537         large negative argument by M_LN10l.
83538         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
83539         spurious overflow exception on underflow.
83541 2012-04-29  Marek Polacek  <polacek@redhat.com>
83543         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
83544         (__fortify_function): New macro.
83545         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
83546         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
83547         __extern_always_inline.
83548         * libio/bits/stdio2.h: Likewise.
83549         * libio/bits/stdio.h: Likewise.
83550         * string/string.h: Likewise.
83551         * string/bits/string3.h: Likewise.
83552         * include/stdio.h: Likewise.
83553         * stdlib/bits/stdlib.h: Likewise.
83554         * stdlib/stdlib.h: Likewise.
83555         * rt/bits/mqueue2.h: Likewise.
83556         * rt/mqueue.h: Likewise.
83557         * posix/bits/unistd.h: Likewise.
83558         * posix/unistd.h: Likewise.
83559         * io/bits/poll2.h: Likewise.
83560         * io/bits/fcntl2.h: Likewise.
83561         * io/fcntl.h: Likewise.
83562         * io/sys/poll.h: Likewise.
83563         * misc/bits/syslog.h: Likewise.
83564         * misc/bits/syslog-ldbl.h: Likewise.
83565         * misc/sys/syslog.h: Likewise.
83566         * socket/bits/socket2.h: Likewise.
83567         * socket/sys/socket.h: Likewise.
83568         * debug/tst-chk1.c: Likewise.
83569         * wcsmbs/bits/wchar2.h: Likewise.
83570         * wcsmbs/bits/wchar-ldbl.h: Likewise.
83571         * wcsmbs/wchar.h: Likewise.
83573 2012-04-29  Andreas Jaeger  <aj@suse.de>
83575         * Makerules (tests): Remove enable-check-abi protection.
83576         (check-abi-warn): Remove.
83577         (check-abi-%): Remove check-abi-warn usage.
83579         * configure.in: Remove check-abi configure option.
83580         * configure: Regenerated.
83581         * config.make.in (enable-check-abi): Remove.
83583 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
83585         [BZ #14033]
83586         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
83587         double functions to double *_finite functions.
83589         [BZ #13941]
83590         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
83591         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
83592         LDBL_MIN_EXP.
83593         * stdio-common/Makefile (tests): Add tst-sprintf3.
83594         * stdio-common/tst-sprintf3.c: New file.
83596         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
83597         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
83599 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83601         * conform/conformtest.pl: Remove duplicate typed-constant
83602         handling.
83604 2012-04-28  David S. Miller  <davem@davemloft.net>
83606         * Makerules (%.abilist): Add vpath on sysdep_dirs.
83607         (check-abi-%): Remove AWK script prerequisite and explicit
83608         abilist directory.
83609         (check-abi): Rewrite to just diff the symlist with the abilist.
83610         (config-tls, config-abi-config): Delete, no longer used.
83611         (update-abi-%): Remove AWK script and explicit abilist directory.
83612         (update-abi): Rewrite to simply compare and conditionally copy the
83613         symlist and the sysdep abilist file.  Remove update-abi-config
83614         checks.
83615         * abilist/ld.abilist: Remove.
83616         * abilist/libBrokenLocale.abilist: Remove.
83617         * abilist/libanl.abilist: Remove.
83618         * abilist/libcrypt.abilist: Remove.
83619         * abilist/libdl.abilist: Remove.
83620         * abilist/librt.abilist: Remove.
83621         * abilist/libthread_db.abilist: Remove.
83622         * abilist/libutil.abilist: Remove.
83623         * scripts/extract-abilist.awk: Remove.
83624         * scripts/merge-abilist.awk: Remove.
83625         * sysdeps/generic/libcidn.abilist: New file.
83626         * sysdeps/generic/libnss_compat.abilist: New file.
83627         * sysdeps/generic/libnss_db.abilist: New file.
83628         * sysdeps/generic/libnss_dns.abilist: New file.
83629         * sysdeps/generic/libnss_files.abilist: New file.
83630         * sysdeps/generic/libnss_hesiod.abilist: New file.
83631         * sysdeps/generic/libnss_nis.abilist: New file.
83632         * sysdeps/generic/libnss_nisplus.abilist: New file.
83633         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
83634         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
83635         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
83636         file.
83637         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
83638         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
83639         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
83640         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
83641         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
83642         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
83643         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
83644         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
83645         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
83646         file.
83647         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
83648         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
83649         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
83650         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
83651         file.
83652         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
83653         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
83654         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
83655         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
83656         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
83657         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
83658         file.
83659         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
83660         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
83661         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
83662         file.
83663         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
83664         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
83665         New file.
83666         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
83667         New file.
83668         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
83669         New file.
83670         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
83671         New file.
83672         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
83673         New file.
83674         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
83675         New file.
83676         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
83677         New file.
83678         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
83679         New file.
83680         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
83681         New file.
83682         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
83683         New file.
83684         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
83685         New file.
83686         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
83687         New file.
83688         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
83689         New file.
83690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
83691         file.
83692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
83693         New file.
83694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
83695         New file.
83696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
83697         file.
83698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
83699         New file.
83700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
83701         New file.
83702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
83703         file.
83704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
83705         New file.
83706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
83707         New file.
83708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
83709         New file.
83710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
83711         New file.
83712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
83713         New file.
83714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
83715         New file.
83716         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
83717         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
83718         file.
83719         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
83720         New file.
83721         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
83722         file.
83723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
83724         file.
83725         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
83726         file.
83727         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
83728         file.
83729         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
83730         file.
83731         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
83732         New file.
83733         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
83734         file.
83735         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
83736         file.
83737         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
83738         New file.
83739         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
83740         file.
83741         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
83742         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
83743         file.
83744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
83745         New file.
83746         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
83747         file.
83748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
83749         file.
83750         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
83751         file.
83752         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
83753         file.
83754         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
83755         file.
83756         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
83757         New file.
83758         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
83759         file.
83760         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
83761         file.
83762         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
83763         New file.
83764         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
83765         file.
83766         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
83767         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
83768         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
83769         file.
83770         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
83771         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
83772         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
83773         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
83774         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
83775         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
83776         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
83777         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
83778         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
83779         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
83780         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
83781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
83782         file.
83783         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
83784         New file.
83785         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
83786         file.
83787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
83788         file.
83789         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
83790         file.
83791         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
83792         file.
83793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
83794         file.
83795         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
83796         New file.
83797         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
83798         New file.
83799         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
83800         file.
83801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
83802         New file.
83803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
83804         file.
83805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
83806         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
83807         file.
83808         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
83809         New file.
83810         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
83811         file.
83812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
83813         file.
83814         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
83815         file.
83816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
83817         file.
83818         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
83819         file.
83820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
83821         New file.
83822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
83823         New file.
83824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
83825         file.
83826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
83827         New file.
83828         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
83829         file.
83831 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
83833         * conform/conformtest.pl: Fix typo in handling typed-constant from
83834         allow-header.
83836 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83838         * README: Cut down references to pre-2.6 Linux kernels and
83839         Linuxthreads.  Update lists of configurations in libc and ports
83840         and sort alphabetically.  Say "or newer" with Linux kernel version
83841         requirements.
83843         * config.h.in [IS_IN_build]: Allow compiling without optimization.
83845 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
83847         [BZ #887]
83848         * math/libm-test.inc (logb_test_downward): New test to expose
83849         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
83850         rounding mode.
83852 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
83854         [BZ #14027]
83855         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
83856         to be done.
83857         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
83858         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
83860 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
83862         * sysdeps/unix/i386/brk.S: Remove file.
83863         * sysdeps/unix/i386/dl-brk.S: Likewise.
83864         * sysdeps/unix/i386/pipe.S: Likewise.
83865         * sysdeps/unix/i386/sigreturn.S: Likewise.
83866         * sysdeps/unix/i386/syscall.S: Likewise.
83867         * sysdeps/unix/i386/vfork.S: Likewise.
83868         * sysdeps/unix/i386/wait.S: Likewise.
83870         * sysdeps/unix/common/tcsendbrk.c: Move to ...
83871         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
83873         * configure.in (arm*-none*): Do not allow without
83874         --enable-hacker-mode.
83875         (netbsd*): Remove case setting base_os.
83876         (386bsd*): Likewise.
83877         (freebsd*): Likewise.
83878         (bsdi*): Likewise.
83879         (osf*): Likewise.
83880         (sunos*): Likewise.
83881         (ultrix*): Likewise.
83882         (newsos*): Likewise.
83883         (dynix*): Likewise.
83884         (*bsd*): Likewise.
83885         (sysv*): Likewise.
83886         (isc*): Likewise.
83887         (esix*): Likewise.
83888         (sco*): Likewise.
83889         (minix*): Likewise.
83890         (irix4*): Likewise.
83891         (irix6*): Likewise.
83892         (solaris[2-9]*): Likewise.
83893         (none): Likewise.
83894         * configure: Regenerated.
83896 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
83898         [BZ #11521]
83899         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
83900         overflow or cancellation in calculating denominator.
83901         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
83902         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
83903         down expression to avoid unexpected rounding in newer GCCs.
83904         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
83906 2012-04-26  David S. Miller  <davem@davemloft.net>
83908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
83909         long-double compat symbols.
83910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
83914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
83916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
83917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
83918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
83919         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
83920         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
83921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
83922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
83924 2012-04-25  David S. Miller  <davem@davemloft.net>
83926         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
83927         HWCAP_* values only after the memory barriers have been defined.
83928         (atomic_full_barrier): Define.
83929         (atomic_read_barrier): Define.
83930         (atomic_write_barrier): Define.
83932 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
83934         * shlib-versions: Add libgcc_s version information.
83935         * sysdeps/generic/libgcc_s.h: Remove.
83936         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
83937         libgcc_s.h.
83938         * sysdeps/gnu/unwind-resume.c: Likewise.
83939         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
83941 2012-04-25  David S. Miller  <davem@davemloft.net>
83943         * sysdeps/unix/sparc/brk.S: Delete.
83944         * sysdeps/unix/sparc/dl-brk.S: Delete.
83945         * sysdeps/unix/sparc/pipe.S: Delete.
83946         * sysdeps/unix/sparc/sysdep.S: Delete.
83947         * sysdeps/unix/sparc/sysdep.h: Delete.
83948         * sysdeps/unix/sparc/vfork.S: Delete.
83949         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
83950         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
83951         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
83952         (ret_ERRVAL, r0, r1, MOVE): Define.
83953         (JUMPTARGET): Remove.
83954         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
83955         sysdeps/unix/sparc/sysdep.h
83956         (ENTRY, END): Remove.
83957         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
83959 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
83961         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
83962         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
83963         -DIS_IN_build.
83965         * timezone/README: Update upstream location and email address for
83966         tzcode and tzdata.
83967         * timezone/zdump.c: Update from tzcode 2012b.
83968         * timezone/zic.c: Likewise.
83970         * configure.in (libc_cv_as_needed): Remove test.
83971         * configure: Regenerated.
83972         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
83973         conditional definition.
83974         [$(have-as-needed) != yes] (no-as-needed): Likewise.
83975         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
83976         * config.make.in (have-as-needed): Remove variable.
83978 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
83979             Paul Pluzhnikov  <ppluzhnikov@google.com>
83981         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
83982         strings correctly.
83984 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
83986         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
83987         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
83988         * sysdeps/sh/strlen.S: Likewise.
83990 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
83992         * sysdeps/unix/fork.S: Remove file.
83993         * sysdeps/unix/i386/fork.S: Likewise.
83994         * sysdeps/unix/sparc/fork.S: Likewise.
83996         * sysdeps/unix/system.c: Remove file.
83997         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
83999         * sysdeps/unix/getegid.S: Remove file.
84000         * sysdeps/unix/geteuid.S: Likewise.
84002 2012-04-24  Roland McGrath  <roland@hack.frob.com>
84004         * scripts/check-localplt.awk: New file.
84005         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
84006         of diff.
84007         * scripts/data/localplt-generic.data: Add a comment.
84009         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
84010         NODE when __dir_mkfile failed.
84011         * sysdeps/mach/hurd/symlinkat.c: Likewise.
84012         Reported by Ludovic Courtès <ludo@gnu.org>.
84014 2012-04-24  Andreas Jaeger  <aj@suse.de>
84016         * Makerules (common-clean): Also remove gen-as-const-headers
84017         files.
84019 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84021         * Makerules (native-compile): Do not change working directory for
84022         build.  Use $(OUTPUT_OPTION) in command.
84023         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
84025 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84027         [BZ #13886]
84028         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
84029         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
84030         * math/libm-test.inc (floor_test): Add more tests.
84031         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
84033 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
84035         * sysdeps/unix/getdents.c: Remove file.
84036         * sysdeps/unix/sysv/getdents.c: Likewise.
84037         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
84039         * sysdeps/unix/syscalls.list (madvise): Add syscall from
84040         sysdeps/unix/mman/syscalls.list.
84041         (mmap): Likewise.
84042         (mprotect): Likewise.
84043         (msync): Likewise.
84044         (munmap): Likewise.
84045         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
84046         * sysdeps/unix/mman/syscalls.list: Remove.
84047         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
84049         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
84050         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
84051         * configure: Regenerated.
84052         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
84053         $(libgcc_s_suffix).
84054         * config.make.in (libgcc_s_suffix): Remove variable.
84056 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
84058         * sysdeps/unix/sysv/gethostname.c: Move to ...
84059         * sysdeps/posix/gethostname.c: ... here.
84061         * sysdeps/unix/execve.S: Remove file.
84063         * sysdeps/unix/_exit.S: Remove file.
84065 2012-04-23  Andreas Jaeger  <aj@suse.de>
84067         [BZ #13739]
84068         * manual/Makefile: Remove make dist support, there's no
84069         need for a stand-alone documentation tar ball.
84070         (TEXI2DVI): Define always, it's not in Makeconfig.
84071         (dist): Removed.
84072         (tar-it): Removed.
84073         (edition): Removed.
84074         (glibc-doc-$(edition).tar): Removed
84075         (%.Z): Removed.
84076         (%.gz): Removed.
84077         (%.uu): Removed.
84078         (ETAGS): Remove, it's in Makeconfig.
84079         (move-if-change): Remove, it's in Makeconfig.
84081 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
84083         [BZ #13970]
84084         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
84085         (strtod, strtof, strtold, strtol, strtoul, strtoq)
84086         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
84087         (strtod_l, strtof_l, strtold_l): Remove __wur.
84088         It is not necessarily an error to ignore strtol's return value.
84089         One can reliably look at the stored endptr to decide whether
84090         the number had valid syntax.
84092 2012-04-21  Andreas Jaeger  <aj@suse.de>
84094         [BZ #13739]
84095         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
84097 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
84099         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
84100         * sysdeps/unix/sysv/Versions: Remove file.
84102 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
84104         [BZ #13927]
84105         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84107 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
84109         [BZ #7064]
84110         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
84111         version from __vm86.
84113 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
84115         * sysdeps/unix/common/lxstat.c: Remove file.
84116         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
84118         * sysdeps/unix/sysv/Makefile: Remove file.
84120         * sysdeps/unix/sysv/direct.h: Remove file.
84122         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
84123         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
84124         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
84125         * sysdeps/unix/sysv/bits/signum.h: Likewise.
84126         * sysdeps/unix/sysv/bits/stat.h: Likewise.
84127         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
84128         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
84130         * sysdeps/unix/sysv/setrlimit.c: Remove file.
84132         * sysdeps/unix/xmknod.c: Remove file.
84133         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
84135         * sysdeps/unix/sysv/settimeofday.c: Remove file.
84137         * sysdeps/unix/sysv/i386/time.S: Remove file.
84139         * sysdeps/unix/fxstat.c: Remove file.
84140         * sysdeps/unix/xstat.c: Likewise.
84141         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
84143         * sysdeps/unix/sysv/sigaction.c: Remove file.
84145         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
84146         (sysdep_headers): Remove variable.
84147         [termio.h not in sysdep_headers] (generated): Likewise.
84148         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
84149         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
84150         * sysdeps/unix/sysv/tcdrain.c: Likewise.
84151         * sysdeps/unix/sysv/tcflow.c: Likewise.
84152         * sysdeps/unix/sysv/tcflush.c: Likewise.
84153         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
84154         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
84155         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
84156         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
84157         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
84159         * sysdeps/unix/siglist.c: Remove file.
84161         * sysdeps/unix/getppid.S: Remove file.
84163         * sysdeps/unix/mkdir.c: Remove file.
84164         * sysdeps/unix/rmdir.c: Likewise.
84166 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
84168         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
84169         ERR_MAX value.
84170         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
84171         errlist-compat value.
84173 2012-04-18  David S. Miller  <davem@davemloft.net>
84175         * sysdeps/generic/memcopy.h (reg_char): Delete.
84176         * debug/strcat_chk.c: Use char, not reg_char.
84177         * debug/strcpy_chk.c: Likewise.
84178         * debug/strncat_chk.c: Likewise.
84179         * debug/strncpy_chk.c: Likewise.
84180         * string/memchr.c: Likewise.
84181         * string/memrchr.c: Likewise.
84182         * string/rawmemchr.c: Likewise.
84183         * string/strcat.c: Likewise.
84184         * string/strchr.c: Likewise.
84185         * string/strchrnul.c: Likewise.
84186         * string/strcmp.c: Likewise.
84187         * string/strcpy.c: Likewise.
84188         * string/strncat.c: Likewise.
84189         * string/strncmp.c: Likewise.
84190         * string/strncpy.c: Likewise.
84192 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84194         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
84195         __builtin_memcopy is called when src and dest ranges are known to not
84196         overlap.
84198 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84200         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
84201         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
84202         fwd_align_merge macro call.
84203         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
84204         bwd_align_merge macro call.
84205         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84207 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
84209         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
84210         bwd_align_merge macros.
84211         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
84212         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
84213         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
84215 2012-04-18  David S. Miller  <davem@davemloft.net>
84217         * sysdeps/sparc/sparc64/memcopy.h: Delete.
84219 2012-04-18  Andreas Jaeger  <aj@suse.de>
84221         [BZ #6794]
84222         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
84223         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
84224         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84226         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
84227         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
84228         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84230         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
84231         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
84232         Adjust for changed ldbl-128 files.
84234         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
84235         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
84236         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
84238 2012-04-17  David S. Miller  <davem@davemloft.net>
84240         * sysdeps/sparc/sparc32/memcopy.h: Delete.
84242 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
84244         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
84245         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
84246         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
84247         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
84248         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
84249         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
84251 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
84253         [BZ #6794]
84254         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
84255         * math/libm-test.inc: Add ilogb errno and exception tests.
84256         * math/w_ilogb.c: New file: ilogb wrapper.
84257         * math/w_ilogbf.c: New file: ilogbf wrapper.
84258         * math/w_ilogbl.c: New file: ilogbl wrapper.
84259         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
84260         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
84261         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
84262         exception being thrown with 0.0 as argument.
84263         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
84264         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
84265         exception being thrown with 0.0 as argument.
84266         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
84267         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84268         exception being thrown with 0.0 as argument.
84269         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
84270         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
84271         exception being thrown with 0.0 as argument.
84272         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
84273         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
84274         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
84275         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
84276         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
84277         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
84278         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
84279         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
84280         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
84282 2012-04-17  Petr Baudis  <pasky@ucw.cz>
84284         * include/sys/uio.h: Change __vector to __iovec to avoid clash
84285         with altivec.
84287 2012-04-16  Marek Polacek  <polacek@redhat.com>
84289         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
84291 2012-04-16  Marek Polacek  <polacek@redhat.com>
84293         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
84294         operands of fdivp instruction.
84296 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84298         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
84299         * elf/tst-auditmod3b.c: Likewise.
84300         * elf/tst-auditmod4b.c: Likewise.
84301         * elf/tst-auditmod5b.c: Likewise.
84302         * elf/tst-auditmod6b.c: Likewise.
84303         * elf/tst-auditmod6c.c: Likewise.
84304         * elf/tst-auditmod7b.c: Likewise.
84305         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
84306         * sysdeps/x86_64/preconfigure.in: Likewise.
84307         * sysdeps/x86_64/preconfigure: Regenerated.
84309 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
84311         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
84312         __ILP32__.
84314 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
84316         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84317         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
84319 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
84321         [BZ #13973]
84322         * locale/iso-639.def: Fix gl language name. Spotted by
84323         Yaron Shahrabani.
84325 2012-04-12  Roland McGrath  <roland@hack.frob.com>
84327         [BZ #2074]
84328         * libio/libio.h (__io_write_fn): Update comment.
84330 2012-04-12  Petr Baudis  <pasky@ucw.cz>
84332         [BZ #2074]
84333         * stdio.texi (Hook Functions): The user provided writer function
84334         is not allowed to return -1.
84336 2012-04-11  David S. Miller  <davem@davemloft.net>
84338         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84340 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
84342         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
84343         Add a leading slash to rtkaio.
84345 2012-04-11  Jim Meyering  <meyering@redhat.com>
84347         [BZ #11959]
84348         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
84349         It is not necessarily an error to ignore fwrite's return
84350         value.  One can reliably use ferror to test for errors after
84351         the fact.
84353 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84355         * bits/types.h (__snseconds_t): New type.
84356         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
84358         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
84359         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
84360         (__SNSECONDS_T_TYPE): Likewise.
84361         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
84362         (__SNSECONDS_T_TYPE): Likewise.
84363         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
84364         (__SNSECONDS_T_TYPE): Likewise.
84366 2012-04-10  Andreas Jaeger  <aj@suse.de>
84368         [BZ #2636]
84369         * manual/time.texi (Processor Time): Return type of times is
84370         elapsed real time since an arbitrary point in the past.
84371         (CPU Time): Move CLK_TCK from here...
84372         (Processor Time): ...to here.  Correct description.
84373         * manual/conf.texi (Constants for Sysconf): Correct description of
84374         _SC_CLK_TCK.
84376 2012-04-10  David S. Miller  <davem@davemloft.net>
84378         [BZ #13967]
84379         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
84380         where the is a gap between DT_REL(A) and DT_JMPREL.
84382 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
84384         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
84385         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84386         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84388 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
84390         * elf/dl-support.c (_dl_inhibit_cache): New variable.
84391         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
84392         (dl_main): Handle --inhibit-cache.
84393         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
84394         _dl_inhibit_cache.
84395         * elf/dl-load.c (_dl_map_object): Use it.
84396         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
84398 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84400         [BZ #13872]
84401         * sysdeps/i386/fpu/e_powl.S (p78): New object.
84402         (__ieee754_powl): Saturate large exponents rather than testing for
84403         overflow of y*log2(x).
84404         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
84405         * math/libm-test.inc (pow_test): Do not permit spurious overflow
84406         exceptions.
84408         [BZ #11521]
84409         * math/s_ctan.c: Include <float.h>.
84410         (__ctan): Avoid internal overflow or cancellation in calculating
84411         denominator.
84412         * math/s_ctanf.c: Likewise.
84413         * math/s_ctanl.c: Likewise.
84414         * math/s_ctanh.c: Likewise.
84415         * math/s_ctanhf.c: Likewise.
84416         * math/s_ctanhl.c: Likewise.
84417         * math/libm-test.inc (ctan_test): Add more tests.
84418         (ctanh_test): Likewise.
84419         * sysdeps/i386/fpu/libm-test-ulps: Update.
84420         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84422 2012-04-09  Andreas Jaeger  <aj@suse.de>
84424         [BZ #6894]
84425         * manual/filesys.texi (Directory Entries): Mention that d_namlen
84426         is an optional BSD extension.
84428         [BZ #10254]
84429         * manual/stdio.texi (Opening Streams): Document additional fopen
84430         parameters.
84432 2012-04-09  Roland McGrath  <roland@hack.frob.com>
84434         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
84435         %eax without telling the compiler.
84437 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
84439         [BZ # 13963]
84440         * manual/install.texi: Use sourceware.org.
84442 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
84444         [BZ #13873]
84445         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
84446         (__ieee754_pow): Generate overflow and underflow using huge*huge
84447         and tiny*tiny rather than just returning constant infinity or zero
84448         for large exponents.
84449         * math/libm-test.inc (pow_test): Require overflow exceptions for
84450         applicable cases of large exponents.
84452         [BZ #706]
84453         * sysdeps/i386/fpu/e_pow.S (p10): New object.
84454         (__ieee754_pow): Use iterative multiplication algorithm only for
84455         integer exponents with absolute value below 1024.  Check for odd
84456         integer exponents when using algorithm for real exponents.
84457         * math/libm-test.inc (pow_test): Add more tests.
84458         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
84460 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
84462         [BZ #13705]
84463         * math/libm-test.inc (exp_test): Do not allow overflow exception
84464         on underflow test.
84466 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
84468         [BZ #13705]
84469         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
84470         instead of __kernel_standard_f.
84472 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
84474         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
84475         * sysdeps/x86_64/memset_chk.S: Likewise.
84477 2012-04-08  Andreas Jaeger  <aj@suse.de>
84479         [BZ #10153]
84480         * manual/startup.texi (Environment Access): Describe return value
84481         for putenv and setenv.
84483         [BZ #6895]
84484         * manual/filesys.texi (Directory Entries): Add description for
84485         DT_LNK.
84487         [BZ #6890]
84488         * manual/filesys.texi (Directory Entries): Clarify that it's file
84489         system not operating system in the description of DT_UNKNOWN.
84491         [BZ #6578]
84492         * manual/syslog.texi (closelog): Fix reference, it's openlog.
84494 2012-04-08  Stephen Compall  <s11@member.fsf.org>
84496         [BZ #6649]
84497         * manual/llio.texi (Opening and Closing Files): Add cross
84498         reference to explain mode argument.
84500 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
84502         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
84503         * sysdeps/x86_64/memset_chk.S: Likewise.
84505 2012-04-07  David S. Miller  <davem@davemloft.net>
84507         * elf/elf.h (R_SPARC_WDISP10): Define.
84508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
84509         R_SPARC_SIZE32.
84510         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
84511         R_SPARC_SIZE64 and R_SPARC_H34.
84513 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
84515         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
84516         conditions and remove no longer applicable assertion.
84518 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84520         * bits/byteswap.h: Include <features.h>.
84521         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
84522         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
84524 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
84526         * bits/byteswap.h (__bswap_16): Removed.
84527         Include <bits/byteswap-16.h> to get __bswap_16.
84528         * sysdeps/i386/bits/byteswap.h: Likewise.
84529         * sysdeps/s390/bits/byteswap.h: Likewise.
84530         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84531         * bits/byteswap-16.h: New file.
84532         * sysdeps/i386/bits/byteswap-16.h: Likewise.
84533         * sysdeps/s390/bits/byteswap-16.h: Likewise.
84534         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
84535         * string/Makefile (headers): Add bits/byteswap-16.h.
84537 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
84539         [BZ #13895]
84540         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
84541         extra indirection.
84542         * nss/Makefile (tests-static, tests): Add tst-nss-static.
84543         * nss/tst-nss-static.c: New.
84545 2012-04-06  Robert Millan  <rmh@gnu.org>
84547         [BZ #6486]
84548         * manual/llio.texi (File Position Primitive): lseek
84549         refers to WHENCE when it really means OFFSET.
84551 2012-04-06  Andreas Jaeger  <aj@suse.de>
84553         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
84554         strncmp declarations.
84556         * abilist/libc.abilist: Add __poll and __ppoll.
84558 2012-04-05  David S. Miller  <davem@davemloft.net>
84560         * scripts/check-local-headers.sh: Accept a host triplet in the
84561         path matched by the exclude regexp.
84563         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
84564         definition.
84565         * sysdeps/powerpc/powerpc32/dl-machine.h
84566         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
84567         * sysdeps/s390/s390-32/dl-machine.h
84568         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84569         * sysdeps/sparc/sparc32/dl-machine.h
84570         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84571         * sysdeps/sparc/sparc64/dl-machine.h
84572         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
84574         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
84575         lazy binding.
84576         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
84577         undefined symbol errors.
84579         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
84580         DT_NEEDED entries.
84582 2012-04-05  Michael Matz  <matz@suse.de>
84584         [BZ #13592]
84585         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
84587 2012-04-05  Andreas Jaeger  <aj@suse.de>
84589         [BZ #13908]
84590         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
84591         comment.
84593 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84595         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
84596         which ROUND is no valid rounding mode.
84598 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84600         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
84601         read again.
84602         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
84604 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84606         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
84607         an exception using FPU order intentionally.
84609 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
84611         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
84612         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
84613         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
84614         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
84616 2012-04-05  Simon Josefsson  <simon@josefsson.org>
84618         [BZ #12340]
84619         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
84620         EINVAL when BUFLEN is too smal.
84622 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
84624         [BZ #13553]
84625         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
84626         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
84628 2012-04-03  Andreas Jaeger  <aj@suse.de>
84630         [BZ #13938]
84631         * manual/setjmp.texi (System V contexts): Fix sentence.
84633         [BZ #13926]
84634         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
84635         New macro for this case.
84636         [!__GNUC__] (__bswap_64): New inline function for this case.
84637         * sysdeps/x86_64/bits/byteswap.h: Likewise.
84638         * bits/byteswap.h: Likewise.
84639         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
84640         ull, guard with __GLIBC_HAVE_LONG_LONG.
84642         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
84643         __GLIBC_HAVE_LONG_LONG.
84645         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
84646         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
84648 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
84650         [BZ #13691]
84651         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
84652         inptr and inend, rather than using last_ch.
84654 2012-04-02  David S. Miller  <davem@davemloft.net>
84656         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
84657         * stdio-common/printf-parse.h (read_int): Change return type to
84658         'int', return -1 on INT_MAX overflow.
84659         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
84660         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
84661         overflows INT_MAX.  Check for overflow of in-format-string precision
84662         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
84663         SIZE_MAX not INT_MAX for integer overflow test.
84664         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
84665         skip the construct in the format string but do not record anything.
84666         * stdio-common/bug22.c: Adjust to test both width/prevision
84667         INT_MAX overflow as well as total length INT_MAX overflow.  Check
84668         explicitly for proper errno values.
84670 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
84672         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
84673         CHAR_MAX.
84674         * string/test-strcmp.c [! WIDE]: Likewise.
84675         * time/tst-mktime2.c: Likewise for INT_MAX.
84676         * string/test-string.h: #include <sys/param.h> for MIN.
84678         * csu/init-first.c (__libc_init_first): Call __ctype_init.
84679         * sysdeps/i386/init-first.c (init): Likewise.
84680         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
84681         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
84682         * sysdeps/sh/init-first.c (init): Likewise.
84684 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
84686         * po/ru.po: Update from translation team.
84687         * po/vi.po: Likewise.
84689 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
84691         * resolv/nss_dns/dns-host.c: Merge copyright years.
84693 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
84695         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
84696         Optimize memcpy with prefetch if
84697         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
84698         src, dst pointers have unequal 16 byte alignments.
84700 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
84702         [BZ #13928]
84703         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
84704         from a CNAME entry and return the minimum ttl for the query.
84705         (gaih_getanswer_slice): Likewise.
84707 2012-03-30  Jeff Law  <law@redhat.com>
84709         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
84710         due to long keys.
84711         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
84712         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
84714         * resolv/nss_dns/dns-host.c: Update copyright year.
84716 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
84718         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
84719         requests to save a system call.  Fix check that all bytes are sent.
84721         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
84722         comments for sendmmsg.
84724 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
84726         [BZ #13691]
84727         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
84728         with only 1 character between 0x0041 and 0x01b0.
84729         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
84730         * wcsmbs/tst-mbsnrtowcs.c: New file.
84732 2012-03-29  David S. Miller  <davem@davemloft.net>
84734         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
84735         small copies by hand.
84737 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
84739         [BZ #13761]
84740         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
84741         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
84742         group memberships.
84744 2012-03-28  David S. Miller  <davem@davemloft.net>
84746         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
84747         that branches into memcpy.
84748         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
84749         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
84750         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
84751         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
84752         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
84753         bits.
84754         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
84755         implementation too.
84756         * sysdeps/sparc/mempcpy.S: New file.
84758         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
84759         the IFUNC routine in the libc case.
84760         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
84762         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
84763         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
84764         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
84765         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
84766         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
84767         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
84768         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
84769         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
84771         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
84772         loop to 256 bytes instead of 64 bytes and fix test signedness.
84774         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
84775         * sysdeps/sparc/sparc32/Makefile: rather than here...
84776         * sysdeps/sparc/sparc64/Makefile: and here.
84778 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
84780         * malloc/mallocbug.c: Avoid warnings about unused variables.
84782 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
84784         [BZ #13760]
84785         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
84786         in the right place. Discard and retry query if response is
84787         larger than input buffer size.
84789 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
84791         [BZ #369]
84792         [BZ #2678]
84793         [BZ #3866]
84794         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
84795         x for large integer exponent.
84796         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
84797         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
84798         sign of result as needed afterwards.
84799         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
84800         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
84801         result for underflowing pow the same as for overflow.
84802         (__kernel_standard_l): Handle powl overflow and underflow here
84803         rather than calling __kernel_standard.
84804         * math/libm-test.inc (pow_test): Add more tests.
84806         [BZ #3868]
84807         [BZ #13879]
84808         [BZ #13910]
84809         [BZ #13911]
84810         [BZ #13912]
84811         [BZ #13913]
84812         [BZ #13915]
84813         [BZ #13916]
84814         [BZ #13917]
84815         [BZ #13918]
84816         [BZ #13919]
84817         [BZ #13920]
84818         [BZ #13921]
84819         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
84820         * sysdeps/ieee754/k_standard.c: Include <float.h>.
84821         (__kernel_standard_l): New function.
84822         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
84823         __kernel_standard.
84824         * math/w_acosl.c (__acosl): Likewise.
84825         * math/w_asinl.c (__asinl): Likewise.
84826         * math/w_atan2l.c (__atan2l): Likewise.
84827         * math/w_atanhl.c (__atanhl): Likewise.
84828         * math/w_coshl.c (__coshl): Likewise.
84829         * math/w_exp10l.c (__exp10l): Likewise.
84830         * math/w_exp2l.c (__exp2l): Likewise.
84831         * math/w_fmodl.c (__fmodl): Likewise.
84832         * math/w_hypotl.c (__hypotl): Likewise.
84833         * math/w_j0l.c (__j0l, __y0l): Likewise.
84834         * math/w_j1l.c (__j1l, __y1l): Likewise.
84835         * math/w_jnl.c (__jnl, __ynl): Likewise.
84836         * math/w_lgammal.c (__lgammal): Likewise.
84837         * math/w_log10l.c (__log10l): Likewise.
84838         * math/w_log2l.c (__log2l): Likewise.
84839         * math/w_logl.c (__logl): Likewise.
84840         * math/w_powl.c (__powl): Likewise.
84841         * math/w_remainderl.c (__remainderl): Likewise.
84842         * math/w_scalbl.c (sysv_scalbl): Likewise.
84843         * math/w_sinhl.c (__sinhl): Likewise.
84844         * math/w_sqrtl.c (__sqrtl): Likewise.
84845         * math/w_tgammal.c (__tgammal): Likewise.
84846         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
84847         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
84848         * math/libm-test.inc (acos_test): Add more tests.
84849         (acosh_test): Likewise.
84850         (asin_test): Likewise.
84851         (atanh_test): Likewise.
84852         (exp_test): Likewise.
84853         (exp10_test): Likewise.
84854         (exp2_test): Likewise.
84855         (expm1_test): Likewise.
84856         (lgamma_test): Likewise.
84857         (log_test): Likewise.
84858         (log10_test): Likewise.
84859         (log1p_test): Likewise.
84860         (log2_test): Likewise.
84861         (pow_test): Do not allow some spurious overflow exceptions.
84862         (sqrt_test): Add more tests.
84863         (tgamma_test): Likewise.
84864         (y0_test): Likewise.
84865         (y1_test): Likewise.
84866         (yn_test): Likewise.
84868 2012-03-27  Anton Blanchard  <anton@samba.org>
84870         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
84871         MAP_HUGETLB.
84872         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84873         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84874         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84876 2012-03-27  David S. Miller  <davem@davemloft.net>
84878         * conform/Makefile: Run run-conformtest.sh using $(BASH).
84880         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
84881         have-as-vis3 check.
84883 2012-03-27  Andreas Jaeger  <aj@suse.de>
84885         * sysdeps/x86_64/elf/configure.in: Moved to ...
84886         * sysdeps/x86_64/configure.in: ... here.
84887         * sysdeps/x86_64/elf/start.S: Moved to ...
84888         * sysdeps/x86_64/start.S: ... here.
84889         * sysdeps/x86_64/elf/configure: Delete.
84891         * sysdeps/x86_64/configure.in: Merge contents from
84892         sysdeps/i386/configure.in (without i686 check).
84894         * sysdeps/i386/elf/Versions: Merge into ...
84895         * sysdeps/i386/Versions: ... this.
84896         * sysdeps/i386/elf/Versions: Delete file.
84897         * sysdeps/i386/elf/start.S: Moved to ...
84898         * sysdeps/i386/start.S: ...here.
84899         * sysdeps/i386/elf/configure.in: Merge into...
84900         * sysdeps/i386/configure.in: ...here.
84901         * sysdeps/i386/elf/configure.in: Delete file.
84902         * sysdeps/i386/elf/configure: Delete file.
84904         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
84905         * debug/backtracesyms.c: ... here.
84906         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
84907         * debug/backtracesymsfd.c: ... here.
84908         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
84909         * sysdeps/generic/ifunc-sel.h: ... here.
84911         * sysdeps/unix/i386/start.c: Delete file.
84912         * sysdeps/unix/sparc/start.c: Delete file.
84913         * sysdeps/unix/start.c: Delete file.
84915         * sysdeps/sh/elf/configure.in: Moved to ...
84916         * sysdeps/sh/configure.in: ... here.
84917         * sysdeps/sh/elf/start.S: Moved to ...
84918         * sysdeps/sh/start.S: ... here.
84919         * sysdeps/sh/elf/configure: Delete file.
84921         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
84922         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
84923         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
84924         * sysdeps/powerpc/powerpc64/entry.h: ... here.
84925         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
84926         * sysdeps/powerpc/powerpc64/start.S: here.
84927         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
84928         * sysdeps/powerpc/powerpc64/Makefile: ... this.
84929         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
84930         * sysdeps/powerpc/powerpc64/configure.in: ... this.
84931         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
84933         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
84934         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
84935         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
84936         * sysdeps/powerpc/powerpc32/start.S: ... here.
84937         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
84938         * sysdeps/powerpc/powerpc32/configure.in: ... this.
84939         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
84941         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
84942         * sysdeps/powerpc/ifunc-sel.h: ... here.
84943         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
84944         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
84946         * sysdeps/sparc/elf/configure.in: Moved to ...
84947         * sysdeps/sparc/configure.in: ... here.
84948         * sysdeps/sparc/elf/configure: Delete file.
84949         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
84950         * sysdeps/sparc/sparc32/start.S: ... here.
84951         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
84952         * sysdeps/sparc/sparc64/start.S: ... here.
84953         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
84954         * sysdeps/sparc/sparc32/Makefile: ... this.
84955         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
84956         * sysdeps/sparc/sparc64/Makefile: ... this.
84958         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
84959         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
84960         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
84961         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
84962         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
84963         * sysdeps/s390/s390-32/setjmp.S: ... here.
84964         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
84965         * sysdeps/s390/s390-32/configure.in: ... here.
84966         * sysdeps/s390/s390-32/elf/configure: Delete file.
84967         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
84968         * sysdeps/s390/s390-32/start.S: ... here.
84970         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
84971         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
84972         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
84973         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
84974         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
84975         * sysdeps/s390/s390-64/setjmp.S: ... here.
84976         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
84977         * sysdeps/s390/s390-64/configure.in: ... here
84978         * sysdeps/s390/s390-64/elf/configure: Delete file.
84979         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
84980         * sysdeps/s390/s390-64/start.S: ... here.
84981         * sysdeps/s390/s390-64/elf/configure: Delete.
84983         * configure.in: Remove support for elf directories in sysdeps.
84985         * configure: Regenerated.
84986         * sysdeps/i386/configure: Regenerated.
84987         * sysdeps/powerpc/powerpc32/configure: Regenerated.
84988         * sysdeps/powerpc/powerpc64/configure: Regenerated.
84989         * sysdeps/s390/s390-32/configure: Regenerated.
84990         * sysdeps/s390/s390-64/configure: Regenerated.
84991         * sysdeps/sh/configure: Regenerated.
84992         * sysdeps/sparc/configure: Regenerated.
84993         * sysdeps/x86_64/configure: Regenerated.
84995 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
84997         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84999         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
85000         denormal result into account.
85002 2012-03-25  Roland McGrath  <roland@hack.frob.com>
85004         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
85005         Reported by Allan McRae <allan@archlinux.org>.
85007 2012-03-23  Jeff Law  <law@redhat.com>
85009         * nss/getnssent.c (__nss_getent): Fix typo.
85011 2012-03-23  David S. Miller  <davem@davemloft.net>
85013         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85015 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
85017         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
85018         to pad to uint64_t for each field.
85019         (dl_tls_index): Replace unsigned long with uint64_t.
85021 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
85022         Paul Pluzhnikov  <ppluzhnikov@google.com>
85024         [BZ #6528]
85025         * grp/Makefile (otherlibs): Don't set it.
85026         * inet/Makefile (otherlibs): Likewise.
85027         * login/Makefile (otherlibs): Likewise.
85028         * nscd/Makefile (otherlibs): Likewise.
85029         * posix/Makefile (otherlibs): Likewise.
85030         * pwd/Makefile (otherlibs): Likewise.
85031         * rt/Makefile (otherlibs): Likewise.
85032         * sunrpc/Makefile (otherlibs): Likewise.
85033         * nss/Makefile (otherlibs): Likewise.
85034         Add libnss_files to routines and static-only-routines.
85035         ($(objpfx)getent): Remove rule.
85036         * resolv/Makefile: Add libnss_dns and libresolv to routines and
85037         static-only-routines.
85039 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85041         [BZ #13892]
85042         * math/s_cexp.c: Include <float.h>.
85043         (__cexp): Handle exp result overflowing not necessarily
85044         overflowing both real and imaginary parts of result.
85045         * math/s_cexpf.c: Likewise.
85046         * math/s_cexpl.c: Likewise.
85047         * math/libm-test.inc (cexp_test): Add more tests.
85048         * sysdeps/i386/fpu/libm-test-ulps: Update.
85049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85051 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85053         * include/link.h (ELFW): New macro.
85054         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
85055         Replace ELF64_R_TYPE with ELFW(R_TYPE).
85057 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85059         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
85060         with uint64_t.
85062 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85064         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
85065         declaration.
85066         (struct La_x32_retval): Likewise.
85068 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
85070         * sysdeps/x86_64/preconfigure.in: New file.
85071         * sysdeps/x86_64/preconfigure: New generated file.
85073 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
85075         [BZ #13824]
85076         * math/e_exp2l.c: Include <float.h>.
85077         (__ieee754_exp2l): Handle overflow and underflow cases
85078         separately.  Only pass fractional part of argument to
85079         __ieee754_expl.
85080         * math/libm-test.inc (exp2_test): Add more tests.
85082         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
85083         negating x to take absolute value.
85084         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
85085         Likewise.
85086         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
85087         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
85088         Likewise.
85089         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
85090         computing low part if x was negated.
85091         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
85093 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85095         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
85096         la_x32_gnu_pltexit.
85097         (pltexit): Cast int_retval to ptrdiff_t.
85098         * elf/tst-auditmod3b.c: Likewise.
85099         * elf/tst-auditmod4b.c: Likewise.
85100         * elf/tst-auditmod5b.c: Likewise.
85101         * elf/tst-auditmod6b.c: Likewise.
85102         * elf/tst-auditmod6c.c: Likewise.
85103         * elf/tst-auditmod7b.c: Likewise.
85105         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
85106         and x32_gnu_pltexit.
85108         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
85109         __ELF_NATIVE_CLASS.
85110         (La_x32_regs): New macro.
85111         (La_x32_retval): Likewise.
85112         (la_x32_gnu_pltenter): New function prototype.
85113         (la_x32_gnu_pltexit): Likewise.
85115 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
85117         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
85118         exponent.
85120         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85122         * configure.in (libc_cv_cc_nofma): Check for option to disable
85123         generation of FMA instructions.
85124         * configure: Regenerate.
85125         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
85126         * sysdeps/ieee754/dbl-64/Makefile: New file.
85127         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
85128         Remove brandred-fma4.
85129         (CFLAGS-brandred-fma4.c): Remove.
85130         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
85131         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
85132         define.
85133         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
85134         define.
85136 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85138         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
85139         LLONG_MAX != LONG_MAX.
85140         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85141         (_fitoa_word): Likewise.
85142         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
85143         LLONG_MAX != LONG_MAX.
85144         * stdio-common/_itowa.h: Include <_itoa.h>.
85145         (_itowa_word): Use _ITOA_WORD_TYPE on value.
85146         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
85147         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
85148         only if not defined.
85149         (_ITOA_WORD_TYPE): Likewise.
85150         (_itoa_word): Use _ITOA_WORD_TYPE on value.
85151         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
85153 2012-03-21  David S. Miller  <davem@davemloft.net>
85155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85157 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
85159         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
85160         of x86_64 when setting libc_cv_slibdir, libdir and
85161         libc_cv_localedir.
85162         * sysdeps/unix/sysv/linux/configure: Regenerated.
85164 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85166         * manual/lang.texi (Old Varargs): Remove section.
85167         (How Variadic): Update menu.
85168         (va_start): Do not mention varargs.h.
85170 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85171             Joseph Myers  <joseph@codesourcery.com>
85173         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
85174         link test.
85175         * configure: Regenerated.
85177 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
85179         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
85180         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
85181         conformtest.pl
85183 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85185         * NOTES: Remove.
85186         * Makefile (files-for-dist): Remove NOTES.
85187         (NOTES): Remove rule.
85188         * README: Don't refer to NOTES.
85189         * manual/creature.texi: Don't include macros.texi.
85190         * manual/intro.texi (creature.texi): Remove comment referring to
85191         NOTES.
85193         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
85194         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
85195         * configure: Regenerated.
85196         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
85197         LIBC_TRY_CC_OPTION.
85198         (libc_cv_as_i686): Likewise.
85199         (libc_cv_cc_avx): Likewise.
85200         (libc_cv_cc_sse2avx): Likewise.
85201         (libc_cv_cc_fma4): Likewise.
85202         (libc_cv_cc_novzeroupper): Likewise.
85203         * sysdeps/i386/configure: Regenerated.
85205         [BZ #13883]
85206         * sysdeps/i386/fpu/s_cexp.S: Remove.
85207         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85208         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85209         * math/libm-test.inc (cexp_test): Add more tests.
85210         * sysdeps/i386/fpu/libm-test-ulps: Update.
85211         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85213 2012-03-21  Allan McRae  <allan@archlinux.org>
85215         * timezone/Makefile: Do not install iso3166.tab and zone.tab
85217 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
85219         [BZ #13871]
85220         * math/w_exp2.c: Do not include <float.h>.
85221         (o_threshold, u_threshold): Remove.
85222         (__exp2): Calculate result before checking finiteness and calling
85223         __kernel_standard.
85224         * math/w_exp2f.c: Likewise.
85225         * math/w_exp2l.c: Likewise.
85226         * math/libm-test.inc (exp2_test): Require overflow exception for
85227         1e6 input.
85229         [BZ #3866]
85230         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
85231         range of signed 64-bit integers before using fistpll.  Remove
85232         checks for whether integers fit in mantissa bits.
85233         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
85234         the range of signed 32-bit integers before using fistpl.  Remove
85235         checks for whether integers fit in mantissa bits.
85236         * sysdeps/i386/fpu/e_powl.S (p64): New object.
85237         (__ieee754_powl): Test for y outside the range of signed 64-bit
85238         integers before using fistpll.  Reduce 64-bit values to 63-bit
85239         ones as needed.
85240         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
85241         divide-by-zero is raised for zero to large negative powers.
85242         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
85243         (__ieee754_powl): Test for y outside the range of signed 64-bit
85244         integers before using fistpll.  Reduce 64-bit values to 63-bit
85245         ones as needed.
85246         * math/libm-test.inc (pow_test): Add more tests.
85248 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85250         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
85251         <stdio-common/_itoa.h>.
85252         * debug/segfault.c: Likewise.
85253         * elf/dl-cache.c: Likewise.
85254         * elf/dl-minimal.c: Likewise.
85255         * elf/dl-misc.c: Likewise.
85256         * elf/dl-sysdep.c: Likewise.
85257         * elf/dl-version.c: Likewise.
85258         * elf/rtld.c: Likewise.
85259         * hurd/hurdsock.c: Likewise.
85260         * hurd/lookup-retry.c: Likewise.
85261         * malloc/malloc.c: Likewise.
85262         * malloc/mtrace.c: Likewise.
85263         * nscd/nscd_getgr_r.c: Likewise.
85264         * nscd/nscd_getpw_r.c: Likewise.
85265         * nscd/nscd_getserv_r.c: Likewise.
85266         * posix/getopt_init.c: Likewise.
85267         * posix/wordexp.c: Likewise.
85268         * stdio-common/_itoa.c: Likewise.
85269         * stdio-common/printf_fphex.c: Likewise.
85270         * stdio-common/vfprintf.c: Likewise.
85271         * string/_strerror.c: Likewise.
85272         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
85273         * sysdeps/i386/i686/hp-timing.h: Likewise.
85274         * sysdeps/mach/_strerror.c: Likewise.
85275         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
85276         * sysdeps/mach/hurd/sethostid.c: Likewise.
85277         * sysdeps/mach/hurd/xmknodat.c: Likewise.
85278         * sysdeps/mach/xpg-strerror.c: Likewise.
85279         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
85280         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
85281         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
85282         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
85283         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
85284         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
85285         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
85286         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
85287         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
85288         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
85289         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
85290         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
85291         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
85292         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
85293         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
85294         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
85295         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
85296         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
85297         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
85298         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
85299         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
85301         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
85303         * stdio-common/_itoa.h: Moved to ...
85304         * sysdeps/generic/_itoa.h: Here.
85306         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
85308         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
85309         instead of "_itoa.h" and "_itowa.h".
85310         * stdio-common/vfprintf.: Likewise.
85312 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85314         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
85315         <bits/wordsize.h>.
85316         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
85317         (__signbit): Likewise.
85318         (llrintf): Likewise.
85319         (llrint): Likewise.
85321 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
85323         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
85324         __WORDSIZE != 64.
85326 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
85328         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
85329         OVERFLOW_EXCEPTION_OK.
85330         * math/libm-test.inc ("Philosophy"): Update comment about
85331         exception testing.
85332         (OVERFLOW_EXCEPTION): Define.
85333         (OVERFLOW_EXCEPTION_OK): Likewise.
85334         (INVALID_EXCEPTION_OK): Renumber.
85335         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
85336         (IGNORE_ZERO_INF_SIGN): Likewise.
85337         (test_exceptions): Handle FE_OVERFLOW.
85338         (exp10_test): Expect overflow exceptions.
85339         (exp2_test): Likewise.
85340         (expm1_test): Likewise.
85341         (nextafter_test): Likewise.
85342         (pow_test): Likewise.
85343         (scalbn_test): Likewise.
85344         (scalbln_test): Likewise.
85346 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85348         * sysdeps/x86_64/bits/atomic.h
85349         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
85350         64bit integer.
85351         (atomic_exchange_acq): Likewise.
85352         (__arch_exchange_and_add_body): Likewise.
85353         (__arch_add_body): Likewise.
85354         (atomic_add_negative): Likewise.
85355         (atomic_add_zero): Likewise.
85357 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85359         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
85360         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
85362 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85364         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
85365         Check __x86_64__ instead of __WORDSIZE.
85367 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85369         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
85371 2012-03-19  David S. Miller  <davem@davemloft.net>
85373         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85375         * sysdeps/sparc/fpu/fenv_private.h: New file.
85376         * sysdeps/sparc/fpu/math_private.h: Use it.
85377         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
85378         Remove.
85379         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
85380         (libc_feholdexcept_setroundl): Remove.
85381         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
85382         Remove.
85383         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
85384         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
85386 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85388         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
85389         int64_t instead of long int.
85390         (INSERT_WORDS64): Likewise.
85392 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
85394         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
85395         _Unwind_GetCFA return to _Unwind_Ptr first.
85397 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
85399         [BZ #13629]
85400         * math/s_clog.c: Include <float.h>.
85401         (__clog): Scale large or subnormal inputs.
85402         * math/s_clogf.c: Likewise.
85403         * math/s_clogl.c: Likewise.
85404         * math/s_clog10.c: Include <float.h>.
85405         (M_LOG10_2): Define.
85406         (__clog10): Scale large or subnormal inputs.
85407         * math/s_clog10f.c: Likewise.
85408         * math/s_clog10l.c: Likewise.
85409         * math/libm-test.inc (clog_test): Add more tests.
85410         (clog10_test): Likewise.
85411         * sysdeps/i386/fpu/libm-test-ulps: Update.
85412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85414         [BZ #11451]
85415         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
85416         x and y.
85417         * math/libm-test.inc (atan2_test): Add another test.
85419         * Makerules (common-objdir-compile): Remove.
85420         * sysdeps/unix/Makefile (config-generated): Do not add
85421         $(unix-generated) to variable.
85422         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
85423         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
85424         Remove rule.
85425         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
85426         Likewise.
85427         [generic bits/local_lim.h] (before-compile): Do not append to
85428         variable.
85429         [generic bits/local_lim.h] (common-generated): Likewise.
85430         [generic sys/param.h] (before-compile): Do not append to variable.
85431         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
85432         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
85433         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
85434         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
85435         include.
85436         [generic sys/param.h] (sys/param.h-includes): Remove variable.
85437         [generic sys/param.h] (sys/param.h-includes): Remove rule.
85438         [generic sys/param.h] ($(addprefix
85439         $(common-objpfx),$(sys/param.h-includes))): Likewise.
85440         [generic sys/param.h] (common-generated): Do not append to
85441         variable.
85442         [generic sys/param.h] (sysdep_headers): Likewise.
85443         [generic bits/errno.h] (before-compile): Do not append to
85444         variable.
85445         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
85446         rule.
85447         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
85448         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
85449         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
85450         [generic bits/errno.h] (common-generated): Do not append to
85451         variable.
85452         [generic bits/ioctls.h] (before-compile): Do not append to
85453         variable.
85454         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
85455         rule.
85456         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
85457         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
85458         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
85459         rule.
85460         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
85461         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
85462         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
85463         [generic bits/ioctls.h] (common-generated): Do not append to
85464         variable.
85465         [generic sys/syscall.h] (syscall.h): Remove variable.
85466         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
85467         rule.
85468         [generic sys/syscall.h] (before-compile): Do not append to
85469         variable.
85470         [generic sys/syscall.h] (common-generated): Likewise.
85471         * sysdeps/unix/errnos-tmpl.c: Remove file.
85472         * sysdeps/unix/errnos.awk: Likewise.
85473         * sysdeps/unix/ioctls-tmpl.c: Likewise.
85474         * sysdeps/unix/ioctls.awk: Likewise.
85475         * sysdeps/unix/mk-local_lim.c: Likewise.
85476         * sysdeps/unix/snarf-ioctls: Likewise.
85478 2012-03-19  Richard Henderson  <rth@twiddle.net>
85480         * sysdeps/i386/fpu/fenv_private.h: New file.
85481         * sysdeps/i386/fpu/math_private.h: Use it.
85482         (math_opt_barrier, math_force_eval): Remove.
85483         (libc_feholdexcept_setround_53bit): Remove.
85484         (libc_feupdateenv_53bit): Remove.
85485         * sysdeps/x86_64/fpu/math_private.h: Likewise.
85486         (math_opt_barrier, math_force_eval): Remove.
85487         (libc_feholdexcept): Remove.
85488         (libc_feholdexcept_setround): Remove.
85489         (libc_fetestexcept, libc_fesetenv): Remove.
85490         (libc_feupdateenv_test): Remove.
85491         (libc_feupdateenv, libc_feholdsetround): Remove.
85492         (libc_feresetround): Remove.
85494         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
85495         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
85497         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
85498         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
85499         (libc_feupdateenv_testl): New.
85500         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
85501         (libc_feupdateenv_testf): New.
85502         (libc_feupdateenv): Use libc_feupdateenv_test.
85503         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
85504         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
85506         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
85507         (libc_feholdsetroundf, libc_feholdsetroundl): New.
85508         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
85509         (libc_feresetround_noex): New.
85510         (libc_feresetround_noexf): New.
85511         (libc_feresetround_noexl): New.
85512         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
85513         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
85514         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
85515         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
85516         SET_RESTORE_ROUND.
85517         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
85518         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
85519         (__cos): Likewise.
85520         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
85521         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
85522         SET_RESTORE_ROUND_NOEX.
85523         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
85524         SET_RESTORE_ROUND_NOEXF.
85525         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
85526         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
85527         (libc_feholdsetroundf): New.
85528         (libc_feresetround, libc_feresetroundf): New.
85530         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
85531         (libc_feholdexcept_setround_53bit): Convert from macro to function.
85532         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
85534         * sysdeps/generic/math_private.h: Include <fenv.h>.
85535         (default_libc_feholdexcept): New.
85536         (default_libc_feholdexcept_setround): New.
85537         (default_libc_fesetenv, default_libc_feupdateenv): New.
85538         (libc_feholdexcept): Only define if undefined.
85539         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
85540         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
85541         (libc_feholdexcept_setroundl): Likewise.
85542         (libc_feholdexcept_setround_53bit): Likewise.
85543         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
85544         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
85545         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
85546         (libc_feupdateenv_53bit): Likewise.
85547         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
85548         (libc_feholdexcept): Convert from macro to inline function.
85549         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
85550         (libc_fesetenv, libc_feupdateenv): Likewise.
85552         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
85553         not previously defined.
85554         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
85555         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
85556         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
85557         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
85558         * sysdeps/ieee754/flt-32/math_private.h: New file.
85559         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
85560         math_private.h below SET_FLOAT_WORD.
85561         (__isnan, __isinf_ns, __finite): Remove.
85562         (__isnanf, __isinf_nsf, __finitef): Remove.
85564 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
85566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85568 2012-03-17  David S. Miller  <davem@davemloft.net>
85570         [BZ #6471]
85571         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
85572         for 2.16.
85574 2012-03-16  David S. Miller  <davem@davemloft.net>
85576         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
85577         warnings.
85579         [BZ #6471]
85580         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
85581         properly.
85582         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
85583         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
85584         sysdep_routines when subdir is sysvipc.
85585         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
85586         __getshmlba helper.
85588         * sysdeps/sparc/fpu/libm-test/ulps: Update.
85590 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85592         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
85593         [__LP64__].
85595 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85597         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
85598         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
85599         (__lround): Renamed to ...
85600         (__llround): This.  Replace long int with long long int.
85601         Define lround functions as aliases of llround functions.
85602         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
85604 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85606         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
85607         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
85608         adresses to uintptr_t.  Replace "long int" and "unsigned long
85609         int" with "greg_t" on va_arg.
85611 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85613         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
85614         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
85616         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
85617         Move e_machine check before EI_CLASS check.  Handle x32
85618         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
85619         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
85620         SKIP_EM_IA_64 and include
85621         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
85623         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
85624         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
85625         (add_system_dir): New macro.
85627         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
85628         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
85630 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
85632         [BZ #2551]
85633         [BZ #2552]
85634         [BZ #2553]
85635         [BZ #2554]
85636         [BZ #2562]
85637         [BZ #2563]
85638         [BZ #2565]
85639         [BZ #2566]
85640         [BZ #2576]
85641         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
85642         (y0): Likewise.
85643         * math/w_j0f.c (j0f): Likewise.
85644         (y0f): Likewise.
85645         * math/w_j0l.c (__j0l): Likewise.
85646         (__y0l): Likewise.
85647         * math/w_j1.c (j1): Likewise.
85648         (y1): Likewise.
85649         * math/w_j1f.c (j1f): Likewise.
85650         (y1f): Likewise.
85651         * math/w_j1l.c (__j1l): Likewise.
85652         (__y1l): Likewise.
85653         * math/w_jn.c (jn): Likewise.
85654         (yn): Likewise.
85655         * math/w_jnf.c (jnf): Likewise.
85656         (ynf): Likewise.
85657         * math/w_jnl.c (__jnl): Likewise.
85658         (__ynl): Likewise.
85659         * math/libm-test.inc (j0_test): Add more tests.
85660         (j1_test): Likewise.
85661         (jn_test): Likewise.  Add trailing semicolon to existing test.
85662         (y0_test): Likewise.
85663         (y1_test): Likewise.
85664         * sysdeps/i386/fpu/libm-test-ulps: Update.
85665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85667         [BZ #13851]
85668         [BZ #13854]
85669         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
85670         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
85671         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
85672         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
85673         (__tanl): Set errno for infinite argument.
85674         * sysdeps/i386/fpu/mptan.c: Remove.
85675         * sysdeps/i386/fpu/s_tan.S: Likewise.
85676         * sysdeps/i386/fpu/s_tanl.S: Likewise.
85677         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
85678         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
85679         * math/libm-test.inc (tan_test): Add more tests and enable more
85680         tests for double and long double.
85681         * sysdeps/i386/fpu/libm-test-ulps: Update.
85682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85684 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
85686         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
85687         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
85689 2012-03-16  Roland McGrath  <roland@hack.frob.com>
85691         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
85692         * configure.in: Use it for both main tree and add-ons.
85693         * configure: Regenerated.
85695 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
85697         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
85699 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
85701         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
85702         in comment.
85704         [BZ #13851]
85705         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
85706         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
85707         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
85708         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
85709         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
85710         infinite argument.
85711         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
85712         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
85713         != 0 for prec == 2.
85714         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
85715         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
85716         * sysdeps/i386/fpu/s_cosl.S: Likewise.
85717         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
85718         * sysdeps/i386/fpu/s_sinl.S: Likewise.
85719         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
85720         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
85721         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
85722         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
85723         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
85724         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
85725         * math/libm-test.inc (cos_test): Add more tests and enable more
85726         tests for long double.
85727         (sin_test): Likewise.
85728         (sincos_test): Likewise.
85729         * sysdeps/i386/fpu/libm-test-ulps: Update.
85730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85732 2012-03-16  David S. Miller  <davem@davemloft.net>
85734         * sysdeps/sparc/fpu/math_private.h: New file.
85736 2012-03-15  David S. Miller  <davem@davemloft.net>
85738         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
85739         file.
85740         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
85741         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
85742         file.
85743         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
85744         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
85745         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
85746         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
85747         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
85748         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
85749         sysdep routines.
85750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85752         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
85753         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
85755         * sysdeps/sparc/sparc-ifunc.h: New file.
85756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
85757         sparc-ifunc.h
85758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
85759         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
85760         Likewise.
85761         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
85762         Likewise.
85763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
85764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
85765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
85766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
85767         Likewise.
85768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
85769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
85770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
85771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
85772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
85773         Likewise.
85774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
85775         Likewise.
85776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
85777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
85778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
85779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
85780         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
85781         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
85782         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
85783         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
85784         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
85785         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
85786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
85787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
85788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
85789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
85790         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
85791         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
85792         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
85793         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
85794         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
85795         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
85796         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
85797         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
85798         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
85799         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
85801 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85803         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
85804         scaling.
85805         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85807 2012-03-15  Andreas Jaeger  <aj@suse.de>
85809         [BZ #13852]
85810         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
85811         ieee754/flt-32 implementation for sin, cos and sincos.
85812         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
85813         * sysdeps/i386/fpu/s_cosf.S: Likewise.
85814         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
85815         * sysdeps/i386/fpu/s_sinf.S: Likewise.
85816         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
85817         ieee754/flt-32 implementation for tan.
85819         * math/libm-test.inc (cos_test): Enable some large input tests for
85820         float as well
85821         (sin_test): Likewise.
85822         (sincos_test): Likewise.
85823         (tan_test): Add tests for large input.
85825         * sysdeps/i386/fpu/libm-test-ulps: Update.
85827 2012-03-15  Andreas Jaeger  <aj@suse.de>
85829         [BZ #13658]
85830         * math/libm-test.inc (cos_test): Add more test cases.
85831         (sin_test): Likewise.
85832         (sincos_test): Likewise.
85834 2012-03-15  Andreas Jaeger  <aj@suse.de>
85836         [BZ #13837]
85837         * math/libm-test.inc (cos_test): Add a test case for large input
85838         value.
85839         (sin_test): Likewise.
85840         (sincos_test): Likewise.
85842 2012-03-15  Andreas Jaeger  <aj@suse.de>
85843             Joseph Myers  <joseph@codesourcery.com>
85845         [BZ #13658]
85846         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
85847         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
85848         * sysdeps/i386/fpu/branred.c: Likewise.
85849         * sysdeps/i386/fpu/dosincos.c: Likewise.
85850         * sysdeps/i386/fpu/mpa.c: Likewise.
85851         * sysdeps/i386/fpu/s_cos.S: Likewise.
85852         * sysdeps/i386/fpu/s_sin.S: Likewise.
85853         * sysdeps/i386/fpu/s_sincos.S: Likewise.
85854         * sysdeps/i386/fpu/sincos32.c: Likewise.
85856         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
85857         Define.
85858         (libc_feupdateenv_53bit): Define.
85859         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
85860         Define.
85861         (libc_feupdateenv_53bit): Define.
85863         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
85864         53 bit (without extend i386 double precision).
85866         * math/libm-test.inc (sincos_test): Add tests for large input.
85867         (sin): Likewise.
85868         (cos): Likewise.
85870         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
85872 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
85874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
85876 2012-03-15  David S. Miller  <davem@davemloft.net>
85878         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
85879         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
85880         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
85881         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
85882         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
85883         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
85884         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
85885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
85886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
85887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
85888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
85889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
85890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
85891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
85892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
85893         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
85894         file.
85895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
85896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
85897         file.
85898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
85899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
85900         file.
85901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
85902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
85903         file.
85904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
85905         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
85906         fmin/fmax sysdep routines.
85907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
85909 2012-03-14  David S. Miller  <davem@davemloft.net>
85911         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
85912         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
85913         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
85914         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
85915         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
85916         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
85917         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
85918         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
85919         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
85920         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
85921         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
85922         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
85923         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
85924         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
85925         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
85926         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
85927         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
85928         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
85929         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
85930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
85931         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
85932         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
85933         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
85934         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
85935         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
85936         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
85937         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
85938         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
85939         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
85940         routines.
85941         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
85942         file.
85943         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
85944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
85945         file.
85946         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
85947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
85948         file.
85949         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
85950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
85951         file.
85952         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
85953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
85954         file.
85955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
85956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
85957         file.
85958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
85959         file.
85960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
85961         file.
85962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
85963         file.
85964         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
85965         New file.
85966         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
85967         file.
85968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
85969         file.
85970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
85971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
85972         file.
85973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
85974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
85975         file.
85976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
85977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
85978         file.
85979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
85980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
85981         VIS3 routines.
85983         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
85984         New file.
85986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
85988         * sysdeps/sparc/configure.in: New file.
85989         * sysdeps/sparc/configure: Generate.
85990         * configure.in (libc_cv_sparc_as_vis3): Substitute.
85991         * configure: Regenerate.
85992         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
85993         * config.make.in (have-as-vis3): New.
85994         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
85995         available use -Av9d instead of -Av9a.
85996         * sysdeps/sparc/sparc64/Makefile: Likewise.
85997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
85998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
85999         New file.
86000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
86001         file.
86002         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
86003         New file.
86004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
86005         file.
86006         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
86007         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
86008         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
86009         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
86010         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
86012         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
86013         fzeros/fnegs to load 0x80000000 into a float register instead of
86014         using the stack.
86015         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
86017 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86019         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86020         bits/syscall.h.
86021         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
86022         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
86023         ($(inst_includedir)/bits/syscall.h): Remove rule.
86024         ($(objpfx)bits/syscall.d): Include instead of
86025         $(objpfx)syscall-list.d.
86026         (generated): Change syscall-list.h and syscall-list.d to
86027         bits/syscall.h and bits/syscall.d.
86029 2012-03-14  Roland McGrath  <roland@hack.frob.com>
86031         [BZ #13846]
86032         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
86034 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
86036         [BZ #13841]
86037         * math/s_csqrt.c: Include <float.h>.
86038         (__csqrt): Scale large or subnormal inputs.
86039         * math/s_csqrtf.c: Likewise.
86040         * math/s_csqrtl.c: Likewise.
86041         * math/libm-test.inc (csqrt_test): Add more tests.
86042         * sysdeps/i386/fpu/libm-test-ulps: Update.
86043         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86045         [BZ #13840]
86046         * math/libm-test.inc (hypot_test): Add more tests.
86048 2012-03-13  David S. Miller  <davem@davemloft.net>
86050         [BZ #13840]
86051         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
86052         double-precision for the calculation instead of scaling.
86054 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
86056         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
86057         manipulate bits before adding and subtracting TWO52[sx].
86058         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
86059         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
86060         Likewise.
86061         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
86063 2012-03-13  David S. Miller  <davem@davemloft.net>
86065         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
86066         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
86067         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
86068         rtld-global-offsets.h
86069         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
86071         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
86072         large parameters.
86074         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
86076         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
86077         'err' in the ifdef scope in which it is actually used.
86079         * nss/nss_db/db-init.c: Include string.h
86081 2012-03-12  David S. Miller  <davem@davemloft.net>
86083         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
86084         masking out of the most significant byte of random value used.
86085         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86086         Fix coding style in previous change.
86088         * sysdeps/unix/sysv/linux/kernel-features.h
86089         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
86090         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
86091         expression.
86092         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
86093         later.
86095 2012-03-11  David S. Miller  <davem@davemloft.net>
86097         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
86098         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
86099         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
86100         for 'resultvar' otherwise things get truncated on 64-bit.
86102         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
86103         Fix masking out of the most significant byte of random value used.
86105         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86107 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
86109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86111 2012-03-09  David S. Miller  <davem@davemloft.net>
86113         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
86114         variables with appropriate CPP guards.
86115         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
86116         from the frame pointer, not the stack pointer.  Correct layout
86117         comments.  Fix test on resulting framesize and the management of
86118         the outregs buffer for pltexit.  Preserve floating point return
86119         values across _dl_call_pltexit call.
86120         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
86121         framesize and the management of the outregs buffer for pltexit.
86122         Preserve floating point return values across _dl_call_pltexit
86123         call.
86124         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
86125         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
86126         (la_sparc64_gnu_pltexit): New functions.
86127         (print_exit): Fix format string for return register value.
86129 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
86131         * sunrpc/Makefile (others): Add rpcgen.
86132         ($(objpfx)rpcgen): Remove special build rule and dependency on
86133         libc.
86134         * sunrpc/rpcgen.c: New file.
86136 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
86138         [BZ #13673]
86139         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
86140         * stdio-common/bug-vfprintf-nargs.c: Likewise.
86141         * sysdeps/i386/crti.S: Likewise.
86142         * sysdeps/i386/crtn.S: Likewise.
86143         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
86144         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
86145         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
86146         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
86147         * sysdeps/sh/crti.S: Likewise.
86148         * sysdeps/sh/crtn.S: Likewise.
86149         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
86151         [BZ #13673]
86152         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
86153         with URL.
86154         * locale/programs/locfile-kw.gperf: Likewise.
86155         * locale/programs/charmap-kw.h: Regenerated.
86156         * locale/programs/locfile-kw.h: Likewise.
86158         [BZ #13673]
86159         * intl/plural.y: Replace FSF snail mail address with URL.
86160         * intl/plural.c: Regenerated.
86162 2012-03-09  Richard Henderson  <rth@twiddle.net>
86164         * include/math_private.h: Remove file.
86165         * math/math_private.h: Move file ...
86166         * sysdeps/generic/math_private.h: ... here.
86168         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
86169         * sysdeps/powerpc/fpu/math_private.h: Likewise.
86170         * sysdeps/x86_64/fpu/math_private.h: Likewise.
86172         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
86173         and <math_private.h>.
86174         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
86175         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
86176         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
86177         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
86178         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
86179         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
86180         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
86181         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
86182         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
86183         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
86184         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
86185         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
86186         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
86187         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
86188         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
86189         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
86190         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
86191         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
86192         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
86193         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
86194         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
86195         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
86196         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
86197         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
86198         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
86199         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
86200         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
86201         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
86202         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
86203         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
86204         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
86205         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
86206         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
86207         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
86208         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
86209         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
86210         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
86211         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
86212         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
86213         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
86214         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
86215         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
86216         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
86217         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
86218         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
86219         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
86220         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
86221         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
86222         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
86223         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
86224         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
86225         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
86226         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
86227         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
86228         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
86229         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
86230         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
86231         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
86232         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
86233         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
86234         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
86235         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
86236         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
86237         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
86238         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
86239         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
86240         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
86241         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
86242         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
86243         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
86244         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
86245         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
86246         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
86247         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
86248         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
86249         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
86250         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
86251         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
86252         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
86253         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
86254         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
86255         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
86256         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
86257         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
86258         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
86259         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
86260         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
86261         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
86262         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
86263         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
86264         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
86265         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
86266         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
86267         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
86268         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
86269         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
86270         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
86271         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
86272         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
86273         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
86274         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
86275         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
86276         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
86277         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
86278         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
86279         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
86280         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
86281         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
86282         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
86283         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
86284         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
86285         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
86286         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
86287         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
86288         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
86289         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
86290         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
86291         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
86292         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
86293         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
86294         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
86295         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
86296         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
86297         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
86298         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
86299         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
86300         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
86301         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
86302         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
86303         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
86304         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
86305         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
86306         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
86307         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
86308         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
86309         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86310         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
86311         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
86312         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
86313         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
86314         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
86315         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86316         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86317         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
86318         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
86319         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
86320         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
86321         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
86322         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
86323         * sysdeps/ieee754/k_standard.c: Likewise.
86324         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
86325         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
86326         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
86327         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
86328         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
86329         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
86330         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
86331         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
86332         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
86333         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
86334         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
86335         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
86336         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
86337         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
86338         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
86339         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
86340         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
86341         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
86342         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
86343         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
86344         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
86345         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
86346         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
86347         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
86348         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
86349         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
86350         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
86351         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
86352         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
86353         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
86354         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
86355         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
86356         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
86357         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
86358         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
86359         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
86360         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
86361         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
86362         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
86363         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
86364         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
86365         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
86366         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
86367         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
86368         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
86369         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
86370         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
86371         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
86372         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
86373         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
86374         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
86375         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
86376         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
86377         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
86378         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86379         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86380         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
86381         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
86382         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86383         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86384         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86385         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
86386         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86387         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
86388         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86389         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86390         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
86391         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
86392         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
86393         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
86394         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
86395         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86396         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
86397         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
86398         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
86399         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
86400         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
86401         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
86402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86403         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
86404         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
86405         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
86406         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86407         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86408         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
86409         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86410         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86411         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
86412         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
86413         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86414         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
86415         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86416         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
86417         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
86418         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86419         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86420         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
86421         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
86422         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
86423         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
86424         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86425         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86426         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86427         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86428         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
86429         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86430         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86431         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
86432         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
86433         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86434         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86435         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86436         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
86437         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86438         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
86439         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
86440         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
86441         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86442         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
86443         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
86444         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
86445         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
86446         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
86447         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
86448         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86449         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
86450         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86451         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86452         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86453         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86454         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86455         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86456         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86457         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
86458         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86459         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86460         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
86461         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
86462         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86463         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
86464         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
86465         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86466         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
86467         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
86468         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86469         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86470         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86471         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86472         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86473         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
86474         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86475         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
86476         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86477         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86478         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
86479         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
86480         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86481         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86482         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86483         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
86484         * sysdeps/ieee754/s_lib_version.c: Likewise.
86485         * sysdeps/ieee754/s_matherr.c: Likewise.
86486         * sysdeps/ieee754/s_signgam.c: Likewise.
86487         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
86488         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
86489         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
86490         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
86491         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
86492         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
86493         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
86494         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
86495         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
86496         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
86497         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
86498         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
86499         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86500         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86501         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
86502         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
86503         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
86504         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
86505         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
86506         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86507         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86509 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86511         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
86512         * sunrpc/rpc_main.c: Likewise.
86513         * sunrpc/rpc_svcout.c: Likewise.
86515 2012-03-09  David S. Miller  <davem@davemloft.net>
86517         * include/math_private.h: New file.
86519 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
86521         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
86522         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
86523         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
86524         from <bits/socket_type.h>.
86525         (enum __socket_type): Don't define here.
86526         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
86527         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
86528         bits/socket_type.h.
86530         [BZ #13566]
86531         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
86532         checking __USE_GNU.
86534         * Makerules ($(inst_includedir)/%.h): New rule.
86535         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
86536         (install-others): Remove variable setting.
86537         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
86539 2012-03-08  Richard Henderson  <rth@twiddle.net>
86541         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
86542         from macro to inline function; merge with the
86543         !__LIBC_INTERNAL_MATH_INLINES version.
86544         (__ieee754_sqrtf): Likewise.
86546         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
86547         to inline function.
86548         (__rintf, __floor, __floorf): Likewise.
86550         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
86551         macro to inline function.
86552         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
86554         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
86555         not <math/math_private.h>.
86557 2012-03-08  David S. Miller  <davem@davemloft.net>
86559         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
86560         copyright year.
86561         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
86563 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
86565         * resolv/gai_misc.c (handle_requests): Fix struct timespec
86566         normalization.
86567         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
86568         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
86570 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
86572         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
86573         be defined individually, they must be defined as a block.  Define
86574         S for printing a string instead of hidint the different by using a
86575         macro for adding the 'l'.
86576         * stdio-common/tst-fphex-wide.c: Adjust.
86578 2012-03-07  Marek Polacek  <polacek@redhat.com>
86580         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
86582 2012-03-08  Marek Polacek  <polacek@redhat.com>
86584         [BZ #13806]
86585         * stdio-common/Makefile (tests): Add tst-fphex-wide.
86586         * stdio-common/tst-fphex.c: Define a few macros to make the
86587         test reusable.  Use them.
86588         * stdio-common/tst-fphex-wide.c: New file.
86590 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
86592         [BZ #6911]
86593         * manual/macros.texi (gnusystems): New macro.
86594         (nongnusystems): Likewise.
86595         (gnulinuxhurdsystems): Likewise.
86596         (gnuhurdsystems): Likewise..
86597         (gnulinuxsystems): Likewise.
86598         * manual/charset.texi: Use new macros or @theglibc{} to refer to
86599         variants of the GNU system, not "GNU system".
86600         * manual/conf.texi: Likewise.
86601         * manual/errno.texi: Likewise.  Update example of errno macro
86602         expansion.
86603         * manual/filesys.texi: Likewise.
86604         (getumask): Document as specific to GNU/Hurd.
86605         * manual/install.texi: Likewise.  Reword some references to
86606         GNU/Linux.
86607         * manual/intro.texi: Likewise.
86608         * manual/io.texi: Likewise.
86609         (File Name Portability): Detail which constraints are inapplicable
86610         to all GNU systems and which are only inapplicable to GNU/Hurd.
86611         * manual/job.texi: Likewise.
86612         * manual/llio.texi: Likewise.
86613         (O_NOCTTY): Document as present on GNU/Linux.
86614         * manual/maint.texi: Likewise.
86615         * manual/memory.texi: Likewise.
86616         * manual/pattern.texi: Likewise.
86617         * manual/pipe.texi: Likewise.
86618         * manual/process.texi: Likewise.
86619         * manual/resource.texi: Likewise.
86620         (RUSAGE_CHILDREN): Remove statement about specifying a particular
86621         child on GNU/Hurd.
86622         * manual/setjmp.texi: Likewise.
86623         * manual/signal.texi: Likewise.
86624         * manual/startup.texi: Likewise.
86625         * manual/stdio.texi: Likewise.
86626         * manual/terminal.texi: Likewise.
86627         (ONLCR): Document as POSIX.
86628         (OXTABS): Document availability on GNU/Linux as XTABS.
86629         (ONOEOT): Document availability separately from other bits.
86630         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
86631         * manual/time.texi: Likewise.
86632         * manual/users.texi: Likewise.
86633         * INSTALL: Regenerated.
86634         * sysdeps/gnu/errlist.c: Regenerated.
86636         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
86637         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
86638         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
86639         puts.
86640         * configure: Regenerated.
86642 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
86644         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
86645         default includes instead of AC_HEADER_CHECK.
86646         * sysdeps/i386/configure: Regenerated.
86648         [BZ #10716]
86649         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
86650         * math/s_cacoshf.c (__cacoshf): Likewise.
86651         * math/s_cacoshl.c (__cacoshl): Likewise.
86652         * math/s_casinh.c (__casinh): Set signs of result from argument.
86653         * math/s_casinhf.c (__casinhf): Likewise.
86654         * math/s_casinhl.c (__casinhl): Likewise.
86655         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
86656         (casinh_test): Add more tests.
86657         * sysdeps/i386/fpu/libm-test-ulps: Update.
86658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86660 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
86662         * po/zh_TW.po: Update from translation team.
86664         * login/Makefile (distribute): Remove variable.
86665         * catgets/Makefile: Likewise.
86666         * mach/Makefile: Likewise.
86667         * malloc/Makefile: Likewise.
86668         * misc/Makefile: Likewise.
86669         * iconv/Makefile: Likewise.
86670         * nscd/Makefile: Likewise.
86671         * hurd/Makefile: Likewise.
86672         * manual/Makefile: Likewise.
86673         * locale/Makefile: Likewise.
86674         * intl/Makefile: Likewise.
86675         * conform/Makefile: Likewise.
86676         * nss/Makefile: Likewise.
86677         * time/Makefile: Likewise.
86678         * soft-fp/Makefile: Likewise.
86679         * dirent/Makefile: Likewise.
86680         * gmon/Makefile: Likewise.
86681         * po/Makefile: Likewise.
86682         * rt/Makefile: Likewise.
86683         * socket/Makefile: Likewise.
86684         * math/Makefile: Likewise.
86685         * signal/Makefile: Likewise.
86686         * debug/Makefile: Likewise.
86687         * elf/Makefile: Likewise.
86688         * timezone/Makefile: Likewise.
86689         * stdlib/Makefile: Likewise.
86690         * iconvdata/Makefile: Likewise.
86691         * sunrpc/Makefile: Likewise.
86692         * io/Makefile: Likewise.
86693         * argp/Makefile: Likewise.
86694         * inet/Makefile: Likewise.
86695         * hesiod/Makefile: Likewise.
86696         * grp/Makefile: Likewise.
86697         * csu/Makefile: Likewise.
86698         * wctype/Makefile: Likewise.
86699         * crypt/Makefile: Likewise.
86700         * libio/Makefile: Likewise.
86701         * string/Makefile: Likewise.
86702         * nis/Makefile: Likewise.
86703         * resolv/Makefile: Likewise.
86704         * stdio-common/Makefile: Likewise.
86705         * wcsmbs/Makefile: Likewise.
86706         * dlfcn/Makefile: Likewise.
86707         * posix/Makefile: Likewise.
86709         [BZ #6959]
86710         * timezone/Makefile: Don't install timezone files, just the programs
86711         and scripts.
86713 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
86715         * nss/databases.def: Add missing gshadow entry.
86717         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
86719 2012-03-06  Marek Polacek  <polacek@redhat.com>
86721         [BZ #13726]
86722         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
86723         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
86724         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
86725         * stdio-common/tst-long-dbl-fphex.c: New file.
86727 2012-03-06  David S. Miller  <davem@davemloft.net>
86729         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
86730         (set_obp_int): New function.
86731         (get_obp_int): New function.
86732         (__get_clockfreq_via_dev_openprom): Likewise.
86733         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
86734         Avoid unused variable warnings on 'val' and use builtin_expect.
86735         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
86736         __builtin_expect.
86737         (INLINE_CLONE_SYSCALL): Likewise.
86739 2012-03-05  David S. Miller  <davem@davemloft.net>
86741         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86743 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
86745         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86747         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
86748         only for |x| >= 40.
86749         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
86751 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
86753         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
86754         Replace gettimeofday with __vdso_gettimeofday.
86756         * sysdeps/unix/sysv/linux/x86_64/init-first.c
86757         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
86758         __vdso_clock_gettime and __vdso_getcpu.
86760         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
86761         time with __vdso_time.
86763 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86765         * manual/lang.texi (size_t): Note types to which size_t may be
86766         equivalent with the GNU C Library, but do not describe when
86767         differences between them are significant.
86769 2012-03-05  Andreas Jaeger  <aj@suse.de>
86771         * sysdeps/i386/fpu/libm-test-ulps: Update.
86773 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
86775         [BZ #3976]
86776         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
86777         (__ieee754_pow): Save and restore rounding mode and use
86778         round-to-nearest for main computations.
86779         * math/libm-test.inc (pow_test_tonearest): New function.
86780         (pow_test_towardzero): Likewise.
86781         (pow_test_downward): Likewise.
86782         (pow_test_upward): Likewise.
86783         (main): Call the new functions.
86784         * sysdeps/i386/fpu/libm-test-ulps: Update.
86785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86787         [BZ #3976]
86788         * math/libm-test.inc (cosh_test_tonearest): New function.
86789         (cosh_test_towardzero): Likewise.
86790         (cosh_test_downward): Likewise.
86791         (cosh_test_upward): Likewise.
86792         (sinh_test_tonearest): Likewise.
86793         (sinh_test_towardzero): Likewise.
86794         (sinh_test_downward): Likewise.
86795         (sinh_test_upward): Likewise.
86796         (main): Call the new functions.
86797         * sysdeps/i386/fpu/libm-test-ulps: Update.
86798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86800 2012-03-05  Tom de Vries  <tom@codesourcery.com>
86802         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
86803         default stack guard is set in last bytes.
86804         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
86806 2012-03-05  Kees Cook  <keescook@chromium.org>
86808         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
86810         [BZ #13656]
86811         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
86812         possibly allocate from heap instead of stack.
86813         * stdio-common/bug-vfprintf-nargs.c: New file.
86814         * stdio-common/Makefile (tests): Add nargs overflow test.
86816 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
86818         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
86820 2012-03-03  Marek Polacek  <polacek@redhat.com>
86822         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
86823         * math/math_private.h: Likewise.
86824         * stdlib/tst-strtod.c: Likewise.
86825         * sysdeps/i386/i486/bits/atomic.h: Likewise.
86826         * sysdeps/x86_64/bits/atomic.h: Likewise.
86828 2012-03-02  David S. Miller  <davem@davemloft.net>
86830         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
86831         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
86832         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
86833         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
86834         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
86835         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
86836         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
86837         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
86839 2012-03-02  Roland McGrath  <roland@hack.frob.com>
86841         [BZ #13792]
86842         * manual/examples/README: New file, says the example source files
86843         can be used under GPL>=2.
86844         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
86845         line containing just "*/".
86846         * manual/examples/add.c: Add copyright header (GPL>=2).
86847         * manual/examples/argp-ex1.c: Likewise.
86848         * manual/examples/argp-ex2.c: Likewise.
86849         * manual/examples/argp-ex3.c: Likewise.
86850         * manual/examples/argp-ex4.c: Likewise.
86851         * manual/examples/atexit.c: Likewise.
86852         * manual/examples/db.c: Likewise.
86853         * manual/examples/dir.c: Likewise.
86854         * manual/examples/dir2.c: Likewise.
86855         * manual/examples/execinfo.c: Likewise.
86856         * manual/examples/filecli.c: Likewise.
86857         * manual/examples/filesrv.c: Likewise.
86858         * manual/examples/fmtmsgexpl.c: Likewise.
86859         * manual/examples/genpass.c: Likewise.
86860         * manual/examples/inetcli.c: Likewise.
86861         * manual/examples/inetsrv.c: Likewise.
86862         * manual/examples/isockad.c: Likewise.
86863         * manual/examples/longopt.c: Likewise.
86864         * manual/examples/memopen.c: Likewise.
86865         * manual/examples/memstrm.c: Likewise.
86866         * manual/examples/mkfsock.c: Likewise.
86867         * manual/examples/mkisock.c: Likewise.
86868         * manual/examples/mygetpass.c: Likewise.
86869         * manual/examples/pipe.c: Likewise.
86870         * manual/examples/popen.c: Likewise.
86871         * manual/examples/rprintf.c: Likewise.
86872         * manual/examples/search.c: Likewise.
86873         * manual/examples/select.c: Likewise.
86874         * manual/examples/setjmp.c: Likewise.
86875         * manual/examples/sigh1.c: Likewise.
86876         * manual/examples/sigusr.c: Likewise.
86877         * manual/examples/stpcpy.c: Likewise.
86878         * manual/examples/strdupa.c: Likewise.
86879         * manual/examples/strftim.c: Likewise.
86880         * manual/examples/strncat.c: Likewise.
86881         * manual/examples/subopt.c: Likewise.
86882         * manual/examples/swapcontext.c: Likewise.
86883         * manual/examples/termios.c: Likewise.
86884         * manual/examples/testopt.c: Likewise.
86885         * manual/examples/testpass.c: Likewise.
86886         * manual/examples/timeval_subtract.c: Likewise.
86888         [BZ #13792]
86889         * manual/time.texi (Elapsed Time): Move timeval_subtract example
86890         function to ...
86891         * manual/timeval_subtract.c.texi: ... here, new file.
86893 2012-03-02  David S. Miller  <davem@davemloft.net>
86895         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
86897 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
86899         [BZ #3976]
86900         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
86901         (__sin): Save and restore rounding mode and use round-to-nearest
86902         for all computations.
86903         (__cos): Save and restore rounding mode and use round-to-nearest
86904         for all computations.
86905         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
86906         <fenv.h>.
86907         (tan): Save and restore rounding mode and use round-to-nearest for
86908         all computations.
86909         * math/libm-test.inc (cos_test_tonearest): New function.
86910         (cos_test_towardzero): Likewise.
86911         (cos_test_downward): Likewise.
86912         (cos_test_upward): Likewise.
86913         (sin_test_tonearest): Likewise.
86914         (sin_test_towardzero): Likewise.
86915         (sin_test_downward): Likewise.
86916         (sin_test_upward): Likewise.
86917         (tan_test_tonearest): Likewise.
86918         (tan_test_towardzero): Likewise.
86919         (tan_test_downward): Likewise.
86920         (tan_test_upward): Likewise.
86921         (main): Call the new functions.
86922         * sysdeps/i386/fpu/libm-test-ulps: Update.
86923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86925         [BZ #10135]
86926         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
86927         small n, then large n, before computing and testing k+n.
86928         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
86929         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
86930         Likewise.
86931         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
86932         Likewise.
86933         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
86934         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
86935         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
86936         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
86937         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
86938         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
86939         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
86940         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
86941         * math/libm-test.inc (scalbn_test): Add more tests.
86942         (scalbln_test): Likewise.
86944         * manual/filesys.texi (mode_t): Describe constraints on size and
86945         signedness, not exact equivalence to a particular type.
86946         (ino_t): Likewise.
86947         (ino64_t): Likewise.
86948         (dev_t): Likewise.
86949         (nlink_t): Likewise.
86950         (blkcnt_t): Likewise.
86951         (blkcnt64_t): Likewise.
86952         * manual/llio.texi (off_t): Likewise.
86954         [BZ #3976]
86955         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
86956         (__ieee754_exp): Save and restore rounding mode and use
86957         round-to-nearest for all computations.
86958         * math/libm-test.inc (exp_test_tonearest): New function.
86959         (exp_test_towardzero): Likewise.
86960         (exp_test_downward): Likewise.
86961         (exp_test_upward): Likewise.
86962         (main): Call the new functions.
86963         * sysdeps/i386/fpu/libm-test-ulps: Update.
86964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
86966 2012-03-01  Chris Demetriou  <cgd@google.com>
86968         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
86969         have predictable order.
86971 2012-03-01  David S. Miller  <davem@davemloft.net>
86973         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
86975         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
86976         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
86977         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
86978         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
86980         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
86981         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
86982         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
86983         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
86984         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
86985         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
86986         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
86987         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
86988         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
86990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
86992         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
86993         * sysdeps/sparc/fpu/libm-test-ulps: to here.
86994         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
86996         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
86997         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
86998         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
86999         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
87000         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
87001         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
87002         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
87003         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
87004         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87005         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
87006         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
87007         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87008         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
87009         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87010         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87011         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87012         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
87013         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
87014         * sysdeps/sparc/elf/configure: Regenerated.
87016 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
87018         * configure.in (AS, LD): Require binutils 2.20 or later.
87019         * configure: Regenerated.
87020         * manual/install.texi (Tools for Compilation): Give binutils 2.20
87021         as required minimum version.
87022         * INSTALL: Regenerated.
87024         [BZ #2541]
87025         [BZ #4108]
87026         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
87027         before squaring exponent.
87028         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
87029         bottom long double and 27 bits of top long double before squaring
87030         exponent.
87031         * math/libm-test.inc (erfc_test): Add more tests.
87032         * sysdeps/i386/fpu/libm-test-ulps: Update.
87033         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87036 2012-03-01  Kai Tietz  <ktietz@redhat.com>
87038         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
87039         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
87040         containing bit-fields.
87041         * soft-fp/extended.h (_FP_UNION_E): Likewise.
87042         * soft-fp/single.h (_FP_UNION_S): Likewise.
87043         * soft-fp/double.h (_FP_UNION_D): Likewise.
87045 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87047         [BZ #13786]
87048         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
87049         not include ../strcmp.S.
87050         [USE_AS_STRNCASECMP_L]: Likewise.
87051         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
87052         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
87053         * sysdeps/i386/i686/multiarch/strncase_l-c.c
87054         (__strncasecmp_l_ia32): Define as alias to
87055         __strncasecmp_l_nonascii.
87057         [BZ #5794]
87058         * math/libm-test.inc (expm1_test): Add test for bug 5794.
87059         * sysdeps/i386/fpu/libm-test-ulps: Update.
87060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87062         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
87063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87065 2012-02-29  Jeff Law  <law@redhat.com>
87067         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
87068         out of bounds read.
87070 2012-02-29  Marek Polacek  <polacek@redhat.com>
87072         [BZ #13706]
87073         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
87074         * elf/Makefile: Add rules to run tst-unused-dep.out.
87076 2012-02-28  David S. Miller  <davem@davemloft.net>
87078         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
87079         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
87080         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
87081         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
87082         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
87083         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
87085 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
87087         * math/libm-test.inc (llround_test): Move one test from
87088         lround_test.  Use TEST_f_L in moved test.
87089         (lround_test): Move misplaced test to llround_test.  Add testcase
87090         from bug 2561.
87092 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
87094         * sysdeps/x86_64/fpu/e_expf.S: New file.
87095         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
87097 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
87099         [BZ #13637]
87100         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
87101         of remain_len that may cause incomplete multi-byte character and
87102         false match.
87103         * posix/bug-regex33.c: New file.
87104         * posix/Makefile (tests): Add bug-regex33.
87106 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
87108         * manual/macros.texi: New file.
87109         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
87110         * manual/libc.texinfo: Include macros.texi.
87111         * manual/creatute.texi: Likewise.
87112         * manual/install.texi: Likewise.
87113         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
87114         @glibcadj{} in references to the GNU C Library.
87115         * manual/charset.texi: Likewise.
87116         * manual/conf.texi: Likewise.
87117         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
87118         when not using those macros.
87119         * manual/creature.texi: Likewise.
87120         * manual/crypt.texi: Likewise.
87121         * manual/errno.texi: Likewise.
87122         * manual/filesys.texi: Likewise.
87123         * manual/header.texi: Likewise.
87124         * manual/install.texi: Likewise.
87125         * manual/intro.texi: Likewise.
87126         * manual/io.texi: Likewise.
87127         * manual/job.texi: Likewise.
87128         * manual/lang.texi: Likewise.
87129         * manual/libc.texiinfo: Likewise.
87130         * manual/llio.texi: Likewise.
87131         * manual/locale.texi: Likewise.
87132         * manual/maint.texi: Likewise.
87133         * manual/math.texi: Likewise.
87134         * manual/memory.texi: Likewise.
87135         * manual/message.texi: Likewise.
87136         * manual/nss.texi: Likewise.
87137         * manual/pattern.texi: Likewise.
87138         * manual/process.texi: Likewise.
87139         * manual/resource.texi: Likewise.
87140         * manual/search.texi: Likewise.
87141         * manual/setjmp.texi: Likewise.
87142         * manual/signal.texi: Likewise.
87143         * manual/socket.texi: Likewise.
87144         * manual/startup.texi: Likewise.
87145         * manual/stdio.texi: Likewise.
87146         * manual/string.texi: Likewise.
87147         * manual/sysinfo.texi: Likewise.
87148         * manual/syslog.texi: Likewise.
87149         * manual/terminal.texi: Likewise.
87150         * manual/time.texi: Likewise.
87151         * manual/users.texi: Likewise.
87152         * INSTALL: Regenerated.
87153         * NOTES: Regenerated.
87154         * sysdeps/gnu/errlist.c: Regenerated.
87156 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
87158         * include/dirent.h: Include <dirstream.h> before
87159         <dirent/dirent.h>.
87161 2012-02-28  David S. Miller  <davem@davemloft.net>
87163         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
87164         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
87165         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
87166         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
87168 2012-02-27  David S. Miller  <davem@davemloft.net>
87170         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
87171         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
87172         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
87173         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
87175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
87176         frame pointer instead of stack pointer relative arg slot.
87177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87178         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87179         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87181 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
87183         [BZ #3992]
87184         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
87186 2012-02-27  David S. Miller  <davem@davemloft.net>
87188         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
87189         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
87190         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
87191         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
87192         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
87193         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
87194         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
87195         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
87197 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87199         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
87200         later.  Allow versions 5-9.
87201         * configure: Regenerated.
87202         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
87203         required minimum version and 4.6 as recommended version.  Do not
87204         mention bugs in GCC 2.7 and 2.8.
87205         * INSTALL: Regenerated.
87207 2012-02-27  David S. Miller  <davem@davemloft.net>
87209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
87210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
87211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
87212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
87213         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
87214         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
87215         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
87216         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
87218         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
87219         manipulate bits before adding and subtracting TWO112[sx].
87220         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
87222 2012-02-27  Roland McGrath  <roland@hack.frob.com>
87224         [BZ #13775]
87225         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
87226         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
87227         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
87228         being in POSIX, because they are in 1003.1-2008.
87230         * rt/tst-aio.c: Include <fcntl.h>.
87231         * rt/tst-aio7.c: Likewise.
87232         * rt/tst-aio64.c: Likewise.
87234         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
87236 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
87238         * manual/install.texi (--with-headers): Describe headers as
87239         interface headers, not private headers.
87240         (Specific advice for GNU/Linux systems): Describe use of headers
87241         from "make headers_install", not private headers from older
87242         kernels.
87243         * INSTALL: Regenerated.
87244         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
87245         Change to 2.6.19.
87246         * sysdeps/unix/sysv/linux/configure: Regenerated.
87248         * manual/llio.texi (fclean): Remove documentation.
87250         * manual/Makefile (libc-texi-generated): New variable.  Include
87251         version.texi.
87252         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
87253         $(libc-texi-generated), not duplicated list of files.
87254         (version.texi, stamp-version): New rules.
87255         (realclean): Remove $(libc-texi-generated), not individual files
87256         from that list.  Do not remove dir-add.texinfo.
87257         * manual/libc.texinfo: Comment out uses of edition numbers and
87258         references to printed manual.  Remove last-updated dates.
87259         (EDITION): Comment out.
87260         (ISBN): Likewise.
87261         (VERSION, UPDATED): Remove.
87262         (version.texi): Include.
87264 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
87266         * sysdeps/posix/spawni.c: Include <signal.h>.
87267         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
87268         * sysdeps/pthread/aio_fsync.c: Likewise.
87270 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
87272         * conform/Makefile (tests): Run only when not cross-compiling and
87273         when fast-check is not defined.
87275         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
87276         * conform/data/limits.h-data: Fixes for POSIX2008.
87277         * conform/run-conformtest.sh: Run all tests.
87278         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
87279         headers.
87280         * include/bits/dlfcn.h: Likewise.
87281         * include/langinfo.h: Likewise.
87282         * include/monetary.h: Likewise.
87283         * include/sys/poll.h: Likewise.
87285         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
87286         for __USE_GNU.
87287         * posix/spawn.h: Define __need_sigset_t.
87288         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
87289         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
87290         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
87291         to get sigevent_t only.
87292         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
87293         only for __USE_GNU.
87294         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
87295         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87296         process_vm_writev only for __USE_GNU.
87297         * termios/termios.h: Declare tcgetsid also for POSIX2008.
87299         * conform/Makefile: For now ignore errors from run-conformtest.
87300         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
87301         POSIX to avoid namespace pollution.  Don't prepend headers.
87302         * conform/data/aio.h-data: Fixes for POSIX testing.
87303         * conform/data/fcntl.h-data: Likewise.
87304         * conform/data/glob.h-data: Likewise.
87305         * conform/data/grp.h-data: Likewise.
87306         * conform/data/pthread.h-data: Likewise.
87307         * conform/data/pwd.h-data: Likewise.
87308         * conform/data/signal.h-data: Likewise.
87309         * conform/data/spawn.h-data: Likewise.
87310         * conform/data/stdio.h-data: Likewise.
87311         * conform/data/stdlib.h-data: Likewise.
87312         * conform/data/stropts.h-data: Likewise.
87313         * conform/data/sys/mman.h-data: Likewise.
87314         * conform/data/sys/stat.h-data: Likewise.
87315         * conform/data/sys/types.h-data: Likewise.
87316         * conform/data/sys/wait.h-data: Likewise.
87317         * conform/data/time.h-data: Likewise.
87318         * conform/data/unistd.h-data: Likewise.
87319         * conform/data/utime.h-data: Likewise.
87321         * io/sys/stat.h: fchmod was always in POSIX.
87322         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
87323         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
87324         * rt/aio.h: Define __need_timespec before including <time.h>.
87325         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
87326         struct.  Add forward declaration of pthread_attr_t and use it in
87327         sigevent.
87328         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
87329         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
87330         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
87331         always remove CLK_TCK definition.
87333 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
87335         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
87337 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
87339         * conform/run-conformtest.sh: New file.
87340         * conform/Makefile: Run run-conformtest for tests.
87341         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
87342         support.
87344         * conform/data/uchar.h-data: New file.
87345         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
87346         * conform/data/arpa/inet.h-data: Likewise.
87347         * conform/data/assert.h-data: Likewise.
87348         * conform/data/complex.h-data: Likewise.
87349         * conform/data/cpio.h-data: Likewise.
87350         * conform/data/ctype.h-data: Likewise.
87351         * conform/data/dirent.h-data: Likewise.
87352         * conform/data/dlfcn.h-data: Likewise.
87353         * conform/data/errno.h-data: Likewise.
87354         * conform/data/fcntl.h-data: Likewise.
87355         * conform/data/float.h-data: Likewise.
87356         * conform/data/fmtmsg.h-data: Likewise.
87357         * conform/data/fnmatch.h-data: Likewise.
87358         * conform/data/ftw.h-data: Likewise.
87359         * conform/data/glob.h-data: Likewise.
87360         * conform/data/grp.h-data: Likewise.
87361         * conform/data/iconv.h-data: Likewise.
87362         * conform/data/inttypes.h-data: Likewise.
87363         * conform/data/langinfo.h-data: Likewise.
87364         * conform/data/libgen.h-data: Likewise.
87365         * conform/data/limits.h-data: Likewise.
87366         * conform/data/locale.h-data: Likewise.
87367         * conform/data/math.h-data: Likewise.
87368         * conform/data/monetary.h-data: Likewise.
87369         * conform/data/mqueue.h-data: Likewise.
87370         * conform/data/ndbm.h-data: Likewise.
87371         * conform/data/net/if.h-data: Likewise.
87372         * conform/data/netdb.h-data: Likewise.
87373         * conform/data/netinet/in.h-data: Likewise.
87374         * conform/data/nl_types.h-data: Likewise.
87375         * conform/data/poll.h-data: Likewise.
87376         * conform/data/pthread.h-data: Likewise.
87377         * conform/data/pwd.h-data: Likewise.
87378         * conform/data/regex.h-data: Likewise.
87379         * conform/data/sched.h-data: Likewise.
87380         * conform/data/search.h-data: Likewise.
87381         * conform/data/semaphore.h-data: Likewise.
87382         * conform/data/setjmp.h-data: Likewise.
87383         * conform/data/signal.h-data: Likewise.
87384         * conform/data/spawn.h-data: Likewise.
87385         * conform/data/stdarg.h-data: Likewise.
87386         * conform/data/stdio.h-data: Likewise.
87387         * conform/data/stdlib.h-data: Likewise.
87388         * conform/data/string.h-data: Likewise.
87389         * conform/data/strings.h-data: Likewise.
87390         * conform/data/stropts.h-data: Likewise.
87391         * conform/data/sys/ipc.h-data: Likewise.
87392         * conform/data/sys/mman.h-data: Likewise.
87393         * conform/data/sys/msg.h-data: Likewise.
87394         * conform/data/sys/resource.h-data: Likewise.
87395         * conform/data/sys/select.h-data: Likewise.
87396         * conform/data/sys/sem.h-data: Likewise.
87397         * conform/data/sys/shm.h-data: Likewise.
87398         * conform/data/sys/socket.h-data: Likewise.
87399         * conform/data/sys/stat.h-data: Likewise.
87400         * conform/data/sys/statvfs.h-data: Likewise.
87401         * conform/data/sys/time.h-data: Likewise.
87402         * conform/data/sys/timeb.h-data: Likewise.
87403         * conform/data/sys/times.h-data: Likewise.
87404         * conform/data/sys/types.h-data: Likewise.
87405         * conform/data/sys/uio.h-data: Likewise.
87406         * conform/data/sys/un.h-data: Likewise.
87407         * conform/data/sys/utsname.h-data: Likewise.
87408         * conform/data/sys/wait.h-data: Likewise.
87409         * conform/data/syslog.h-data: Likewise.
87410         * conform/data/tar.h-data: Likewise.
87411         * conform/data/termios.h-data: Likewise.
87412         * conform/data/utime.h-data: Likewise.
87413         * conform/data/utmpx.h-data: Likewise.
87414         * conform/data/varargs.h-data: Likewise.
87415         * conform/data/wchar.h-data: Likewise.
87416         * conform/data/wctype.h-data: Likewise.
87417         * conform/data/wordexp.h-data: Likewise.
87419         * include/stropts.h: New file.
87420         * include/uchar.h: New file.
87421         * include/aio.h: Changes to allow conformtest.pl to use the headers.
87422         * include/assert.h: Likewise.
87423         * include/ctype.h: Likewise.
87424         * include/dirent.h: Likewise.
87425         * include/dlfcn.h: Likewise.
87426         * include/fcntl.h: Likewise.
87427         * include/fnmatch.h: Likewise.
87428         * include/glob.h: Likewise.
87429         * include/grp.h: Likewise.
87430         * include/libio.h: Likewise.
87431         * include/locale.h: Likewise.
87432         * include/math.h: Likewise.
87433         * include/net/if.h: Likewise.
87434         * include/netdb.h: Likewise.
87435         * include/netinet/in.h: Likewise.
87436         * include/pthread.h: Likewise.
87437         * include/pwd.h: Likewise.
87438         * include/regex.h: Likewise.
87439         * include/sched.h: Likewise.
87440         * include/search.h: Likewise.
87441         * include/setjmp.h: Likewise.
87442         * include/signal.h: Likewise.
87443         * include/stdio.h: Likewise.
87444         * include/stdlib.h: Likewise.
87445         * include/string.h: Likewise.
87446         * include/sys/cdefs.h: Likewise.
87447         * include/sys/mman.h: Likewise.
87448         * include/sys/msg.h: Likewise.
87449         * include/sys/resource.h: Likewise.
87450         * include/sys/select.h: Likewise.
87451         * include/sys/socket.h: Likewise.
87452         * include/sys/stat.h: Likewise.
87453         * include/sys/statvfs.h: Likewise.
87454         * include/sys/time.h: Likewise.
87455         * include/sys/times.h: Likewise.
87456         * include/sys/uio.h: Likewise.
87457         * include/sys/utsname.h: Likewise.
87458         * include/sys/wait.h: Likewise.
87459         * include/termios.h: Likewise.
87460         * include/time.h: Likewise.
87461         * include/ulimit.h: Likewise.
87462         * include/unistd.h: Likewise.
87463         * include/utime.h: Likewise.
87464         * include/wchar.h: Likewise.
87465         * include/wctype.h: Likewise.
87466         * include/wordexp.h: Likewise.
87468         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
87470         * time/time.h: TIME_UTC must be a macro.
87471         Make timespec_get available for ISO C11 only as well.
87473 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
87475         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
87476         Reported by Peng Haitao <penght@cn.fujitsu.com>.
87478 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87480         * configure.in: Use -o not -a in test for unsupported multi-arch.
87482 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87484         * manual/texinfo.tex: Update to version 2012-01-19.16.
87486 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
87488         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
87490 2012-02-24  Roland McGrath  <roland@hack.frob.com>
87492         [BZ #13738]
87493         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
87494         * manual/fdl-1.3.texi: New file.
87495         * manual/fdl-1.1.texi: File removed.
87497         [BZ #13738]
87498         * manual/libc.texinfo (FDL_VERSION): New @set.
87499         Use it for mention of FDL in cover text.
87500         (Documentation License): Use it in @include file name.
87502 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87503             Roland McGrath  <roland@hack.frob.com>
87505         [BZ #5461]
87506         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
87507         (not LONG_LONG_MAX and LONG_LONG_MIN.
87508         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
87509         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
87510         name.
87511         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
87513 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87515         [BZ #2547]
87516         [BZ #11365]
87517         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
87518         manipulate bits before adding and subtracting TWO23[sx].
87519         * math/libm-test.inc (nearbyint_test): Add more tests.
87521 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87523         [BZ #2548]
87524         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
87525         bits before adding and subtracting TWO23[sx].
87526         * math/libm-test.inc (rint_test): Add more tests.
87527         (rint_test_tonearest): Likewise.
87528         (rint_test_towardzero): Likewise.
87529         (rint_test_downward): Likewise.
87530         (rint_test_upward: Likewise.
87532 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87534         [BZ #10110]
87535         * include/stdc-predef.h: New file.  Extracted from features.h.
87536         * include/features.h: Include stdc-predef.h.
87537         * Makefile (headers): Add stdc-predef.h.
87538         * CONFORMANCE (Compiler limitations): Update.
87540 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
87542         * manual/libc.texinfo (VERSION, UPDATED): Revert.
87544 2012-02-21  David S. Miller  <davem@davemloft.net>
87546         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
87547         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87549 2012-02-20  David S. Miller  <davem@davemloft.net>
87551         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
87552         using a normal save/restore sequence, rather than allocating a
87553         dummy stack frame just to store a frame pointer and restore.
87554         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87556 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87558         * manual/install.texi: Fix stray word in line-wrapped comment.
87560 2012-02-20  David S. Miller  <davem@davemloft.net>
87562         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
87563         both binutils and gcc support GOTDATA.
87565         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
87566         "rd %pc" in the PIC register setup sequences.
87568         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
87569         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
87570         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
87571         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
87572         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
87573         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
87574         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
87575         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
87576         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
87577         (SYSCALL_ERROR_HANDLER): Likewise.
87578         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
87579         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
87580         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
87581         (SYSCALL_ERROR_HANDLER): Likewise.
87583         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
87584         (HAVE_GCC_GOTDATA): New.
87585         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
87586         relocation support in both binutils and gcc.
87587         * sysdeps/sparc/elf/configure: Regenerate.
87589         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
87590         * sysdeps/sparc/sparc32/elf/configure: Delete.
87591         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
87592         * sysdeps/sparc/sparc64/elf/configure: Delete.
87593         * sysdeps/sparc/elf/configure.in: New file.
87594         * sysdeps/sparc/elf/configure: Generate.
87596         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
87597         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
87598         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
87599         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
87600         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
87602 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87604         * manual/install.texi: Do not mention specific glibc version
87605         numbers.
87606         * manual/libc.texinfo (VERSION, UPDATED): Update.
87607         (@copying): Use @copyright{} and range of years.
87609 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
87611         [BZ #13695]
87612         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
87613         [crti.S not in sysdirs] (generated): Do not append.
87614         [crti.S not in sysdirs] (omit-deps): Likewise.
87615         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
87616         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
87617         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
87618         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
87619         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
87620         Likewise.
87621         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
87622         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
87623         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
87624         * csu/defs.awk: Remove file.
87625         * sysdeps/generic/initfini.c: Likewise.
87626         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
87627         variable.
87628         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
87629         Likewise.
87631 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87633         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
87634         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
87635         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
87636         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
87637         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
87638         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
87639         <bits/epoll.h>.
87640         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
87641         (__EPOLL_PACKED): Define to empty if not defined by
87642         <bits/epoll.h>.
87643         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
87644         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87645         bits/epoll.h.
87647 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87649         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
87650         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
87651         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
87652         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
87653         <bits/timerfd.h>.
87654         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
87655         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87656         bits/timerfd.h.
87658 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
87660         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
87661         in C locale.
87662         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
87663         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
87664         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
87665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
87667 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
87669         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
87670         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
87672 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
87674         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
87675         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
87676         defined.
87677         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
87678         Likewise.
87679         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
87680         entry for 2.16.
87682 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
87684         * math/w_acos.c: Use non-signaling floating-point comparisons.
87685         * math/w_acosf.c: Likewise.
87686         * math/w_acosh.c: Likewise.
87687         * math/w_acoshf.c: Likewise.
87688         * math/w_acoshl.c: Likewise.
87689         * math/w_acosl.c: Likewise.
87690         * math/w_asin.c: Likewise.
87691         * math/w_asinf.c: Likewise.
87692         * math/w_asinl.c: Likewise.
87693         * math/w_atanh.c: Likewise.
87694         * math/w_atanhf.c: Likewise.
87695         * math/w_atanhl.c: Likewise.
87696         * math/w_exp2.c: Likewise.
87697         * math/w_exp2f.c: Likewise.
87698         * math/w_exp2l.c: Likewise.
87699         * math/w_j0.c: Likewise.
87700         * math/w_j0f.c: Likewise.
87701         * math/w_j0l.c: Likewise.
87702         * math/w_j1.c: Likewise.
87703         * math/w_j1f.c: Likewise.
87704         * math/w_j1l.c: Likewise.
87705         * math/w_jn.c: Likewise.
87706         * math/w_jnf.c: Likewise.
87707         * math/w_log.c: Likewise.
87708         * math/w_log10.c: Likewise.
87709         * math/w_log10f.c: Likewise.
87710         * math/w_log10l.c: Likewise.
87711         * math/w_log2.c: Likewise.
87712         * math/w_log2f.c: Likewise.
87713         * math/w_log2l.c: Likewise.
87714         * math/w_logf.c: Likewise.
87715         * math/w_logl.c: Likewise.
87716         * math/w_sqrt.c: Likewise.
87717         * math/w_sqrtf.c: Likewise.
87718         * math/w_sqrtl.c: Likewise.
87719         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
87720         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
87721         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87722         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
87723         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
87725 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87727         [BZ #9739]
87728         * manual/string.texi (strnlen): Use correct parameter name in
87729         equivalent expression.
87731 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87733         [BZ #11174]
87734         * manual/users.texi (seteuid): Consistently use neweuid for
87735         argument name.
87737 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
87739         [BZ #13704]
87740         * manual/nss.texi (Services in the NSS configuration): Correct
87741         list of services in example configuration file.
87743 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
87745         [BZ #11322]
87746         * manual/arith.texi: Remove statements about negative zero
87747         behaving identically to zero.
87749 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87751         [BZ #5993]
87752         * manual/install.texi: Do not document upgrading from libc5.
87754 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
87756         [BZ #4596]
87757         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
87759 2012-02-18  David S. Miller  <davem@davemloft.net>
87761         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
87762         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
87763         %o7 across the call.
87764         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
87765         instead.
87766         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
87767         SETUP_PIC_REG_LEAF.
87768         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
87769         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
87770         * sysdeps/sparc/crtn.S: Likewise.
87772 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
87774         * aout/Makefile: Remove.
87776 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
87778         [BZ #13058]
87779         * manual/examples/argp-ex1.c (main): Format definition in GNU
87780         style.
87781         * manual/examples/argp-ex2.c (main): Likewise.
87782         * manual/examples/argp-ex3.c (main): Likewise.
87783         * manual/examples/argp-ex4.c (main): Likewise.
87784         * manual/examples/longopt.c (main): Use new-style prototype
87785         definition.
87786         * manual/examples/strncat.c (main): Specify return type and use
87787         (void) for arguments.
87788         * manual/examples/subopt.c (main): Use char **argv argument.
87790 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87792         [BZ #5077]
87793         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
87794         rounding modes.
87796 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
87798         [BZ #6907]
87799         * manual/string.texi (strchr): Change when strchrnul is
87800         recommended.
87802 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
87804         [BZ #174]
87805         * manual/locale.texi (setlocale): Document LOCPATH.
87807 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87809         [BZ #10210]
87810         * manual/process.texi (execle): Move @dots{} before last argument.
87812 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
87814         [BZ #12047]
87815         * manual/charset.texi (Generic Charset Conversion): Fix typo
87816         (LC_TYPE -> LC_CTYPE).
87818 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
87820         [BZ #5805]
87821         * manual/arith.texi (scalbn): Use @var{} on parameter names.
87822         (scalbnf): Likewise.
87823         (scalbnl): Likewise.
87824         (scalbln): Likewise.
87825         (scalblnf): Likewise.
87826         (scalblnl): Likewise.
87827         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
87828         (vwarnx): Likewise.
87829         (verr): Likewise.
87830         (verrx): Likewise.
87831         * manual/filesys.texi (telldir): Use braces around return type.
87832         * manual/llio.texi (mmap): Add space after comma.
87833         (mmap64): Likewise.
87834         * manual/math.texi (jn): Use @var{} on parameter names.
87835         (jnf): Likewise.
87836         (jnl): Likewise.
87837         (yn): Likewise.
87838         (ynf): Likewise.
87839         (ynl): Likewise.
87840         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
87841         line.
87842         * manual/resource.texi (ulimit): Use @dots{} instead of literal
87843         "...".
87844         (sched_get_priority_min): Remove semicolon on @deftypefun line.
87845         (sched_get_priority_max): Likewise.
87846         * manual/signal.texi (sigvec): Add space after comma.
87847         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
87848         names.
87849         (if_indextoname): Likewise.
87850         (if_freenameindex): Likewise.
87851         (sendto): Use ',' instead of '.' in prototype.
87852         * manual/startup.texi (syscall): Use @dots{} instead of literal
87853         "...".
87854         * manual/stdio.texi (__fpending): Separate initial words of
87855         paragraph from @deftypefun line.
87856         * manual/syslog.texi (syslog): Use @dots{} instead of literal
87857         "...".
87858         (vsyslog): Use @var{} on parameter names.
87859         * manual/terminal.texi (stty): Use @var{} on parameter names.
87860         * manual/users.texi (getutmp): Use @var{} on parameter names.
87861         (getutmpx): Likewise.
87863 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87865         [BZ #6884]
87866         * manual/stdio.texi (fopen): Fix typos in description of
87867         ",ccs=STRING".
87869 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
87871         [BZ #4026]
87872         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
87873         get clock_id definition.
87875 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
87877         [BZ #4822]
87878         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
87879         (madvise): Cast every argument to void on its own.
87881 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87883         [BZ #9902]
87884         * manual/startup.texi (Exit Status): Fix typo.
87886 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
87888         [BZ #10140]
87889         * manual/examples/argp-ex1.c: Include <stdlib.h>.
87890         * manual/examples/argp-ex2.c: Likewise.
87891         * manual/examples/argp-ex3.c: Likewise.
87893 2012-02-16  Richard Henderson  <rth@redhat.com>
87895         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
87896         * sysdeps/s390/s390-32/initfini.c: Remove.
87897         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
87898         * sysdeps/s390/s390-64/initfini.c: Remove.
87900 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
87902         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
87903         compiler output for sysdeps/generic/initfini.c.
87904         * sysdeps/sh/elf/initfini.c: Remove file.
87906 2012-02-16  David S. Miller  <davem@davemloft.net>
87908         [BZ #11494]
87909         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
87911         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
87912         * sysdeps/sparc/crti.S: New file.
87913         * sysdeps/sparc/crtn.S: New file.
87914         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
87915         * sysdeps/sparc/sparc64/Makefile: Likewise.
87917 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
87919         [BZ #3335]
87920         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
87922 2012-02-15  Roland McGrath  <roland@hack.frob.com>
87924         [BZ #4822]
87925         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
87927         * mach/devstream.c (cookie_io_functions_t): Macro removed.
87928         (write, read, close): Likewise.
87929         Patch by Aurelien Jarno <aurelien@aurel32.net>.
87931 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
87933         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
87934         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
87935         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
87936         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
87937         <bits/signalfd.h>.
87938         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
87939         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87940         bits/signalfd.h.
87942 2012-02-14  Marek Polacek  <polacek@redhat.com>
87944         * sysdeps/x86_64/crti.S: New file.
87945         * sysdeps/x86_64/crtn.S: New file.
87946         * sysdeps/x86_64/elf/initfini.c: Remove file.
87948 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87950         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
87951         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
87952         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
87953         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
87954         <bits/inotify.h>.
87955         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
87956         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87957         bits/inotify.h.
87959 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
87961         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
87962         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
87963         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
87964         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
87965         <bits/eventfd.h>.
87966         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
87967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
87968         bits/eventfd.h.
87970 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
87972         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
87973         __feraiseexcept instead of feraiseexcept.
87975         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
87976         nanosleep invocations.
87977         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
87978         strings, and add error checking for a nanosleep invocations.
87980 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
87982         Replace FSF snail mail address with URLs, as per GNU coding standards.
87983         Most of the snail mail addresses were wrong anyway, and omitting
87984         them makes the source code easier to maintain.  Almost all of the
87985         changes are to license notices and to locale LC_IDENTIFICATION
87986         addresses, except for this one:
87987         * manual/libc.texinfo: In "Published by", give the FSF's URL,
87988         not its snail mail address.
87990 2012-02-09  Richard Henderson  <rth@twiddle.net>
87992         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
87993         of kernel-features.h.
87995         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
87997 2012-02-08  Marek Polacek  <polacek@redhat.com>
87999         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
88000         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
88001         * sysdeps/gnu/_G_config.h: Likewise.
88002         * sysdeps/generic/_G_config.h: Likewise.
88004 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
88006         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
88007         tests.
88008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
88010         * sysdeps/powerpc/powerpc32/crti.S: New file.
88011         * sysdeps/powerpc/powerpc32/crtn.S: New file.
88012         * sysdeps/powerpc/powerpc64/crti.S: New file.
88013         * sysdeps/powerpc/powerpc64/crtn.S: New file.
88015         * Makeconfig (have-initfini): Don't set.
88016         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
88017         * configure.in (nopic_initfini): Don't substitute.
88018         * config.h.in (HAVE_INITFINI): Don't #undef.
88019         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
88020         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
88022 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
88024         Support crti.S and crtn.S provided directly by architectures.
88025         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
88026         [crti.S in sysdirs] (omit-deps): Likewise.
88027         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
88028         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
88029         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
88030         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
88031         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
88032         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
88033         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
88034         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
88035         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
88036         compiler output for sysdeps/generic/initfini.c.
88037         * sysdeps/i386/elf/Makefile: Remove file.
88038         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
88040 2012-02-07  Marek Polacek  <polacek@redhat.com>
88042         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
88043         * sysdeps/gnu/_G_config.h: Likewise.
88044         * sysdeps/mach/hurd/_G_config.h: Likewise.
88046 2012-02-07  Marek Polacek  <polacek@redhat.com>
88048         * math/Makefile (tests): Add tst-CMPLX2.
88049         * math/tst-CMPLX2.c: New file.
88051 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
88053         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88055         * math/libm-test.inc (jn_test): Add missing L suffix.
88057 2012-02-06  Marek Polacek  <polacek@redhat.com>
88059         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
88060         * sysdeps/i386/fpu/e_powf.S: Likewise.
88061         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88062         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
88063         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88064         * sysdeps/i386/fpu/e_pow.S: Likewise.
88065         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
88066         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88067         * sysdeps/i386/fpu/s_expm1.S: Likewise.
88068         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
88069         * sysdeps/i386/fpu/e_log2.S: Likewise.
88070         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88071         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88072         * sysdeps/i386/fpu/e_powl.S: Likewise.
88073         * sysdeps/i386/fpu/s_log1p.S: Likewise.
88074         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88075         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
88076         * sysdeps/i386/fpu/e_logl.S: Likewise.
88077         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
88078         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
88079         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
88080         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
88081         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88082         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88083         * sysdeps/i386/fpu/e_log.S: Likewise.
88084         * sysdeps/i386/fpu/s_cexp.S: Likewise.
88085         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88086         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
88087         * sysdeps/i386/fpu/e_logf.S: Likewise.
88088         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88089         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88090         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
88091         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
88092         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
88093         * sysdeps/i386/fpu/e_log10.S: Likewise.
88094         * sysdeps/i386/fpu/s_frexp.S: Likewise.
88095         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88096         * sysdeps/i386/fpu/s_asinh.S: Likewise.
88097         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
88098         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88099         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
88100         * sysdeps/i386/asm-syntax.h: Likewise.
88101         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88102         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88103         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88104         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
88105         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
88106         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88107         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
88108         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
88109         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88110         * sysdeps/powerpc/sysdep.h: Likewise.
88111         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
88112         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
88114 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88116         [BZ #411]
88117         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
88119 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
88121         * sysdeps/i386/sysdep.h: Include <features.h>.
88122         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
88123         version.
88125 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
88127         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
88128         Define.
88129         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
88130         LOAD_PIC_REG_STR.
88132 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88134         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
88135         (SETUP_PIC_REG): Use GET_PC_THUNK.
88136         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
88137         macro.
88139 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88141         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
88142         for non-PIC compilation.
88143         (SETUP_PIC_REG): Add .p2align directive.
88144         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
88145         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
88146         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
88147         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
88148         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
88149         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
88150         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
88151         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
88152         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
88153         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
88154         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
88155         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
88156         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
88157         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
88158         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
88159         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
88160         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
88161         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
88162         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
88163         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
88164         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
88165         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
88166         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
88167         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
88168         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
88169         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
88170         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
88171         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
88172         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
88173         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
88174         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
88175         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
88176         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
88177         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
88178         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
88179         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
88180         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
88181         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
88182         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
88183         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
88184         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
88186 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
88188         * math/tst-CMPLX.c: Include <stdio.h>.
88190 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
88192         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
88193         float.
88194         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88195         * sysdeps/sparc/bits/mathdef.h: Likewise.
88197 2012-01-31  Marek Polacek  <polacek@redhat.com>
88199         * libio/libio.h: Don't define _PARAMS.
88200         * locale/programs/config.h: Don't define PARAMS.
88201         * stdlib/strtol_l.c: Likewise.
88202         (__strtol_l): Remove PARAMS from the prototype.
88204 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
88206         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
88207         names.  Just use the correct names.  Remove unnecessary wrapper
88208         functions.
88209         * malloc/arena.c: Likewise.
88210         * malloc/hooks.c: Likewise.
88212         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
88213         ARENA_TEST says not to.  Simplify test for creation of a new arena.
88214         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
88216 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
88218         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
88219         into tail calls.
88220         (update_get_addr): New function.
88221         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
88222         GET_ADDR_MODULE parameter.
88224 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88226         * crypt/cert.c: Remove __STDC__ conditionals.
88227         * crypt/crypt-entry.c: Likewise.
88228         * crypt/crypt_util.c: Likewise.
88229         * libio/filedoalloc.c: Likewise.
88230         * libio/fileops.c: Likewise.
88231         * libio/genops.c: Likewise.
88232         * libio/iofclose.c: Likewise.
88233         * libio/iofdopen.c: Likewise.
88234         * libio/iofopen.c: Likewise.
88235         * libio/iofopen64.c: Likewise.
88236         * libio/iogetdelim.c: Likewise.
88237         * libio/iopopen.c: Likewise.
88238         * libio/obprintf.c: Likewise.
88239         * libio/oldfileops.c: Likewise.
88240         * libio/oldiofclose.c: Likewise.
88241         * libio/oldiofdopen.c: Likewise.
88242         * libio/oldiofopen.c: Likewise.
88243         * libio/oldiopopen.c: Likewise.
88244         * libio/wfiledoalloc.c: Likewise.
88245         * libio/wgenops.c: Likewise.
88246         * locale/programs/xmalloc.c: Likewise.
88247         * misc/syslog.c: Likewise.
88248         * stdio-common/xbug.c: Likewise.
88249         * string/memchr.c: Likewise.
88250         * string/memcmp.c: Likewise.
88251         * string/memrchr.c: Likewise.
88252         * string/rawmemchr.c: Likewise.
88253         * sysdeps/posix/getcwd.c: Likewise.
88254         * time/strftime_l.c: Likewise.
88256 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
88258         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
88259         * config.make.in (config-cflags-sse2avx): Define.
88260         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
88261         Fix typo.
88263 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
88265         * scripts/config.guess: Update from upstream config git repository.
88266         * scripts/config.sub: Likewise.
88268 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
88270         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
88271         (EM_NUM): Update.
88272         (R_TILEPRO_*, R_TILEGX_*): New macros.
88274         * scripts/firstversions.awk: Fix bug in version range handling.
88276         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
88278         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
88280         * include/sys/epoll.h: New file.
88281         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
88282         libc_hidden_def.
88284 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
88286         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
88287         Avoid unnecessary __WORDSIZE == 64 test.
88288         (fmaxf): Use VEX format if possible.
88289         (fmax): Likewise.
88290         (fminf): Likewise.
88291         (fmin): Likewise.
88293         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
88294         * math/math_private.h: Remove libc_fegetround* and
88295         libc_fesetround*.
88296         * sysdeps/i386/configure.in: Check for -msse2avx.
88297         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
88298         also if SSE2AVX is defined.
88299         Remove libc_fegetround* and libc_fesetround*.
88300         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
88301         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
88302         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
88303         of HAS_YMM_USABLE.
88304         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88305         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88306         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88307         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88308         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88310         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
88312 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
88314         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
88315         size is not set.
88316         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
88318 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
88320         [BZ #13618]
88321         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
88322         relocation.
88323         * Makeconfig (libm): Define.
88324         * elf/Makefile: Add rules to build and run tst-relsort1.
88325         * elf/tst-relsort1.c: New file.
88326         * elf/tst-relsort1mod1.c: New file.
88327         * elf/tst-relsort1mod2.c: New file.
88329 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
88331         * math/s_ldexp.c: Remove __STDC__ conditionals.
88332         * math/s_ldexpf.c: Likewise.
88333         * math/s_ldexpl.c: Likewise.
88334         * math/s_nextafter.c: Likewise.
88335         * math/s_nexttowardf.c: Likewise.
88336         * math/s_significand.c: Likewise.
88337         * math/s_significandf.c: Likewise.
88338         * math/s_significandl.c: Likewise.
88339         * math/w_jnl.c: Likewise.
88340         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
88341         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
88342         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
88343         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
88344         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
88345         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
88346         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
88347         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
88348         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
88349         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
88350         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
88351         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88352         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
88353         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
88354         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
88355         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
88356         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
88357         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
88358         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
88359         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88360         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88361         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
88362         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
88363         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
88364         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
88365         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
88366         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
88367         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
88368         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
88369         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
88370         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
88371         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
88372         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
88373         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
88374         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
88375         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
88376         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
88377         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
88378         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
88379         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
88380         * sysdeps/ieee754/k_standard.c: Likewise.
88381         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88382         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
88383         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
88384         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
88385         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
88386         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
88387         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
88388         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
88389         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
88390         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
88391         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
88392         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
88393         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
88394         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
88395         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
88396         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
88397         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
88398         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
88399         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
88400         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
88401         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
88402         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
88403         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
88404         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
88405         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
88406         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
88407         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88408         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88409         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
88410         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
88411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
88412         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
88413         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
88414         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
88415         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
88416         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
88417         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
88418         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
88419         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
88420         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
88421         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
88422         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
88423         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
88424         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
88425         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
88426         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
88427         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
88428         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
88429         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
88430         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
88431         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
88432         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
88433         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
88434         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
88435         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
88436         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
88437         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
88438         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88439         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88440         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88441         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
88442         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
88443         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
88444         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
88445         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
88446         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
88447         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
88448         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
88449         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
88450         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
88451         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
88452         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
88453         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
88454         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
88455         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
88456         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
88457         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
88458         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
88459         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
88460         * sysdeps/ieee754/s_matherr.c: Likewise.
88461         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
88462         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
88463         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
88464         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
88466 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88468         * crypt/md5.h: Remove __STDC__ conditionals.
88469         * libio/libioP.h: Likewise.
88470         * locale/programs/config.h: Likewise.
88471         * sysdeps/generic/sysdep.h: Likewise.
88472         * sysdeps/i386/asm-syntax.h: Likewise.
88473         * sysdeps/s390/asm-syntax.h: Likewise.
88474         * sysdeps/unix/sysdep.h: Likewise.
88475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
88476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
88478 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
88480         * libio/libio.h: Remove __STDC__ conditionals.
88481         * malloc/obstack.h: Likewise.
88482         * math/complex.h: Likewise.
88483         * math/math.h: Likewise.
88484         * sysdeps/generic/_G_config.h: Likewise.
88485         * sysdeps/gnu/_G_config.h: Likewise.
88486         * sysdeps/mach/hurd/_G_config.h: Likewise.
88487         * sysdeps/powerpc/bits/mathdef.h: Likewise.
88488         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
88489         * sysdeps/sparc/bits/mathdef.h: Likewise.
88491 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
88493         [BZ #13583]
88494         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
88495         Clean up HAS_* macros.
88496         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
88497         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
88498         possible.
88499         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
88500         HAS_AVX.
88501         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
88502         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
88503         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
88504         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
88505         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
88507 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
88509         * elf/tst-unique3.cc (gets): Remove declaration.
88510         * elf/tst-unique3lib.cc (gets): Likewise.
88511         * elf/tst-unique3lib2.cc (gets): Likewise.
88512         * elf/tst-unique4.cc (gets): Likewise.
88514 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
88516         * include/stdio.h: Add C++ protection.  Add gets declarations and
88517         definitions.
88518         * debug/tst-chk1.c: Don't declare gets here.
88519         * stdio-common/tst-gets.c: Likewise.
88521 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88523         * posix/glob: Remove directory.
88525 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
88527         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
88529 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
88531         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
88532         of the non-standard EPFNOSUPPORT.
88534 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
88536         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
88537         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
88538         ANYWHERE set to 1 only on KERN_NO_SPACE error.
88540 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
88542         * wcsmbs/uchar.h: Test __STDC_VERSION__.
88544 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
88546         * nscd/aicache.c (addhstaiX): Do not cache negative results of
88547         transient errors.
88548         * nscd/grpcache.c (cache_addgr): Likewise.
88549         * nscd/hstcache.c (cache_addhst): Likewise.
88550         * nscd/initgrcache.c (addinitgroupsX): Likewise.
88551         * nscd/pwdcache.c (cache_addpw): Likewise.
88552         * nscd/servicescache.c (cache_addserv): Likewise.
88554 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
88556         * malloc/malloc.c: Various cleanups.
88557         * malloc/hooks.c: Likewise.
88559         * stdlib/Makefile (tests): Add bug-fmtmsg1.
88560         * stdlib/bug-fmtmsg1.c: New file.
88562         * stdlib/fmtmsg.c (init): Add missing unlock.
88563         Patch by Peng Haitao <penght@cn.fujitsu.com>.
88565 2012-01-12  Marek Polacek  <polacek@redhat.com>
88567         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
88568         and _GNU_SOURCE.
88570 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
88572         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
88573         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
88574         macro to ensure uniqueness of label name.
88575         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
88576         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
88578 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
88580         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
88582         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
88583         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
88584         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
88585         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
88587 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
88589         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
88591         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
88592         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
88593         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
88595         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
88597         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
88598         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
88599         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
88600         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
88602         * math/bits/math-finite.h: Add ldexp support.
88604 2012-01-10  Marek Polacek  <polacek@redhat.com>
88606         * locale/programs/localedef.h (show_archive_content): Add noreturn
88607         attribute.
88609 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
88611         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
88613 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88615         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
88617         * io/Makefile (headers): Add bits/poll2.h.
88619 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
88621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
88622         typo #include statement.
88624 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88626         * include/sys/cdefs.h: Define __attribute_alloc_size.
88627         * catgets/gencat.c: Add alloc_size attribute and apply consistently
88628         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
88629         * elf/pldd.c: Likewise.
88630         * iconv/iconv_charmap.c: Likewise.
88631         * iconv/iconvconfig.c: Likewise.
88632         * iconv/strtab.c: Likewise.
88633         * locale/programs/locale.c: Likewise.
88634         * locale/programs/localedef.h: Likewise.
88635         * locale/programs/simple-hash.c: Likewise.
88636         * nscd/nscd.h: Likewise.
88637         * nss/makedb.c: Likewise.
88638         * sysdeps/generic/ldconfig.h: Likewise.
88639         * locale/programs/localedef.c: Remove xmalloc prototype.
88640         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
88642 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
88644         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
88645         appropriate.
88647 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
88649         * math/Makefile (tests): Add tst-CMPLX.
88650         * math/tst-CMPLX.c: New file.
88652         * math/complex.h (CMPLXL): Fix typo.
88654         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
88655         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
88656         GLIBC_2.16.
88657         * debug/tst-chk1.c: Add poll and ppoll tests.
88658         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
88659         * include/sys/poll.h: Add hidden proto for ppoll.
88660         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
88661         * sysdeps/mach/hurd/ppoll.c: Likewise.
88662         * io/ppoll.c: Likewise.
88663         * debug/poll_chk.c: New file.
88664         * debug/ppoll_chk.c: New file.
88665         * include/bits/poll2.h: New file.
88666         * io/bits/poll2.h: New file.
88668         [BZ #1350]
88669         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
88671         * configure.in: static is always set to yes.  Remove.
88672         * config.make.in: Don't set build-static.
88673         * Makeconfig: Remove use of build-static.
88674         * dlfcn/Makefile: Likewise.
88675         * elf/Makefile: Likewise.
88676         * math/Makefile: Likewise.
88677         * misc/Makefile: Likewise.
88678         * nptl/Makefile: Likewise.
88679         * sysdeps/mach/hurd/Makefile: Likewise.
88681         * configure.in: PWD_P is not used anymore.
88682         * config.make.in: Remove PWD_P entry.
88684         * configure.in: Remove last remnants of RANLIB.
88685         No need to check for signed size_t anymore.
88686         Don't set libc_commonpagesize and libc_relro_required here for Alpha
88687         and IA-64.
88688         Remove __builtin_expect test because we require at least gcc 3.4.
88689         * aclocal.m4: Likewise.
88691         * wcsmbs/mbrtoc16.c: Implement using towc function.
88692         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
88693         * wcsmbs/wcsmbsload.c: Likewise.
88694         * iconv/gconv_simple.c: Likewise.
88695         * iconv/gconv_int.h: Likewise.
88696         * iconv/gconv_builtin.h: Likewise.
88697         * iconv/iconv_prog.c: Remove CHAR16 handling.
88699         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
88701         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
88703         * configure.in: Remove --with-elf and --enable-bounded options.
88704         Dont set base_machine for ia64.  More non-ELF conditions removed.
88705         Remove testing and setting of leading underscore information.
88706         * config.make.in (build-bounded): Set to no.
88707         * config.h.in: Remove NO_UNDERSCORES entry.
88708         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
88709         them.
88710         * csu/start.c: Remove !NO_UNDERSCORE code.
88711         * locale/localeinfo.h: Likewise.
88712         * sysdeps/generic/machine-gmon.h: Likewise.
88713         * sysdeps/generic/sysdep.h: Likewise.
88714         * sysdeps/i386/sysdep.h: Likewise.
88715         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88716         * sysdeps/mach/sysdep.h: Likewise.
88717         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88718         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88719         * sysdeps/sh/sysdep.h: Likewise.
88720         * sysdeps/sparc/sparc32/alloca.S: Likewise.
88721         * sysdeps/unix/i386/sysdep.S: Likewise.
88722         * sysdeps/unix/sparc/start.c: Likewise.
88723         * sysdeps/unix/sparc/sysdep.S: Likewise.
88724         * sysdeps/unix/sparc/sysdep.h: Likewise.
88725         * sysdeps/unix/start.c: Likewise.
88726         * sysdeps/unix/x86_64/sysdep.S: Likewise.
88727         * sysdeps/x86_64/sysdep.h: Likewise.
88729 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
88731         [BZ #13553]
88732         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
88733         for non-gcc.
88734         * argp/argp-fmtstream.h: Use const instead __const.
88735         * argp/argp.h: Likewise.
88736         * assert/assert.h: Likewise.
88737         * bits/fenv.h: Likewise.
88738         * bits/sched.h: Likewise.
88739         * bits/sigset.h: Likewise.
88740         * bits/sigthread.h: Likewise.
88741         * catgets/nl_types.h: Likewise.
88742         * conform/data/pthread.h-data: Likewise.
88743         * crypt/crypt-private.h: Likewise.
88744         * crypt/crypt.h: Likewise.
88745         * crypt/crypt_util.c: Likewise.
88746         * ctype/ctype.h: Likewise.
88747         * debug/execinfo.h: Likewise.
88748         * debug/mbsnrtowcs_chk.c: Likewise.
88749         * debug/mbsrtowcs_chk.c: Likewise.
88750         * debug/wcsnrtombs_chk.c: Likewise.
88751         * debug/wcsrtombs_chk.c: Likewise.
88752         * debug/wcstombs_chk.c: Likewise.
88753         * dirent/dirent.h: Likewise.
88754         * dlfcn/dlfcn.h: Likewise.
88755         * elf/neededtest4.c: Likewise.
88756         * grp/grp.h: Likewise.
88757         * gshadow/gshadow.h: Likewise.
88758         * iconv/gconv.h: Likewise.
88759         * iconv/gconv_int.h: Likewise.
88760         * iconv/gconv_simple.c: Likewise.
88761         * iconv/iconv.h: Likewise.
88762         * iconv/loop.c: Likewise.
88763         * iconv/skeleton.c: Likewise.
88764         * include/aio.h: Likewise.
88765         * include/aliases.h: Likewise.
88766         * include/argz.h: Likewise.
88767         * include/arpa/inet.h: Likewise.
88768         * include/assert.h: Likewise.
88769         * include/dirent.h: Likewise.
88770         * include/dlfcn.h: Likewise.
88771         * include/execinfo.h: Likewise.
88772         * include/fcntl.h: Likewise.
88773         * include/fenv.h: Likewise.
88774         * include/glob.h: Likewise.
88775         * include/grp.h: Likewise.
88776         * include/libintl.h: Likewise.
88777         * include/mntent.h: Likewise.
88778         * include/netdb.h: Likewise.
88779         * include/pwd.h: Likewise.
88780         * include/rpc/netdb.h: Likewise.
88781         * include/sched.h: Likewise.
88782         * include/search.h: Likewise.
88783         * include/shadow.h: Likewise.
88784         * include/signal.h: Likewise.
88785         * include/stdio.h: Likewise.
88786         * include/stdlib.h: Likewise.
88787         * include/string.h: Likewise.
88788         * include/sys/socket.h: Likewise.
88789         * include/sys/stat.h: Likewise.
88790         * include/sys/statfs.h: Likewise.
88791         * include/sys/statvfs.h: Likewise.
88792         * include/sys/syslog.h: Likewise.
88793         * include/sys/time.h: Likewise.
88794         * include/sys/uio.h: Likewise.
88795         * include/time.h: Likewise.
88796         * include/unistd.h: Likewise.
88797         * include/utmp.h: Likewise.
88798         * include/wchar.h: Likewise.
88799         * include/wctype.h: Likewise.
88800         * inet/aliases.h: Likewise.
88801         * inet/arpa/inet.h: Likewise.
88802         * inet/netinet/ether.h: Likewise.
88803         * inet/netinet/in.h: Likewise.
88804         * intl/libintl.h: Likewise.
88805         * io/bits/fcntl2.h: Likewise.
88806         * io/fcntl.h: Likewise.
88807         * io/ftw.h: Likewise.
88808         * io/sys/poll.h: Likewise.
88809         * io/sys/stat.h: Likewise.
88810         * io/sys/statfs.h: Likewise.
88811         * io/sys/statvfs.h: Likewise.
88812         * io/utime.h: Likewise.
88813         * libio/bits/stdio.h: Likewise.
88814         * libio/bits/stdio2.h: Likewise.
88815         * libio/libio.h: Likewise.
88816         * libio/libioP.h: Likewise.
88817         * libio/stdio.h: Likewise.
88818         * locale/lc-ctype.c: Likewise.
88819         * locale/locale.h: Likewise.
88820         * login/utmp.h: Likewise.
88821         * malloc/arena.c: Likewise.
88822         * malloc/malloc.c: Likewise.
88823         * malloc/malloc.h: Likewise.
88824         * malloc/mcheck.c: Likewise.
88825         * malloc/mtrace.c: Likewise.
88826         * math/bits/mathcalls.h: Likewise.
88827         * math/fenv.h: Likewise.
88828         * math/math_private.h: Likewise.
88829         * misc/bits/error.h: Likewise.
88830         * misc/bits/syslog.h: Likewise.
88831         * misc/err.h: Likewise.
88832         * misc/error.h: Likewise.
88833         * misc/fstab.h: Likewise.
88834         * misc/mntent.h: Likewise.
88835         * misc/regexp.h: Likewise.
88836         * misc/search.h: Likewise.
88837         * misc/sgtty.h: Likewise.
88838         * misc/sys/mman.h: Likewise.
88839         * misc/sys/syslog.h: Likewise.
88840         * misc/sys/uio.h: Likewise.
88841         * misc/sys/xattr.h: Likewise.
88842         * misc/ttyent.h: Likewise.
88843         * nis/rpcsvc/ypclnt.h: Likewise.
88844         * nss/nss.h: Likewise.
88845         * posix/bits/unistd.h: Likewise.
88846         * posix/fnmatch.h: Likewise.
88847         * posix/glob.h: Likewise.
88848         * posix/sched.h: Likewise.
88849         * posix/spawn.h: Likewise.
88850         * posix/sys/wait.h: Likewise.
88851         * posix/unistd.h: Likewise.
88852         * posix/wordexp.h: Likewise.
88853         * pwd/pwd.h: Likewise.
88854         * resolv/netdb.h: Likewise.
88855         * resource/sys/resource.h: Likewise.
88856         * rt/aio.h: Likewise.
88857         * rt/bits/mqueue2.h: Likewise.
88858         * rt/mqueue.h: Likewise.
88859         * shadow/shadow.h: Likewise.
88860         * signal/signal.h: Likewise.
88861         * socket/send.c: Likewise.
88862         * socket/sendto.c: Likewise.
88863         * socket/sys/socket.h: Likewise.
88864         * stdio-common/printf.h: Likewise.
88865         * stdlib/bits/stdlib.h: Likewise.
88866         * stdlib/fmtmsg.h: Likewise.
88867         * stdlib/monetary.h: Likewise.
88868         * stdlib/stdlib.h: Likewise.
88869         * stdlib/ucontext.h: Likewise.
88870         * streams/stropts.h: Likewise.
88871         * string/argz.h: Likewise.
88872         * string/bits/string2.h: Likewise.
88873         * string/string.h: Likewise.
88874         * string/strings.h: Likewise.
88875         * sunrpc/rpc/auth.h: Likewise.
88876         * sunrpc/rpc/auth_des.h: Likewise.
88877         * sunrpc/rpc/clnt.h: Likewise.
88878         * sunrpc/rpc/netdb.h: Likewise.
88879         * sunrpc/rpc/pmap_clnt.h: Likewise.
88880         * sunrpc/rpc/xdr.h: Likewise.
88881         * sysdeps/generic/inttypes.h: Likewise.
88882         * sysdeps/generic/net/if.h: Likewise.
88883         * sysdeps/generic/sys/swap.h: Likewise.
88884         * sysdeps/gnu/net/if.h: Likewise.
88885         * sysdeps/gnu/utmpx.h: Likewise.
88886         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
88887         * sysdeps/i386/i486/bits/string.h: Likewise.
88888         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
88889         * sysdeps/s390/bits/string.h: Likewise.
88890         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
88891         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
88892         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
88893         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
88894         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
88895         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
88896         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
88897         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
88898         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
88899         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
88900         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
88901         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
88902         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
88903         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
88904         * sysdeps/unix/sysv/linux/readv.c: Likewise.
88905         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
88906         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
88907         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
88908         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
88909         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
88910         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
88911         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
88912         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
88913         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
88914         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
88915         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
88916         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
88917         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
88918         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
88919         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
88920         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
88921         * sysvipc/sys/ipc.h: Likewise.
88922         * sysvipc/sys/msg.h: Likewise.
88923         * sysvipc/sys/sem.h: Likewise.
88924         * sysvipc/sys/shm.h: Likewise.
88925         * termios/termios.h: Likewise.
88926         * time/sys/time.h: Likewise.
88927         * time/time.h: Likewise.
88928         * wcsmbs/bits/wchar2.h: Likewise.
88929         * wcsmbs/uchar.h: Likewise.
88930         * wcsmbs/wchar.h: Likewise.
88931         * wctype/wctype.h: Likewise.
88933         [BZ #13551]
88934         * Makeconfig: Remove all but ELF support including AIX support.
88935         * Makerules: Likewise.
88936         * config.h.in: Likewise.
88937         * config.make.in: Likewise.
88938         * configure: Likewise.
88939         * configure.in: Likewise.
88940         * csu/Makefile: Likewise.
88941         * csu/version.c: Likewise.
88942         * debug/Makefile: Likewise.
88943         * dlfcn/Makefile: Likewise.
88944         * elf/Makefile: Likewise.
88945         * extra-lib.mk: Likewise.
88946         * iconv/Makefile: Likewise.
88947         * include/libc-symbols.h: Likewise.
88948         * include/shlib-compat.h: Likewise.
88949         * resolv/Makefile: Likewise.
88950         * resolv/res_libc.c: Likewise.
88951         * rt/Makefile: Likewise.
88952         * sysdeps/i386/asm-syntax.h: Likewise.
88953         * sysdeps/i386/sysdep.h: Likewise.
88954         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
88955         * sysdeps/mach/sysdep.h: Likewise.
88956         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
88957         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
88958         * sysdeps/s390/asm-syntax.h: Likewise.
88959         * sysdeps/s390/s390-32/sysdep.h: Likewise.
88960         * sysdeps/s390/s390-64/sysdep.h: Likewise.
88961         * sysdeps/sh/sysdep.h: Likewise.
88962         * sysdeps/unix/sparc/sysdep.h: Likewise.
88963         * sysdeps/wordsize-32/divdi3.c: Likewise.
88964         * sysdeps/x86_64/sysdep.h: Likewise.
88966         * argp/Versions: Remove _argp_unlock_xxx.
88968         [BZ #13559]
88969         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
88970         * abilist/libBrokenLocale.abilist: Likewise.
88971         * abilist/libanl.abilist: Likewise.
88972         * abilist/libc.abilist: Likewise.
88973         * abilist/libcrypt.abilist: Likewise.
88974         * abilist/libdl.abilist: Likewise.
88975         * abilist/libm.abilist: Likewise.
88976         * abilist/libnsl.abilist: Likewise.
88977         * abilist/libpthread.abilist: Likewise.
88978         * abilist/libresolv.abilist: Likewise.
88979         * abilist/librt.abilist: Likewise.
88980         * abilist/libthread_db.abilist: Likewise.
88981         * abilist/libutil.abilist: Likewise.
88982         * abilist/libnss_db.abilist: New file.
88984         * scripts/abilist.awk: Add support for indirect functions.
88986         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
88988         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
88990         * shlib-versions: Remove entries for ports architectures.
88992         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
88993         files in ports.
88994         * elf/stackguard-macros.h: Remove support for IA-64.
88995         * elf/tst-auditmod1.c: Likewise.
88996         * sysdeps/generic/ldsodefs.h: Likewise.
88998         * sysdeps/unix/sysv/linux/configure.in: Ports should define
88999         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
89000         configure files.
89002         [BZ #13552]
89003         * configure.in: Remove --enable-omitfp support.
89004         * FAQ.in: Adjust.
89005         * config.make.in: Likewise.
89006         * Makeconfig: Likewise.
89007         * manual/install.texi: Likewise.
89009         In case anyone cares, the IA-64 architecture could move to ports.
89010         * sysdeps/ia64/*: Removed.
89011         * sysdeps/unix/sysv/linux/ia64/*: Removed.
89012         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
89014         [BZ #13555]
89015         * configure.in: Remove entries for unsupported architectures.
89017         [BZ #13533]
89018         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
89019         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
89020         routines.
89021         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
89022         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
89023         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
89024         fall back to using wcrtomb.
89025         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
89026         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
89027         renaming.
89028         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
89029         * wcsmbs/tst-c16c32-1.c: New file.
89031         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
89032         local variable.
89034         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
89036         * elf/tst-unique3.cc: Add explicit declaration of gets.
89037         * elf/tst-unique3lib.cc: Likewise.
89038         * elf/tst-unique3lib2.cc: Likewise.
89039         * elf/tst-unique4.cc: Likewise.
89041         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
89043 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
89045         [BZ #13566]
89046         * assert/assert.h (static_assert): Don't define for C++.
89047         * libio/stdio.h (gets): Do declare for C++ <= C++11.
89048         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
89050 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
89052         * iconv/loop.c (single loop): Fix assertion in storing of
89053         remaining bytes.
89055         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
89057 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
89059         * posix/getconf.c: Update copyright year.
89060         * nss/getent.c: Likewise.
89061         * nss/makedb.c: Likewise.
89062         * iconv/iconvconfig.c: Likewise.
89063         * iconv/iconv_prog.c: Likewise.
89064         * elf/ldconfig.c: Likewise.
89065         * elf/pldd.c: Likewise.
89066         * elf/sotruss.ksh: Likewise.
89067         * catgets/gencat.c: Likewise.
89068         * csu/version.c: Likewise.
89069         * elf/ldd.bash.in: Likewise.
89070         * elf/sprof.c (print_version): Likewise.
89071         * locale/programs/locale.c: Likewise.
89072         * locale/programs/localedef.c: Likewise.
89073         * login/programs/pt_chown.c: Likewise.
89074         * nscd/nscd.c (print_version): Likewise.
89075         * debug/xtrace.sh: Likewise.
89076         * malloc/memusage.sh: Likewise.
89077         * malloc/mtrace.pl: Likewise.
89078         * debug/catchsegv.sh: Likewise.
89080 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
89082         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
89083         pure attribute.
89085 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
89087         [BZ #13533]
89088         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
89089         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
89090         transformations.
89091         * iconv/gconv_int.h: Likewise.
89092         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
89093         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
89094         from libc for GLIBC_2.16.
89095         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
89096         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
89097         * wcsmbs/uchar.h: Really define mbstate_t.
89098         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
89099         * wcsmbs/c16rtomb.c: New file.
89100         * wcsmbs/mbrtoc16.c: New file.
89101         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
89102         for C/POSIX locale.
89103         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
89104         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
89106         * wcsmbs/wchar.h: Add missing __restrict.
89108 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89110         [BZ #13532]
89111         * time/Makefile (routines): Add timespec_get.
89112         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
89113         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
89114         timespec for ISO C11.
89115         * time/timespec_get.c: New file.
89116         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
89117         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
89119         [BZ #13531]
89120         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
89121         * stdlib/stdlib.h: Declare aligned_alloc.
89122         * Versions.def: Add GLIBC_2.16 for libc.
89123         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
89125         [BZ 13527]
89126         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
89127         ISO C11.
89129         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
89130         code.
89132         [BZ #13528]
89133         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
89135         [BZ #13529]
89136         * assert/assert.h (static_assert): Define.
89138         * version.h: Update for 2.16 development version.
89140         [BZ #13526]
89141         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
89142         _ISOC11_SOURCE.
89144         * version.h (RELEASE): Bump for 2.15 release.
89145         * include/features.h (__GLIBC_MINOR__): Bump to 15.
89147         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
89148         Patch by Marek Polacek <mpolacek@redhat.com>.
89150         * bits/byteswap.h: Protect long long constants with __extension__.
89151         * sysdeps/i386/bits/byteswap.h: Likewise.
89152         * sysdeps/ia64/bits/byteswap.h: Likewise.
89153         * sysdeps/s390/bits/byteswap.h: Likewise.
89154         * sysdeps/x86_64/bits/byteswap.h: Likewise.
89156 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89158         [BZ #13540]
89159         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
89160         destination buffer.
89161         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
89163 2011-12-23  Marek Polacek  <polacek@redhat.com>
89165         * elf/dl-addr.c (determine_info): Add inline keyword.
89166         * elf/tst-auditmod4b.c (check_avx): Likewise.
89167         * elf/tst-auditmod6b.c (check_avx): Likewise.
89168         * elf/tst-auditmod6c.c (check_avx): Likewise.
89169         * elf/tst-auditmod7b.c (check_avx): Likewise.
89171 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
89173         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
89174         !__SSE_MATH__.
89176 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89178         [BZ #13540]
89179         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
89180         processing for last bytes.
89182 2011-08-06  Bruno Haible  <bruno@clisp.org>
89184         [BZ #13061]
89185         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
89186         U+0385, not to U+1FEE.
89188         [BZ #13062]
89189         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
89190         entry for U+00A5 U+0301.
89192 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89194         [BZ #13166]
89195         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
89196         buffer for the output is too small.
89198         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
89199         optimization.
89201         [BZ #13185]
89202         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
89203         SSE flags if possible.
89205 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89207         [BZ #13540]
89208         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
89209         processing for last bytes.
89211 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
89213         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
89214         (syscall-list-default-options, syscall-list-default-condition)
89215         (syscall-list-includes): Define.
89216         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
89217         list of ABIs and options and #if conditions for each ABI.  Do not
89218         handle common syscalls between ABIs specially.
89219         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
89220         Remove.
89221         (syscall-list-variants, syscall-list-32bit-options)
89222         (syscall-list-32bit-condition, syscall-list-64bit-options)
89223         (syscall-list-64bit-condition): Define.
89224         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
89225         (syscall-list-variants, syscall-list-32bit-options)
89226         (syscall-list-32bit-condition, syscall-list-64bit-options)
89227         (syscall-list-64bit-condition): Define.
89228         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
89229         Remove.
89230         (syscall-list-variants, syscall-list-32bit-options)
89231         (syscall-list-32bit-condition, syscall-list-64bit-options)
89232         (syscall-list-64bit-condition): Define.
89233         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
89234         Remove.
89235         (syscall-list-variants, syscall-list-32bit-options)
89236         (syscall-list-32bit-condition, syscall-list-64bit-options)
89237         (syscall-list-64bit-condition): Define.
89239 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
89241         * locale/iso-639.def: Add brx entry.
89243         [BZ #13328]
89244         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
89245         Proposed by Mariusz_Cukr <marcukr@op.pl>.
89247         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
89248         __feraiseexcept_renamed.
89250 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89252         [BZ #13538]
89253         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
89254         EPOLLET with unsigned values.
89255         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
89256         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
89258         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
89259         to large cancellation.
89260         * math/s_cacoshf.c: Likewise.
89261         * math/s_cacoshl.c: Likewise.
89263 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
89265         [BZ #13305]
89266         [BZ #12786]
89267         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
89268         * math/s_cacoshf.c: Likewise.
89269         * math/s_cacoshl.c: Likewise.
89271 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
89273         [BZ #13439]
89274         * iconv/gconv.h: Define __GCONV_SWAP.
89275         * iconvdata/unicode.c: The swap bit must be stored in __flags.
89276         * iconvdata/utf-16.c: Likewise.
89277         * iconvdata/utf-32.c: Likewise.
89279 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
89281         [BZ #13524]
89282         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
89283         numerator after shifting it by one limb.
89285 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
89287         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
89288         under [__USE_EXTERN_INLINES].
89290 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89292         [BZ #13446]
89293         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
89295 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89297         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
89298         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
89299         optimized code.
89300         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
89301         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
89302         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
89303         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
89304         for strncasecmp/strncasecmp_l compilation.
89305         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
89306         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
89308 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
89310         [BZ #13484]
89311         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
89312         of __asm__.
89314 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
89316         [BZ #13506]
89317         * time/tzfile.c (__tzfile_read): Check values from file header.
89319 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
89321         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
89322         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
89323         * powerpc/powerpc32/dl-start.S: Likewise.
89324         * powerpc/powerpc32/elf/start.S: Likewise.
89325         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
89326         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
89327         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
89328         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
89329         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
89330         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
89331         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
89332         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
89333         * powerpc/powerpc32/fpu/s_round.S: Likewise.
89334         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
89335         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
89336         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
89337         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
89338         * powerpc/powerpc32/memset.S: Likewise.
89339         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
89340         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
89341         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
89342         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
89343         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
89344         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
89345         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
89346         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
89347         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
89348         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
89349         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
89350         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
89351         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
89353 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89355         * math/libm-test.inc: Added more nearbyint tests.
89356         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
89357         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
89358         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
89359         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
89361 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
89363         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
89364         FD_CLOEXEC.
89366 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89368         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
89369         Add wcscpy-ssse3 wcscpy-c.
89370         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
89371         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
89372         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
89373         * sysdeps/x86_64/wcschr.S: New file.
89374         * sysdeps/x86_64/wcsrchr.S: New file.
89375         * string/test-strcmp.c: Remove checking of wcscmp function for
89376         wrong alignments.
89377         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
89378         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
89379         wcsrchr-sse2 wcsrchr-c.
89380         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
89381         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
89382         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
89383         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
89384         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
89385         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
89386         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
89387         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
89388         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
89389         * wcsmbc/wcschr.c (WCSCHR): New macro.
89391 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89393         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
89394         * wcsmbs/test-wcsrchr.c: New file.
89395         * string/test-strrchr.c: Add wcsrchr support.
89396         (WIDE): New macro.
89397         * wcsmbs/test-wcscpy.c: New file.
89398         * string/test-strcpy.c: Add wcscpy support.
89399         (WIDE): New macro.
89401 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
89403         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
89404         the inner loop.
89406 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
89408         [BZ #13472]
89409         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
89411 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
89413         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
89414         Minor optimizations.
89416         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
89417         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
89418         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
89420 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
89422         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
89423         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
89424         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
89425         for gcc to avoid warnings.
89426         * inet/Makefile (tests): Add tst-checks.
89427         * inet/tst-checks.c: New file.
89429         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
89430         warning.
89432         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
89433         __wmemcmp_sse2.
89435         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
89436         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
89438         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
89440 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
89442         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
89443         problem.
89445         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
89447 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
89449         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
89450         conditional on GCC version.
89451         (__arch_compare_and_exchange_val_8_acq)
89452         (__arch_compare_and_exchange_val_16_acq)
89453         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
89454         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
89455         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
89457 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
89459         * sysdeps/sh/backtrace.c: New file.
89461 2011-12-02  Andreas Schwab  <schwab@redhat.com>
89463         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
89464         parenthesis.
89466 2011-12-01  Andreas Schwab  <schwab@redhat.com>
89468         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
89469         falling back to utime.
89471 2011-11-30  Andreas Schwab  <schwab@redhat.com>
89473         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
89474         expectations for float.
89476 2011-11-29  Andreas Schwab  <schwab@redhat.com>
89478         * locale/weight.h (findidx): Add parameter len.
89479         * locale/weightwc.h (findidx): Likewise.
89480         * posix/fnmatch_loop.c (FCT): Adjust caller.
89481         * posix/regcomp.c (build_equiv_class): Likewise.
89482         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
89483         * posix/regexec.c (check_node_accept_bytes): Likewise.
89484         * string/strcoll_l.c (STRCOLL): Likewise.
89485         * string/strxfrm_l.c (STRXFRM): Likewise.
89487 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
89489         * Makefile.in: Remove CVSOPT handling.
89490         * configure.in: Remove use of AC_REVISION.
89491         * iconvdata/Makefile (distribute): No need to filter out CVS.
89492         * scripts/list-sources.sh: Remove CVS, subversion and monotone
89493         handling.
89495 2011-11-16  Andreas Schwab  <schwab@redhat.com>
89497         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
89498         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
89499         [USE_AS_STRNCASECMP_L]: Likewise.
89500         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
89501         NO_TLS_DIRECT_SEG_REFS.
89502         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
89503         Fix argument offsets for non-PIC.
89504         [USE_AS_STRNCASECMP_L]: Likewise.
89505         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
89506         NO_TLS_DIRECT_SEG_REFS.
89508 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89510         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
89511         O_CLOEXEC.
89512         * locale/loadlocale.c (_nl_load_locale): Likewise.
89514 2011-11-15  Andreas Schwab  <schwab@redhat.com>
89516         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
89517         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
89518         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
89519         (SYSCALL_GETTIME): Set errno on error.
89521         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
89522         count references to noai6ai_cached.
89524 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
89526         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
89528         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
89529         FD_CLOEXEC for /proc/self/maps.
89531         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
89532         FD_CLOEXEC for /proc/meminfo.
89534         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
89535         gai.conf.
89537         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
89538         FD_CLOEXEC for given file.
89540         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
89542         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
89543         FD_CLOEXEC for /etc/hosts.
89544         (_gethtent): Likewise.
89546         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
89548         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
89549         cancellation and set FD_CLOEXEC for /etc/netgroup.
89551         * nss/nss_files/files-key.c (search): Don't allow cancellation when
89552         reading /etc/publickey.
89554         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
89555         allow cancellation when reading /etc/group.
89557         * nss/nss_files/files-alias.c (internal_setent): Don't allow
89558         cancellation.
89559         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
89561         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
89562         when using data file.
89564         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
89566         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
89567         (write_nis_obj): Use "c" and "e" in fopen.
89569         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
89571         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
89573         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
89575         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
89577         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
89578         locale.alias.
89580         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
89582         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
89584         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
89586         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
89587         file parsing and set FD_CLOEXEC.
89589 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89591         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
89593 2011-11-14  Andreas Schwab  <schwab@redhat.com>
89595         * malloc/arena.c (arena_get2): Don't call reused_arena when
89596         _int_new_arena failed.
89598 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
89600         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
89601         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
89602         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
89603         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
89604         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
89605         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
89606         to compile strcasecmp and strncasecmp.
89607         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
89608         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
89610         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
89612 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
89614         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
89615         locale-defines.sym to gen-as-const-headers.
89616         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
89617         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
89618         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
89619         to compile strcasecmp and strncasecmp.
89620         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
89621         strcasecmp_l and strncasecmp_l.
89622         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
89623         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
89624         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
89625         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
89626         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
89627         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
89628         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
89629         * sysdeps/i386/i686/multiarch/strncase.S: New file.
89630         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
89631         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
89632         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
89634 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
89636         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
89637         result of SYSDEP_GETTIME_CPU to retval.
89638         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
89639         parameter list to macro.  Remove trailing semicolon.  Adjust users.
89641         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
89642         variable.
89644         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
89645         mantissa words.
89646         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
89648         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
89649         from unused variable.
89651         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
89652         DWARF definitions.
89653         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
89654         for assembling.
89656         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
89657         over namespaces.
89659         * sunrpc/rpc_prot.c (rejected): Fix case value.
89661         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
89662         unsigned long long int to avoid warnings in shift.
89664         * posix/regex_internal.c (re_string_reconstruct): Actually use result
89665         of use of trans.
89666         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
89667         variable tmp.
89669         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
89670         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
89671         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
89673         * nis/nis_table.c (nis_list): Use variable of correct type for
89674         result of __follow_path call.
89676 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89678         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
89679         of math functions ceil, trunc, floor, round, and sqrt, when
89680         avaliable on the platform.
89681         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
89682         name clash.
89683         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
89684         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
89685         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
89687 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
89689         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
89690         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
89692 2011-11-11  Roland McGrath  <roland@hack.frob.com>
89694         * include/unistd.h: Fix __readlink return type.
89695         Reported by Chris Metcalf <cmetcalf@tilera.com>.
89697 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
89699         * stdlib/ucontext.h: Undo last change for makecontext.
89701 2011-11-11  Andreas Schwab  <schwab@redhat.com>
89703         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
89705         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
89706         * setjmp/setjmp.h: Mark functions as non-leaf.
89707         * setjmp/bits/setjmp2.h: Likewise.
89708         * stdlib/ucontext.h: Likewise.
89710 2011-11-10  Andreas Schwab  <schwab@redhat.com>
89712         * malloc/arena.c (_int_new_arena): Don't increment narenas.
89713         (reused_arena): Don't check arena limit.
89714         (arena_get2): Atomically check arena limit.
89716 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
89718         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
89719         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
89721         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
89722         instructions.
89724 2011-11-07  Andreas Schwab  <schwab@redhat.com>
89726         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
89727         handler when locking.
89729         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
89730         Fix size of allocated buffer.
89732 2011-11-04  Andreas Schwab  <schwab@redhat.com>
89734         [BZ #10103]
89735         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
89736         declarations for long double functions.
89737         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
89739         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
89741 2011-11-03  Andreas Schwab  <schwab@redhat.com>
89743         * nscd/nscd.c (main): Don't start AVC thread until credentials are
89744         installed.
89746         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
89747         is disabled.
89749 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89751         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
89753 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
89755         * include/alloca.h (stackinfo_alloca_round): Define.
89756         (extend_alloca): Use it.
89757         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
89758         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
89759         here.
89761         * scripts/check-local-headers.sh: Ignore libaudit.h.
89763         * nscd/Makefile (extra-objs): Make recursively expanded.
89765 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
89767         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
89768         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
89770         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
89771         * posix/tst-rfc3484-2.c: Likewise.
89772         * posix/tst-rfc3484-3.c: Likewise.
89774         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
89775         process_vm_writev.
89776         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
89777         process_vm_writev.
89778         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
89779         process_vm_writev from libc using GLIBC_2.15 version.
89781         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
89783 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
89785         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
89786         stack usage.
89788 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
89790         [BZ #13367]
89791         * nss/getent.c (initgroups_keys): Show error message in case no group
89792         names are given.
89794         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
89795         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
89796         __bump_nl_timestamp.
89797         * nscd/connections (nscd_init): When host database is served open
89798         netlink socket and request notification about configuration changes.
89799         (main_loop_poll): Track netlink file descriptor and bump timestamp
89800         in case data becomes available.
89801         (main_loop_epoll): Likewise.
89802         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
89803         (database_pers_head): Add extra_data fileds.
89804         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
89805         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
89806         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
89807         Adjust caller.
89808         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
89809         in6ai data, call __free_in6ai.
89810         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
89811         Add -DHAVE_NETLINK.
89812         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
89813         interface information.  Reuse previous data if netlink timestamp
89814         is not changed.
89815         (__bump_nl_timestamp): New function.
89816         (__free_in6ai): New function.
89818 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
89820         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
89821         close_not_cancel_no_status here.
89822         (__check_pf): Reorganize code a bit to not call close twice if OOM.
89824 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89826         [BZ #13276]
89827         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
89828         return value.
89830         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
89831         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
89832         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
89834 2011-07-03  Andreas Jaeger  <aj@suse.de>
89836         [BZ #10709]
89837         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
89838         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
89839         * math/libm-test.inc (sin_test): Add test case.
89841 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
89843         [BZ #13337]
89844         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
89845         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89847         * elf/chroot_canon.c (chroot_canon): Cleanups.
89849         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
89851         [BZ #13335]
89852         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
89853         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
89855         * string/test-strchr.c: Make usable for strchrnul testing.
89856         * string/test-strchrnul.c: New file.
89857         * string/Makefile (strop-tests): Add strchrnul.
89859         * po/it.po: Update from translation team.
89860         * po/es.po: Likewise.
89862 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
89864         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
89865         the three constants needed as parameters.  Drop the others.
89866         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
89867         __m128i_strloadu_tolower.
89868         Create and initialize variable zero and use it in all the places
89869         where _mm_setzero_si128 was used.
89871         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
89872         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
89873         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
89874         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
89875         anymore.
89876         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
89877         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
89878         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
89879         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
89880         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
89881         __mpranred, __mptan.
89882         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
89883         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
89884         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
89885         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
89886         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
89887         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
89888         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
89889         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
89890         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
89892 2011-10-28  Andreas Schwab  <schwab@redhat.com>
89894         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
89895         redefine if SHARED.
89896         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
89898         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
89899         wide char related routines to wcsmbs subdir.
89901 2011-10-27  Andreas Schwab  <schwab@redhat.com>
89903         [BZ #13344]
89904         * misc/sys/cdefs.h (__THROWNL): Define.
89905         * posix/unistd.h: Use __THREADNL instead of __THREAD
89906         for memory synchronization functions.
89908 2011-10-26  Roland McGrath  <roland@hack.frob.com>
89910         [BZ #13349]
89911         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
89912         doesn't exist.
89913         * manual/stdio.texi (Obstack Streams): Node removed.
89915 2011-10-26  Andreas Schwab  <schwab@redhat.com>
89917         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
89918         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89919         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89921         * math/math_private.h (math_force_eval): Allow non-addressable
89922         arguments.
89923         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
89925 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89927         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
89928         file is not needed.
89930         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
89931         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
89932         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
89933         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
89934         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
89935         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
89936         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
89937         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
89938         Add AVX variants.
89939         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
89940         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
89941         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
89942         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
89943         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
89944         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
89945         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
89946         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
89947         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
89948         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
89949         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
89950         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
89951         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
89952         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
89953         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
89954         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
89955         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
89956         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
89957         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
89959         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
89960         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
89962         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
89963         place.  Use VEX encoding when compiling for AVX.
89965 2011-10-25  Andreas Schwab  <schwab@redhat.com>
89967         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
89968         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
89970         * string/test-strchr.c (do_test): Don't generate NUL bytes.
89972 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
89974         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
89975         useless if() expression.
89976         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
89977         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
89978         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
89979         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
89980         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
89981         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
89982         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
89983         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
89984         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
89985         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
89986         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
89987         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
89988         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
89989         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
89990         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
89991         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
89992         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
89993         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
89994         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
89996         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
89998 2011-10-25  Andreas Schwab  <schwab@redhat.com>
90000         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
90001         condition.
90002         * elf/dl-fini.c (_dl_sort_fini): Likewise.
90004 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
90006         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
90007         .text section.  Avoid duplicate constants.
90008         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
90009         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90010         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90011         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90012         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90013         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90014         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90015         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90016         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
90017         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
90018         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
90019         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
90020         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
90021         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
90022         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
90023         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
90024         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
90025         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
90026         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
90027         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90028         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
90029         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
90030         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
90031         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
90032         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
90033         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
90034         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
90035         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
90036         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
90037         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
90038         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
90039         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
90040         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
90041         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
90042         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
90043         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
90044         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
90045         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
90046         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
90047         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
90048         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
90049         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
90050         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
90051         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
90052         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
90054 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
90056         * sysdeps/x86_64/dla.h: Move to ...
90057         * sysdeps/x86_64/fpu/dla.h: ...here.
90058         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
90059         situations.  Use __builtin_fma only for gcc 4.6 and up.
90061         * config.make.in: Add have-mfma4 entry.
90062         * configure.in: Substitute libc_cv_cc_fma4.
90063         * math/Makefile (dbl-only-routines): Add sincostab.
90064         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
90065         Use __sincostab not sincos.
90066         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
90067         name is a macro.
90068         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90069         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90070         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90071         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
90072         using __copysign.
90073         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
90074         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
90075         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
90076         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
90077         and __inv.
90078         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
90079         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
90080         __copysign.
90081         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
90082         define aliases when function name is a macro.
90083         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
90084         sysdeps/ieee754/dbl-64/sincos.tbl.
90085         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
90086         fma4-enabled routines.
90087         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
90088         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
90089         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
90090         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
90091         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
90092         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
90093         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
90094         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
90095         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
90096         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
90097         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
90098         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
90099         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
90100         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
90101         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
90102         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
90103         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
90104         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
90105         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
90106         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
90107         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
90108         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
90109         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
90110         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
90111         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
90112         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
90113         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
90114         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
90115         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
90116         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
90118         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
90119         rename.
90120         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90121         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90122         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90123         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90124         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90125         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90126         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90127         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90129 2011-10-24  Andreas Schwab  <schwab@redhat.com>
90131         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
90133 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90135         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
90137         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
90138         prediction.
90139         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
90141         * string/strnlen.c: Don't define STRNLEN, reverse logic.
90142         Remove unused variable magic_bits.
90143         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
90145         * string/strnlen.c: Define and use STRNLEN macro.
90146         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
90147         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
90148         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
90149         * wcsmbs/wcslen.c: Define and use WCSLEN.
90150         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
90151         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
90152         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
90153         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
90154         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
90155         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
90156         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
90158 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90160         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90161         strnlen-sse2-no-bsf.
90162         Rename strlen-no-bsf to strlen-sse2-no-bsf.
90163         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
90164         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
90165         Add strnlen support.
90166         (USE_AS_STRNLEN): New macro.
90167         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
90168         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
90169         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
90170         * sysdeps/x86_64/wcslen.S: New file.
90172 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
90174         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
90175         XMM-moves are used for copying on small sizes.
90177 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90179         * wcsmbs/Makefile (strop-tests): Add wcschr.
90180         * wcsmbs/test-wcschr.c: New file.
90181         * string/test-strchr.c: Update.
90182         Add wcschr support.
90183         (WIDE): New macro.
90185 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90187         * wcsmbs/Makefile (strop-tests): Add wcslen.
90188         * wcsmbs/test-wcslen.c: New file.
90189         * string/test-strlen.c: Update.
90190         Add wcslen support.
90191         (WIDE): New macro.
90193 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90195         * po/it.po: Update from translation team.
90197 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90199         * sysdeps/x86_64/wcscmp.S: Update.
90200         Fix wrong comparison semantics.
90201         wcscmp shall use signed comparison not unsigned.
90202         Don't use substraction to avoid overflow bug.
90203         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
90204         * wcsmbc/wcscmp.c: Likewise.
90205         * string/test-strcmp.c: Likewise.
90206         Add new tests to check cases with negative values.
90208 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
90210         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
90211         * sysdeps/x86_64/dla.h: ...here.  New file.
90212         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
90213         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90214         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90216         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90217         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90218         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90219         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90220         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90222 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
90224         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
90225         __ynl_finite aliases.
90227 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90229         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
90231         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
90232         define DLA_FMA.
90233         [DLA_FMA] (EMULV): Use DLA_FMA.
90234         [DLA_FMA] (MUL12): Use EMULV.
90235         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
90236         that are not needed.
90237         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
90238         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90239         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90240         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90241         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90242         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
90243         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
90245 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
90247         * math/s_nan.c: Undef __nan.
90248         * math/s_nanf.c: Undef __nanf.
90249         * math/s_nanl.c: Undef __nanl.
90250         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
90251         "math_private.h".
90253 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
90255         * math/s_catan.c: Add branch predictions.
90256         * math/s_catanf.c: Likewise.
90257         * math/s_catanh.c: Likewise.
90258         * math/s_catanhf.c: Likewise.
90259         * math/s_catanhl.c: Likewise.
90260         * math/s_catanl.c: Likewise.
90261         * math/s_cexp.c: Likewise.
90262         * math/s_cexpf.c: Likewise.
90263         * math/s_cexpl.c: Likewise.
90264         * math/s_clog.c: Likewise.
90265         * math/s_clog10.c: Likewise.
90266         * math/s_clog10f.c: Likewise.
90267         * math/s_clog10l.c: Likewise.
90268         * math/s_clogf.c: Likewise.
90269         * math/s_clogl.c: Likewise.
90270         * math/s_csqrt.c: Likewise.
90271         * math/s_csqrtf.c: Likewise.
90272         * math/s_csqrtl.c: Likewise.
90273         * math/s_ctanf.c: Likewise.
90274         * math/s_ctanh.c: Likewise.
90275         * math/s_ctanhf.c: Likewise.
90276         * math/s_ctanhl.c: Likewise.
90277         * math/s_ctanl.c: Likewise.
90279         * math/math_private.h: Define __nan, __nanf, __nanl.
90280         * math/s_cacosh.c: Include <math_private.h>.
90281         * math/s_cacoshl.c: Likewise.
90282         * math/s_casinh.c: Likewise.
90283         * math/s_casinhf.c: Likewise.
90284         * math/s_casinhl.c: Likewise.
90285         * math/s_ccos.c: Rely entire on ccosh.
90286         * math/s_ccosf.c: Rely entire on ccoshf.
90287         * math/s_ccosl.c: Rely entirely on ccoshl.
90288         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
90289         Remove tests for FE_INVALID.
90290         * math/s_ccoshf.c: Likewise.
90291         * math/s_ccoshl.c: Likewise.
90292         * math/s_csin.c: Likewise.
90293         * math/s_csinf.c: Likewise.
90294         * math/s_csinh.c Likewise.
90295         * math/s_csinhf.c: Likewise.
90296         * math/s_csinhl.c: Likewise.
90297         * math/s_csinl.c: Likewise.
90298         * math/s_ctan.c: Likewise.
90299         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
90300         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
90301         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
90303 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
90305         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
90306         compilation problems.
90308         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
90309         __builtin_expect.
90311 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
90313         * sysdeps/i386/configure.in: Test for -mfma4 option.
90314         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
90315         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
90316         COMMON_CPUID_INDEX_80000001.
90317         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
90318         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
90319         use it if FMA3 is not supported.
90320         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
90322         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
90323         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
90325 2011-10-20  Andreas Schwab  <schwab@redhat.com>
90327         [BZ #12892]
90328         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
90329         it would create a cycle with a link time dependency.
90331 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
90333         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
90334         instruction.
90335         * string/Makefile (strop-tests): Add rawmemchr.
90336         * string/test-rawmemchr.c: New file.
90338         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
90339         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
90340         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
90341         when compiling str{,n}casecmp and when AVX is available.  Hook up
90342         new optimized code in initializers.
90344 2011-10-19  Andreas Schwab  <schwab@redhat.com>
90346         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
90347         __feraiseexcept instead of feraiseexcept.
90349 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
90351         * math/math_private.h: Define defaults for libc_fetestexcept and
90352         libc_feupdateenv.
90353         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
90354         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
90355         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90356         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90357         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
90358         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90359         libc_fetestexcept and libc_feupdateenv.
90361         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
90362         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
90363         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
90364         * sysdeps/x86_64/fpu/math_private.h: Define special version of
90365         libc_feholdexcept_setround.
90367         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
90368         Add s_nearbyint-c and s_nearbyintf-c.
90369         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
90370         nearbyintf inlines.
90371         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
90372         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
90373         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
90374         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
90376         * math/math_private.h: Define defaults for libc_fegetround,
90377         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
90378         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
90379         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
90380         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
90381         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
90382         standard functions.
90383         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90384         Remove comments and hacks for old compiler versions.
90385         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
90386         libc_fegetround, libc_fesetround, libc_feholdexcept, and
90387         libc_feholdexceptl.
90389 2011-10-18  Andreas Schwab  <schwab@redhat.com>
90391         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
90392         (__feraiseexcept_renamed): Add __NTH.
90393         (feraiseexcept): Add __NTH.  Rename local variables to fix
90394         namespace violations.
90396 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
90398         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
90400         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
90402         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
90403         recently added interfaces.
90404         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
90406         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
90407         about macro parameter expansion.
90409         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
90410         __NO_MATH_INLINES is defined.  Cleanups.
90412         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
90413         and __floorf is target has SSE4.1.
90414         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
90415         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
90416         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
90417         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
90419         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
90420         name.
90421         (floorf): Likewise.
90423         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
90425 2011-10-17  Andreas Schwab  <schwab@redhat.com>
90427         * misc/sys/cdefs.h: Fix last change.
90429         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
90430         database lookup.
90432 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
90434         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
90436         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
90437         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
90438         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
90439         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
90440         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
90441         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
90442         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
90443         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
90444         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
90445         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
90446         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
90447         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
90448         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
90449         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
90450         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
90451         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
90452         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
90453         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
90454         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
90455         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
90456         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
90457         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
90459         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
90460         ceil, ceilf, floor, floorf.
90462         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
90463         Perform IRELATIVE relocations last.
90465         * elf/do-rel.h: Add another parameter nrelative, replacing the
90466         local variable with the same name.  Change name of the function
90467         to end in Rel or Rela (uppercase).
90468         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
90469         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
90470         elf_dynamic_do_##reloc function.
90472 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90474         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
90475         is sufficient, at least on modern CPUs.
90477         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
90479         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
90480         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
90482         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
90483         __expl_finite.
90484         * math/bits/math-finite.h: Add entries for exp.
90485         * math/e_expl.c: Add __*_finite alias.
90486         * sysdeps/i386/fpu/e_exp.S: Likewise.
90487         * sysdeps/i386/fpu/e_expf.S: Likewise.
90488         * sysdeps/i386/fpu/e_expl.c: Likewise.
90489         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
90490         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
90491         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
90492         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
90493         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
90494         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
90495         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
90497         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
90498         is sufficient, at least on modern CPUs.
90500         * ctype/ctype-info.c (__ctype_init): Define.
90501         * include/ctype.h (__ctype_init): Declare.
90502         (__ctype_b_loc): The variable is always initialized.
90503         (__ctype_toupper_loc): Likewise.
90504         (__ctype_tolower_loc): Likewise.
90505         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
90506         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
90508 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
90510         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
90512         * configure.in: Also look in $cxxmachine/include for C++ system
90513         headers.
90515 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90517         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
90518         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
90519         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
90520         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
90521         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
90522         (USE_AS_WMEMCMP): New macro.
90523         Fixing indents.
90524         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
90525         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
90526         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
90527         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
90528         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90529         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
90530         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
90531         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
90532         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
90533         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
90534         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
90535         (USE_AS_WMEMCMP): New macro.
90536         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
90537         * sysdeps/string/test-memcmp.c: Update.
90538         Fix simple_wmemcmp.
90539         Add new tests.
90540         * wcsmbs/wmemcmp.c: Update.
90541         (WMEMCMP): New macro.
90542         Fix overflow bug.
90544 2011-10-12  Andreas Jaeger  <aj@suse.de>
90546         [BZ #13268]
90547         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
90549 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
90551         * libio/iofwide.c (do_length): Avoid warning.
90553         * ctype/ctype.h (__isctype_f): Add missing __THROW.
90555 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
90557         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
90559         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
90560         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
90561         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
90562         * sysdeps/i386/i686/fpu/e_log.S: New file.
90563         * sysdeps/i386/i686/fpu/e_logf.S: New file.
90564         * sysdeps/i386/i686/fpu/e_logl.S: New file.
90566         * ctype/ctype.h: Add support for inlined isXXX functions when
90567         compiling C++ code.
90569 2011-10-14  Andreas Schwab  <schwab@redhat.com>
90571         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
90573         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
90575 2011-10-13  Roland McGrath  <roland@hack.frob.com>
90577         [BZ #13291]
90578         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
90580 2011-10-13  Andreas Schwab  <schwab@redhat.com>
90582         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
90583         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
90584         feraiseexcept.
90586         * sysdeps/x86_64/memrchr.S: Check for zero size.
90588         * string/stratcliff.c: Add memrchr tests.
90590 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
90592         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90593         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
90594         rawmemchr-sse2 rawmemchr-sse2-bsf.
90595         * sysdeps/i386/i686/multiarch/memchr.S: New file.
90596         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
90597         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
90598         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
90599         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
90600         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
90601         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
90602         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
90603         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
90604         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
90605         * string/memrchr.c (MEMRCHR): New macro.
90607 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
90609         Add integration with gcc's -ffinite-math-only and optimize wrapper
90610         functions in libm.
90611         * Versions.def: Define GLIBC_2.15 version for libm.
90612         * math/Makefile (headers): Add bits/math-finite.h.
90613         * math/bits/math-finite.h: New file.
90614         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
90615         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
90616         * math/e_acoshl.c: Add __*_finite alias.
90617         * math/e_acosl.c: Likewise.
90618         * math/e_asinl.c: Likewise.
90619         * math/e_atan2l.c: Likewise.
90620         * math/e_atanhl.c: Likewise.
90621         * math/e_coshl.c: Likewise.
90622         * math/e_exp10.c: Likewise.
90623         * math/e_exp10f.c: Likewise.
90624         * math/e_exp10l.c: Likewise.
90625         * math/e_exp2l.c: Likewise.
90626         * math/e_fmodl.c: Likewise.
90627         * math/e_gammal_r.c: Likewise.
90628         * math/e_hypotl.c: Likewise.
90629         * math/e_j0l.c: Likewise.
90630         * math/e_j1l.c: Likewise.
90631         * math/e_jnl.c: Likewise.
90632         * math/e_lgammal_r.c: Likewise.
90633         * math/e_log10l.c: Likewise.
90634         * math/e_log2l.c: Likewise.
90635         * math/e_logl.c: Likewise.
90636         * math/e_powl.c: Likewise.
90637         * math/e_sinhl.c: Likewise.
90638         * math/e_sqrtl.c: Likewise.
90639         * math/e_scalb.c: Completely rewritten and optimized.
90640         * math/e_scalbf.c: Likewise.
90641         * math/e_scalbl.c: Likewise.
90642         * math/w_acos.c: Likewise.
90643         * math/w_acosf.c: Likewise.
90644         * math/w_acosl.c: Likewise.
90645         * math/w_acosh.c: Likewise.
90646         * math/w_acoshf.c: Likewise.
90647         * math/w_acoshl.c: Likewise.
90648         * math/w_asin.c: Likewise.
90649         * math/w_asinf.c: Likewise.
90650         * math/w_asinl.c: Likewise.
90651         * math/w_atan2.c: Likewise.
90652         * math/w_atan2f.c: Likewise.
90653         * math/w_atan2l.c: Likewise.
90654         * math/w_atanh.c: Likewise.
90655         * math/w_atanhf.c: Likewise.
90656         * math/w_atanhl.c: Likewise.
90657         * math/w_exp10.c: Likewise.
90658         * math/w_exp10f.c: Likewise.
90659         * math/w_exp10l.c: Likewise.
90660         * math/w_fmod.c: Likewise.
90661         * math/w_fmodf.c: Likewise.
90662         * math/w_fmodl.c: Likewise.
90663         * math/w_j0.c: Likewise.
90664         * math/w_j0f.c: Likewise.
90665         * math/w_j0l.c: Likewise.
90666         * math/w_j1.c: Likewise.
90667         * math/w_j1f.c: Likewise.
90668         * math/w_j1l.c: Likewise.
90669         * math/w_jn.c: Likewise.
90670         * math/w_jnf.c: Likewise.
90671         * math/w_log.c: Likewise.
90672         * math/w_logf.c: Likewise.
90673         * math/w_logl.c: Likewise.
90674         * math/w_log10.c: Likewise.
90675         * math/w_log10f.c: Likewise.
90676         * math/w_log10l.c: Likewise.
90677         * math/w_log2.c: Likewise.
90678         * math/w_log2f.c: Likewise.
90679         * math/w_log2l.c: Likewise.
90680         * math/w_pow.c: Likewise.
90681         * math/w_powf.c: Likewise.
90682         * math/w_powl.c: Likewise.
90683         * math/w_remainder.c: Likewise.
90684         * math/w_remainderf.c: Likewise.
90685         * math/w_remainderl.c: Likewise.
90686         * math/w_scalb.c: Likewise.
90687         * math/w_scalbf.c: Likewise.
90688         * math/w_scalbl.c: Likewise.
90689         * math/w_sqrt.c: Likewise.
90690         * math/w_sqrtf.c: Likewise.
90691         * math/w_sqrtl.c: Likewise.
90692         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
90693         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
90694         used.
90695         * math/math_private.h: Declare __kernel_standard_f.
90696         * math/w_cosh.c: Remove cruft and optimize a bit.
90697         * math/w_coshf.c: Likewise.
90698         * math/w_coshl.c: Likewise.
90699         * math/w_exp2.c: Likewise.
90700         * math/w_exp2f.c: Likewise.
90701         * math/w_exp2l.c: Likewise.
90702         * math/w_hypot.c: Likewise.
90703         * math/w_hypotf.c: Likewise.
90704         * math/w_hypotl.c: Likewise.
90705         * math/w_lgamma.c: Likewise.
90706         * math/w_lgamma_r.c: Likewise.
90707         * math/w_lgammaf.c: Likewise.
90708         * math/w_lgammaf_r.c: Likewise.
90709         * math/w_lgammal.c: Likewise.
90710         * math/w_lgammal_r.c: Likewise.
90711         * math/w_sinh.c: Likewise.
90712         * math/w_sinhf.c: Likewise.
90713         * math/w_sinhl.c: Likewise.
90714         * math/w_tgamma.c: Likewise.
90715         * math/w_tgammaf.c: Likewise.
90716         * math/w_tgammal.c: Likewise.
90717         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
90718         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
90719         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
90720         Minor optimizations.  Pretty printing.  Remove cruft.
90721         * sysdeps/i386/fpu/e_acosf.S: Likewise.
90722         * sysdeps/i386/fpu/e_acosh.S: Likewise.
90723         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
90724         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
90725         * sysdeps/i386/fpu/e_acosl.c: Likewise.
90726         * sysdeps/i386/fpu/e_asin.S: Likewise.
90727         * sysdeps/i386/fpu/e_asinf.S: Likewise.
90728         * sysdeps/i386/fpu/e_atan2.S: Likewise.
90729         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
90730         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
90731         * sysdeps/i386/fpu/e_atanh.S: Likewise.
90732         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
90733         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
90734         * sysdeps/i386/fpu/e_exp10.S: Likewise.
90735         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
90736         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
90737         * sysdeps/i386/fpu/e_exp2.S: Likewise.
90738         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
90739         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
90740         * sysdeps/i386/fpu/e_fmod.S: Likewise.
90741         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
90742         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
90743         * sysdeps/i386/fpu/e_hypot.S: Likewise.
90744         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
90745         * sysdeps/i386/fpu/e_log.S: Likewise.
90746         * sysdeps/i386/fpu/e_log10.S: Likewise.
90747         * sysdeps/i386/fpu/e_log10f.S: Likewise.
90748         * sysdeps/i386/fpu/e_log10l.S: Likewise.
90749         * sysdeps/i386/fpu/e_log2.S: Likewise.
90750         * sysdeps/i386/fpu/e_log2f.S: Likewise.
90751         * sysdeps/i386/fpu/e_log2l.S: Likewise.
90752         * sysdeps/i386/fpu/e_logf.S: Likewise.
90753         * sysdeps/i386/fpu/e_logl.S: Likewise.
90754         * sysdeps/i386/fpu/e_pow.S: Likewise.
90755         * sysdeps/i386/fpu/e_powf.S: Likewise.
90756         * sysdeps/i386/fpu/e_powl.S: Likewise.
90757         * sysdeps/i386/fpu/e_remainder.S: Likewise.
90758         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
90759         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
90760         * sysdeps/i386/fpu/e_scalb.S: Likewise.
90761         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
90762         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
90763         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
90764         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
90765         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
90766         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
90767         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
90768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
90769         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
90770         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
90771         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
90772         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
90773         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
90774         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
90775         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
90776         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
90777         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
90778         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
90779         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
90780         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
90781         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
90782         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
90783         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
90784         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
90785         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
90786         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
90787         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
90788         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
90789         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
90790         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
90791         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
90792         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
90793         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
90794         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
90795         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
90796         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
90797         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
90798         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
90799         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
90800         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
90801         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
90802         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
90803         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
90804         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
90805         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
90806         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
90807         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
90808         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
90809         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
90810         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
90811         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
90812         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
90813         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
90814         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
90815         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
90816         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
90817         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
90818         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
90819         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
90820         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
90821         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
90822         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
90823         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
90824         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
90825         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
90826         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
90827         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
90828         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
90829         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
90830         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
90831         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
90832         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
90833         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
90834         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
90835         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
90836         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
90837         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
90838         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
90839         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
90840         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
90841         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
90842         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
90843         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
90844         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
90845         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
90846         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
90847         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
90848         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
90849         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
90850         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
90851         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
90852         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
90853         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
90854         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
90855         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
90856         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
90857         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
90858         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
90859         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
90860         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
90861         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
90862         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
90863         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
90864         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
90865         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
90866         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
90867         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
90868         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
90869         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
90870         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
90871         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
90872         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
90873         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
90874         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
90875         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
90876         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
90877         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
90878         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
90879         (__isnanf): Likewise.
90880         (__isinf_ns): Likewise.
90881         (__isinf_nsf): Likewise.
90882         (__finite): Likewise.
90883         (__finitef): Likewise.
90884         (__ieee754_sqrt): Define as macro.
90885         (__ieee754_sqrtf): Define as macro.
90886         (__ieee754_sqrtl): Define as macro.
90887         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
90888         inlined copy.
90889         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
90890         __FINITE_MATH_ONLY__ consistent.
90891         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
90893 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
90895         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
90896         of rawmemchr.
90898         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
90900 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
90902         * po/ja.po: Update from translation team.
90904 2011-10-08  Roland McGrath  <roland@hack.frob.com>
90906         * locale/programs/locarchive.c (prepare_address_space): New function.
90907         (create_archive, enlarge_archive, open_archive): Use it.
90909         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
90910         inside [SHARED], where it is used.
90912         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
90914         * nss/getent.c (netgroup_keys): Remove unused variable.
90915         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
90917 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
90919         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
90920         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
90921         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
90922         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
90923         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
90924         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
90925         * math/Makefile (libm-calls): Add s_isinf_ns.
90926         * math/divtc3.c: Use __isinf_nsl instead of isinf.
90927         * math/multc3.c: Likewise.
90928         * math/s_casin.c: Likewise.
90929         * math/s_casinf.c: Likewise.
90930         * math/s_casinl.c: Likewise.
90931         * math/s_ccos.c: Likewise.
90932         * math/s_ccosf.c: Likewise.
90933         * math/s_ccosl.c: Likewise.
90934         * math/s_ctan.c: Likewise.
90935         * math/s_ctanf.c: Likewise.
90936         * math/s_ctanh.c: Likewise.
90937         * math/s_ctanhf.c: Likewise.
90938         * math/s_ctanhl.c: Likewise.
90939         * math/s_ctanl.c: Likewise.
90940         * math/w_fmod.c: Likewise.
90941         * math/w_fmodf.c: Likewise.
90942         * math/w_fmodl.c: Likewise.
90943         * math/w_remainder.c: Likewise.
90944         * math/w_remainderf.c: Likewise.
90945         * math/w_remainderl.c: Likewise.
90946         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
90947         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
90948         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
90949         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
90950         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
90951         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
90952         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
90953         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
90955         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
90956         of the number.
90957         * stdio-common/printf_fphex.c: Likewise.
90958         * stdio-common/printf_size.c: Likewise.
90960         * math/e_exp10.c: Include math_private.h using <...> not "...".
90961         * math/e_exp10f.c: Likewise.
90962         * math/e_exp10l.c: Likewise.
90963         * math/e_exp2l.c: Likewise.
90964         * math/e_j0l.c: Likewise.
90965         * math/e_j1l.c: Likewise.
90966         * math/e_jnl.c: Likewise.
90967         * math/e_lgammal_r.c: Likewise.
90968         * math/e_rem_pio2l.c: Likewise.
90969         * math/e_scalb.c: Likewise.
90970         * math/e_scalbf.c: Likewise.
90971         * math/e_scalbl.c: Likewise.
90972         * math/k_cosl.c: Likewise.
90973         * math/k_sinl.c: Likewise.
90974         * math/k_tanl.c: Likewise.
90975         * math/s_cacoshf.c: Likewise.
90976         * math/s_catan.c: Likewise.
90977         * math/s_catanf.c: Likewise.
90978         * math/s_catanh.c: Likewise.
90979         * math/s_catanhf.c: Likewise.
90980         * math/s_catanhl.c: Likewise.
90981         * math/s_catanl.c: Likewise.
90982         * math/s_ccosh.c: Likewise.
90983         * math/s_ccoshf.c: Likewise.
90984         * math/s_ccoshl.c: Likewise.
90985         * math/s_cexp.c: Likewise.
90986         * math/s_cexpf.c: Likewise.
90987         * math/s_cexpl.c: Likewise.
90988         * math/s_clog.c: Likewise.
90989         * math/s_clog10.c: Likewise.
90990         * math/s_clog10f.c: Likewise.
90991         * math/s_clog10l.c: Likewise.
90992         * math/s_clogf.c: Likewise.
90993         * math/s_clogl.c: Likewise.
90994         * math/s_csin.c: Likewise.
90995         * math/s_csinf.c: Likewise.
90996         * math/s_csinh.c: Likewise.
90997         * math/s_csinhf.c: Likewise.
90998         * math/s_csinhl.c: Likewise.
90999         * math/s_csinl.c: Likewise.
91000         * math/s_csqrt.c: Likewise.
91001         * math/s_csqrtf.c: Likewise.
91002         * math/s_csqrtl.c: Likewise.
91003         * math/s_ctan.c: Likewise.
91004         * math/s_ctanf.c: Likewise.
91005         * math/s_ctanh.c: Likewise.
91006         * math/s_ctanhf.c: Likewise.
91007         * math/s_ctanhl.c: Likewise.
91008         * math/s_ctanl.c: Likewise.
91009         * math/s_ldexp.c: Likewise.
91010         * math/s_ldexpf.c: Likewise.
91011         * math/s_ldexpl.c: Likewise.
91012         * math/s_significand.c: Likewise.
91013         * math/s_significandf.c: Likewise.
91014         * math/s_significandl.c: Likewise.
91015         * math/w_acos.c: Likewise.
91016         * math/w_acosf.c: Likewise.
91017         * math/w_acosh.c: Likewise.
91018         * math/w_acoshf.c: Likewise.
91019         * math/w_acoshl.c: Likewise.
91020         * math/w_acosl.c: Likewise.
91021         * math/w_asin.c: Likewise.
91022         * math/w_asinf.c: Likewise.
91023         * math/w_asinl.c: Likewise.
91024         * math/w_atan2.c: Likewise.
91025         * math/w_atan2f.c: Likewise.
91026         * math/w_atan2l.c: Likewise.
91027         * math/w_atanh.c: Likewise.
91028         * math/w_atanhf.c: Likewise.
91029         * math/w_atanhl.c: Likewise.
91030         * math/w_cosh.c: Likewise.
91031         * math/w_coshf.c: Likewise.
91032         * math/w_coshl.c: Likewise.
91033         * math/w_dremf.c: Likewise.
91034         * math/w_exp10.c: Likewise.
91035         * math/w_exp10f.c: Likewise.
91036         * math/w_exp10l.c: Likewise.
91037         * math/w_exp2.c: Likewise.
91038         * math/w_exp2f.c: Likewise.
91039         * math/w_fmod.c: Likewise.
91040         * math/w_fmodf.c: Likewise.
91041         * math/w_fmodl.c: Likewise.
91042         * math/w_hypot.c: Likewise.
91043         * math/w_hypotf.c: Likewise.
91044         * math/w_hypotl.c: Likewise.
91045         * math/w_j0.c: Likewise.
91046         * math/w_j0f.c: Likewise.
91047         * math/w_j0l.c: Likewise.
91048         * math/w_j1.c: Likewise.
91049         * math/w_j1f.c: Likewise.
91050         * math/w_j1l.c: Likewise.
91051         * math/w_jn.c: Likewise.
91052         * math/w_jnf.c: Likewise.
91053         * math/w_jnl.c: Likewise.
91054         * math/w_lgamma.c: Likewise.
91055         * math/w_lgamma_r.c: Likewise.
91056         * math/w_lgammaf.c: Likewise.
91057         * math/w_lgammaf_r.c: Likewise.
91058         * math/w_lgammal.c: Likewise.
91059         * math/w_lgammal_r.c: Likewise.
91060         * math/w_log.c: Likewise.
91061         * math/w_log10.c: Likewise.
91062         * math/w_log10f.c: Likewise.
91063         * math/w_log10l.c: Likewise.
91064         * math/w_log2.c: Likewise.
91065         * math/w_log2f.c: Likewise.
91066         * math/w_log2l.c: Likewise.
91067         * math/w_logf.c: Likewise.
91068         * math/w_logl.c: Likewise.
91069         * math/w_pow.c: Likewise.
91070         * math/w_powf.c: Likewise.
91071         * math/w_powl.c: Likewise.
91072         * math/w_remainder.c: Likewise.
91073         * math/w_remainderf.c: Likewise.
91074         * math/w_remainderl.c: Likewise.
91075         * math/w_scalb.c: Likewise.
91076         * math/w_scalbf.c: Likewise.
91077         * math/w_scalbl.c: Likewise.
91078         * math/w_sinh.c: Likewise.
91079         * math/w_sinhf.c: Likewise.
91080         * math/w_sinhl.c: Likewise.
91081         * math/w_sqrt.c: Likewise.
91082         * math/w_sqrtf.c: Likewise.
91083         * math/w_sqrtl.c: Likewise.
91084         * math/w_tgamma.c: Likewise.
91085         * math/w_tgammaf.c: Likewise.
91086         * math/w_tgammal.c: Likewise.
91088         * po/ja.po: Update from translation team.
91090 2011-09-29  Andreas Jaeger  <aj@suse.de>
91092         [BZ #13179]
91093         * sunrpc/netname.c (netname2host): Fix logic.
91095         [BZ #6779]
91096         [BZ #6783]
91097         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
91098         correctly.
91099         * math/w_remainder.c (__remainder): Likewise.
91100         * math/w_remainderf.c (__remainderf): Likewise.
91101         * math/libm-test.inc (remainder_test): Add test cases.
91103 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91105         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
91106         sdiv_qrnnd.
91108 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91110         * string/test-memcmp.c: Avoid unncessary #defines.
91111         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
91113 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91115         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
91116         Use new sse2 version for core i3 - i7 as it's faster
91117         than sse42 version.
91118         (bit_Prefer_PMINUB_for_stringop): New.
91119         * sysdeps/x86_64/rawmemchr.S: Update.
91120         Replace with faster SSE2 version.
91121         * sysdeps/x86_64/memrchr.S: New file.
91122         * sysdeps/x86_64/memchr.S: Update.
91123         Replace with faster SSE2 version.
91125 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
91127         * elf/dl-load.c (lose): Add cast to avoid warning.
91129 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
91131         * po/ca.po: Update from translation team.
91133         * inet/getnetgrent_r.c: Hook up nscd.
91134         * nscd/Makefile (routines): Add nscd_netgroup.
91135         (nscd-modules): Add netgroupcache.
91136         (CFLAGS-netgroupcache.c): Define.
91137         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
91138         (cache_search): Add const to second parameter.
91139         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
91140         INNETGR.
91141         (dbs): Add netgrdb entry.
91142         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
91143         (verify_persistent_db): Handle netgrdb.
91144         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
91145         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
91146         GETFDNETGR.
91147         (netgroup_response_header): Define.
91148         (innetgroup_response_header): Define.
91149         (datahead): Add netgroup_response_header and innetgroup_response_header
91150         elements.
91151         * nscd/nscd.conf: Add entries for netgroup cache.
91152         * nscd/nscd.h (dbtype): Add netgrdb.
91153         (_PATH_NSCD_NETGROUP_DB): Define.
91154         (netgroup_iov_disabled): Declare.
91155         (xmalloc, xcalloc, xrealloc): Move declarations here.
91156         (cache_search): Adjust prototype.
91157         Add netgroup-related prototypes.
91158         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
91159         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
91160         (__nscd_innetgr): Declare.
91161         * nscd/selinux.c (perms): Use access_vector_t as element type and
91162         add netgroup-related initializers.
91163         * nscd/netgroupcache.c: New file.
91164         * nscd/nscd_netgroup.c: New file.
91165         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
91166         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
91167         For four parameters use innetgr.
91168         * nss/nss_files/files-init.c: Add definition and callback for netgr.
91169         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
91170         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
91171         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
91173         * nscd/connections.c (register_traced_file): Don't register file
91174         for disabled databases.
91176 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
91178         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
91180         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
91181         from tree and freeing node.
91183 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
91185         * nss/nsswitch.c (__nss_database_lookup): Handle
91186         nss_parse_service_list out of memory case.
91188 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
91190         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
91191         out of memory case.
91193 2011-10-04  Andreas Schwab  <schwab@redhat.com>
91195         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
91196         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
91197         pass it down.
91198         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
91199         elf_machine_rela, elf_machine_lazy_rel.
91200         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
91201         (ELF_DYNAMIC_DO_REL): Likewise.
91202         (ELF_DYNAMIC_DO_RELA): Likewise.
91203         (ELF_DYNAMIC_RELOCATE): Likewise.
91204         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
91205         to ELF_DYNAMIC_DO_REL.
91206         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
91207         (dl_main): In trace mode always set __RTLD_NOIFUNC.
91208         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
91209         elf_machine_rela.
91210         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
91211         skip_ifunc, don't call ifunc function if non-zero.
91212         (elf_machine_rela): Likewise.
91213         (elf_machine_lazy_rel): Likewise.
91214         (elf_machine_lazy_rela): Likewise.
91215         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
91216         (elf_machine_lazy_rel): Likewise.
91217         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
91218         Likewise.
91219         (elf_machine_lazy_rel): Likewise.
91220         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91221         Likewise.
91222         (elf_machine_lazy_rel): Likewise.
91223         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
91224         (elf_machine_lazy_rel): Likewise.
91225         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
91226         (elf_machine_lazy_rel): Likewise.
91227         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
91228         (elf_machine_lazy_rel): Likewise.
91229         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
91230         (elf_machine_lazy_rel): Likewise.
91231         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
91232         (elf_machine_lazy_rel): Likewise.
91233         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
91234         (elf_machine_lazy_rel): Likewise.
91236 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
91238         * nss/nss_files/files-init.c (_nss_files_init): Use static
91239         initialization for all the *_traced_file variables.
91241 2011-09-28  Andreas Schwab  <schwab@redhat.com>
91243         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91245 2011-09-27  Roland McGrath  <roland@hack.frob.com>
91247         [BZ #13226]
91248         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
91250 2011-09-27  Andreas Schwab  <schwab@redhat.com>
91252         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
91253         Reread the line before reparsing it.
91255 2011-09-26  Andreas Schwab  <schwab@redhat.com>
91257         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
91259 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
91260             Maxim Kuvyrkov  <maxim@codesourcery.com>
91261             Joseph Myers  <joseph@codesourcery.com>
91263         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
91264         if needed for __stack_chk_guard.
91266 2011-09-19  Roland McGrath  <roland@hack.frob.com>
91268         * sysdeps/posix/spawni.c (script_execute): Always define it.
91269         It will be optimized away if unused.
91270         (maybe_script_execute): New function.
91271         (__spawni): Call it.
91273         * Makerules: Don't include tls.make.
91274         (config-tls): Always set to thread.
91275         * tls.make.c: File removed.
91277 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
91279         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
91280         * config.make.in (CPPFLAGS-config): New substituted variable.
91282 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91284         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
91286         [BZ #13192]
91287         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
91288         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
91290 2011-09-15  Roland McGrath  <roland@hack.frob.com>
91292         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
91293         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
91294         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
91295         (CALL_FAIL): Likewise.
91296         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
91297         (CALL_FAIL): Macro removed.
91298         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
91300 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
91302         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
91303         for __FINITE_MATH_ONLY__ == 1.
91305 2011-09-15  Andreas Schwab  <schwab@redhat.com>
91307         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
91308         __ieee754_sqrt instead of sqrt.
91309         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
91310         __ieee754_sqrtf instead of sqrtf.
91311         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
91312         __floorf instead of floorf.
91313         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
91314         __floorf, __truncf instead of floorf, truncf.
91316 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
91318         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
91320         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
91321         __extern_always_inline.
91322         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
91323         32-bit.
91325 2011-09-14  Andreas Schwab  <schwab@redhat.com>
91327         * elf/rtld.c (dl_main): Also relocate in dependency order when
91328         doing symbol dependency testing.
91330 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
91332         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
91333         Always define `refsym'.
91335 2011-09-13  Andreas Schwab  <schwab@redhat.com>
91337         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
91338         (__FD_ELT): Renamed from __FDELT.
91339         * misc/bits/select2.h (__FD_ELT): Likewise.
91340         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
91341         __FD_MASK instead of __FDELT, __FDMASK.
91342         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91343         Likewise.
91344         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
91345         Likewise.
91347         * elf/Makefile (gen-ldd): Fix pattern.
91349         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
91350         (init_tls): Likewise.
91352 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
91354         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
91356 2011-09-12  Andreas Schwab  <schwab@redhat.com>
91358         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
91359         `struct cmsghdr *' instead of `void *'.
91360         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
91361         Likewise.
91363 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
91365         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
91366         if non-absolute.
91367         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
91368         ldd_rewrite_script.
91370 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
91372         * configure.in: Remove --with-tls option.
91373         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
91374         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
91375         out in case it is missing.
91376         * sysdeps/ia64/elf/configure.in: Likewise.
91377         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
91378         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
91379         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
91380         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
91381         * sysdeps/sh/elf/configure.in: Likewise.
91382         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
91383         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
91384         * sysdeps/x86_64/elf/configure.in: Likewise.
91385         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
91386         * sysdeps/mach/hurd/tls.h: Likewise.
91388         [BZ #13067]
91389         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
91391         [BZ #13090]
91392         * configure.in: Fix use of AC_INIT.
91394         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
91396 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
91398         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
91399         __set_errno.
91400         * malloc/hooks.c: Likewise.
91402         [BZ #11929]
91403         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
91404         variables statically.
91405         (narenas): Initialize.
91406         (list_lock): Initialize.
91407         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
91408         initializtion of main_arena and list_lock.  Small cleanups.
91409         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
91410         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
91411         Add initializers to main_arena and mp_.
91412         (malloc_state): Remove pagesize member.  Change all users to use
91413         GLRO(dl_pagesize).
91415         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
91416         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
91417         is always initialized.
91419         * malloc/malloc.c: Removed unused configurations and dead code.
91420         * malloc/arena.c: Likewise.
91421         * malloc/hooks.c: Likewise.
91422         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
91424         * include/tls.h: Removed.  USE___THREAD must always be defined.
91425         * bits/libc-tsd.h: Don't handle !USE___THREAD.
91426         * elf/dl-libc.c: Likewise.
91427         * elf/dl-tsd.c: Likewise.
91428         * include/errno.h: Likewise.
91429         * include/netdb.h: Likewise.
91430         * include/resolv.h: Likewise.
91431         * inet/herrno-loc.c: Likewise.
91432         * inet/herrno.c: Likewise.
91433         * malloc/arena.c: Likewise.
91434         * malloc/hooks.c: Likewise.
91435         * malloc/malloc.c: Likewise.
91436         * resolv/res-state.c: Likewise.
91437         * resolv/res_libc.c: Likewise.
91438         * sysdeps/i386/dl-machine.h: Likewise.
91439         * sysdeps/ia64/dl-machine.h: Likewise.
91440         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
91441         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
91442         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
91443         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
91444         * sysdeps/sh/dl-machine.h: Likewise.
91445         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
91446         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
91447         * sysdeps/unix/i386/sysdep.S: Likewise.
91448         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
91449         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
91450         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
91451         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
91452         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
91453         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
91454         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
91455         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
91456         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
91457         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
91458         * sysdeps/unix/x86_64/sysdep.S: Likewise.
91459         * sysdeps/x86_64/dl-machine.h: Likewise.
91460         * tls.make.c: Likewise.
91462         * configure.in: Remove --with-__thread option.  Make tests for
91463         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
91464         tls_model attribute fail if no support is available.  Remove
91465         USE_IN_LIBIO.
91466         * Makeconfig: Adjust for dropped configure option.  All features are
91467         now mandatory.
91468         * Makerules: Likewise.
91469         * Versions.def: Likewise.
91470         * argp/argp-fmtstream.c: Likewise.
91471         * argp/argp-fmtstream.h: Likewise.
91472         * argp/argp-help.c: Likewise.
91473         * assert/assert.c: Likewise.
91474         * config.h.in: Likewise.
91475         * config.make.in: Likewise.
91476         * configure: Likewise.
91477         * configure.in: Likewise.
91478         * csu/Versions: Likewise.
91479         * csu/init.c: Likewise.
91480         * elf/tst-audit2.c: Likewise.
91481         * elf/tst-tls10.c: Likewise.
91482         * elf/tst-tls10.h: Likewise.
91483         * elf/tst-tls11.c: Likewise.
91484         * elf/tst-tls12.c: Likewise.
91485         * elf/tst-tls14.c: Likewise.
91486         * elf/tst-tlsmod11.c: Likewise.
91487         * elf/tst-tlsmod12.c: Likewise.
91488         * elf/tst-tlsmod13.c: Likewise.
91489         * elf/tst-tlsmod13a.c: Likewise.
91490         * elf/tst-tlsmod14a.c: Likewise.
91491         * elf/tst-tlsmod15b.c: Likewise.
91492         * elf/tst-tlsmod16a.c: Likewise.
91493         * elf/tst-tlsmod16b.c: Likewise.
91494         * elf/tst-tlsmod7.c: Likewise.
91495         * elf/tst-tlsmod8.c: Likewise.
91496         * elf/tst-tlsmod9.c: Likewise.
91497         * gmon/gmon.c: Likewise.
91498         * grp/fgetgrent_r.c: Likewise.
91499         * grp/putgrent.c: Likewise.
91500         * hurd/fopenport.c: Likewise.
91501         * include/libc-symbols.h: Likewise.
91502         * include/tls.h: Likewise.
91503         * intl/gettextP.h: Likewise.
91504         * intl/loadinfo.h: Likewise.
91505         * locale/global-locale.c: Likewise.
91506         * locale/localeinfo.h: Likewise.
91507         * mach/devstream.c: Likewise.
91508         * malloc/arena.c: Likewise.
91509         * malloc/set-freeres.c: Likewise.
91510         * misc/err.c: Likewise.
91511         * misc/getttyent.c: Likewise.
91512         * misc/mntent_r.c: Likewise.
91513         * posix/getopt.c: Likewise.
91514         * posix/wordexp.c: Likewise.
91515         * pwd/fgetpwent_r.c: Likewise.
91516         * resolv/Versions: Likewise.
91517         * resolv/res_hconf.c: Likewise.
91518         * shadow/fgetspent_r.c: Likewise.
91519         * shadow/putspent.c: Likewise.
91520         * stdio-common/printf_fphex.c: Likewise.
91521         * stdio-common/tmpfile.c: Likewise.
91522         * stdlib/abort.c: Likewise.
91523         * stdlib/fmtmsg.c: Likewise.
91524         * sunrpc/auth_unix.c: Likewise.
91525         * sunrpc/clnt_perr.c: Likewise.
91526         * sunrpc/clnt_tcp.c: Likewise.
91527         * sunrpc/clnt_udp.c: Likewise.
91528         * sunrpc/clnt_unix.c: Likewise.
91529         * sunrpc/openchild.c: Likewise.
91530         * sunrpc/svc_simple.c: Likewise.
91531         * sunrpc/svc_tcp.c: Likewise.
91532         * sunrpc/svc_udp.c: Likewise.
91533         * sunrpc/svc_unix.c: Likewise.
91534         * sunrpc/xdr.c: Likewise.
91535         * sunrpc/xdr_array.c: Likewise.
91536         * sunrpc/xdr_rec.c: Likewise.
91537         * sunrpc/xdr_ref.c: Likewise.
91538         * sunrpc/xdr_stdio.c: Likewise.
91540 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91542         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
91544 2011-07-03  Andreas Jaeger  <aj@suse.de>
91546         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
91547         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
91548         regenerate with gen-libm-tests.pl.
91550 2010-05-12  Petr Baudis  <pasky@suse.cz>
91552         [BZ #11589]
91553         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
91554         around j0() zero points by switching to j1().
91555         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
91556         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
91557         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
91558         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
91560 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91562         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
91563         instead of 0.
91564         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
91565         instead of 0.
91566         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91567         Patch in part by Pavel Roskin <proski@gnu.org>.
91569         [BZ #13138]
91570         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
91571         realloc.
91572         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
91573         Free memory block if necessary.
91575         [BZ #12847]
91576         * libio/genops.c (INTDEF): For string streams the _lock pointer can
91577         be NULL.  Don't lock in this case.
91579 2011-09-09  Roland McGrath  <roland@hack.frob.com>
91581         * elf/elf.h (ELFOSABI_GNU): New macro.
91582         (ELFOSABI_LINUX): Define to that.
91584 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
91586         * string/strncat.c (strncat): Undef the symbol in case it has been
91587         defined in bits/string.h.
91589 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
91591         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
91593         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
91594         link map.
91596 2011-08-17  Andreas Jaeger  <aj@suse.de>
91598         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
91600 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
91601             Ian Lance Taylor  <iant@google.com>
91603         * math/libm-test.inc (lround_test): New testcase.
91604         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
91606 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
91608         * Makefile: Remove support for automatic cvs check-ins.
91609         * Makerules: Likewise.
91610         * config.make.in: Likewise.
91611         * configure.in: Likewise.
91612         * intl/Makefile: Likewise.
91613         * locale/Makefile: Likewise.
91614         * po/Makefile: Likewise.
91615         * posix/Makefile: Likewise.
91616         * sysdeps/gnu/Makefile: Likewise.
91617         * sysdeps/mach/hurd/Makefile: Likewise.
91618         * sysdeps/sparc/sparc32/Makefile: Likewise.
91620         [BZ #13118]
91621         * posix/Makefile (bug-regex32-ENV): Define.
91622         Patch by John Stanley <jpsinthemix@verizon.net>.
91624         * misc/Makefile (headers): Add bits/select2.h.
91625         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
91626         * misc/bits/select2.h: New file.
91627         * include/bits/select2.h: New file.
91628         * debug/Makefile (routines): Add fdelt_chk.
91629         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
91630         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
91631         FD_ISSET.
91632         * debug/fdelt_chk.c: New file.
91634         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
91635         * wcsmbs/test-wmemcmp.c: Likewise.
91636         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
91637         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
91639 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91641         * string/Makefile (strop-tests): Add memcmp.
91642         * string/test-wmemcmp.c: New file.
91643         * string/test-memcmp.c: Add wmemcmp support.
91645 2011-09-08  Roland McGrath  <roland@hack.frob.com>
91647         [BZ #13153]
91648         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
91649         2011-07-19 change.
91651         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
91652         garbage value in a __mach_port_mod_refs call in the cases of the
91653         task-self and thread-self ports.
91655 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91657         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
91659 2011-09-08  Andreas Schwab  <schwab@redhat.com>
91661         * elf/dl-load.c (lose): Check for non-null L.
91663 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91665         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
91667         * elf/dl-libc.c (dlerror_run): Pass back error code from
91668         dl_catch_error.
91670         [BZ #13123]
91671         * elf/dl-load.c (lose): Free l_origin if it is valid.
91673         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
91674         names.
91675         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
91676         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91677         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
91678         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91679         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
91680         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
91682 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
91684         * sysdeps/powerpc/fpu/e_hypot.c: New file.
91685         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
91686         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
91687         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
91688         * sysdeps/powerpc/fpu/k_cosf.c: New file.
91689         * sysdeps/powerpc/fpu/k_sinf.c: New file.
91690         * sysdeps/powerpc/fpu/s_cosf.c: New file.
91691         * sysdeps/powerpc/fpu/s_sinf.c: New file.
91692         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
91693         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
91695 2011-08-15  Alan Modra  <amodra@gmail.com>
91697         [BZ #13092]
91698         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
91699         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
91700         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
91701         ppc_mcount to static-only-routines.
91702         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
91703         __mcount_internal.
91704         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
91705         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
91707 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
91709         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
91710         for finite and infinity parameters.
91712 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
91714         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
91715         and add nop instructions for throughput optimization.
91716         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91718 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
91720         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
91721         aligned copy for power7 with vector-scalar instructions.
91722         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
91724 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
91726         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
91727         AVX check.
91729 2011-09-07  Andreas Schwab  <schwab@redhat.com>
91731         [BZ #13144]
91732         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
91733         last change.
91735 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
91737         * sysdeps/unix/sysv/linux/x86_64/init-first.c
91738         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
91739         syscall wrapper around clock_gettime in __vdso_clock_gettime.
91740         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
91741         clock_gettime.
91743 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91745         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
91746         Forgot to demangle the pointer.
91748         * sysdeps/i386/sysdep.h: Define atom_text_section.
91749         * sysdeps/x86_64/sysdep.h: Likewise.
91750         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
91751         section with atom_text_section.
91752         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
91753         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
91754         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
91755         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
91756         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
91758         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
91759         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
91760         already be defined.  Change to take two parameters and don't assign
91761         result to variable.  Adjust all users.
91762         Define INTERNAL_GETTIME if not already defined.
91763         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
91764         call.
91765         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
91766         HAVE_CLOCK_GETTIME_VSYSCALL.
91767         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
91769         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
91770         gettimeofday vsyscall, just use time.
91772 2011-09-06  Andreas Schwab  <schwab@redhat.com>
91774         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
91775         <errno.h>.
91777 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
91779         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
91780         syscall on x86-64.
91781         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
91782         syscall.
91783         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
91784         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
91785         syscall if possible.
91787 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91789         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
91790         e_ident.  Don't pass to find_mapsXX.
91791         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
91793 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91795         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
91796         strchr-sse2-no-bsf strrchr-sse2-no-bsf
91797         * sysdeps/x86_64/multiarch/strchr.S: Update.
91798         Check bit_slow_BSF bit.
91799         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
91800         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
91801         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
91803 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91805         [BZ #13134]
91806         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
91807         before glibc 2.15.
91808         (tryshell): Define.
91809         (__spawni): Change last parameter to be flag.  Test
91810         SPAWN_XFLAGS_USE_PATH flag to use path or not.
91811         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
91812         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
91813         * posix/spawni.c: Likewise.
91814         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
91815         * posix/spawnp.c: Likewise.  Change normal version to use
91816         SPAWN_XFLAGS_USE_PATH.
91817         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
91818         SPAWN_XFLAGS_TRY_SHELL.
91820         [BZ #13150]
91821         * posix/glob.h: Remove gcc 1.x support.
91823         [BZ #13068]
91824         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
91826 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
91828         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
91829         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
91830         strrchr-sse2-bsf
91831         * sysdeps/i386/i686/multiarch/strchr.S: New file.
91832         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
91833         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
91834         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
91835         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
91836         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
91838 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
91840         * sysdeps/x86_64/wcscmp.S: New file.
91842         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
91843         wcscmp-c wcscmp-sse2
91844         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
91845         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
91846         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
91847         * wcsmbs/wcscmp.c: Allow renaming.
91849 2011-09-05  David S. Miller  <davem@davemloft.net>
91851         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
91852         stack slot, rather than the struct return pointer slot.
91853         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
91854         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
91855         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
91856         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
91858 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
91860         * po/ja.po: Update from translation team.
91862         [BZ #13144]
91863         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
91864         kernel in 64-bit binaries.
91866 2011-09-01  David S. Miller  <davem@davemloft.net>
91868         * elf/elf.h (HWCAP_SPARC_*): Move to..
91869         * sysdeps/sparc/sysdep.h: this new file and add new values.
91870         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
91871         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
91872         _DL_HWCAP_COUNT to 24.
91873         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
91874         entries.
91875         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
91876         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
91877         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
91878         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
91879         instead of magic constants.
91880         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
91882 2011-08-31  David S. Miller  <davem@davemloft.net>
91884         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
91885         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
91886         Reimplement to do errno handling inline.
91887         (SYSCALL_ERROR_HANDLER): New macro.
91888         (__SYSCALL_STRING): Do not do errno handling in asm.
91889         (__CLONE_SYSCALL_STRING): Delete.
91890         (__INTERNAL_SYSCALL_STRING): Delete.
91891         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
91892         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
91893         (PSEUDO): Reimplement to do errno handling inline.
91894         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
91895         (SYSCALL_ERROR_HANDLER): New macro.
91896         (__SYSCALL_STRING): Do not do errno handling in asm.
91897         (__CLONE_SYSCALL_STRING): Delete.
91898         (__INTERNAL_SYSCALL_STRING): Delete.
91899         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
91900         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
91901         i386.
91902         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
91903         (inline_syscall*): Add 'err' argument.
91904         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
91905         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
91906         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
91907         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
91909         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
91910         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
91912 2011-08-30  Andreas Schwab  <schwab@redhat.com>
91914         * elf/rtld.c (dl_main): Relocate objects in dependency order.
91916 2011-08-29  Jiri Olsa <jolsa@redhat.com>
91918         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
91919         directive.
91921 2011-08-24  David S. Miller  <davem@davemloft.net>
91923         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
91925 2011-08-24  Andreas Schwab  <schwab@redhat.com>
91927         * elf/Makefile: Add rules to build and run unload8 test.
91928         * elf/unload8.c: New file.
91929         * elf/unload8mod1.c: New file.
91930         * elf/unload8mod1x.c: New file.
91931         * elf/unload8mod2.c: New file.
91932         * elf/unload8mod3.c: New file.
91934         * elf/dl-close.c (_dl_close_worker): Reset private search list if
91935         it wasn't used.
91937 2011-08-23  David S. Miller  <davem@davemloft.net>
91939         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
91940         subtract stack bias.
91941         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
91942         %sp not %fp in calculations.
91943         (_JMPBUF_UNWINDS_ADJ): Likewise.
91945         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
91946         (aio_suspend): Call it to force an exception region around the
91947         AIO_MISC_WAIT() invocation.
91949 2011-08-23  Andreas Schwab  <schwab@redhat.com>
91951         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
91952         backslash.
91954 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
91956         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
91957         protection macro.
91958         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
91959         and <dl-machine.h>.
91960         (Elf64_FuncDesc): Remove.
91962 2011-08-22  David S. Miller  <davem@davemloft.net>
91964         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
91965         sigaltstack check, add missing cfi directives.
91966         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
91967         missing cfi directives, and sigaltstack handling.
91969 2011-08-16  Andreas Schwab  <schwab@redhat.com>
91971         [BZ #11724]
91972         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
91973         object is seen twice.
91974         * elf/dl-fini.c (_dl_sort_fini): Likewise.
91976         * elf/Makefile (distribute): Add tst-initorder2.c.
91977         (tests): Add tst-initorder2.
91978         (modules-names): Add tst-initorder2a tst-initorder2b
91979         tst-initorder2c tst-initorder2d.  Add rules to build them.
91980         ($(objpfx)tst-initorder2.out): New rule.
91981         * elf/tst-initorder2.c: New file.
91982         * elf/tst-initorder2.exp: New file.
91984 2011-08-22  Andreas Schwab  <schwab@redhat.com>
91986         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
91988         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
91989         dependencies back to end of function.
91991         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
91992         $(elfobjdir)/ld.so.
91994 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
91996         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
91997         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
91998         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
91999         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
92000         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
92001         of __vdso_gettimeofday.
92002         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
92003         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
92004         attribute_hidden.
92005         (_libc_vdso_platform_setup): Remove initialization of
92006         __vdso_gettimeofday and __vdso_time.
92008 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92010         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
92011         and fgetc_unlocked.
92012         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
92013         getc_unlocked.
92015         * elf/dl-open.c (add_to_global): Report additions to the global scope
92016         for LD_DEBUG=scopes.
92017         (dl_open_worker): Also print scope of newly loaded dependencies.
92018         (_dl_show_scope): Indicate if there is no scope.
92020         [BZ #13114]
92021         * stdio-common/Makefile (tests): Add bug24.
92022         * stdio-common/bug24.c: New file.
92024 2011-08-19  Andreas Jaeger  <aj@suse.de>
92026         [BZ #13114]
92027         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
92028         non-existant file when using close-on-exec mode.
92030 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
92032         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
92033         the very first instruction.
92035         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
92036         the CFI state in the end.
92037         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
92038         inclusion of dl-trampoline.h.
92039         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
92041 2011-08-19  Andreas Schwab  <schwab@redhat.com>
92043         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
92044         expectations for long double.
92046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
92047         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
92049 2011-08-14  David S. Miller  <davem@davemloft.net>
92051         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
92052         artificual limit depends upon the system page size.
92054 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92056         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
92057         * resolv/Makefile: Define CFLAGS-libresolv.
92059 2011-08-17  Andreas Schwab  <schwab@redhat.com>
92061         * nss/makedb.c (compute_tables): Make variables used in nested
92062         function static.
92064 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
92066         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
92067         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
92068         if buffer was too small.
92070         * elf/pldd.c (main): Attach to all threads in the process.
92071         Rewrite /proc handling to use *at functions.
92073 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
92075         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
92076         specifies first scope to show.
92077         (dl_open_worker): Update callers.  Move printing scope of new
92078         object to before the relocation.
92079         * elf/rtld.c (dl_main): Update _dl_show_scope call.
92080         * sysdeps/generic/ldsodefs.h: Update declaration.
92082         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
92083         string for the scope number.
92085 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
92087         * nscd/servicescache.c (cache_addserv): Make sure written is always
92088         initialized.
92090 2011-08-14  Roland McGrath  <roland@hack.frob.com>
92092         * sysdeps/i386/i486/bits/atomic.h
92093         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
92094         statement expression, so as to suppress "set but not used" warning.
92095         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
92097         * string/strncat.c (STRNCAT): Use prototype definition.
92099         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
92100         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
92101         -Iprograms here.
92102         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
92103         (localedef-modules): Add localedef.
92104         (locale-modules): Add locale.
92106         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
92107         * elf/rtld.c (dl_main): Invert order of assignment in last change,
92108         to avoid a warning.
92110 2011-08-14  David S. Miller  <davem@davemloft.net>
92112         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
92113         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
92115 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
92117         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
92118         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
92119         * elf/rtld.c (dl_main): Set l_name of vDSO.
92120         Call _dl_show_scope when DL_DEBUG_SCOPES.
92121         (process_dl_debug): Recognize scopes flag and also set it for all.
92122         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
92123         Declare _dl_show_scope.
92125         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
92126         (do_dlopen): Pass caller_dlopen to dl_open.
92127         (__libc_dlopen_mode): Initialize caller_dlopen.
92129         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
92130         of libc.  Make tolower call locale-independent.  Optimize a bit by
92131         using isdigit instead of isalnum.
92132         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
92134 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
92136         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
92137         was a dependency or dynamically loaded.
92139 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
92141         * intl/l10nflist.c: Allow architecture-specific pop function.
92142         * sysdeps/x86_64/l10nflist.c: New file.
92144         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
92145         classification.
92147 2011-08-10  Andreas Schwab  <schwab@redhat.com>
92149         * include/dirent.h: Add libc_hidden_proto for scandirat and
92150         scandirat64.  Don't declare __scandirat64.
92151         * dirent/scandirat.c: Add libc_hidden_def.
92152         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
92153         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
92155 2011-08-10  David S. Miller  <davem@davemloft.net>
92157         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
92158         enum.
92159         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92160         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92161         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92163 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
92165         * Versions.def [libc]: Add GLIBC_2.15.
92166         * dirent/Makefile (routines): Add scandirat and scandirat64.
92167         * dirent/Versions [libc]: Export scandirat and scandirat64 for
92168         GLIBC_2.15.
92169         * dirent/dirent.h: Declare scandirat and scandirat64.
92170         * dirent/scandirat.c: New file.
92171         * dirent/scandirat64.c: New file.
92172         * sysdeps/wordsize-64/scandirat.c: New file.
92173         * sysdeps/wordsize-64/scandirat64.c: New file.
92174         * dirent/opendir.c: Define opendirat.
92175         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
92176         using scandirat.
92177         * dirent/scandir64.c: Adjust for scandir.c change.
92178         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
92179         __scandirat64, and __scandir_cancel_handler.
92180         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
92181         additional parameter and use openat instead of open (outside of ld.so).
92182         Add new __opendir as wrapper around __opendirat.
92183         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
92184         here without requiring old scandirat implementation.
92186 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
92188         * dirent/scandir.c (cancel_handler): Renamed to
92189         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
92190         defined.  Adjust users.
92191         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
92192         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
92194 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
92196         * string/test-string.h (IMPL): Use __STRING to expand name and then
92197         stringify it.
92199         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
92200         of cleanups.
92202 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92204         * string/Makefile: Update.
92205         (strop-tests): Append strncat.
92206         * string/test-wcscmp.c: New file.
92207         New comprehensive test for wcscmp.
92208         * string/test-strcmp.c: Update.
92209         (WIDE): New define.
92211 2011-07-22  Andreas Schwab  <schwab@redhat.com>
92213         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
92214         line.
92216 2011-07-26  Andreas Schwab  <schwab@redhat.com>
92218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
92219         encoding to ACE if AI_IDN.
92221 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
92223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
92224         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
92226 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92228         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
92229         Fix overflow bug in strncat.
92230         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
92232         * string/test-strncat.c: Update.
92233         Add new tests for checking overflow bugs.
92235 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92237         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92238         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
92239         * sysdeps/i386/i686/multiarch/strcat.S: New file.
92240         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
92241         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
92242         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
92243         * sysdeps/i386/i686/multiarch/strncat.S: New file.
92244         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
92245         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
92247         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
92248         (USE_AS_STRCAT): Define.
92249         Add strcat and strncat support.
92250         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
92252 2011-07-25  Andreas Schwab  <schwab@redhat.com>
92254         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
92255         __n bigger than INT_MAX+1.
92256         (__strncmp_g): Likewise.
92258 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
92260         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
92261         * libio/stido.h: Likewise.
92263         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
92264         (AF_NFC): Define.
92265         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
92266         (AF_NFC): Define.
92268         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
92269         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
92270         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
92271         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
92272         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
92274         [BZ #13021]
92275         * scripts/test-installation.pl: Don't expect libnss_test1 to be
92276         installed.
92278         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
92279         typo.
92280         (_dl_x86_64_save_sse): Likewise.
92282 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
92284         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
92285         OSXSAVE.
92286         (_dl_x86_64_save_sse): Likewise.
92288         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
92290         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
92292 2011-07-21  Andreas Schwab  <schwab@redhat.com>
92294         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
92295         change.
92296         (_dl_x86_64_save_sse): Use correct AVX check.
92298 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
92300         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
92301         bug in strncpy/strncat.
92302         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
92304 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
92306         * string/tester.c (test_strcat): Add tests for different alignments
92307         of source and destination.
92308         (test_strncat): Likewise.
92310 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92312         [BZ #12852]
92313         * posix/glob.c (glob): Check passed in values before using them in
92314         expressions to avoid some overflows.
92315         (glob_in_dir): Likewise.
92317         [BZ #13007]
92318         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
92319         check for AVX enablement so that we don't crash with old kernels and
92320         new hardware.
92321         * elf/tst-audit4.c: Add same checks here.
92322         * elf/tst-audit6.c: Likewise.
92324         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
92326 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
92328         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
92330 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
92332         * po/cs.po: Update from translation team.
92333         * po/bg.po: Likewise.
92335 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
92337         * misc/sys/cdefs.h: Add support for const attribute.
92338         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
92339         to gnu_dev_{major,minor,makedev} functions.
92341 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
92343         * intl/dcigettext.c (get_output_charset): Add missing bracket.
92345 2011-07-20  Andreas Schwab  <schwab@redhat.com>
92347         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
92348         strlen results.
92350 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92352         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
92353         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
92354         register in order to avoid conflicts with the soft frame pointer
92355         being held in r11 when necessary.
92356         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
92357         (INTERNAL_VSYSCALL_NCS): Likewise.
92359 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
92361         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
92362         * elf/dl-fini.c (_dl_fini): Adjust caller.
92363         * elf/dl-close.c (_dl_close_worker): Likewise.
92364         * sysdeps/generic/ldsodefs.h: Adjust declaration.
92366 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92368         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
92369         "aux_cache->nlibs < 0".
92371         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
92372         in the reload-count case.
92374 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
92376         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92377         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
92378         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
92379         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
92380         * sysdeps/x86_64/multiarch/strcat.S: New file.
92381         * sysdeps/x86_64/multiarch/strncat.S: New file.
92382         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
92383         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
92384         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
92385         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
92386         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
92387         (USE_AS_STRCAT): Define.
92388         Add strcat and strncat support.
92389         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
92390         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
92391         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
92392         * string/strncat.c: Update.
92393         (USE_AS_STRNCAT): Define.
92394         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92395         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
92396         and i7.
92397         * sysdeps/x86_64/multiarch/init-arch.h
92398         (bit_Prefer_PMINUB_for_stringop): New.
92399         (index_Prefer_PMINUB_for_stringop): Likewise.
92400         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
92401         bit_Prefer_PMINUB_for_stringop.
92403 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92405         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
92406         buffer64.
92407         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
92408         of casting of buffer.
92409         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
92410         buffer32 and buffer64.
92411         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
92412         writes instead of casting of buffer.
92413         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
92414         buffer32.
92415         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
92416         casting of buffer.
92418 2011-07-19  Andreas Schwab  <schwab@redhat.com>
92420         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
92422 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
92424         * nscd/nscd.c (termination_handler): Don't do anything for a database
92425         if it has not yet been initialized.
92427 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92429         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92431 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
92433         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
92435 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
92437         * po/nl.po: Update from translation team.
92438         * po/sv.po: Likewise.
92440 2011-07-16  Roland McGrath  <roland@hack.frob.com>
92442         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
92443         now disallowed by GCC.
92445         * configure.in (use-default-link): Default to yes if a test -shared
92446         link meets our qualifications.
92447         * configure: Regenerated.
92449         * config.make.in (output-format): New variable.
92450         * configure.in: Check for ld --print-output-format support.
92451         * configure: Regenerated.
92452         * Makerules ($(common-objpfx)format.lds)
92453         [$(output-format) != unknown]: Just use $(output-format),
92454         instead of the linker-script munging.
92456 2011-07-14  Roland McGrath  <roland@hack.frob.com>
92458         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
92459         of $(common-objpfx)shlib.lds.
92460         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
92462         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
92463         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
92465         * configure.in (-z relro check): Adjust test code to add a large
92466         writable data section after it.
92467         * configure: Regenerated.
92469 2011-07-11  Roland McGrath  <roland@hack.frob.com>
92471         * configure.in (-z relro check): Fix test code to make the variable
92472         truly const.
92473         * configure: Regenerated.
92475 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
92477         * nscd/nscd.h (struct traced_file): Define.
92478         (struct database_dyn): Remove inotify_descr, reset_res, and filename
92479         elements.  Add traced_files.
92480         (inotify_fd): Declare.
92481         (register_traced_file): Declare.
92482         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
92483         (inotify_fd): Export.
92484         (resolv_conf_descr): Remove.
92485         (nscd_init): Move inotify descriptor creation to main.
92486         Don't register files for notification here.
92487         (register_traced_file): New function.
92488         (invalidate_cache): Don't use reset_res to determine whether to call
92489         res_init, go through the list of registered files.
92490         (main_loop_poll): The inotify descriptors are now stored in the
92491         structures for the traced files.
92492         (main_loop_epoll): Likewise.
92493         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
92494         to __nss_disable_nscd.
92495         * nscd/cache.c (prune_cache): There is no single inotify descriptor
92496         for a database anymore.  Check the records for all the registered
92497         files instead.
92498         * nss/Makefile (libnss_files-routines): Add files-init.
92499         (libnss_db-routines): Add db-init.
92500         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
92501         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
92502         * nss/nss_db/db-init.c: New file.
92503         * nss/nss_files/files-init.c: New file.
92504         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
92505         __nss_lookup_function.
92506         (__nss_lookup_function): Call nss_load_library.
92507         (nss_load_all_libraries): New function.
92508         (__nss_disable_nscd): Take parameter with callback function for files
92509         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
92510         used for the cached services.
92511         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
92512         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
92513         options for features to all the files in nscd.
92515         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
92517 2011-07-10  Roland McGrath  <roland@hack.frob.com>
92519         * csu/elf-init.c (__libc_csu_init): Comment typo.
92521 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
92523         * po/pl.po: Update from translation team.
92524         * po/ja.po: Likewise.
92525         * po/ru.po: Likewise.
92526         * po/ko.po: Likewise.
92527         * po/fr.po: Likewise.
92529 2011-07-09  Roland McGrath  <roland@hack.frob.com>
92531         * configure.in (.ctors/.dtors header and trailer check):
92532         Use an empirical test on a built program.
92533         * configure: Regenerated.
92535         * configure.in (-z relro check): Use an empirical test on a built DSO.
92536         Detect, but do not require, on ia64.
92537         * configure: Regenerated.
92539         * configure.in (READELF): Find it with AC_CHECK_TOOL.
92540         Update tests that use readelf to use $READELF instead.
92541         * configure: Regenerated.
92543 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
92545         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
92546         if the result is not used.
92548 2011-07-05  Andreas Jaeger  <aj@suse.de>
92550         [BZ #9696]
92551         * stdlib/tst-strtod.c: Add testcase.
92553 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
92555         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
92556         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
92557         The latter has a higher limit.  Take additional parameter to pass to
92558         the new function.
92559         (__pathconf): Pass file to __statfs_link_max.
92560         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
92561         __statfs_link_max.
92562         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
92563         __statfs_link_max.
92565         [BZ #12868]
92566         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
92567         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92568         Handle Lustre.
92569         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
92570         (__statfs_filesize_max): Likewise.
92571         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
92573 2011-07-05  Andreas Jaeger  <aj@suse.de>
92575         * resolv/res_comp.c (dn_skipname): Remove unused variable.
92577 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
92579         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
92580         `status' variable.
92581         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
92582         Likewise.
92584 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
92586         * Makefile (strop-tests): Add strncat.
92587         * string/test-strncat.c: New file.
92589 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
92591         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
92593 2011-06-21  Andreas Jaeger  <aj@suse.de>
92595         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
92596         Copy rule from iconvdata/Makefile.
92598 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92600         [BZ #12922]
92601         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
92602         but no long options are defined, just return 'W'.
92604 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
92606         [BZ #9696]
92607         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
92609 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
92611         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
92612         netgroups to read.
92613         (innetgr): Likewise.
92615 2011-07-05  Roland McGrath  <roland@hack.frob.com>
92617         * config.make.in (install_root): Default to $(DESTDIR).
92619 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
92621         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
92623 2011-07-02  Roland McGrath  <roland@hack.frob.com>
92625         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
92627         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
92628         containing directory rather than embedding absolute directory names.
92630         * scripts/check-local-headers.sh: Rewritten using awk.
92631         Match by word, not by line.  Print error messages for matches.
92632         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
92634         * Makerules [shlib-lds-flags empty]:
92635         ($(common-objpfx)libc_pic.opts): New target.
92636         ($(common-objpfx)libc_pic.os.clean): New target.
92637         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
92639         * config.make.in (OBJCOPY): New variable.
92640         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
92641         * configure: Regenerated.
92643         * config.make.in (use-default-link): New variable.
92644         * configure.in (use_default_link): Grok --with-default-link to set it.
92645         * configure: Regenerated.
92646         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
92647         (shlib-lds, shlib-lds-flags): Define to empty.
92649         * Makerules (shlib-lds): New variable.
92650         (shlib-lds-flags): New variable.
92651         (build-shlib, build-moduile, build-module-asneeded): Use it.
92652         ($(common-objpfx)libc.so): Use $(shlib-lds).
92653         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
92654         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
92656         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
92657         DT_FLAGS/DT_FLAGS_1 with zero flags.
92659         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
92660         linker script munging.
92662 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
92664         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
92665         as 128-bit value.
92666         * crypt/sha512.c (sha512_process_block): Perform total addition using
92667         128-bit if possible.
92668         (__sha512_finish_ctx): Likewise.
92669         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
92670         as 64-bit value.
92671         * crypt/sha256.c (SWAP64): Define.
92672         (sha256_process_block): Perform total addition using 64-bit if
92673         possible.
92674         (__sha256_finish_ctx): Likewise.
92676 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
92678         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
92679         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92680         * nscd/hstcache.c (cache_addhst): Likewise.
92681         * nscd/grpcache.c (cache_addgr): Likewise.
92682         * nscd/aicache.c (addhstaiX): Likewise.
92683         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
92685 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
92687         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
92688         * nscd/initgrcache.c (addinitgroupsX): Likewise.
92689         * nscd/hstcache.c (cache_addhst): Likewise.
92690         * nscd/grpcache.c (cache_addgr): Likewise.
92691         * nscd/aicache.c (addhstaiX): Likewise.
92693 2011-07-01  Andreas Schwab  <schwab@redhat.com>
92695         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
92696         domain only when needed.
92698 2011-06-30  Andreas Schwab  <schwab@redhat.com>
92700         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
92701         is always restored.
92703 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
92705         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
92706         are re-adding the entry.
92707         * nscd/servicescache.c (cache_addserv): Likewise.
92709 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
92711         * sysdeps/generic/dl-irel.h: fix protection against multiple
92712         inclusions.
92713         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
92715 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
92717         [BZ #12935]
92718         * malloc/memusage.sh: Fix quoting in message.
92719         * debug/xtrace.sh: Likewise.
92721         * configure.in: Remove support for --experimental-malloc option, make
92722         it the default.
92723         * config.make.in: Likewise.
92724         * malloc/Makefile: Likewise.
92726 2011-06-27  Andreas Schwab  <schwab@redhat.com>
92728         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
92729         two-byte characters.
92731 2011-06-27  Roland McGrath  <roland@hack.frob.com>
92733         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
92734         AC_CACHE_CHECK invocation.
92735         * configure: Regenerated.
92737         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
92739 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
92741         [BZ #12350]
92742         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
92743         bit from old_res_options.
92745         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
92747         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
92748         value type for setfct.
92750 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
92752         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92753         __gettimeofday instead of gettimeofday.
92755 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
92757         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
92759 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
92761         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
92763         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
92764         info.
92766 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92768         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92769         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92770         strcpy-sse2-unaligned strncpy-sse2-unaligned
92771         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
92772         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
92773         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
92774         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
92775         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
92776         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
92777         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
92778         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
92779         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
92780         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
92781         (STRCPY): Support SSE2 and SSSE3 versions.
92783 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
92785         [BZ #12874]
92786         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
92787         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
92788         kernels which artificially limit size of requests.
92790 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
92792         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92793         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
92794         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
92795         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
92796         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
92797         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
92798         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
92799         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
92800         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
92801         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
92802         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
92803         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
92804         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
92805         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
92806         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
92807         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92808         Enable unaligned load optimization for Intel Core i3, i5 and i7
92809         processors.
92810         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
92811         Define.
92812         (index_Fast_Unaligned_Load): Define.
92813         (HAS_FAST_UNALIGNED_LOAD): Define.
92815 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
92817         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
92819 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92821         [BZ #12907]
92822         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
92823         until it is clear that the information is realy needed.
92824         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
92826 2011-06-22  Andreas Schwab  <schwab@redhat.com>
92828         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
92830 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
92832         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
92833         /sys/devices/system/cpu/online if it is usable.
92835         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
92836         reading the information from the /proc filesystem to once a second.
92838 2011-06-21  Andreas Jaeger  <aj@suse.de>
92840         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
92841         NULL after inclusion of kernel headers.
92843 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
92845         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
92846         calls to internal_setent.
92848         [BZ #12885]
92849         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
92850         addresses using gethostbyname4_r ignore IPv4 addresses.
92852         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
92853         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
92855         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
92857 2011-06-20  David S. Miller  <davem@davemloft.net>
92859         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
92860         inclusions.
92861         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
92863         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
92864         (elf_irel): Use it.
92865         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
92866         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
92867         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
92868         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
92869         * sysdeps/x86_64/dl-irel.h: Likewise.
92871         * elf/dl-runtime.c: Use elf_ifunc_invoke.
92872         * elf/dl-sym.c: Likewise.
92874 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92876         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
92877         need to dereference resplen2.
92879 2011-06-14  Andreas Schwab  <schwab@redhat.com>
92881         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
92883 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
92885         * Makeconfig: Define vardbdir and inst_vardbdir.
92886         * nss/Makefile: Add rules to install db-Makefile.
92888         * nss/nss_db/db-XXX.c: Cleanup.
92890         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
92891         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
92892         GLIBC_PRIVATE.
92893         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
92894         * nss/makedb.c: Implement -g option to specify that value strings
92895         are generated and should not be added to table iterated over for
92896         get*ent calls.
92897         * nss/nss_db/db-initgroups.c: New file.
92899         * nss/getent.c: Add support for initgroups lookups through getgrouplist
92900         interface.
92902         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
92903         (internal_getgrouplist): Adjust to name change.
92904         Update use_initgroups_entry if this is not the first call.
92905         * nss/databases.def: Add initgroups entry.
92907         * nss/makedb.c (compute_tables): Check result of multiple hash table
92908         sizes to minimize maximum chain length.
92910 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
92912         * Versions.def: Add entry for libnss_db.
92913         * shlib-versions: Likewise.
92914         * nss/Makefile: Add rules to build libnss_db.
92915         * nss/Versions: Add libnss_db information.  Organize libnss_files
92916         entries better.
92917         * nss/db-Makefile: Add gshadow support.  Change rules for the new
92918         makedb progra.  Some minor improvements to generate smaller files.
92919         * nss/nss_db/nss_db.h: Move NSS database header data structures to
92920         here from...
92921         * nss/makedb.c: ...here.
92922         Improve database format to be smaller and require less memory at
92923         runtime.
92924         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
92925         db anymore.
92926         * nss/nss_db/db-netgrp.c: Likewise.
92927         * nss/nss_db/db-open.c: Likewise.
92928         * nss/nss_files/flies-XXX.x: Adjust comments.
92929         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
92930         * nss/nss_files/files-grp.c: Likewise.
92931         * nss/nss_files/files-hosts.c: Likewise.
92932         * nss/nss_files/files-network.c: Likewise.
92933         * nss/nss_files/files-proto.c: Likewise.
92934         * nss/nss_files/files-pwd.c: Likewise.
92935         * nss/nss_files/files-rpc.c: Likewise.
92936         * nss/nss_files/files-service.c: Likewise.
92937         * nss/nss_files/files-sgrp.c: Likewise.
92938         * nss/nss_files/files-spwd.c: Likewise.
92939         * nss/nss_db/db-alias.c: Removed.
92940         * nss/nss_db/dummy-db.h: Removed.
92942 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
92944         * nss/makedb.c: Rewritten to not use database library.
92945         * nss/Makefile: Update to build new makedb program.
92947 2011-06-14  Andreas Jaeger  <aj@suse.de>
92949         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
92950         memset declaration.
92952 2011-06-10  Andreas Schwab  <schwab@redhat.com>
92954         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
92955         tmpbuf.
92957 2011-06-10  Roland McGrath  <roland@hack.frob.com>
92959         * Makerules (shlib.lds): Fail if the linker script comes out empty.
92960         * elf/Makefile ($(objpfx)ld.so): Likewise.
92962         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
92963         Don't list ld.so twice in dependencies.
92965         * posix/bug-regex31.c: Include <stdlib.h>.
92967         * nscd/hstcache.c (cache_addhst): Remove unused variable.
92969         * nis/nss_compat/compat-spwd.c
92970         (getspent_next_nss_netgr): Remove unused variable.
92971         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
92973         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
92974         nonmembers" output to use the right array.
92976         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
92978         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
92980         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
92981         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
92982         * catgets/gencat.c (read_input_file): Likewise.
92983         * locale/programs/locarchive.c (enlarge_archive): Likewise.
92985         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
92986         variable definition inside #if's controlling its use.
92988         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
92990         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
92992         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
92994         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
92995         unreachable code.
92997         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
92999         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
93000         * configure: Regenerated.
93002         * Makerules: Revert last change.
93003         * elf/Makefile: Likewise.
93005 2011-06-09  Roland McGrath  <roland@hack.frob.com>
93007         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
93008         * elf/Makefile ($(objpfx)librtld.os): Likewise.
93009         (reloc-link): Likewise.
93011 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
93013         * elf/Makefile: Add rules to build pldd.
93014         * elf/pldd.c: New file.
93015         * elf/pldd-xx.c: New file.
93017 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
93019         * version.h: Update for 2.15 development version.
93021 2011-06-07  David S. Miller  <davem@davemloft.net>
93023         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
93024         ifuncs.
93025         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
93026         elf_machine_lazy_rel): Likewise.
93027         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
93028         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
93029         elf_machine_lazy_rel): Likewise.
93030         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
93031         dl_hwcap via passed in argument.
93032         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
93033         Likewise.
93035 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93037         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
93039 2011-06-06  Roland McGrath  <roland@hack.frob.com>
93041         [BZ #12849]
93042         * manual/fdl-1.1.texi: New file, verbatim from:
93043         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
93044         * manual/lgpl-2.1.texi: New file, verbatim from:
93045         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
93046         * manual/Makefile (licenses): New variable, list those new file names.
93047         (texis): Use it.
93048         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
93050         * manual/fdl.texi: File removed.
93051         * manual/lesser.texi: File removed.
93052         * manual/libc.texinfo (Copying, Documentation License):
93053         Use new @include file names, put @appendix directive before @include.
93055 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
93057         [BZ #12841]
93058         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
93059         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
93060         (mq_open): Add __NTH.
93062 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
93064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93065         Assume Intel Core i3/i5/i7 processor if AVX is available.
93067 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93069         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
93070         typo.
93072 2011-05-31  Andreas Schwab  <schwab@redhat.com>
93074         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
93075         memory.  Use alloca_account.  Fix memory leak when retrying.
93077 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
93079         * version.h (RELEASE): Bump for 2.14 release.
93080         * include/features.h (__GLIBC_MINOR__): Bump to 14.
93082         * config.make.in (RANLIB): Remove entry.
93084 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
93086         * po/Makefile (po-sed-cmd): Add ksh to extensions.
93087         (libc.pot): Work around missing support for .ksh extension in xgettext.
93089         [BZ #12684]
93090         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
93091         if both request failed.
93092         (send_dg): In case of server errors clear resplen or *resplen2.
93094         [BZ #12454]
93095         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
93096         when there are multiple maps.
93097         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
93098         (_dl_fini): Remove test here.
93100         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
93102 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
93104         [BZ #12350]
93105         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
93106         bit from old_res_options.
93107         (gaih_inet): Likewise.
93109         [BZ #11099]
93110         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
93111         as signed.
93113         * resolv/res_init.c (res_setoptions): Make the code more compact.
93115         [BZ #11558]
93116         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
93117         set RES_USEVC.
93119         [BZ #11634]
93120         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
93122         * malloc/malloc.h: Mark malloc hook variables as deprecated.
93124         [BZ #11781]
93125         * malloc/malloc.h: Declare malloc hook variables as volatile.
93127         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
93128         in last patch.
93130         [BZ #11799]
93131         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
93132         raise in the comment.
93133         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
93134         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
93135         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
93137 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
93139         [BZ #12811]
93140         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
93141         grow the buffers more if it already has to be sufficient.
93142         (build_wcs_upper_buffer): Likewise.
93143         * posix/regexec.c (check_matching): Likewise.
93144         (clean_state_log_if_needed): Likewise.
93145         (extend_buffers): Don't enlarge buffers beyond size of the input
93146         buffer.
93147         Patches mostly by Emil Wojak <emil@wojak.eu>.
93148         * posix/bug-regex32.c: New file.
93149         * posix/Makefile (tests): Add bug-regex32.
93151         * locale/findlocale.c (_nl_find_locale): Return right away if
93152         _nl_explode_name failed.
93153         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
93155         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
93157         * debug/xtrace.sh: Unify messages.
93158         * malloc/memusage.sh: Likewise.
93160         [BZ #12813]
93161         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
93162         time symbol from vDSO.  Substitute with vsyscall if not available.
93163         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
93164         __vdso_time.
93166         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
93167         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
93168         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
93169         Add sendmmsg and internal_sendmmsg.
93170         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
93171         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
93172         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
93174         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
93175         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
93176         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
93178 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
93180         [BZ #12813]
93181         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
93182         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
93183         available.
93184         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
93185         __vdso_getcpu.
93187         [BZ #12814]
93188         * iconvdata/Makefile (tests): Add bug-iconv9.
93189         * iconvdata/bug-iconv9.c: New file.
93191 2011-05-27  Andreas Schwab  <schwab@redhat.com>
93193         [BZ #12814]
93194         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
93196 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
93198         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93199         (struct user_regs_struct): Change intcs field back to cs.
93201 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
93203         * po/ja.po: Update from translation team.
93205 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
93207         [BZ #12795]
93208         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
93209         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
93211 2011-05-20  Andreas Schwab  <schwab@redhat.com>
93213         * stdlib/longlong.h: Update from GCC.
93215 2011-05-23  Andreas Schwab  <schwab@redhat.com>
93217         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
93218         parameter name.
93219         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
93220         Add parameter name.
93221         (__sysconf): Pass it down.
93223 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
93225         [BZ #12671]
93226         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
93227         some situations.
93228         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
93229         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
93230         add in in __libc_use_alloca calls.  Adjust callers.
93231         (glob): Use malloc in some situations.
93233         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
93234         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
93235         pltexit.
93237 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
93239         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
93240         and CLOCK_BOOTTIME_ALARM.
93242         [BZ #12782]
93243         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
93244         is returned.
93246         * string/_strerror.c (__strerror_r): Print negative errors as signed
93247         numbers.
93249         [BZ #12777]
93250         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
93251         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
93252         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
93254         * configure.in: Fix typo in redirection and correct removal of test
93255         files in two cases.
93257         [BZ #12788]
93258         * locale/setlocale.c (new_composite_name): Fix test to check for
93259         identical name of all categories.
93261         [BZ #12792]
93262         * libio/filedoalloc.c (local_isatty): New function.
93263         (_IO_file_doallocate): Use local_isatty.
93264         * stdio-common/perror.c (perror): In case a new stream is used
93265         forward the stream error.
93266         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
93267         error flag.
93269 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
93271         [BZ #11884]
93272         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
93273         alloca.
93274         * include/alloca.h (extend_alloca_account): Define.
93276         [BZ #11857]
93277         * posix/regex.h: Fix comments with documentation of user-accessible
93278         fields after compilation and describe correct free'ing of pattern
93279         after re_compile_pattern.
93280         Patch by Reuben Thomas <rrt@sc3d.org>.
93282 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
93284         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
93285         and -mno-altivec to prevent the compiler from using Altivec and/or
93286         VSX instructions when the corresponding registers are not available.
93288 2011-05-19  Andreas Schwab  <schwab@redhat.com>
93290         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
93292 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
93294         * libio/freopen.c (freopen): Use __dup2, not dup2.
93295         * libio/freopen64.c (freopen64): Likewise.
93297 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
93299         [BZ #12775]
93300         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
93301         * math/Makefile (tests): Add test-powl.
93302         (CFLAGS-test-powl.c): Define.
93303         * math/test-powl.c: New file.
93305 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93307         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
93309 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
93311         [BZ #11837]
93312         * iconvdata/gb18030.c: Update to GB18020-2005.
93314 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
93316         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
93317         RE_SYNTAX_POSIX_AWK): Update to match recent development.
93318         Patch by Aharon Robbins <arnold@skeeve.com>.
93320         [BZ #11892]
93321         * stdlib/putenv.c (putenv): Don't always create copy of the variable
93322         on the stack.
93324         [BZ #11895]
93325         * misc/pselect.c (__pselect): Handle timeout value errors hidden
93326         through underflows.
93328         [BZ #12766]
93329         * misc/error.c (error_at_line): Ensure file_name and old_file_name
93330         point to strings before performing equality test for error_one_per_line
93331         mode.
93333         [BZ #11697]
93334         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
93336         [BZ #11820]
93337         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
93338         (struct user_fpregs_struct): Avoid __uint*_t types.
93340         [BZ #6420]
93341         * malloc/mtrace.c (tr_where): Add additional parameter to point to
93342         symbol info.  Use it instead of calling _dl_addr locally.
93343         (lock_and_info): New function.
93344         (tr_freehook): Call lock_and_info and pass symbol info as additional
93345         parameter to tr_where.
93346         (tr_mallochook): Likewise.
93347         (tr_reallochook): Likewise.
93348         (tr_memalignhook): Likewise.
93350         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
93351         used and couldn't be at all thread-safe.
93353 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
93355         * libio/freopen.c (freopen): Don't close old file descriptor
93356         before the new one is opened.  Instead dup the new file descriptor
93357         to the old one after the new stream is created.
93358         * libio/freopen64.c (freopen64): Likewise.
93359         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
93360         * libio/fileops.c (_IO_new_file_close_it): Handle new
93361         _IO_FLAGS2_NOCLOSE flag.
93362         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
93363         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
93364         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
93365         _IO_FLAGS2_NOCLOSE flag.
93366         * include/unistd.h: Add hidden_proto for dup3.
93367         Define __have_dup3.
93368         * io/dup3.c: Define hidden symbol.
93369         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
93371         [BZ #7101]
93372         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
93373         when an incomplete long option is used.
93374         * posix/tst-getopt_long1.c: New file.
93375         * posix/Makefile (tests): Add tst-getopt_long1.
93377         [BZ #10138]
93378         * scripts/config.guess: Update from autoconf-2.68.
93379         * scripts/config.sub: Likewise.
93381         [BZ #10157]
93382         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
93383         tests into ...
93384         (has_cpuclock): ...this.  New function.
93385         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
93386         macro here based on has_cpuclock code.
93388         [BZ #10149]
93389         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93390         First byte (not low byte) is now always NUL.
93391         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
93393         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
93394         Use non-cancelable interfaces.
93396         [BZ #9809]
93397         * locale/iso-639.def: Add entry for Sorani.
93399         [BZ #11901]
93400         * include/stdlib.h: Move include protection to the right place.
93401         Define abort_msg_s.  Declare __abort_msg with it.
93402         * stdlib/abort.c (__abort_msg): Adjust type.
93403         * assert/assert.c (__assert_fail_base): New function.  Majority
93404         of code from __assert_fail.  Allocate memory for __abort_msg with
93405         mmap.
93406         (__assert_fail): Now call __assert_fail_base.
93407         * assert/assert-perr.c: Remove bulk of implementation.  Use
93408         __assert_fail_base.
93409         * include/assert.hL Declare __assert_fail_base.
93410         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
93411         mmap.
93412         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
93414 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
93416         [BZ #11952]
93417         [BZ #12453]
93418         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
93419         until all modules are registered in the DTV.
93420         * elf/Makefile: Add rules to build and run tst-tls19.
93421         * elf/tst-tls19.c: New file.
93422         * elf/tst-tls19mod1.c: New file.
93423         * elf/tst-tls19mod2.c: New file.
93424         * elf/tst-tls19mod3.c: New file.
93425         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
93427         [BZ #12083]
93428         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
93429         correctly.
93431         [BZ #12601]
93432         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
93433         two-byte sequence errors.
93434         * iconvdata/Makefile (tests): Add bug-iconv8.
93435         * iconvdata/bug-iconv8.c: New file.
93437         [BZ #12626]
93438         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
93439         buf2 definition.
93441         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
93443         [BZ #12432]
93444         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
93445         (dummy_getcfa): New function.
93446         (init): Get _Unwind_GetCFA address, use dummy if not found.
93447         (backtrace_helper): In recursion check, also check whether CFA changes.
93448         (__backtrace): Completely initialize arg.
93450         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
93451         storing incomplete byte sequence in state object.  Avoid testing for
93452         guaranteed too small input if we know there is enough data available.
93454 2011-05-11  Andreas Schwab  <schwab@redhat.com>
93456         * Makeconfig (+link-pie): Indent.
93457         * Rules (binaries-pie): Define if $(have-fpie) and
93458         $(build-shared).
93459         (binaries-shared): Also filter out $(binaries-pie).
93460         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
93461         * nscd/Makefile (others-pie): Add nscd.
93462         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
93463         ($(objpfx)nscd): Remove command override.
93464         * login/Makefile (others-pie): Add pt_chown.
93465         ($(objpfx)pt_chown): Remove command override.
93466         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
93467         remove command overrides.
93469 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
93471         * libio/tst_putwc.c: Fix error messages.
93473         [BZ #12724]
93474         * libio/fileops.c (_IO_new_file_close_it): Always flush when
93475         currently writing and seek to current position when not.
93476         * libio/Makefile (tests): Add bug-fclose1.
93477         * libio/bug-fclose1.c: New file.
93479 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
93481         [BZ #12511]
93482         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
93483         don't set DF_1_NODELETE here.
93484         (do_lookup_x): When entering new entry test for copy relocation
93485         and if necessary set DF_1_NODELETE flag.
93486         * elf/tst-unique4.cc: New file.
93487         * elf/tst-unique4.h: New file.
93488         * elf/tst-unique4lib.cc: New file.
93489         * elf/Makefile: Add rules to build and run tst-unique4.
93490         Patch by Piotr Bury <pbury@goahead.com>.
93492 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
93494         [BZ #12052]
93495         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
93497         [BZ #12625]
93498         * misc/mntent_r.c (addmntent): Flush the stream after the output
93500         [BZ #12393]
93501         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
93502         (is_trusted_path_normalize): Skip initial colon.  Append slash
93503         to empty buffer.  Duplicate is_trusted_path code but allow
93504         constructed patch to be prefix.
93505         (is_dst): Allow $ORIGIN followed by /.
93506         (_dl_dst_substitute): Correct clearing of check_for_trusted.
93507         Correct testing of result of is_trusted_path_normalize
93508         (decompose_rpath): Fix warning.
93510 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
93512         [BZ #11257]
93513         * grp/initgroups.c (internal_getgrouplist): When we found the service
93514         list through the initgroups entry in nsswitch.conf do not always
93515         continue on a successful lookup.  Don't always use the
93516         __nss_group_database value if it is set.
93517         * nss/nsswitch.conf (initgroups): Change action for successful db
93518         lookup to continue for compatibility.
93520 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
93522         [BZ #11532]
93523         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
93524         and CP774 modules.
93525         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
93526         and CP774 modules.
93527         * iconvdata/tst-tables.sh: Likewise.
93528         * iconvdata/cp770.c: New file.
93529         * iconvdata/cp771.c: New file.
93530         * iconvdata/cp772.c: New file.
93531         * iconvdata/cp773.c: New file.
93532         * iconvdata/cp774.c: New file.
93533         * iconvdata/testdata/CP770: New file.
93534         * iconvdata/testdata/CP770..UTF8: New file.
93535         * iconvdata/testdata/CP771: New file.
93536         * iconvdata/testdata/CP771..UTF8: New file.
93537         * iconvdata/testdata/CP772: New file.
93538         * iconvdata/testdata/CP772..UTF8: New file.
93539         * iconvdata/testdata/CP773: New file.
93540         * iconvdata/testdata/CP773..UTF8: New file.
93541         * iconvdata/testdata/CP774: New file.
93542         * iconvdata/testdata/CP774..UTF8: New file.
93544         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
93545         END CHARMAP line.
93546         * iconvdata/gen-8bit-gap.sh: Likewise.
93547         * iconvdata/gen-8bit.sh: Likewise.
93549         * locale/iso-639.def: Add ary entry.
93551         [BZ #11258]
93552         * locale/C-translit.h.in: Add U20A1 transliteration.
93554         [BZ #12178]
93555         * locale/iso-639.def: Add wae entry.
93556         Patch by Kevin Bortis <bortis@translate-wae.ch>.
93558         [BZ #12545]
93559         * locale/programs/localedef.c (construct_output_path): Use ssize_t
93560         for n.
93562         [BZ #12711]
93563         * locale/C-translit.h.in: Add entry for U20B9.
93564         Patch by pravin.d.s@gmail.com.
93566 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
93568         [BZ #12713]
93569         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
93570         ENAMETOOLONG use generic getcwd.
93571         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
93572         in rtld.  Use *stat64.
93573         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
93574         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
93575         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
93576         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
93577         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
93578         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
93579         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
93580         __fstatat64 macros.
93581         * include/dirent.h: Add libc_hidden_proto for rewinddir.
93582         * dirent/rewinddir.c: Add libc_hidden_def.
93583         * sysdeps/mach/hurd/rewinddir.c: Likewise.
93584         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
93586         * include/dirent.h (__alloc_dir): Add flags parameter.
93587         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
93588         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
93589         __alloc_dir.
93590         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
93591         from fdopendir if O_CLOEXEC is already set.
93593 2011-03-15  Alan Modra  <amodra@gmail.com>
93595         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
93596         l_tls_firstbyte_offset non-zero.  Save padding offset in
93597         l_tls_firstbyte_offset for later use.
93598         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
93599         freeing static tls block.
93601 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
93603         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
93604         where #ifdef was intended.  The intent is to prevent ARG_MAX from
93605         being defined by the kernel headers.
93607 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
93609         [BZ #12734]
93610         * resolv/resolv.h: Define RES_NOTLDQUERY.
93611         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
93612         no-tld-query and set RES_NOTLDQUERY.
93613         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
93614         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
93615         modern BIND to search name as TLD unless forbidden.
93617 2011-05-07  Petr Baudis  <pasky@suse.cz>
93618             Ulrich Drepper  <drepper@gmail.com>
93620         [BZ #12393]
93621         * elf/dl-load.c (fillin_rpath): Move trusted path check...
93622         (is_trusted_path): ...to here.
93623         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
93624         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
93625         using is_trusted_path_normalize() in setuid scripts.
93627 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
93629         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
93630         __BEGIN/__END_DECLS.
93632 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
93634         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
93635         NSS_STATUS_NOTFOUND if no record was found.
93637 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93639         * sunrpc/Makefile (headers): Add rpc/netdb.h.
93640         (headers-not-in-tirpc): Remove rpc/netdb.h
93641         * resolv/netdb.h: Revert last change.
93643 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
93645         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
93646         circular dependency between libgcc.a and libc.a.
93648 2011-05-05  Andreas Schwab  <schwab@redhat.com>
93650         * resolv/netdb.h: Don't include <rpc/netdb.h>.
93651         * nis/Makefile: Don't install rpcsvc/*.
93652         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
93653         instead of <rpc/types.h>.
93654         (MAXHOSTNAMELEN): Define.
93656 2011-05-03  Andreas Schwab  <schwab@redhat.com>
93658         * elf/ldconfig.c (add_dir): Don't crash on empty path.
93660 2011-04-28  Maciej Babinski  <mbabinski@google.com>
93662         [BZ #12714]
93663         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
93664         gethostbyname4_r when IPv6 results are possible.
93666 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
93668         [BZ #12723]
93669         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
93670         _PC_PIPE_BUF handling.
93672 2011-04-30  Bruno Haible  <bruno@clisp.org>
93674         [BZ #12717]
93675         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
93676         * resolv/netdb.h (getnameinfo): Change type of flags parameter
93677         to 'int'.
93678         * inet/getnameinfo.c (getnameinfo): Likewise.
93680 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
93682         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
93683         to groups setting in database lookup.
93684         * nss/nsswitch.conf: Add initgroups entry.
93686 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
93688         [BZ #12685]
93689         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
93690         mode string.
93691         Patch by Eric Blake <eblake@redhat.com>.
93693 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
93695         * sunrpc/Makefile (need-export-routines): Add svc_run.
93696         (routines): Remove svc_run.
93697         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
93698         * sunrpc/clnt_perr.c (clnt_perrno): Export.
93699         * sunrpc/svc_run.c (svc_run): Likewise.
93700         * sunrpc/svc_udp.c (svcudp_create): Likewise.
93702 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
93704         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
93705         problem in reallocation in last patch.
93707 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
93709         * sunrpc/Makefile: Move inclusion of Rules.
93711 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93713         * nss/nss_files/files-initgroups.c: New file.
93714         * nss/Makefile (libnss_files-routines): Add files-initgroups.
93715         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
93716         _nss_files_initgroups_dyn.
93718 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
93720         * elf/elf.h (R_ARM_IRELATIVE): Define.
93722 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
93724         * po/ru.po: Update from translation team.
93726 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93728         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
93729         dependencies.
93731 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
93733         [BZ #12653]
93734         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
93735         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
93736         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
93737         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
93738         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
93740 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
93742         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
93743         differing bytes.
93744         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
93745         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
93746         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
93748 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
93750         [BZ #12420]
93751         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
93752         storing it.
93753         * stdlib/bug-getcontext.c: New file.
93754         * stdlib/Makefile: Add rules to build and run bug-getcontext.
93756 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93758         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
93759         instructions into .machine "z9-109".
93760         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
93761         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
93763 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
93765         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
93766         between environment variables and auxiliary vector.
93768 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
93770         * Makefile: Add rules to build linkobj/libc.so.
93771         * include/libc-symbols.h: Define libc_hidden_nolink.
93772         * include/rpc/auth.h: Mark functions which are to be hidden.
93773         * include/rpc/auth_des.h: Likewise.
93774         * include/rpc/auth_unix.h: Likewise.
93775         * include/rpc/clnt.h: Likewise.
93776         * include/rpc/des_crypt.h: Likewise.
93777         * include/rpc/key_prot.h: Likewise.
93778         * include/rpc/pmap_clnt.h: Likewise.
93779         * include/rpc/pmap_prot.h: Likewise.
93780         * include/rpc/pmap_rmt.h: Likewise.
93781         * include/rpc/rpc_msg.h: Likewise.
93782         * include/rpc/svc.h: Likewise.
93783         * include/rpc/svc_auth.h: Likewise.
93784         * include/rpc/xdr.h: Likewise.
93785         * nis/Makefile: Link all DSOs against linkobj/libc.so.
93786         * nss/Makefile: Likewise.
93787         * sunrpc/Makefile: Don't install headers.  Build library with normal
93788         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
93789         * sunrpc/auth_des.c: Hide exported symbols by default, export some
93790         for the compat linking library.  Remove use of INTDEF/INTUSE.
93791         * sunrpc/auth_none.c: Likewise.
93792         * sunrpc/auth_unix.c: Likewise.
93793         * sunrpc/authdes_prot.c: Likewise.
93794         * sunrpc/authuxprot.c: Likewise.
93795         * sunrpc/clnt_gen.c: Likewise.
93796         * sunrpc/clnt_perr.c: Likewise.
93797         * sunrpc/clnt_raw.c: Likewise.
93798         * sunrpc/clnt_simp.c: Likewise.
93799         * sunrpc/clnt_tcp.c: Likewise.
93800         * sunrpc/clnt_udp.c: Likewise.
93801         * sunrpc/clnt_unix.c: Likewise.
93802         * sunrpc/des_crypt.c: Likewise.
93803         * sunrpc/des_soft.c: Likewise.
93804         * sunrpc/get_myaddr.c: Likewise.
93805         * sunrpc/key_call.c: Likewise.
93806         * sunrpc/key_prot.c: Likewise.
93807         * sunrpc/netname.c: Likewise.
93808         * sunrpc/pm_getmaps.c: Likewise.
93809         * sunrpc/pm_getport.c: Likewise.
93810         * sunrpc/pmap_clnt.c: Likewise.
93811         * sunrpc/pmap_prot.c: Likewise.
93812         * sunrpc/pmap_prot2.c: Likewise.
93813         * sunrpc/pmap_rmt.c: Likewise.
93814         * sunrpc/publickey.c: Likewise.
93815         * sunrpc/rpc_cmsg.c: Likewise.
93816         * sunrpc/rpc_common.c: Likewise.
93817         * sunrpc/rpc_dtable.c: Likewise.
93818         * sunrpc/rpc_prot.c: Likewise.
93819         * sunrpc/rpc_thread.c: Likewise.
93820         * sunrpc/rtime.c: Likewise.
93821         * sunrpc/svc.c: Likewise.
93822         * sunrpc/svc_auth.c: Likewise.
93823         * sunrpc/svc_authux.c: Likewise.
93824         * sunrpc/svc_raw.c: Likewise.
93825         * sunrpc/svc_run.c: Likewise.
93826         * sunrpc/svc_simple.c: Likewise.
93827         * sunrpc/svc_tcp.c: Likewise.
93828         * sunrpc/svc_udp.c: Likewise.
93829         * sunrpc/svc_unix.c: Likewise.
93830         * sunrpc/svcauth_des.c: Likewise.
93831         * sunrpc/xcrypt.c: Likewise.
93832         * sunrpc/xdr.c: Likewise.
93833         * sunrpc/xdr_array.c: Likewise.
93834         * sunrpc/xdr_float.c: Likewise.
93835         * sunrpc/xdr_intXX_t.c: Likewise.
93836         * sunrpc/xdr_mem.c: Likewise.
93837         * sunrpc/xdr_rec.c: Likewise.
93838         * sunrpc/xdr_ref.c: Likewise.
93839         * sunrpc/xdr_sizeof.c: Likewise.
93840         * sunrpc/xdr_stdio.c: Likewise.
93842 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
93844         [BZ #12650]
93845         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
93846         * sysdeps/ia64/dl-tls.h: Likewise.
93847         * sysdeps/powerpc/dl-tls.h: Likewise.
93848         * sysdeps/s390/dl-tls.h: Likewise.
93849         * sysdeps/sh/dl-tls.h: Likewise.
93850         * sysdeps/sparc/dl-tls.h: Likewise.
93851         * sysdeps/x86_64/dl-tls.h: Likewise.
93852         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
93854 2011-03-14  Andreas Schwab  <schwab@redhat.com>
93856         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
93857         rpath element also skip the following colon.
93858         (expand_dynamic_string_token): Add is_path parameter and pass
93859         down to DL_DST_REQUIRED and _dl_dst_substitute.
93860         (decompose_rpath): Call expand_dynamic_string_token with
93861         non-zero is_path.  Ignore empty rpaths.
93862         (_dl_map_object_from_fd): Call expand_dynamic_string_token
93863         with zero is_path.
93865 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
93867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
93868         Make cancelable.
93870 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
93872         [BZ #12655]
93873         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
93874         Patch by Filipe David Manana <fdmanana@apache.org>.
93876 2011-04-07  Andreas Schwab  <schwab@redhat.com>
93878         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
93879         Maintain aligned stack.
93880         (CHECK_RSP): Remove unused macro.
93882 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
93884         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
93885         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
93887 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
93889         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
93891         * include/features.h: Mention __USE_XOPEN2K8 in comment.
93893 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
93895         [BZ #12518]
93896         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
93897         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
93898         * sysdeps/x86_64/memmove.c: New file.
93899         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
93900         (memcpy): Renamed to ...
93901         (__new_memcpy): This.
93902         (memcpy): Provide GLIBC_2_14 memcpy.
93903         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
93904         (memcpy): Provide GLIBC_2_2_5 memcpy.
93906 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93908         [BZ #12631]
93909         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
93911 2011-03-30  Andreas Schwab  <schwab@redhat.com>
93913         * misc/syncfs.c: New file.
93914         * misc/Makefile (routines): Add syncfs.
93915         * posix/unistd.h: Declare syncfs.
93916         * sysdeps/unix/syscalls.list: Add syncfs.
93918 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93920         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
93921         open_by_handle_at.
93922         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93923         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93924         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93925         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93926         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93927         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
93928         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93930 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93932         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
93933         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93934         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
93935         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93936         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93937         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93938         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93940         * io/Makefile: Compile fallocate.c, fallocate64.c, and
93941         sync_file_range.c with -fexceptions.
93942         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
93943         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
93944         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
93945         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
93946         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
93947         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
93948         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
93949         sync_file_range as cancellation point
93950         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
93951         now a wrapper around __call_sync_file_range with cancellation handling.
93952         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
93953         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
93954         function name to __call_sync_file_range.
93955         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
93956         Add call_sync_file_range.
93958 2011-04-01  Andreas Schwab  <schwab@redhat.com>
93960         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
93961         bits/timex.h.
93963 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
93965         * iconv/iconv.h: Fix typo in comment.
93966         * io/fcntl.h: Likewise.
93967         * libio/stdio.h: Likewise.
93968         * posix/spawn.h: Likewise.
93969         * posix/unistd.h: Likewise.
93970         * stdlib/stdlib.h: Likewise.
93971         * time/time.h: Likewise.
93972         * wcsmbs/wchar.h: Likewise.
93974         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
93975         open_by_handle): Add.
93976         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
93977         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
93978         Augment a few comments.
93979         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93980         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93981         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93982         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93983         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93984         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
93985         open_by_handle.
93987         * io/fcntl.h (AT_EMPTY_PATH): Define.
93989 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
93991         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
93992         * sysdeps/unix/sysv/linux/bits/time.h: New file.
93993         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
93994         to...
93995         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
93996         * Versions.def: Add GLIBC_2.14.
93997         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
93998         Export.
94000 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
94002         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
94003         round counter.
94004         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94006 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
94008         [BZ #12597]
94009         * string/test-strncmp.c (do_page_test): New function.
94010         (check2): Likewise.
94011         (test_main): Call check2.
94012         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
94014 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
94016         [BZ #12587]
94017         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
94018         Handle cache information in CPU leaf 4.
94019         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
94021 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
94023         [BZ #12583]
94024         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
94025         character representation.
94026         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
94028 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
94030         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
94031         END(__isnan) to END(__isnanf) to match function entry point/label
94032         EALIGN(__isnanf,...).
94034 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
94036         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
94038 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
94040         [BZ #12510]
94041         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
94042         copy from the symbol referenced in the relocation to initialize the
94043         used variable.
94044         Patch by Piotr Bury <pbury@goahead.com>.
94045         * elf/Makefile: Add rules to build and tst-unique3.
94046         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
94047         * elf/tst-unique3.cc: New file.
94048         * elf/tst-unique3.h: New file.
94049         * elf/tst-unique3lib.cc: New file.
94050         * elf/tst-unique3lib2.cc: New file.
94052         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
94054 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
94056         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
94057         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
94058         to _start.
94060 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
94062         * elf/dl-load.c (_dl_map_object): If we are looking for the first
94063         to-be-loaded object along a path to loader is ld.so.
94065 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94066             Ulrich Drepper  <drepper@gmail.com>
94068         * sysdeps/x86_64/memset.S: After aligning destination, code
94069         branches to different locations depending on the value of
94070         misalignment, when multiarch is enabled. Fix this.
94072 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
94074         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
94075         Set _x86_64_preferred_memory_instruction for AMD processsors.
94076         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94077         Set bit_Prefer_SSE_for_memop for AMD processors.
94079 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
94081         * libio/fmemopen.c (fmemopen): Optimize a bit.
94083 2011-03-03  Andreas Schwab  <schwab@redhat.com>
94085         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
94087 2011-03-03  Roland McGrath  <roland@redhat.com>
94089         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
94091 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
94093         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
94094         __bzero_ultra1 instead of __memset_ultra1.
94096 2011-02-23  Andreas Schwab  <schwab@redhat.com>
94097             Ulrich Drepper  <drepper@gmail.com>
94099         [BZ #12509]
94100         * include/link.h (struct link_map): Add l_orig_initfini.
94101         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
94102         returning unsuccessfully.
94103         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
94104         close of a file loaded at startup, restore the original l_initfini
94105         list.
94106         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
94107         list, store the pointer.
94108         * elf/Makefile ($(objpfx)noload-mem): New rule.
94109         (noload-ENV): Define.
94110         (tests): Add $(objpfx)noload-mem.
94111         * elf/noload.c: Include <memcheck.h>.
94112         (main): Call mtrace.  Close all opened handles.
94114 2011-02-17  Andreas Schwab  <schwab@redhat.com>
94116         [BZ #12454]
94117         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
94118         dependencies are missing.
94120 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94122         Fix __if_freereq crash: Unlike the generic version which uses free,
94123         Hurd needs munmap.
94124         * sysdeps/mach/hurd/ifreq.h: New file.
94126 2011-01-27  Petr Baudis  <pasky@suse.cz>
94127             Ulrich Drepper  <drepper@gmail.com>
94129         [BZ 12445]#
94130         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
94131         to extend_alloca().
94132         * stdio-common/bug23.c: New file.
94133         * stdio-common/Makefile (tests): Add bug23.
94135 2010-09-28  Andreas Schwab  <schwab@redhat.com>
94136             Ulrich Drepper  <drepper@gmail.com>
94138         [BZ #12489]
94139         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
94140         before performing relro protection.  At old place add assertion
94141         to make sure nothing changed.
94143 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
94144             Glauber de Oliveira Costa  <glommer@gmail.com>
94146         * elf/elf.h: Add new ARM TLS relocs.
94148 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
94150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
94151         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
94152         cast from r3.
94153         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
94154         'tests' variable.
94155         * sysdeps/wordsize-64/tst-writev.c: New file.
94157 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
94159         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
94160         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
94161         insns in _dl_start to prevent a TOC reference before relocs are
94162         resolved.
94164 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
94166         [BZ #12469]
94167         * Makeconfig: Remove RANLIB definition.
94168         * Makerules: Don't use RANLIB.
94169         * aclocal.m4: Remove ranlib test.
94170         * configure.in: No need to check for ranlib.
94171         * elf/rtld-Rules: Don't use RANLIB.
94173 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94175         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
94176         protection macro.
94177         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
94178         inclusion protection macro.
94180         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
94181         SIGRTMIN and SIGRTMAX and print information in that case only when
94182         SIGRTMIN is defined.
94184 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
94186         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
94187         arginfo fn returning -1.
94189         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
94190         and thousands string is zero terminated.
94192 2011-02-03  Andreas Schwab  <schwab@redhat.com>
94194         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
94195         sysdeps/unix/sysv/linux/bits/socket.h.
94197 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
94199         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
94200         (__CPU_COUNT): Remove old macros.
94201         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
94202         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
94203         (__CPU_ALLOC, __CPU_FREE): Add macros.
94204         (__sched_cpualloc, __sched_cpufree): Add declarations.
94206 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
94208         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
94209         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
94210         * nscd/aicache.c (addhstaiX): Return timeout of added value.
94211         (readdhstai): Return value of addhstaiX call.
94212         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
94213         (addgrbyX): Return value returned by cache_addgr.
94214         (readdgrbyname): Return value returned by addgrbyX.
94215         (readdgrbygid): Likewise.
94216         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
94217         (addpwbyX): Return value returned by cache_addpw.
94218         (readdpwbyname): Return value returned by addhstbyX.
94219         (readdpwbyuid): Likewise.
94220         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
94221         (addservbyX): Return value returned by cache_addserv.
94222         (readdservbyname): Return value returned by addservbyX:
94223         (readdservbyport): Likewise.
94224         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
94225         (addhstbyX): Return value returned by cache_addhst.
94226         (readdhstbyname): Return value returned by addhstbyX.
94227         (readdhstbyaddr): Likewise.
94228         (readdhstbynamev6): Likewise.
94229         (readdhstbyaddrv6): Likewise.
94230         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
94231         (readdinitgroups): Return value returned by addinitgroupsX.
94232         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
94233         (prune_cache): Keep track of timeout value of re-added entries.
94234         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
94235         * nscd/nscd.h: Adjust prototypes of readd* functions.
94237 2011-02-04  Roland McGrath  <roland@redhat.com>
94239         * nis/nis_server.c (nis_servstate): Use the right name for 0.
94240         (nis_stats): Likewise.
94241         * nis/nis_modify.c (nis_modify): Likewise.
94242         * nis/nis_remove.c (nis_remove): Likewise.
94243         * nis/nis_add.c (nis_add): Likewise.
94245         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
94247         * posix/fnmatch_loop.c: Add some consts.
94249         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
94251 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
94253         [BZ #12460]
94254         * config.make.in (config-cflags-novzeroupper): Define.
94255         * configure.in: Substitute libc_cv_cc_novzeroupper.
94256         * elf/Makefile (AVX-CFLAGS): Define.
94257         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
94258         (CFLAGS-tst-auditmod4a.c): Likewise.
94259         (CFLAGS-tst-auditmod4b.c): Likewise.
94260         (CFLAGS-tst-auditmod6b.c): Likewise.
94261         (CFLAGS-tst-auditmod6c.c): Likewise.
94262         (CFLAGS-tst-auditmod7b.c): Likewise.
94263         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
94265 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
94267         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
94268         function to the callback.
94269         Patch partly by Jiri Olsa <jolsa@redhat.com>.
94271 2011-02-02  Andreas Schwab  <schwab@redhat.com>
94273         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
94274         of errno.
94276 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
94278         [BZ #11724]
94279         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
94280         of constructors.
94281         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
94282         of destructors.
94283         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
94285         [BZ #11724]
94286         * elf/Makefile: Add rules to build and run new test.
94287         * elf/tst-initorder.c: New file.
94288         * elf/tst-initorder.exp: New file.
94289         * elf/tst-initordera1.c: New file.
94290         * elf/tst-initordera2.c: New file.
94291         * elf/tst-initordera3.c: New file.
94292         * elf/tst-initordera4.c: New file.
94293         * elf/tst-initorderb1.c: New file.
94294         * elf/tst-initorderb2.c: New file.
94295         * elf/tst-order-a1.c: New file.
94296         * elf/tst-order-a2.c: New file.
94297         * elf/tst-order-a3.c: New file.
94298         * elf/tst-order-a4.c: New file.
94299         * elf/tst-order-b1.c: New file.
94300         * elf/tst-order-b2.c: New file.
94301         * elf/tst-order-main.c: New file.
94302         New test case by George Gensure <werkt0@gmail.com>.
94304 2010-10-01  Andreas Schwab  <schwab@redhat.com>
94306         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
94307         decoding ACE if AI_CANONIDN.
94309 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
94311         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
94313 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
94315         * version.h (RELEASE): Bump for 2.13 release.
94316         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
94318         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
94320         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
94321         MADV_NOHUGEPAGE.
94322         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
94323         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
94324         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
94325         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
94326         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
94327         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94329         * posix/getconf.c: Update copyright year.
94330         * catgets/gencat.c: Likewise.
94331         * csu/version.c: Likewise.
94332         * debug/catchsegv.sh: Likewise.
94333         * debug/xtrace.sh: Likewise.
94334         * elf/ldconfig.c: Likewise.
94335         * elf/ldd.bash.in: Likewise.
94336         * elf/sprof.c (print_version): Likewise.
94337         * iconv/iconv_prog.c: Likewise.
94338         * iconv/iconvconfig.c: Likewise.
94339         * locale/programs/locale.c: Likewise.
94340         * locale/programs/localedef.c: Likewise.
94341         * malloc/memusage.sh: Likewise.
94342         * malloc/mtrace.pl: Likewise.
94343         * nscd/nscd.c (print_version): Likewise.
94344         * nss/getent.c: Likewise.
94346         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
94347         PF_CAIF, and PF_ALG.
94348         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
94350 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
94352         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
94353         (modules-names): Use them.
94354         (ifunc-test-modules, ifunc-pie-tests): Define.
94355         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
94356         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
94357         (test-extras): Likewise.
94358         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
94359         $(compile-command.c).
94360         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
94361         (all-built-dso): Define.
94362         (check-textrel.out, check-execstack.out): Depend on it.
94364         * configure.in: Don't override --enable-multi-arch.
94366 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
94368         [BZ #6812]
94369         * nscd/hstcache.c (tryagain): Define.
94370         (cache_addhst): Return tryagain not notfound for temporary errors.
94371         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
94372         failed.
94374 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
94376         [BZ #10563]
94377         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
94378         to make the syscall.
94379         * sysdeps/unix/sysv/linux/setgroups.c: New file.
94381         [BZ #12378]
94382         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
94383         and fall back to matching as normal character if the string ends before
94384         the matching ']' is found.  This is what POSIX requires.
94385         * posix/testfnm.c: Adjust test result.
94386         * posix/globtest.sh: Adjust test result.  Add new test.
94387         * posix/tst-fnmatch.input: Likewise.
94388         * posix/tst-fnmatch2.c: Add new test.
94390 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
94392         * elf/Makefile (check-execstack): Revert last change.  Depend on
94393         check-execstack.h.
94394         (check-execstack.h): New target.
94395         (generated): Add check-execstack.h.
94396         * elf/check-execstack.c: Include "check-execstack.h".
94397         (main): Revert last change.
94398         (handle_file): Return zero if GNU_STACK is absent and
94399         DEFAULT_STACK_PERMS doesn't include PF_X.
94401 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
94403         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
94404         in child fails because the descriptor is already closed.
94405         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
94406         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
94407         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
94409         [BZ #12397]
94410         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
94411         syscall.
94413         [BZ #10484]
94414         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
94415         temporary buffer used to handle multi lookups locally.
94416         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
94418 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94420         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
94421         loader is ld.so.
94423 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
94425         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
94426         alignment for SSE2.
94428 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
94430         [BZ #12394]
94431         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
94432         characters.  When rounding increased number of integer digits recompute
94433         number of groups.
94434         * stdio-common/tst-grouping.c: New file.
94435         * stdio-common/Makefile: Add rules to build and run tst-grouping.
94437 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
94439         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
94440         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
94442         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
94443         void.
94444         * bits/select.h: Likewise.
94446 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
94448         * po/ja.po: Update from translation team.
94450 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
94452         [BZ #11155]
94453         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
94454         implementation just like for lxstat, fxstatat, et al.
94456 2010-12-27  Jim Meyering  <meyering@redhat.com>
94458         [BZ #12348]
94459         * posix/regexec.c (build_trtable): Return failure indication upon
94460         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
94462 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
94464         [BZ #12201]
94465         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
94466         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
94467         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
94468         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
94470         [BZ #12207]
94471         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
94473         [BZ #12204]
94474         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
94475         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
94477 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
94479         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
94480         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
94481         script has SORT_BY_INIT_PRIORITY.
94482         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
94483         NO_CTORS_DTORS_SECTIONS is defined.
94484         * elf/soinit.c: Likewise.
94485         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
94486         NO_CTORS_DTORS_SECTIONS is defined.
94487         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
94488         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
94489         * sysdeps/sh/init-first.c: Likewise.
94490         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
94492 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
94494         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
94495         always use the slow path.
94497 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
94499         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
94500         similar rule which adds the sysdep directories to the header search in
94501         order to pick up the correct platform stackinfo.h.
94502         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
94503         perform test if it is, otherwise return successfully without testing.
94504         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
94505         DEFAULT_STACK_PERMS define in stackinfo.h.
94506         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
94507         defined in stackinfo.h.
94508         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
94509         DEFAULT_STACK_PERMS defined in stackinfo.h.
94510         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
94511         * sysdeps/ia64/stackinfo.h: Likewise.
94512         * sysdeps/s390/stackinfo.h: Likewise.
94513         * sysdeps/sh/stackinfo.h: Likewise.
94514         * sysdeps/sparc/stackinfo.h: Likewise.
94515         * sysdeps/x86_64/stackinfo.h: Likewise.
94516         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
94517         PF_X for powerpc64.  Retain PF_X for powerpc32.
94519 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
94521         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
94522         accurately.
94523         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
94524         GETDENTS_64BIT_ALIGNED.
94526 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
94528         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
94530 2010-12-10  Andreas Schwab  <schwab@redhat.com>
94532         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
94533         _GNU_SOURCE.
94535         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
94536         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
94537         Remove __restrict.
94538         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
94539         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
94541 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
94543         [BZ #11655]
94544         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
94545         are initialized.
94547 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
94549         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
94551 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
94553         * po/it.po: Update from translation team.
94555 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
94557         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
94558         unused codes.
94560 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
94562         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
94564 2010-11-24  Andreas Schwab  <schwab@redhat.com>
94566         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
94567         specially.
94568         (gaih_getanswer_slice): Likewise.
94570 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
94572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
94574 2010-05-31  Petr Baudis  <pasky@suse.cz>
94576         [BZ #11149]
94577         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
94578         silently even in the chroot mode.
94580 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
94582         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
94583         last patch a bit.  Pretty printing
94585 2010-05-31  Petr Baudis <pasky@suse.cz>
94587         [BZ #10085]
94588         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
94589         initialization of skip_initgroups_dyn.
94591 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
94593         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
94594         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
94596 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
94598         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
94600 2010-11-11  Andreas Schwab  <schwab@redhat.com>
94602         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
94603         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
94604         (tst-fnmatch-ENV): Set MALLOC_TRACE.
94605         ($(objpfx)tst-fnmatch-mem): New rule.
94606         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
94607         * posix/tst-fnmatch.c (main): Call mtrace.
94609 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
94611         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94612         Support Intel processor model 6 and model 0x2c.
94614 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
94616         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
94617           signed comparison.
94619 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
94621         [BZ #12205]
94622         * string/test-strncasecmp.c (check_result): New function.
94623         (do_one_test): Use it.
94624         (check1): New function.
94625         (test_main): Use it.
94626         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
94627         Support strcasecmp and strncasecmp.
94629 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
94631         [BZ #12194]
94632         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
94633         * sysdeps/x86_64/bits/byteswap.h: Likewise.
94635 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
94637         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
94638         IFUNC support.
94639         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
94640         memset-x86-64.
94641         * sysdeps/x86_64/multiarch/bzero.S: New file.
94642         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
94643         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
94644         * sysdeps/x86_64/multiarch/memset.S: New file.
94645         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
94646         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
94647         Set bit_Prefer_SSE_for_memop for Intel processors.
94648         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
94649         Define.
94650         (index_Prefer_SSE_for_memop): Define.
94651         (HAS_PREFER_SSE_FOR_MEMOP): Define.
94653 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
94655         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
94656         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
94658 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
94660         [BZ #12191]
94661         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94662         (__x86_64_raw_data_cache_size_half): Likewise.
94663         (__x86_64_raw_shared_cache_size): Likewise.
94664         (__x86_64_raw_shared_cache_size_half): Likewise.
94666         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
94667         (__x86_64_raw_data_cache_size_half): Likewise.
94668         (__x86_64_raw_shared_cache_size): Likewise.
94669         (__x86_64_raw_shared_cache_size_half): Likewise.
94670         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
94671         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
94672         and __x86_64_raw_shared_cache_size_half.  Round
94673         __x86_64_data_cache_size_half, __x86_64_data_cache_size
94674         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
94675         to multiple of 256 bytes.
94677 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
94679         [BZ #12167]
94680         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
94681         of inacessible symlinks.  Verify result of symlink before returning it.
94682         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
94683         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
94685 2010-10-28  Erich Ritz  <erichritz@gmail.com>
94687         * math/math.h (isinf): Fix typo in comment.
94689 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
94691         * po/da.po: Update from translation team.
94693 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
94695         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
94696         is added to the list.
94698 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94699             Ulrich Drepper  <drepper@gmail.com>
94701         * elf/dl-object.c (_dl_new_object): Don't append the new object to
94702         the global list here.  Move code to...
94703         (_dl_add_to_namespace_list): ...here.  New function.
94704         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
94705         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
94706         * elf/dl-load.c (lose): Don't remove the element from the list.
94707         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
94708         (_dl_map_object): Likewise.
94710 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
94712         [BZ #12159]
94713         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
94714         into all bytes of SSE register.
94715         Patch by Richard Li <richardpku@gmail.com>.
94717 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
94719         [BZ #12140]
94720         * malloc/malloc.c (_int_free): Fill correct number of bytes when
94721         perturbing.
94723 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
94725         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
94726         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
94727         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
94728         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
94729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
94730         submachine.
94731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
94733 2010-10-22  Andreas Schwab  <schwab@redhat.com>
94735         * include/dlfcn.h (__RTLD_SECURE): Define.
94736         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
94737         mode & __RTLD_SECURE instead.
94738         (open_path): Rename preloaded parameter to secure.
94739         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
94740         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
94741         * elf/dl-deps.c (openaux): Likewise.
94742         * elf/rtld.c (struct map_args): Remove is_preloaded.
94743         (map_doit): Don't use it.
94744         (dl_main): Likewise.
94745         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
94746         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
94748 2010-09-09  Andreas Schwab  <schwab@redhat.com>
94750         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
94751         (sysd-rules-targets): Remove duplicates.
94752         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
94753         rtld-%.$o dependency.
94755 2010-10-18  Andreas Schwab  <schwab@redhat.com>
94757         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
94758         _dl_map_object do it.
94760 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
94762         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
94763         fast fma builtins, define the macros in the C99 standard.
94764         (FP_FAST_FMAF): Likewise.
94765         (FP_FAST_FMAL): Likewise.
94766         * sysdeps/x86_64/bits/mathdef.h: Likewise.
94768         * bits/mathdef.h: Update copyright year.
94769         * sysdeps/powerpc/bits/mathdef.h: Likewise.
94771 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
94773         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
94774         builtins, define the macros in the C99 standard.
94775         (FP_FAST_FMAF): Likewise.
94776         (FP_FAST_FMAL): Likewise.
94777         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
94778         multiply/add.
94779         (FP_FAST_FMAF): Likewise.
94781 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
94783         [BZ #3268]
94784         * math/libm-test.inc (fma_test): Some new testcases.
94785         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
94786         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
94787         y and infinite z.  Do multiplication by C already in long double.
94788         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
94789         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
94790         y and infinite z.  Do bitwise or of inexact bit into u.d.
94791         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
94792         * sysdeps/i386/fpu/s_fmaf.S: Removed.
94793         * sysdeps/i386/fpu/s_fma.S: Removed.
94794         * sysdeps/i386/fpu/s_fmal.S: Removed.
94796 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
94798         [BZ #3268]
94799         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
94800         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
94801         computation is not scheduled after fetestexcept.  Fix value
94802         of minimum denormal long double.
94804 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
94806         [BZ #3268]
94807         * math/libm-test.inc (fma_test): Add some more tests.
94808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
94809         correctly.
94811 2010-10-15  Andreas Schwab  <schwab@redhat.com>
94813         * scripts/data/localplt-s390-linux-gnu.data: New file.
94814         * scripts/data/localplt-s390x-linux-gnu.data: New file.
94816 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
94818         [BZ #3268]
94819         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
94820         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
94821         instead of dbl-64.
94822         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
94823         inlines.
94824         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
94825         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
94826         if one of x and y is very large and the other is subnormal.
94827         * sysdeps/s390/fpu/s_fmaf.c: New file.
94828         * sysdeps/s390/fpu/s_fma.c: New file.
94829         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
94830         * sysdeps/powerpc/fpu/s_fma.S: New file.
94831         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
94832         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
94833         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
94835 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
94837         [BZ #3268]
94838         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
94839         fma tests.
94840         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
94841         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
94842         * sysdeps/i386/i686/multiarch/s_fma.c: Include
94843         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
94844         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
94845         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
94846         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
94848 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
94850         [BZ #12078]
94851         * posix/regcomp.c (parse_branch): One more memory leak plugged.
94852         * posix/bug-regex31.input: Add test case.
94854 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94856         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
94857         * posix/bug-regex31.input: New file.
94859         [BZ #12078]
94860         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
94861         (parse_sub_exp): Fix last change, use postorder.
94863         * posix/bug-regex31.c: New file.
94864         * posix/Makefile: Add rules to build and run bug-regex31.
94866         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
94868         [BZ #12078]
94869         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
94871         [BZ #12108]
94872         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
94873         to have entries in sys_siglist.
94875         [BZ #12093]
94876         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
94877         be NULL.
94879 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
94881         [BZ #3268]
94882         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
94883         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
94884         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
94885         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
94886         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
94887         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
94888         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
94889         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
94890         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
94891         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
94892         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
94893         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
94894         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
94895         * math/ftestexcept.c (fetestexcept): Likewise.
94896         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
94897         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
94898         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
94899         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
94900         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
94901         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
94902         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
94904 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
94906         [BZ #12107]
94907         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
94908         newline.
94910 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
94912         * string/bug-strstr1.c: New file.
94913         * string/Makefile: Add rules to build and run bug-strstr1.
94915 2010-10-05  Eric Blake  <eblake@redhat.com>
94917         [BZ #12092]
94918         * string/str-two-way.h (two_way_long_needle): Always clear memory
94919         when skipping input due to the shift table.
94921 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
94923         [BZ #12005]
94924         * malloc/mcheck.c: Handle large requests.
94926         [BZ #12077]
94927         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
94928         for strncmp and strncasecmp.
94929         * string/stratcliff.c: Add tests for strcmp and strncmp.
94930         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
94932 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
94934         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
94935         __set_fpscr.
94937 2010-09-30  Andreas Jaeger  <aj@suse.de>
94939         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
94940         (CGROUP_SUPER_MAGIC): Define.
94941         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
94942         Handle btrfs and cgroup file systems.
94943         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
94944         Likewise.
94946 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
94948         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
94949         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
94951 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
94953         [BZ #12067]
94954         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
94955         trying to locate the ELF header.
94957 2010-09-27  Andreas Schwab  <schwab@redhat.com>
94959         [BZ #11611]
94960         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
94961         Mask out sign-bit copies when constructing f_fsid.
94963 2010-09-24  Petr Baudis <pasky@suse.cz>
94965         * debug/stack_chk_fail_local.c: Add missing licence exception.
94966         * debug/warning-nop.c: Likewise.
94968 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
94970         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
94971         implementing getdents64 using getdents syscall, set d_type if
94972         __ASSUME_GETDENTS32_D_TYPE.
94974 2010-09-16  Andreas Schwab  <schwab@redhat.com>
94976         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
94977         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
94979 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
94981         [BZ #12037]
94982         * posix/unistd.h: Undo change of feature selection for ftruncate from
94983         2010-01-11.
94985 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
94987         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
94988         detection.
94990 2010-09-20  Andreas Schwab  <schwab@redhat.com>
94992         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
94993         fanotify_mark.
94994         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
94996 2010-09-14  Andreas Schwab  <schwab@redhat.com>
94998         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
94999         variables after CHECK_SP call.
95000         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
95002 2010-09-13  Andreas Schwab  <schwab@redhat.com>
95003             Ulrich Drepper  <drepper@redhat.com>
95005         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
95006         re-relocationg ld.so.
95007         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
95008         _dl_init_paths call.
95009         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
95010         here anymore.
95012 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
95014         * resolv/res_init.c (__res_vinit): Count the default server we added.
95016 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
95017             Ulrich Drepper  <drepper@redhat.com>
95019         [BZ #11968]
95020         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
95021         (____longjmp_chk): Use %ebx for saving value across system call.
95022         Add unwind info.
95024 2010-09-06  Andreas Schwab  <schwab@redhat.com>
95026         * manual/Makefile: Don't mix pattern rules with normal rules.
95028 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
95030         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
95031         operation.
95032         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
95033         * libio/iofopncook.c (_IO_cookie_init): Likewise.
95034         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
95035         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
95036         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
95037         Likewise.
95039 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
95041         [BZ #11979]
95042         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
95043         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
95045 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
95047         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
95048         * sysdeps/x86_64/addmul_1.S: Likewise.
95049         * sysdeps/x86_64/lshift.S: Likewise.
95050         * sysdeps/x86_64/mul_1.S: Likewise.
95051         * sysdeps/x86_64/rshift.S: Likewise.
95052         * sysdeps/x86_64/sub_n.S: Likewise.
95053         * sysdeps/x86_64/submul_1.S: Likewise.
95055 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95057         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
95058         Define __sched_param instead of SCHED_* and sched_param when
95059         <bits/sched.h> is included with __need_schedparam defined.
95060         * bits/sched.h [__need_schedparam]
95061         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
95062         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
95063         (__defined_schedparam): Define to 1.
95064         (__sched_param): New structure, identical to sched_param.
95065         (__need_schedparam): Undefine.
95067 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
95069         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
95070         (epoll_create1): Declare.
95072         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
95074 2010-08-31  Andreas Schwab  <schwab@redhat.com>
95076         [BZ #7066]
95077         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
95078         shifting retval into place.
95080 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
95082         * nis/rpcsvc/nis.h: Update copyright notice.
95083         * nis/rpcsvc/nis.x: Likewise.
95084         * nis/rpcsvc/nis_callback.h: Likewise.
95085         * nis/rpcsvc/nis_callback.x: Likewise.
95086         * nis/rpcsvc/nis_object.x: Likewise.
95087         * nis/rpcsvc/nis_tags.h: Likewise.
95088         * nis/rpcsvc/yp.h: Likewise.
95089         * nis/rpcsvc/yp.x: Likewise.
95090         * nis/rpcsvc/ypupd.h: Likewise.
95091         * nis/yp_xdr.c: Likewise.
95092         * nis/ypupdate_xdr.c: Likewise.
95094         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
95095         mainly the body of pmap_getport.  Add parameters to specify timeouts.
95096         (pmap_getport): Use __libc_rpc_getport.
95097         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
95098         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
95099         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
95101 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
95103         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
95104         fanotify_mark.
95106 2010-08-27  Roland McGrath  <roland@redhat.com>
95108         * sysdeps/i386/i686/multiarch/Makefile
95109         (CFLAGS-varshift.c): New variable.
95111 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
95113         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
95114         * sysdeps/i386/i686/multiarch/varshift.c: New file.
95116         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
95118         * sysdeps/x86_64/strlen.S: Minimal code improvement.
95120 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
95122         * sysdeps/x86_64/strlen.S: Unroll the loop.
95123         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95124         strlen-sse2 strlen-sse2-bsf.
95125         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
95126         __strlen_no_bsf if bit_Slow_BSF is set.
95127         (__strlen_sse42): Removed.
95128         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
95129         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
95131 2010-08-25  Roland McGrath  <roland@redhat.com>
95133         * sysdeps/x86_64/multiarch/varshift.S: File removed.
95134         * sysdeps/x86_64/multiarch/varshift.c: New file.
95135         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
95136         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
95137         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
95138         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
95140 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
95142         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95143         strlen-sse2 strlen-sse2-bsf.
95144         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
95145         __strlen_sse2_bsf if bit_Slow_BSF is unset.
95146         (__strlen_sse2): Removed.
95147         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
95148         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
95149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
95150         bit_Slow_BSF for Atom.
95151         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
95152         (index_Slow_BSF): Define.
95153         (HAS_SLOW_BSF): Define.
95155 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
95157         [BZ #10851]
95158         * resolv/res_init.c (__res_vinit): When no server address at all
95159         is given default to loopback.
95161 2010-08-24  Roland McGrath  <roland@redhat.com>
95163         * configure.in: Remove config-name.h generation.
95164         * configure: Regenerated.
95165         * config-name.in: File removed.
95166         * scripts/config-uname.sh: New file.
95167         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
95168         ($(objdir)config-name.h): New target.
95170         * sunrpc/rpc_parse.h: Avoid nested comment.
95172 2010-08-24  Richard Henderson  <rth@redhat.com>
95173             Ulrich Drepper  <drepper@redhat.com>
95174             H.J. Lu  <hongjiu.lu@intel.com>
95176         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
95177         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
95178         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
95179         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
95180         _mm_alignr_epi8 with _mm_loadu_si128.
95181         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
95182         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
95183         (__m128i_shift_right): Removed.
95184         * sysdeps/i386/i686/multiarch/varshift.h: New file.
95185         * sysdeps/i386/i686/multiarch/varshift.S: New file.
95186         * sysdeps/x86_64/multiarch/varshift.h: New file.
95187         * sysdeps/x86_64/multiarch/varshift.S: New file.
95189 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
95191         * configure.in: Move assembler checks to before sysdep dir checking.
95193 2010-08-20  Petr Baudis  <pasky@suse.cz>
95195         * LICENSES: Sync the sunrpc license.
95197 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
95199         * sunrpc/auth_des.c: Update copyright notice once again.
95200         * sunrpc/auth_none.c: Likewise.
95201         * sunrpc/auth_unix.c: Likewise.
95202         * sunrpc/authdes_prot.c: Likewise.
95203         * sunrpc/authuxprot.c: Likewise.
95204         * sunrpc/bindrsvprt.c: Likewise.
95205         * sunrpc/clnt_gen.c: Likewise.
95206         * sunrpc/clnt_perr.c: Likewise.
95207         * sunrpc/clnt_raw.c: Likewise.
95208         * sunrpc/clnt_simp.c: Likewise.
95209         * sunrpc/clnt_tcp.c: Likewise.
95210         * sunrpc/clnt_udp.c: Likewise.
95211         * sunrpc/clnt_unix.c: Likewise.
95212         * sunrpc/des_crypt.c: Likewise.
95213         * sunrpc/des_soft.c: Likewise.
95214         * sunrpc/get_myaddr.c: Likewise.
95215         * sunrpc/getrpcport.c: Likewise.
95216         * sunrpc/key_call.c: Likewise.
95217         * sunrpc/key_prot.c: Likewise.
95218         * sunrpc/openchild.c: Likewise.
95219         * sunrpc/pm_getmaps.c: Likewise.
95220         * sunrpc/pm_getport.c: Likewise.
95221         * sunrpc/pmap_clnt.c: Likewise.
95222         * sunrpc/pmap_prot.c: Likewise.
95223         * sunrpc/pmap_prot2.c: Likewise.
95224         * sunrpc/pmap_rmt.c: Likewise.
95225         * sunrpc/rpc/auth.h: Likewise.
95226         * sunrpc/rpc/auth_unix.h: Likewise.
95227         * sunrpc/rpc/clnt.h: Likewise.
95228         * sunrpc/rpc/des_crypt.h: Likewise.
95229         * sunrpc/rpc/key_prot.h: Likewise.
95230         * sunrpc/rpc/netdb.h: Likewise.
95231         * sunrpc/rpc/pmap_clnt.h: Likewise.
95232         * sunrpc/rpc/pmap_prot.h: Likewise.
95233         * sunrpc/rpc/pmap_rmt.h: Likewise.
95234         * sunrpc/rpc/rpc.h: Likewise.
95235         * sunrpc/rpc/rpc_des.h: Likewise.
95236         * sunrpc/rpc/rpc_msg.h: Likewise.
95237         * sunrpc/rpc/svc.h: Likewise.
95238         * sunrpc/rpc/svc_auth.h: Likewise.
95239         * sunrpc/rpc/types.h: Likewise.
95240         * sunrpc/rpc/xdr.h: Likewise.
95241         * sunrpc/rpc_clntout.c: Likewise.
95242         * sunrpc/rpc_cmsg.c: Likewise.
95243         * sunrpc/rpc_common.c: Likewise.
95244         * sunrpc/rpc_cout.c: Likewise.
95245         * sunrpc/rpc_dtable.c: Likewise.
95246         * sunrpc/rpc_hout.c: Likewise.
95247         * sunrpc/rpc_main.c: Likewise.
95248         * sunrpc/rpc_parse.c: Likewise.
95249         * sunrpc/rpc_parse.h: Likewise.
95250         * sunrpc/rpc_prot.c: Likewise.
95251         * sunrpc/rpc_sample.c: Likewise.
95252         * sunrpc/rpc_scan.c: Likewise.
95253         * sunrpc/rpc_scan.h: Likewise.
95254         * sunrpc/rpc_svcout.c: Likewise.
95255         * sunrpc/rpc_tblout.c: Likewise.
95256         * sunrpc/rpc_util.c: Likewise.
95257         * sunrpc/rpc_util.h: Likewise.
95258         * sunrpc/rpcinfo.c: Likewise.
95259         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
95260         * sunrpc/rpcsvc/key_prot.x: Likewise.
95261         * sunrpc/rpcsvc/klm_prot.x: Likewise.
95262         * sunrpc/rpcsvc/mount.x: Likewise.
95263         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
95264         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
95265         * sunrpc/rpcsvc/rex.x: Likewise.
95266         * sunrpc/rpcsvc/rstat.x: Likewise.
95267         * sunrpc/rpcsvc/rusers.x: Likewise.
95268         * sunrpc/rpcsvc/sm_inter.x: Likewise.
95269         * sunrpc/rpcsvc/spray.x: Likewise.
95270         * sunrpc/rpcsvc/yppasswd.x: Likewise.
95271         * sunrpc/rtime.c: Likewise.
95272         * sunrpc/svc.c: Likewise.
95273         * sunrpc/svc_auth.c: Likewise.
95274         * sunrpc/svc_authux.c: Likewise.
95275         * sunrpc/svc_raw.c: Likewise.
95276         * sunrpc/svc_run.c: Likewise.
95277         * sunrpc/svc_simple.c: Likewise.
95278         * sunrpc/svc_tcp.c: Likewise.
95279         * sunrpc/svc_udp.c: Likewise.
95280         * sunrpc/svc_unix.c: Likewise.
95281         * sunrpc/svcauth_des.c: Likewise.
95282         * sunrpc/xcrypt.c: Likewise.
95283         * sunrpc/xdr.c: Likewise.
95284         * sunrpc/xdr_array.c: Likewise.
95285         * sunrpc/xdr_float.c: Likewise.
95286         * sunrpc/xdr_mem.c: Likewise.
95287         * sunrpc/xdr_rec.c: Likewise.
95288         * sunrpc/xdr_ref.c: Likewise.
95289         * sunrpc/xdr_sizeof.c: Likewise.
95290         * sunrpc/xdr_stdio.c: Likewise.
95292         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
95293         handling.
95295 2010-08-19  Andreas Schwab  <schwab@redhat.com>
95297         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
95299 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
95301         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
95302         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
95303         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
95304         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
95305         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
95306         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
95307         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
95308         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
95309         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
95310         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
95311         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
95312         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
95313         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
95314         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
95316 2010-07-26  Anton Blanchard  <anton@samba.org>
95318         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
95319         * malloc/arena.c (heap_trim): Likewise.
95321 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
95323         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
95324         here.  Not...
95325         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
95326         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
95328 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
95330         * sysdeps/i386/elf/Makefile: New file.
95332 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95334         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
95335         from fanotify_init.
95336         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
95337         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95339 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
95341         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
95342         of strncasecmp_l.
95343         * sysdeps/multiarch/strcmp.S: Likewise.
95345 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
95347         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95348         strncase_l-nonascii.
95349         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95350         Add strncase_l-ssse3.
95351         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
95352         * sysdeps/x86_64/strcmp.S: Likewise.
95353         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
95354         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
95355         * sysdeps/x86_64/strncase.S: New file.
95356         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
95357         * sysdeps/x86_64/strncase_l.S: New file.
95358         * string/Makefile (strop-tests): Add strncasecmp.
95359         * string/test-strncasecmp.c: New file.
95361         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
95362         warning.
95364         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
95365         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
95367 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
95369         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
95371 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
95373         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
95374         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
95375         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
95377 2010-05-01  Alan Modra  <amodra@gmail.com>
95379         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
95380         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
95381         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
95382         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
95383         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
95384         tidying.  Don't tail-call __sigjmp_save for static lib.
95385         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
95386         save location.
95387         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
95388         (CALL_MCOUNT): Add eh info, and nop after bl.
95389         (TAIL_CALL_SYSCALL_ERROR): New macro.
95390         (PSEUDO_RET): Use it.
95391         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
95392         Correct save location of integer regs and cr.
95393         (_dl_profile_resolve): Correct cr save location.  Delete nops
95394         after bl when SHARED.  Reduce cfi size a little by better
95395         placement of cfi directives.
95396         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
95397         make a stack frame.  Instead use parm save area as a temp.
95398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
95399         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
95400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
95401         Don't make a stack frame for parent, use parm save area.
95402         Increase child stack frame to 112 bytes.  Don't save unused reg,
95403         and adjust reg usage.  Set up cfi on error recovery and
95404         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
95405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
95406         (__makecontext): Add dummy nop after jump to exit.
95407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
95408         Use correct parm save area and cr save, reduce stack frame.
95409         Correct cfi for possible PSEUDO_RET frame setup.
95410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
95411         Branch to local label emitted by PSEUDO_RET rather than
95412         __syscall_error.
95414 2010-08-12  Andreas Schwab  <schwab@redhat.com>
95416         [BZ #11904]
95417         * locale/programs/locale.c (print_assignment): New function.
95418         (show_locale_vars): Use it.
95420 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
95422         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
95423         field.
95424         (struct statfs64): Likewise.
95425         (_STATFS_F_FLAGS): Define.
95426         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
95427         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
95428         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
95429         (ST_VALID): Define locally.
95430         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
95431         __statvfs_getflags, use the provided value.
95432         * sysdeps/unix/sysv/linux/kernel-features.h: Define
95433         __ASSUME_STATFS_F_FLAGS.
95435         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
95437         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
95438         Add sys/fanotify.h.
95439         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
95440         fanotify_mask for GLIBC_2.13.
95441         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
95442         fanotify_init and fanotify_mark.
95443         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
95444         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
95446         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
95447         Add prlimit.
95448         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
95449         prlimit64 for GLIBC_2.13.
95450         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
95451         prlimit64.
95452         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
95453         syscall.
95454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
95455         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
95456         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
95457         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
95458         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
95459         add prlimit alias.
95460         * sysdeps/unix/sysv/linux/prlimit.c: New file.
95462         [BZ #11903]
95463         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
95464         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
95466         * nss/Makefile: Add rules to build and run tst-nss-test1.
95467         * shlib-versions: Add entry for libnss_test1.
95468         * nss/nss_test1.c: New file.
95469         * nss/tst-nss-test1.c: New file.
95471         * nss/nsswitch.c (__nss_database_custom): Define new variable.
95472         (__nss_configure_lookup): Set appropriate entry in
95473         __nss_configure_lookup to true.
95474         * nss/nsswitch.h: Define enum with indeces of databases in
95475         databases and __nss_database_custom arrays.  Declare
95476         __nss_database_custom.
95477         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
95478         to avoid using nscd when custom rules are installed.
95479         * nss/getXXbyYY_r.c: Likewise.
95480         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
95482         * nss/nss_files/files-parse.c: Whitespace fixes.
95484 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
95486         [BZ #11883]
95487         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
95488         * posix/fnmatch_loop.c: Likewise.
95490 2010-07-17  Andi Kleen  <ak@linux.intel.com>
95492         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
95493         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
95494         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
95495         * Versions.def [GLIBC_2.13]: Add.
95497 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
95499         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95500         Also fail if tpwd after pwuid call is NULL.
95502 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95504         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
95505         when converting to ms.
95507 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
95509         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
95510         EOPNOTSUPP errors with ENOTTY.
95511         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
95512         EOPNOTSUPP errors with ENOTTY.
95514 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
95516         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
95517         Add strcasecmp_l-ssse3.
95518         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
95519         strcasecmp.
95520         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
95521         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
95522         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
95524 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
95526         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
95528         * string/Makefile (strop-tests): Add strcasecmp.
95529         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
95530         strcasecmp_l-nonascii.
95531         (gen-as-const-headers): Add locale-defines.sym.
95532         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
95533         * sysdeps/x86_64/strcasecmp.S: New file.
95534         * sysdeps/x86_64/strcasecmp_l.S: New file.
95535         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
95536         * sysdeps/x86_64/locale-defines.sym: New file.
95537         * string/test-strcasecmp.c: New file.
95539         * string/test-strcasestr.c: Test both ends of the range of characters.
95540         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
95542 2010-07-29  Roland McGrath  <roland@redhat.com>
95544         [BZ #11856]
95545         * manual/locale.texi (Yes-or-No Questions): Fix example code.
95547 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
95549         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
95550         for ld.so.
95552 2010-07-27  Andreas Schwab  <schwab@redhat.com>
95554         * manual/memory.texi (Malloc Tunable Parameters): Document
95555         M_PERTURB.
95557 2010-07-26  Roland McGrath  <roland@redhat.com>
95559         [BZ #11840]
95560         * configure.in (-fgnu89-inline check): Set and substitute
95561         gnu89_inline, not libc_cv_gnu89_inline.
95562         * configure: Regenerated.
95563         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
95565 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
95567         * string/test-strnlen.c: New file.
95568         * string/Makefile (strop-tests): Add strnlen.
95569         * string/tester.c (test_strnlen): Add a few more test cases.
95570         * string/tst-strlen.c: Better error reporting.
95572         * sysdeps/x86_64/strnlen.S: New file.
95574 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
95576         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
95577         lower-latency instructions.
95579 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
95581         * string/test-strcasestr.c: New file.
95582         * string/test-strstr.c: New file.
95583         * string/Makefile (strop-tests): Add strstr and strcasestr.
95584         * string/str-two-way.h: Don't undefine MAX.
95585         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
95587 2010-07-21  Andreas Schwab  <schwab@redhat.com>
95589         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
95590         strcasestr-nonascii.
95591         (CFLAGS-strcasestr-nonascii.c): Define.
95592         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
95593         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
95594         Remove unused attribute.
95596 2010-07-20  Roland McGrath  <roland@redhat.com>
95598         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
95599         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
95600         ld.so.cache was broken.  With it, there is no way to disable dsocaps
95601         like LD_HWCAP_MASK can disable hwcaps.
95603 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95605         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
95607 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
95609         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
95610         call in strcasestr.
95611         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
95612         __strcasestr_sse42_nonascii.
95613         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
95614         strcasestr-nonascii.c.
95615         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
95617 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
95619         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
95620         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
95621         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
95622         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
95624 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
95626         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
95627         fcntl.
95629 2010-07-06  Andreas Schwab  <schwab@redhat.com>
95631         [BZ #11577]
95632         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
95633         dl_signal_cerror.
95635 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
95637         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
95638         _PC_PIPE_BUF using F_GETPIPE_SZ.
95640 2010-07-05  Roland McGrath  <roland@redhat.com>
95642         * manual/arith.texi (Rounding Functions): Fix rint description
95643         implicit in round description.
95645 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
95647         * elf/Makefile: Fix linking for a few tests to make recent linker
95648         happy.
95650 2010-06-30  Andreas Schwab  <schwab@redhat.com>
95652         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
95653         $(common-objpfx)libc_nonshared.a.
95655 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
95657         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
95658         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
95659         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95660         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95661         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
95662         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
95663         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95664         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95665         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
95666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
95667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
95668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
95669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
95670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
95671         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
95672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
95673         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
95674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
95675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
95676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
95677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
95678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
95679         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
95680         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
95681         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
95682         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
95683         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
95684         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
95685         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
95686         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
95687         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
95688         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
95689         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
95690         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
95691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
95692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
95693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
95694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
95695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
95696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
95697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
95698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
95699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
95700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
95701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
95702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
95703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
95704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
95706 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
95708         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
95709         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
95710         * string/memmove.c (memmove): Renamed to ...
95711         (MEMMOVE): ...this.  Default to memmove.
95712         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
95713         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
95714         (END_CHK): Define.
95715         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
95716         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
95717         mempcpy-ssse3-back memmove-ssse3-back.
95718         * sysdeps/x86_64/multiarch/bcopy.S: New file .
95719         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
95720         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
95721         * sysdeps/x86_64/multiarch/memcpy.S: New file.
95722         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
95723         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
95724         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
95725         * sysdeps/x86_64/multiarch/memmove.c: New file.
95726         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
95727         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
95728         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
95729         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
95730         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
95731         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
95732         Define.
95733         (index_Fast_Copy_Backward): Define.
95734         (HAS_ARCH_FEATURE): Define.
95735         (HAS_FAST_REP_STRING): Define.
95736         (HAS_FAST_COPY_BACKWARD): Define.
95738 2010-06-21  Andreas Schwab  <schwab@redhat.com>
95740         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
95741         Restore proper fallback handling.
95743 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
95745         [BZ #11701]
95746         * posix/group_member.c (__group_member): Correct checking loop.
95748         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
95749         OOM in getpwuid_r correctly.  Return error number when the caller
95750         should return, otherwise -1.
95751         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
95752         call returning > 0 value.
95753         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
95755 2010-06-07  Andreas Schwab  <schwab@redhat.com>
95757         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
95758         libc_nonshared.a from targets in modules-names.
95760 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
95762         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
95763         requires it.
95765 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
95767         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
95768         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
95769         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
95770         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
95772 2010-06-02  Andreas Schwab  <schwab@redhat.com>
95774         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
95776 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
95778         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
95779         and F_GETPIPE_SZ.
95780         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
95781         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
95782         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
95783         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
95784         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
95785         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
95787 2010-06-14  Roland McGrath  <roland@redhat.com>
95789         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
95791 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
95793         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
95794         __REDIRECT followed by __THROW.
95795         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
95796         * posix/getopt.h (getopt): Likewise.
95798 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
95800         * hurd/lookup-at.c (__file_name_lookup_at): Accept
95801         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
95802         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
95803         in AT_FLAGS.
95804         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
95805         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
95807 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
95809         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
95811 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
95813         [BZ #11640]
95814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
95815         Properly check family and model.
95817 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
95819         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
95821 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
95823         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
95825 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
95827         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
95828         symbol reference.
95830 2010-05-19  Andreas Schwab  <schwab@redhat.com>
95832         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
95833         symbol reference.
95835 2010-05-21  Andreas Schwab  <schwab@redhat.com>
95837         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
95838         and internal_recvmmsg.
95839         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
95840         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
95841         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
95842         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
95844         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
95845         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
95846         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
95848 2010-05-20  Andreas Schwab  <schwab@redhat.com>
95850         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
95852 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
95854         POWER7 optimizations.
95855         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
95856         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
95858 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
95860         * version.h: Update for 2.13 development version.
95862 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
95864         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
95865         exceptions.  Return 0.
95867 2010-05-07  Roland McGrath  <roland@redhat.com>
95869         * elf/ldconfig.c (main): Add a const.
95871 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
95873         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
95874         (args_options): Add no-idn option.
95875         (ahosts_keys_int): Add idn_flags to ai_flags.
95876         (parse_option): Handle 'i' option to clear idn_flags.
95878         * malloc/malloc.c (_int_free): Possible race in the most recently
95879         added check.  Only act on the data if no current modification
95880         happened.
95882 See ChangeLog.17 for earlier changes.